Boot 2.6.26 (or similar) on mpc5200 using powerpc

Angelo s104259 at
Thu Sep 4 00:10:56 EST 2008


Does anyone boots on mpc5200 board, the linux kernel 2.6.26 (or .24 .25) using ARCH=powerpc?

Looking on web i known that it's very different from ppc mode and the right procedure to follow is:

1 - make lite5200b_defconfig ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-
2 - make cuImage.lite5200b ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-

The output of second command is:
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/
  CHK     include/linux/compile.h
  CALL    arch/powerpc/kernel/
  CALL    arch/powerpc/kernel/
arch/powerpc/boot/dtc -O dtb -o arch/powerpc/boot/lite5200b.dtb -b 0  /home/asimmini/Scrivania/linux-
DTC: dts->dtb  on file "/home/asimmini/Scrivania/linux-"
  WRAP    arch/powerpc/boot/cuImage.lite5200b
Image Name:   Linux-
Created:      Wed Sep  3 15:56:16 2008
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    1597696 Bytes = 1560.25 kB = 1.52 MB
Load Address: 0x00400000
Entry Point:  0x00400550
rm arch/powerpc/boot/lite5200b.dtb 

But, at this point, if i crosscompile in ppc mode i had to modify the Load Address wiht the mkimage tool because the SDRAM at the Bootloader time starts from 0xF8000000, while the uImage has a Load Address and Entry Point at 0x00000000. 
What should i do in powerpc mode??

However, on web i saw that to boot the board it's necessary to load the cuImage and rootfs.uimage on the board with:
=> usb start
=> usb scan
=> fatload usb 0 0x03000000 cuImage.lite5200b
=> fatload usb 0 0x04000000 rootfs.uimage
=> bootm 0x03000000 0x04000000

Does anyone solves this problem?

Thank you in advance.

Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-embedded mailing list