1.VMware PC 开发板同一网关
2.安装 配置 编译busybox
3.构建linux系统文件
安装make_ext4fs linux_tools.tgz 放到Ubuntu系统目录下
解压命令“tar -vxf linux_tools.tgz”解压
make_ext4fs -s -l 314572800 -a root -L linux system.img system”生成 system.img
4.TFTP 文件搭建
5.NFS 文件搭建
特别注意:init.d/ifconfig-eth0 文件
NFS使用
编译:
arm-none-linux-gnueabi-gcc -o helloworld helloworld.c -static
copy文件:
cp /home/linuxsystemcode/helloworld/helloworld system/bin
串口调试助手:
ls /bin/
./bin/helloworld
测试NFS
mount -t nfs localhost:/home/minilinux/system /mnt
df
tftp下载功能: tftp -g -l test -r test 192.168.1.227
tftp -g -l helloworld -r helloworld 192.168.1.227
联系客服