From: Fabri <rider4ever@gmail.com>
To: "Grant Likely" <grant.likely@secretlab.ca>
Cc: linuxppc-dev@ozlabs.org, Fabio Tosetto <tosettofabio83@libero.it>
Subject: Re: MPC5200b MMC over SPI into PSC6
Date: Fri, 9 May 2008 15:40:44 +0200 [thread overview]
Message-ID: <ed84ed090805090640w11dcfc57r1303ac4fceb482cb@mail.gmail.com> (raw)
In-Reply-To: <fa686aa40805080832l2492c46l400986472e985d9a@mail.gmail.com>
Hello!
I've seen you guys are playing with a Lite5200b board, so I've decided
to do another attempt with mine.
On Thu, May 8, 2008 at 5:32 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> For example, use "make ARCH=powerpc cuImage.lite5200b" to build an
> image for the lite5200b board. The build scripts will use the
> lite5200b.dts file in the dts directory for building the image.
If I'm not wrong, the right sequence of commands should be the following:
$ make ARCH=powerpc mpc5200_defconfig
$ make ARCH=powerpc menuconfig
... [customizations]...
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- cuImage.lite5200b
and this is the output:
...
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
WRAP arch/powerpc/boot/cuImage.lite5200b
DTC: dts->dtb on file
"/home/fgaretto/linux-2.6.25.2-lite5200/arch/powerpc/boot/dts/lite5200b.dts"
Image Name: Linux-2.6.25.2
Created: Fri May 9 14:46:22 2008
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1518744 Bytes = 1483.15 kB = 1.45 MB
Load Address: 0x00400000
Entry Point: 0x00400550
At this point I've loaded the cuImage and rootfs.uimage on the board:
=> usb start
=> usb scan
=> fatload usb 0 0x03000000 cuImage.lite5200b
=> fatload usb 0 0x04000000 rootfs.uimage
=> bootm 0x03000000 0x04000000
but it still hangs after this:
## Booting image at 03000000 ...
Image Name: RadioNav-Linux 2.6.22.1
Created: 2008-05-09 13:11:43 UTC
Image Type: PowerPC Linux Kernel Image (uncompressed)
Data Size: 1518808 Bytes = 1.4 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
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
I've looked at Load Address and Entry Point of the cuImage and it
sounds a little strange to me that these values are not zero, so I've
manually changed them both to 0x00000000 using mkimage, but the
result is always the same: no boot at all.
next prev parent reply other threads:[~2008-05-09 13:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 18:12 MPC5200b MMC over SPI into PSC6 Fabio Tosetto
2008-05-06 15:36 ` Grant Likely
2008-05-07 12:49 ` Fabio Tosetto
2008-05-07 16:34 ` Grant Likely
2008-05-08 15:10 ` Fabio Tosetto
2008-05-08 15:32 ` Grant Likely
2008-05-09 13:40 ` Fabri [this message]
2008-05-09 13:51 ` Fabri
2008-05-09 14:06 ` Grant Likely
2008-05-09 15:02 ` Fabri
2008-05-09 15:20 ` Grant Likely
2008-05-09 20:01 ` Fabri
2008-05-12 8:51 ` Fabio Tosetto
2008-05-22 14:28 ` Fabri
-- strict thread matches above, loose matches on Subject: below --
2008-04-16 11:26 MPC5200B " tosettofabio83
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=ed84ed090805090640w11dcfc57r1303ac4fceb482cb@mail.gmail.com \
--to=rider4ever@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=linuxppc-dev@ozlabs.org \
--cc=tosettofabio83@libero.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).