Mini6410-NFS启动Linux/Andorid
网络环境:
Target:Tiny6410,U-Boot-1.1.6
Host :Ubuntu 11.04,nfs-kernel-server,ip=192.168.1.100
***确保在Tiny6410的U-Boot下可以ping通host端(ping 192.168.1.100)
NFS服务器设置:
#cat /etc/exports
/ 192.168.1.*(rw,sync,no_root_squash)
++++++++Linux
#设定启动参数
setenv bootargs console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.100:/opt/FriendlyARM/mini6410/linux/rootfs_qtopia_qt4 ip=192.168.1.70:192.168.1.100:192.168.1.100:255.255.255.0:tiny6410:eth0:off
#nfs加载内核文件
nfs c0008000 192.168.1.100:/opt/FriendlyARM/mini6410/linux/rootfs_qtopia_qt4/root/zImage_n43
#启动内核
bootm c0008000
++++++++Android
#设定启动参数
setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.100:/opt/FriendlyARM/mini6410/android/Android-2.3/rootfs_dir init=/init ip=192.168.1.70:192.168.1.100:192.168.1.100:255.255.255.0:tiny6410:eth0:off console=ttySAC0,115200
#nfs加载内核文件
nfs c0008000 192.168.1.100:/opt/FriendlyARM/mini6410/android/azImage_n43
#启动内核
bootm c0008000