From: <bob...@us...> - 2007-07-13 08:46:50
|
Revision: 1134 http://svn.sourceforge.net/hackndev/?rev=1134&view=rev Author: bobofdoom Date: 2007-07-13 01:46:48 -0700 (Fri, 13 Jul 2007) Log Message: ----------- Cocoboot: Changed kernel load address from 0x4000 to 0x800000. This prevents the kernel image from clobbering the areas POS uses for DMA such as the framebuffer and audiobuffer, making booting more reliable (and making it work at all) on some devices. Modified Paths: -------------- cocoboot/trunk/Changelog cocoboot/trunk/arm/boot.c Modified: cocoboot/trunk/Changelog =================================================================== --- cocoboot/trunk/Changelog 2007-07-13 01:06:35 UTC (rev 1133) +++ cocoboot/trunk/Changelog 2007-07-13 08:46:48 UTC (rev 1134) @@ -1,3 +1,4 @@ + - Changed kernel load address from 0x4000 to 0x800000. - Added simple USB console. version 0.2: Modified: cocoboot/trunk/arm/boot.c =================================================================== --- cocoboot/trunk/arm/boot.c 2007-07-13 01:06:35 UTC (rev 1133) +++ cocoboot/trunk/arm/boot.c 2007-07-13 08:46:48 UTC (rev 1134) @@ -24,16 +24,14 @@ #define MACH_TYPE_T3XSCALE 829 #ifdef TREO650 -#define KERNEL_OFFSET 0x0800000 #define TAG_OFFSET 0x100 #define INITRD_OFFSET 0x1500000 #else -#define KERNEL_OFFSET 0x8000 #define TAG_OFFSET 0x100 #define INITRD_OFFSET 0x0400000 #endif -#define T3_KERNEL_OFFSET 0x0800000 +#define KERNEL_OFFSET 0x0800000 #define T3_INITRD_OFFSET 0x1500000 static void jump_to_kernel(UInt32 kernel_base, UInt32 tag_base, UInt32 mach) @@ -197,11 +195,10 @@ } #endif + kernel_offset=KERNEL_OFFSET; if (pg->mach_num==MACH_TYPE_T3XSCALE){ - kernel_offset=T3_KERNEL_OFFSET; initrd_offset=T3_INITRD_OFFSET; } else { - kernel_offset=KERNEL_OFFSET; initrd_offset=INITRD_OFFSET; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |