songyafei200 发表于 2013-6-7 15:57:16

TQ210,dnw4linux下载一直wait,求解~~

#####    Boot for TQ210 Main Menu       #####
#####   EmbedSky USB download mode   #####

Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
Download Eboot (eboot.nb0) to Nand Flash
Download Linux Kernel (zImage.bin) to Nand Flash
Download LOGO Picture (logo.bin) to NandFlash
Download UBIFS image (root.ubi) to Nand Flash
Download YAFFS image (root.bin) to Nand Flash
Download Program to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program
Enter TFTP download mode menu
Reboot u-boot
Test Linux Image (zImage)
Enter your selection: 3
OTG cable Connected!
Now, Waiting for DNW to transmit data

Now, Downloading
Please waiting
Now, Downloading
Please waiting ............................................................

songyafei200 发表于 2013-6-7 15:58:34

make: 正在进入目录 `/opt/dnw4linux/dnw_src'
gcc -o dnw dnw.c
dnw.c: 在函数‘main’中:
dnw.c:80: 警告: 格式‘%u’需要类型‘unsigned int’,但实参 2 的类型为‘size_t’
dnw.c:80: 警告: 格式‘%u’需要类型‘unsigned int’,但实参 3 的类型为‘size_t’
dnw.c:85: 警告: 格式‘%u’需要类型‘unsigned int’,但实参 3 的类型为‘size_t’
cp dnw ../
make:正在离开目录 `/opt/dnw4linux/dnw_src'
make: 正在进入目录 `/opt/dnw4linux/secbulk_driver'
make -C /lib/modules/`uname -r`/build M=/opt/dnw4linux/secbulk_driver modules
make: 正在进入目录 `/usr/src/linux-headers-3.0.0-32-generic'
Building modules, stage 2.
MODPOST 1 modules
make:正在离开目录 `/usr/src/linux-headers-3.0.0-32-generic'
cp *.ko ../
make:正在离开目录 `/opt/dnw4linux/secbulk_driver'
root@syf-hxt:/opt/dnw4linux# ./dnw /tftpboot/root.bin
File name : /tftpboot/root.bin
File size : 116732352 bytes
Start Sending data...
Sent 100%      116732362 bytes !OK
root@syf-hxt:/opt/dnw4linux# ./dnw /tftpboot/zImage.bin
File name : /tftpboot/zImage.bin
File size : 3939240 bytes
Start Sending data...
Sent 100%      3939250 bytes !OK
root@syf-hxt:/opt/dnw4linux#
DNW这边明明发送完成了,串口那边一直处在等待状态,,为什么呢??

songyafei200 发表于 2013-6-7 16:00:04

大神能给解答一下吗?我tq210的0x30000000开始下载的,,难道不行吗?

亚瑟王 发表于 2013-6-8 09:38:08

请使用天嵌科技提供的dnw软件,自己开发的dnw软件不在天嵌科技的售后范围。

TQ-lkp 发表于 2013-6-8 09:46:34

要使用root权限,另外旧的程序有bug,请到资料发布帖下载最新的程序。

songyafei200 发表于 2013-6-8 14:35:32

TQ-lkp 发表于 2013-6-8 09:46 static/image/common/back.gif
要使用root权限,另外旧的程序有bug,请到资料发布帖下载最新的程序。

我实在root@下面操作的。旧的程序你是指dnw4linux吗??没看到有这个程序啊,,,还是tq210的什么程序,,我用tftp下载进去都是正常的。。
页: [1]
查看完整版本: TQ210,dnw4linux下载一直wait,求解~~