嵌入式Linux烧写镜像常用命令

来源:互联网 发布:长城证券炒股软件 编辑:程序博客网 时间:2024/06/05 03:50
1 打开超级终端 波特率:115200,其它是默认值。2 给ARM板上电,按回车键直到出现:U-Boot>提示符3 set ipaddr 192.168.10.64// 设置ARM板IP4 set serverip 192.168.10.66// 设置tftp服务器IP5 输入以下命令:set boot bootm 22200000 set nf_kernel nand read 22200000 400000 200000 set nf_ramdisk nand read 21100000 800000 400000 set bootcmd run nf_ramdisk\;run nf_kernel\;run boot set bootargs mem=64M console=ttyS0 115200 root=/dev/ram0 initrd=0x21100000,0x400000 set tftpboot t 22200000 uImage\; t 21100000 ramdisk.gzsaveenv6 烧写镜像和文件系统t 22200000 uImaget 21100000 ramdisk.gznand erasenand write 22200000 400000 200000nand write 21100000 800000 400000reset // 重启7 进入Linux后,输入下面命令:ifconfig eth0 192.168.10.64 up cd /home/bin tftp -r sdp_main.tar -l /home/bin/sdp_main.tar -g 192.168.10.66 // tftp服务地址tar xvf sdp_main.tartftp -r rc.local -l /home/bin/rc.local -g 192.168.10.66tftp -r sdp_config.ini -l /home/bin/sdp_config.ini -g 192.168.10.66chmod -Rf +x *reboot

原创粉丝点击