[U-Boot-Users] how to boot a root.cramfs in ram
Wolfgang Denk
wd at denx.de
Mon Jun 20 07:37:09 CEST 2005
In message <50c9a225050619183868b48c13 at mail.gmail.com> you wrote:
> in vivi if can use bon to set partitionsand in DULG Manual i see
> something like "root=/dev/mtdblock2" in BOOTARGS.but i can't find the
> defination of mtd partition in /board/smdk2410/smdk2410.c or
> smdk2410.h.and i wonder whether i must set "root=/dev/mtdblockX" in my
> BOOTARGS or i can just set the physical address of root-cramfs in NAND
> flash?
What exactly is your question? The subjet says that your ramfs image
is in RAM, but now you say it's in NAND flash?
To access NAND flash you must always provide a /dev/mtdblock? device,
which means you must define a partition map. How you do this - i. e.
by using a static map or a command line option - is up to you. How to
make Linux find your NAND flash is a question which is off topic
here.
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
The only time the world beats a path to your door is when you are in
the bathroom.
More information about the U-Boot
mailing list