On Monday 26 October 2009 03:44:41 javier Martin wrote: > I have a similar problem. In my environment: > > bootcmd=cp.b c0040000 ${loadaddr} 280000;bootm ${loadaddr} > mtdparts=mtdparts=mxc_nor_flash.0:256k(U-Boot),2560k(kernel),29312k(rootfs) > ,512k(config),128k(env1) bootargs=noinitrd console=ttymxc0,115200 > root=/dev/mtdblock2 > init=linuxrc rw ${mtdparts} > > But when I execute 'run bootm', kernel boots but "mtdparts" variable > is not substituted in kernel command line:
i dont think your issue is the same as David's. you need to force expansion of the variable yourself. set bootcmd "run do_args; run do_boot" set do_args "set init linuxrc rw ${mtdparts}" set do_boot "cp.b c0040000 ${loadaddr} 280000;bootm ${loadaddr}" -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot