linux12.04上安装dnw发送端

来源:互联网 发布:spring 嵌套事务 源码 编辑:程序博客网 时间:2024/06/06 07:51
ubuntu12.04:安装dnw文件传输功能:ubuntu12.04通过usb发送文到烧写有uboot的三星4412Cortex-A9的中。   1.dnw是一个基于usb的文件创建工具。   2.dnw的接受端在uboot当中。   3.dnw的发送端为pc端。一:安装pc端dnw文件。zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/tools$ tar -xvf dnw-linux.tar.gz zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/tools$ cd dnw-linux/zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/tools/dnw-linux$ makezshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/tools/dnw-linux$ make install第二步: 开启开发版的上uboot上dnw的接收端:在ubuntu12.04上输入[pc@path]$sudo minicomWelcome to minicom 2.5OPTIONS: I18n Compiled on May  2 2011, 10:05:24.Port /dev/ttyUSB0Press CTRL-A Z for help on special keys                                                                                                                                                         Unknown command '' - try 'help'                                 zshh@root# AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                     syntax errorzshh@root# dnw  40008000Insert a OTG cable into the connector!第三步:测试写一个字符到开发板上。zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/tools/dnw-linux$ sudo dnw logo.png load address: 0x57E00000Writing data...100%0x00001A20 bytes (6 K)speed: 6.378174M/S到这里我们就测试完成了,可以通过dnw该开发发送文件了。 第四步: 编译linux内核,通过uboot将内核加载到内存,并使内核运行起来。第五步:编译linux内核:zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/src/linux/linux-3.5$ make -j4第六步:开启开发板接受端,将文件写道40008000地址上。zshh@root# dnw 40008000第七步:将zImage写到服务端:    zshh@zshh-shaohua:~/ARM/arm资料/exynos4412_lzy1/src/linux/linux-3.5$ sudo dnw arch/arm/boot/zImage     [sudo] password for zshh:     load address: 0x57E00000    Writing data...    100%    0x0048EBBA bytes (4666 K)    speed: 5.458144M/S第八步:利用uboot启动内核:bootm 40008000

0 0
原创粉丝点击