Boot 2.6.26 (or similar) on mpc5200 using powerpc
Angelo
s104259 at yahoo.it
Thu Sep 4 00:10:56 EST 2008
Hi.
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/checksyscalls.sh
CHK include/linux/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CALL arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/boot/dtc -O dtb -o arch/powerpc/boot/lite5200b.dtb -b 0 /home/asimmini/Scrivania/linux-2.6.26.3/arch/powerpc/boot/dts/lite5200b.dts
DTC: dts->dtb on file "/home/asimmini/Scrivania/linux-2.6.26.3/arch/powerpc/boot/dts/lite5200b.dts"
WRAP arch/powerpc/boot/cuImage.lite5200b
Image Name: Linux-2.6.26.3
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
http://mail.yahoo.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080903/7a86794a/attachment.htm>
More information about the Linuxppc-embedded
mailing list