Skip to contentSkip to conversation

Ramdisk with wrong magic number

DISCUSSION Leiying Du 3 participants 5 messages Jan 31, 2003 – Feb 3, 2003

lore
Share & tools
lore

Leiying Du

author
#0 lore raw

Wolfgang,

I downloaded your mini ramdisk. The file name is
mini-2048kB-ramdisk.image.gz. If I check the image that I wrote into the flash, I will get an wrong magic number error. Do you konw what's wrong with this? Thanks.

Leiying

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:

I downloaded your mini ramdisk. The file name is
mini-2048kB-ramdisk.image.gz. If I check the image that I wrote into the flash, I will get an wrong magic number error. Do you konw what's wrong with this? Thanks.

How do you "check" it? If this is by any chance under U-Boot, then you should read the docs how to convert a plain ramdisk image like the one you are using into a U-Boot image (hint: use the mkimage tool).

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] I paid too much for it, but its worth it.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

author
#2 lore raw

Thanks, James and Wolfgang. I forgot to use the mkimage to convert it.

All the best,

Leiying

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Wolfgang Denk
Sent: Friday, January 31, 2003 12:13 PM
To: [email protected]
Cc: 'LinuxPPC-Embedded'
Subject: Re: Ramdisk with wrong magic number

Quoted 4 lines · In message <[email protected]> you wrote:

I downloaded your mini ramdisk. The file name is
mini-2048kB-ramdisk.image.gz. If I check the image that I wrote into the flash, I will get an wrong magic number error. Do you konw what's wrong

with

Quoted 1 line

this? Thanks.

How do you "check" it? If this is by any chance under U-Boot, then you should read the docs how to convert a plain ramdisk image like the one you are using into a U-Boot image (hint: use the mkimage tool).

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] I paid too much for it, but its worth it.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw

sash source code

Folks,

Does anyone know where i can get the StandAlone Shell (SASH) for PPC source code?

Thanks,
Prakash

PS: Even a BASH source which i can compile in static mode should be fine also.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw

Re: sash source code

Quoted 3 lines · In message <[email protected]> you wrote:

Does anyone know where i can get the StandAlone Shell (SASH) for PPC source code?

Did you try a search engine?

Did you try using the source RPM of your favoured Linux distribution?

Quoted 2 lines

PS: Even a BASH source which i can compile in static mode should be fine also.

You don't know where to find bash source? Try http://www.gnu.org/ ...

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] It is wrong always, everywhere and for everyone to believe anything upon insufficient evidence. - W. K. Clifford, British philosopher, circa 1876

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/