# Re: Ramdisk with wrong magic number

- From: Wolfgang Denk \<hidden\>
- Date: 2003-01-31 20:12:53 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2003/01/9386491
- Thread: https://ratatoskr.run/linuxppc-dev/2003/01/9386491/t.md

```text

In message [ref] 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: wd@denx.de
I paid too much for it, but its worth it.

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