|
本帖最后由 gongjiangnan 于 2013-11-17 03:30 编辑
用的cubietruck 是不是编译uboot的时候配置下config?
start log
U-Boot 2013.10-rc2-08405-gb322f67 (Nov 17 2013 - 02:45:15) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Board: Cubietruck
I2C: ready
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 0
env
sun7i# printenv
autoboot=run loadkernel && run setargs && true && bootm 0x48000000
autoload=no
baudrate=115200
boot_ram=saved_stdout=$stdout;setenv stdout nc;if iminfo 0x41000000; then true; setenv stdout $saved_stdout; source 0x41000000;else setenv stdi
bootcmd=if run loadbootenv; then echo Loaded environment from ${bootenv};env import -t ${scriptaddr} ${filesize};fi;if test -n "${uenvcmd}"; t;
bootdelay=3
bootenv=uEnv.txt
bootscr=boot.scr
console=ttyS0,115200
device=mmc
ethact=emac
ethaddr=12:34:56:78:99:aa
gatewayip=192.168.1.1
ipaddr=192.168.1.99
kernel=uImage
loadbootenv=fatload $device $partition $scriptaddr ${bootenv} || ext2load $device $partition $scriptaddr boot/${bootenv} || ext2load $device $}
loadbootscr=fatload $device $partition $scriptaddr ${bootscr} || ext2load $device $partition $scriptaddr boot/${bootscr} ||ext2load $device $p}
loadkernel=if bootpath=/boot/ && ext2load $device $partition 0x43000000 ${bootpath}script.bin && ext2load $device $partition 0x48000000 ${booti
loglevel=8
netmask=255.255.255.0
panicarg=panic=10
partition=0:1
scriptaddr=0x44000000
setargs=if test -z \\"$root\\"; then if test \\"$bootpath\\" = "/boot/"; then root="/dev/mmcblk0p1 rootwait"; else root="/dev/mmcblk0p2 rootwa}
stderr=serial
stdin=serial
stdout=serial
Environment size: 1953/131068 bytes
sun7i# ping 192.168.1.99
Using emac device
ping failed; host 192.168.1.99 is not alive
|
|