All of lore.kernel.org
 help / color / mirror / Atom feed
* Boot 2.6.26 (or similar) on mpc5200 using powerpc
@ 2008-09-03 14:10 Angelo
  2008-09-04 12:05 ` Detlev Zundel
  0 siblings, 1 reply; 7+ messages in thread
From: Angelo @ 2008-09-03 14:10 UTC (permalink / raw)
  To: Linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2074 bytes --]

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 

[-- Attachment #2: Type: text/html, Size: 2861 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-17  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 14:10 Boot 2.6.26 (or similar) on mpc5200 using powerpc Angelo
2008-09-04 12:05 ` Detlev Zundel
2008-09-04 13:08   ` Angelo
2008-09-04 13:28     ` powerpc405 versus powerpc440 Wood, Robert (GE EntSol, Intelligent Platforms)
2008-09-04 15:07       ` Josh Boyer
2008-09-17  9:25         ` Grant Likely
2008-09-04 14:47     ` Boot 2.6.26 (or similar) on mpc5200 using powerpc Detlev Zundel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.