[U-Boot-Users] mkimage parameters for cramfs.img

Wolfgang Denk wd at denx.de
Fri May 6 09:43:07 CEST 2005


In message <200505060449.j464nU8R011009 at ismp.csie.ncku.edu.tw> you wrote:
> 
> mkimage -A arm -O linux -T ramdisk -C none -n "Cramfs Image" -a 0x02000000
> -d cramfs.img ucramfs Image Name:   Cramfs Image
> Created:      Fri May  6 12:31:51 2005
> Image Type:   ARM Linux RAMDisk Image (uncompressed)
                          ^^^^^^^^

This makes no sense. A cramfs image should go directly to flash,  and
be  accessed  through  the Linux kernel's MTD layer. Treating it as a
ramdisk is not a good idea.

> However, the uClinux kernel cannot find the filesystem to mount.

Don't do this, then.

> What is the correct mkimage parameters for cramfs.img ?

There is none. Only "initial ramdisks" are wrapped  by  mkimage;  all
other  filesystem  images  go  directly  to  flash. Use MTD to access
these.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Imagination is more important than knowledge.      -- Albert Einstein




More information about the U-Boot mailing list