[U-Boot] Enable Autoboot

H. Johnny johnny.hung543 at gmail.com
Mon May 18 09:32:48 CEST 2009


2009/5/18 Vijay Nikam <vijay.t.nikam at gmail.com>:
> Hello All,
>
> I have bsp from freescale for mpc8313erdb evalutaion board. the board
> is up and running no issues with it as of now.
> But in u-boot the autoboot option is not enabled and I would like to
> have enabled. I believe that I need to do some changes in the u-boot
> source code.
> Could anyone please point me towards the way that how I can enable the
> autoboot option? where the sources and CONFIG option for autoboot is
> located ? ? ?

The main mpc8313erdb config file is in include/configs/MPC8313ERDB.h
Set bootargs in u-boot command if you just want to autoboot. For example,
setenv bootargs root=/dev/nfs rw ${mtdparts}
nfsroot=10.0.0.5:/tftpboot/10.0.0.6/,rsize=1500,wsize=1500
ip=10.0.0.6:10.0.0.5:10.0.0.5:255.0.0.0:mpc8313erdb:eth1:off panic=1
console=ttyS0,115200;
saveenv;

You also can modify the CONFIG_EXTRA_ENV_SETTINGS define in
include/configs/MPC8313ERDB.h file directly.

BR, H. Johnny


More information about the U-Boot mailing list