From: Angelo <s104259@yahoo.it>
To: Linuxppc-embedded@ozlabs.org
Subject: Boot 2.6.26 (or similar) on mpc5200 using powerpc
Date: Wed, 3 Sep 2008 14:10:56 +0000 (GMT) [thread overview]
Message-ID: <135716.58253.qm@web23107.mail.ird.yahoo.com> (raw)
[-- 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 --]
next reply other threads:[~2008-09-03 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 14:10 Angelo [this message]
2008-09-04 12:05 ` Boot 2.6.26 (or similar) on mpc5200 using powerpc 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=135716.58253.qm@web23107.mail.ird.yahoo.com \
--to=s104259@yahoo.it \
--cc=Linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.