Skip to contentSkip to conversation

DULG/Manual: 7.6. Standalone Operation with Ramdisk Image

U-Boot-Users Alexander Povolotsky 3 participants 3 messages Sep 21, 2004

lore
Share & tools
lore
#0 lore raw

On PQ2FADS-VR board the U-Boot is programmed into flash sector started at address 0xFFF00000 (and ending at 0xFFF3FFFF I presume). The next sector on the flash (starting at 0xFFF40000 and ending at 0xFFF7FFFF ) is used for U-Boot environment variables.

Does it mean that a minimal ramdisk image ramdisk_image.zip "for first tests" for 82xx, which I have downloaded from:

ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SIMPLE-PPCBOOT-ramdisk

could be programmed directly onto flash (bypassing putting it into ram first and then copying it into flash) using CodeWarrior/WireTap CCS's "Flash Programmer" tool into next 8 sectors, starting from address 0xFFF80000 ?

Aternatively - if I am to strictly follow steps outlined in DULG/Manual: 7.6. "Standalone Operation with Ramdisk Image" I am not clear on addresses used there ?

My "normal" (without ramdisk) booting sequence is:
=> tftpboot 200000 uimage
=> bootm 200000

So what addresses I should use in:

=> tftp "/tftpboot/SIMPLE-PPCBOOT-ramdisk"

and

=> cp.b

and

=> bootm

steps ?

Thanks,
Best regards,
Alex

________________________________________________________________
Get your name as your email address.
Includes spam protection, 1GB storage, no ads and more Only $1.99/ month - visit http://www.mysite.com/name today!

#1 lore raw
Quoted 7 lines · Alexander Povolotsky

So what addresses I should use in:

=> tftp "/tftpboot/SIMPLE-PPCBOOT-ramdisk"

and

Quoted 8 lines

=> cp.b

and

=> bootm

steps ?

Some flash address after the end of kernel image should be fine. Later invoke bootm with:
bootm <kernel-address> <ramdisk-address>

regards,
himba

#2 lore raw
In reply to Alexander Povolotsky
Quoted 4 lines · In message <[email protected]> you wrote:

Does it mean that a minimal ramdisk image ramdisk_image.zip "for first tests" for 82xx, which I have downloaded from:

ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SIMPLE-PPCBOOT-ramdisk

Please confirm that you downloaded a file from this link. It was rmoed a long, long time ago and should NOT point to any valid data any more.

If you have this file, then remove it. Don't even attempt to use it on a MPC82xx system. It was never meant for this.

The DULG section you quote correctly lists:

"Ramdisk images for tests can be found in the ftp://ftp.denx.de/pub/LinuxPPC/usr/src/SELF/images/ directories."

so please use these instead.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
There are bugs and then there are bugs.  And then there are bugs.
                                                    - Karl Lehenbauer