Re: MPC5200b MMC over SPI into PSC6
flat view
From: Fabri <hidden>
Date: 2008-05-09 15:02:12
Thanks for the patches, now some more rows are printed after RamDisk loading: Verifying Checksum ... OK Loading Ramdisk to 0fe68000, end 0ff49bf2 ... OK Memory <- <0x0 0x10000000> (256MB) CPU clock-frequency <- 0xbcd3d80 (198MHz) CPU timebase-frequency <- 0x1f78a40 (33MHz) CPU bus-frequency <- 0x7de2900 (132MHz) zImage starting: loaded at 0x00400000 (sp: 0x0ff4a958) Allocating 0x32d410 bytes for kernel ... gunzipping (0x00000000 <- 0x0040d000:0x00730fd4)...done 0x30d150 bytes Using loader supplied ramdisk at 0xfe68000-0xff49bf2 initrd head: 0x1f8b0808 Linux/PowerPC load: Finalizing device tree... flat tree at 0x73d300 ----------------------------------------------------------------------------------------------------- and then it stops. Maybe are there some problems related to my rootfs.uimage? On Fri, May 9, 2008 at 4:06 PM, Grant Likely [off-list ref] wrote:
quoted hunk ↗ jump to hunk
See if this patch makes any difference for you:diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite520 index 8505e97..70d9a8e 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts@@ -342,4 +342,8 @@ 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; }; + + chosen { + linux,stdout-path = "/soc5200@f0000000/serial@2000"; + }; };Oh, and the fix I told you about (fixing the unterminated list) didn't make it into 2.6.25.2. You still need to manually apply it. It should be in 2.6.25.3. Cheers, g. On Fri, May 9, 2008 at 7:51 AM, Fabri [off-list ref] wrote:quoted
Errage corrige: Excuse me, bad cut and paste :) This is the right output of the first try ## Booting image at 03000000 ... Image Name: Linux-2.6.25.2 Created: 2008-05-09 12:46:22 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1518744 Bytes = 1.4 MB Load Address: 00400000 Entry Point: 00400550 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Loading RAMDisk Image at 04000000 ... Image Name: RamDisk Image Lite5200b Created: 2008-03-04 11:28:40 UTC Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 1135278 Bytes = 1109 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Ramdisk to 0fe68000, end 0ff7d2ae ... OK By the way, Grant, you seem to be very expert in making a kernel with ARCH=powerpc. Can you tell me how to find some docs to improve my knowledge in this field? I've found something interesting in Documentation/powerpc, but they are not too explicative about the differences between PPC/Powerpc building, and about how to make the last one.-- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.