mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Create a dummy sit package for 2.4 kernelsq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10668 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -145,6 +145,7 @@ void entry(unsigned long icache_size, unsigned long icache_lsize,
|
||||
get_byte();
|
||||
|
||||
/* decompress kernel */
|
||||
printf("Decompressing kernel\n");
|
||||
if ((i = LzmaDecode(&vs, &callback,
|
||||
(unsigned char*)KERNEL_ENTRY, osize, &osize)) == LZMA_RESULT_OK)
|
||||
{
|
||||
@@ -152,6 +153,8 @@ void entry(unsigned long icache_size, unsigned long icache_lsize,
|
||||
blast_icache(icache_size, icache_lsize);
|
||||
|
||||
/* Jump to load address */
|
||||
printf("Jumping !\n");
|
||||
((void (*)(int a0, int a1, int a2, int a3)) KERNEL_ENTRY)(arg0, arg1, arg2, arg3);
|
||||
}
|
||||
printf("Failed to decompress !\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user