• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: reset env settings ?  (Read 1040 times)
peter a
Full Member
***

Karma: 0
Posts: 132


View Profile
« on: February 15, 2010, 01:25:53 PM »

It there a way to reset all the env setting and start again ?

I think I`ve messed my env up a little .

Code:
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=a0000
e=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
cesvcid=ULULULULULULPPULULULULULDA
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:4D:34
run_diag=no
serverip=10.10.0.2
ipaddr=10.10.0.1
nandEnvBase=a0000
pcieTune=no
bootcmd_mmc=mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage
bootargs_setenv=bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_msetenv=bootcmd setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_mmc; bootm 0x400000 0x0800000
arcNumber=2097
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rootdelay=10
bootcmd_usb=usb start; ext2load usb 0:1 0x0800000 /sheeva-2.6.32.8-uImage
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_usb; bootm 0x0800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #1 on: February 15, 2010, 04:43:13 PM »

There is a command resetenv. This will reset environment variable back to default setting to where the u-boot compile default. I suspect this is not what you want. If you have not issue saveenv after you make changes then reset will reboot u-boot and revert back your changes. However if you already did saveenv then I would suggest use the sheeva-installer to start all over again.
Logged

Good Luck Smiley

fragfutter
Sr. Member
****

Karma: 12
Posts: 280


View Profile
« Reply #2 on: February 16, 2010, 01:17:51 AM »

i think the original environment is somewhere in the wiki.
Logged

Pages: [1]
Print
Jump to: