Configure U-Boot on the Plug Computer
From PlugWiki
Access the U-Boot Boot Loader Console
Accessing the U-Boot boot loader may be done using PuTTY. Following the last steps, five and six, in the Installing and Using PuTTY instructions will grant access to the boot loader console.
The Important U-Boot Parameters for How the Plug Computer Boots
Booting the Plug from the NFS server requires certain parameter and environment variable settings. The existing settings may be viewed using the command printenv at the command prompt in PuTTY. [Command keystrokes are italicized.]
The following settings are necessary for booting the Plug from the NFS server:
baudrate=115200 loads_echo=0 netmask=255.255.255.0 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none bootcmd=tftpboot 0x2000000 $(image_name);setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no console=console=ttyS0,115200 mtdparts=cfi_flash:0xf40000(root),0xc0000(uboot)ro ethaddr=00:50:43:3c:3b:6e image_name='''''uImage.4mini''''' rootpath='''''/usr/src/marvell/marvell_builds/sheevaplug/gentoo_sheevamini_256M''''' ethact=egiga0 bootargs=console=ttyS0,115200 mtdparts=cfi_flash:0xf40000(root),0xc0000(uboot)ro root=/dev/nfs rw nfsroot=10.0.172.165:/usr/src/marvell/marvell_builds/sheevaplug/gentoo_sheevamini_256M ip=10.0.172.22:10.0.172.165:::DB88FXX81:eth0:none mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 mv_phone_config=dev0:fxs,dev1:fxs ipaddr='''''192.168.0.22''''' serverip='''''192.168.0.102''''' stdin=serial stdout=serial stderr=serial mainlineLinux=no 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
The environment variables in bold italics depend on local settings: ipaddr, serverip, image_name, and rootpath.
An environment variable may be changed using the setenv command. To use the command, type setenv <name of variable> '<new variable value>' as in the following example:
Marvell>>setenv serverip '179.0.120.105' Marvell>>saveenv
After the environment variable has been set it must be saved with the saveenv command.
