|
亚瑟王 发表于 2013-7-8 16:55
那就奇怪了,我们这边测试3358的u-boot+网络是没有问题的。对了,你不用ping命令,直接用tftp命令下载一下 ...
是很奇怪啊~
您测试使用的是光盘自带的MLO和uboot吗,能否把您好用的MLO和uboot贴上来,我在测试一下。
在相同的配置下,我测试了tftp还是不好用。
详细的Log如下:
Welcome to use TQ3358 Board!
boot from SD card...
##### EmbedSky BIOS for TQ3358 #####
This Board: SDRAM is 512MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0
##### Boot for TQ3358 Main Menu #####
##### EmbedSky SD download mode #####
[1] Download u-boot.bin to Nand Flash
[2] Download MLO to Nand Flash
[3] Download Linux Kernel (uImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.bin) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test kernel Image (uImage)
Enter your selection: 0
##### Parameter Menu #####
[1] Set NFS boot parameter
[2] Set Yaffs boot parameter for Android or Standard Linux
[3] Set UBIfs boot parameter for Android or Standard Linux
[4] Set EXT4fs boot parameter for Android or Standard Linux
[5] Set boot parameter
[6] Set parameter
[7] View the parameters
[c] Choice lcd type.
[d] select driver and init
Save the parameters to Nand Flash
[q] Return main Menu
Enter your selection: 7
Name(enter to view all paramters):
autoload=yes
baudrate=115200
boot_args=echo setting bootargs ...; setenv bootargs ${bootargs} lcd=${lcdtype} uart1_d_can=${uart1_d_can} uart2_i2c2=${uart2_i2c2};echo bootargs=${bootargs}
bootargs=console=ttyO0,115200n8 androidboot.console=ttySAC0 root=/dev/nfs nfsroot=192.168.210.137:/home/xinh/opt/EmbedSky/TQ3358/rootfs_TQ3358_linux_nfs rootwait=1 init=/init ip=192.168.210.200:192.168.210.137:192.168.210.200:fs:www.embedsky.net:eth0:off
bootargs_defaults=setenv bootargs console=${console}
bootcmd=run nand_boot;
bootdelay=5
bootenv=uEnv.txt
bootfile=uImage.bin
console=ttyO0,115200n8 androidboot.console=ttySAC0
cpaddr=0x82000000
device_root=/dev/mtdblock8 rw
echo_boot_args=echo bootargs=${bootargs}
ethact=cpsw
ethaddr=00:40:5c:26:0a:52
gatewayip=192.168.210.1
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
ipaddr=192.168.210.200
kernelimgname=uImage.bin
kloadaddr=0x80007fc0
lcdtype=X800Y480
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}
mloimgname=MLO
mmc_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmc_root} rootfstype=${mmc_root_fs_type} ip=${ip_method}
mmc_boot=echo Booting from SD card ...;run mmc_load_uimage; bootm ${kloadaddr}
mmc_dev=0
mmc_load_uimage=fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}
mmc_root=/dev/mmcblk0p2 rw
mmc_root_fs_type=ext3 rootwait
mtddevname=SPL
mtddevnum=0
mtdids=nand0=TQ3358-nand
mtdparts=mtdparts=TQ3358-nand:128k@0(SPL),128k(SPL.backup0),128k(SPL.backup1),128k(SPL.backup2),1920k(uboot),128k(params),3m(logo),5m(kernel),-(root)
nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} init=/init ip=${ip_method}
nand_boot=echo Booting from nand ...; nandecc hw 0; nand read.i ${kloadaddr} kernel ; bootm ${kloadaddr}
nand_img_siz=0x500000
nand_root=ubi0:rootfs rw ubi.mtd=7,2048
nand_root_fs_type=ubifs rootwait
nand_src_addr=0x580000
net_args=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs init=/init nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
net_boot=echo Booting from network ...; setenv autoload no; dhcp; nand read.i ${kloadaddr} kernel; run net_args; bootm ${kloadaddr}
netmask=255.255.254.0
nfs_dir=/home/xinh/opt/EmbedSky/TQ3358/rootfs_TQ3358_linux_nfs
nfsipaddr=192.168.210.200
nfsnetmask=255.255.254.0
nfsopts=nolock,proto=tcp,nfsvers=3
nfsserverip=192.168.210.137
optargs=512M
partition=nand0,0
root_fs_type=yaffs2 rootwait=1
rootimgname=root.bin
rootpath=/opt/EmbedSky/TQ3358/root_nfs
script_addr=0x81900000
serverip=192.168.210.137
set_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${device_root} noinitrd rootfstype=${root_fs_type} init=/init ip=${ip_method}
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
uart1_d_can=uart1
uart2_i2c2=uart2
ubi_root=ubi0:rootfs rw ubi.mtd=7,2048
ubi_root_fs_type=ubifs rootwait=1
ubootimgname=u-boot.bin
yaffs_root=/dev/mtdblock8
Environment size: 3146/8188 bytes
##### Parameter Menu #####
[1] Set NFS boot parameter
[2] Set Yaffs boot parameter for Android or Standard Linux
[3] Set UBIfs boot parameter for Android or Standard Linux
[4] Set EXT4fs boot parameter for Android or Standard Linux
[5] Set boot parameter
[6] Set parameter
[7] View the parameters
[c] Choice lcd type.
[d] select driver and init
Save the parameters to Nand Flash
[q] Return main Menu
Enter your selection: q
##### Boot for TQ3358 Main Menu #####
##### EmbedSky SD download mode #####
[1] Download u-boot.bin to Nand Flash
[2] Download MLO to Nand Flash
[3] Download Linux Kernel (uImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.bin) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Enter TFTP download mode menu
[r] Reboot u-boot
[t] Test kernel Image (uImage)
Enter your selection: n
##### Boot for TQ3358 Main Menu #####
##### EmbedSky TFTP download mode #####
[1] Download u-boot.bin to Nand Flash
[2] Download MLO to Nand Flash
[3] Download Linux Kernel (uImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.bin) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Set TFTP parameters(PC IP,TQ3358 IP,Mask IP...)
[p] Test network (TQ3358 Ping PC's IP)
[f] tftp uboot.bin to SDRAM and Run it
[r] Reboot u-boot
[t] Test kernel Image (uImage)
[q] Return main Menu
Enter your selection: 3
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.210.137; our IP address is 192.168.210.200
Filename 'uImage.bin'.
Load address: 0x82000000
Loading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.210.137; our IP address is 192.168.210.200
Filename 'uImage.bin'.
Load address: 0x82000000
Loading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.210.137; our IP address is 192.168.210.200
Filename 'uImage.bin'.
Load address: 0x82000000
Loading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.210.137; our IP address is 192.168.210.200
Filename 'uImage.bin'.
Load address: 0x82000000
Loading: T
Abort
##### Boot for TQ3358 Main Menu #####
##### EmbedSky TFTP download mode #####
[1] Download u-boot.bin to Nand Flash
[2] Download MLO to Nand Flash
[3] Download Linux Kernel (uImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand Flash
[5] Download UBIFS image (root.bin) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Set TFTP parameters(PC IP,TQ3358 IP,Mask IP...)
[p] Test network (TQ3358 Ping PC's IP)
[f] tftp uboot.bin to SDRAM and Run it
[r] Reboot u-boot
[t] Test kernel Image (uImage)
[q] Return main Menu
Enter your selection:
|
|