[U-Boot-Users] does someone use the bootm to bootm kernel and ramdisk for mips arch?

Wolfgang Denk wd at denx.de
Mon Jan 23 11:39:34 CET 2006


In message <50c9a2250601221806ifdd8f49n92ce779250ef4ff1 at mail.gmail.com> you wrote:
> my board has mips 4kec core. and my kernel is montavista linux. when i
> use the command
> bootm kernel_addr ramdisk_addr, it can't find ramdisk.
> but if i download the ramdisk.gz to sdram, and pass the command line
> initrd=ramdisk_addr, it can bootm correctly.
> i wonder if kernel receiving the env param of initrd_start passed by
> bootm is a common feature for all arch, or special for some arch?

As far as U-Boot is concerned please check "lib_mips/mips_linux.c" to
see how it uses linux_env_set() to pass  parameters  like  "memsize",
"initrd_start", "initrd_size" etc.

You will have to check within your kernel source tree how  they  pick
up  this  information  (and eventually ask MV support instead of this
list ;-)

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
This cultural mystique surrounding the  biological  function  --  you
realize humans are overly preoccupied with the subject.
	-- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9




More information about the U-Boot mailing list