2011-01-02

U-Boot Arguments of armsys-6420

NFS boot:
 setenv bootargs "root=/dev/nfs nfsroot=192.168.2.118:/home/max/work/arena/rootf/armsys6410/root/ ip=192.168.2.10:192.168.2.118:192.168.2.1:255.255.255.0:armsys.hzlitai.com:eth0:off console=ttySAC0,115200"
Here /home/localhost/armsys6410/root is the file system located at my host machine. 192.168.2.10 is the static ip of board, while 192.168.2.118 should be ip of host machine, 192.168.2.1 is the gateway of the LAN, if the board is directly connect to host, the gateway ip is same as host ip, i.e, 192.168.2.118 here.

boot from nandflash
setenv bootargs "root=/dev/mtdblock2 rootfstype=yaffs2 console=ttySAC0,115200"
setenv bootcmd nand read 0xc0008000 0x100000 0x300000\;bootm 0xc0008000
After changing the bootargs, run the following commands to save it and reboot again.
>saveenv
>reset

1 comment:

  1. Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thank you once again.
    recover deleted pst file

    ReplyDelete