[U-Boot] U-BOOT TFTP
simran gill
simrangill999 at hotmail.com
Sat Jul 16 02:05:38 CEST 2011
Sorry about my last post. I am new and need some help.
Hello,I am developing on freescale P4080DS BOARD. I am trying to put new kernel image onto the board but need a tftp connection. When I type "tftp 1000000 /tftpboot/uImage" nothing happens and the new prompt appears. I was able to tftp before and upgrade but seems like one of the changes has broken it. I have set the target and host ip address accordingly. Below is the printenv on bank 0. Any help would be much appreciated. Thank you.
=> printenv
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=10
baudrate=115200
loads_echo=
rootpath=/opt/nfsroot
loadaddr=1000000
netdev=eth0
uboot=u-boot.bin
tftpflash=tftpboot $loadaddr $uboot; protect off 0xeff80000 +$filesize; erase 0xeff80000 +$filesize; cp.b $loadaddr 0xeff80000 $filesize; protect on 0xeff80000 +$filesize; cmp.b $loadaddr 0xeff80000 $filesize
consoledev=ttyS0
ramdiskaddr=2000000
fdtaddr=c00000
fman_ucode=0xEF000000
eth1addr=00:04:9F:02:01:FD
eth2addr=00:04:9F:02:02:FD
eth3addr=00:04:9F:02:03:FD
eth4addr=00:04:9F:02:04:FD
eth5addr=00:04:9F:02:05:FD
eth6addr=00:04:9F:02:06:FD
eth7addr=00:04:9F:02:07:FD
eth8addr=00:04:9F:02:08:FD
eth9addr=00:04:9F:02:09:FD
bootfile=uImage
ramdiskfile=rootfs.ext2.gz.uboot
fdtfile=p4080ds.dtb
bdev=sda3
bank4=mw.b 0xffdf002c 0x40; mw.b 0xffdf002d 70; mw.b 0xffdf0010 0; mw.b 0xffdf0010 1
host=192.168.1.129
server=192.168.1.129
address at hidden
serverip=192.168.1.129
gatewayip=192.168.1.1
ipaddr=192.168.1.145
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1
nameserverip=192.168.1.1
ethaddr=00:C0:F7:02:01:FD
bootcmd=bootm e8020000 e9300000 e8800000
bootargs=root=/dev/nfs rw console=ttyS0,115200
stdin=serial
stdout=serial
stderr=serial
Environment size: 1620/8188 bytes
More information about the U-Boot
mailing list