Hi, whenI use printenv at the uboot mini2440 prompt I get a LOT of settings. What is the way to start with a clean list ? See pasted text below: MINI2440 # printenv bootdelay=3 baudrate=115200 ethaddr=08:08:11:18:12:27 ipaddr=10.0.0.111 serverip=10.0.0.4 netmask=255.255.255.0 usbtty=cdc_acm mini2440=mini2440=0tb bootargs_base=console=ttySAC0,115200 noinitrd bootargs_init=init=/sbin/init root_nand=root=/dev/mtdblock3 rootfstype=jffs2 root_mmc=root=/dev/mmcblk0p2 rootdelay=2 root_nfs=/mnt/nfs set_root_nfs=setenv root_nfs root=/dev/nfs rw nfsroot=${serverip}:${root_nfs} ifconfig_static=run setenv ifconfig ip=${ipaddr}:${serverip}::${netmask}:mini2440:eth0 ifconfig_dhcp=run setenv ifconfig ip=dhcp ifconfig=ip=dhcp set_bootargs_mmc=setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_mmc} set_bootargs_nand=setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_nand} set_bootargs_nfs=run set_root_nfs; setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_nfs} ${ifconfig} mtdids=nand0=mini2440-nand mtdparts=mtdparts=mini2440-nand:0x00040000(u-boot),0x00020000(u-boot_env),0x0050 0000(kernel),0x3faa0000(rootfs) bootcmd=mmcinit ; ext2lÏad mmc 0:2 0x31000000 uImage ; bootm 0x31000000 bootargs=console=ttySAC0,115200 noinitrd root=/dev/mtcblk0p2 rootwait=4 rw ip=dhcp init=/bin/sh partition=nand0,0 mtddevnum=0 mtddevname=u-boot Environment size: 1215/131068 bytes
Clear the environment settings ?
<uboot commands reference> http://www.google.co.nz/#sclient=psy-ab&hl=en&source=hp&q=ub... couldn't see any in LITE5200BUBPG.pdf
Tnx for your reply, Dave. I have been at the Uboot page and did find one way to clear settings , it is "setenv name" without entering a value. I did this about 25 times and now only the baudrate is set. Starting with cleared environment now, trying to get debian to boot from SD. Kind regards, Ben
Ben, Actually. I saw that as well but thought it was a pretty "long-winded" way of achieving a simple task! Dave