一:使用有wifi配置的根文件系统

刷机

(开发板)fdisk -c 0
// 烧录uboot
fastboot flash bootloader linux+QT4.8/uboot.bin

//重启
fastboot reboot

set bootcmd 'movi read kernel 30008000; bootm 30008000'
set bootargs console=ttySAC2,115200 root=/dev/mmcblk0p2 rw init=/linuxrc rootfstype=ext2

(开发板)fdisk -c 0

// 烧录kernel
fastboot flash kernel linux+QT4.8/zImage-qt
// 烧录android rom
fastboot flash system linux+QT4.8/rootfs_qt4.ext3

二:配置网络

# ifconfig
# ifconfig eth0 192.168.43.10
# ping 192.168.43.30

 

三:挂载nfs服务器

mount -t nfs -o nolock 192.168.43.30:/home/liu/ARM/rootfs/rootfs1 /mymnt

四:创建wifi驱动源文件

root@liu-virtual-machine:/home/liu/ARM/test/wifi_source# ls
ate common iwpriv_usage.txt Makefile mgmt phy README_STA_usb RT2870STA.dat sta_ate_iwpriv_usage.txt
chips include mac mcu os rate_ctrl RT2870STACard.dat sta tools