tftpboot

This forum is for all other ARMv5 devices

tftpboot

Postby kleiner » Sat Jun 18, 2011 10:16 am

I tried to load to uImage from tftp but i doesn't work probably.

I set the u_boot env. variables serverip, ipaddr and netmask. So i'm able to load the uImage from tftp server with "tftpboot 60500000 uImage" but when i try to run bootm the boot process will stop with

Code: Select all
CE>> bootm
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.6_SMP_820
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2159884 Bytes =  2.1 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... Bad Data CRC


Can someone give me a hint what's wrong?

Thanks in advance.

u-boot env:
Code: Select all
CE>> printenv
baudrate=115200
autoload=n
bootfile="uImage"
kernflmode=s
load_nand=nboot 60500000 0 200000
load_nand2=nboot 60500000 0 800000
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot
ethaddr=XXXX (changed)
cesvcid=XXXX (changed)
ceboardver=PPV3
rootfs_custom=
bootdelay=2
bootargs_stock=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 mem=128M poweroutage=yes
load_custom_nand=nboot 60500000 0 500000
load_custom_nand2=nboot 60500000 0 B00000
boot_custom=rund_custom_nand boot || run load_custom_nand2 boot
bootcmd=run boot_custom
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext2 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x30,0xe0,0x00,0x00,0x01 rootdelay=15 mem=128M poweroutage=yes
fize=210cfd
fileaddr=60500000
netmask=255.255.255.0
ipaddr=192.168.0.148
serverip=192.168.0.138

Environment size: 943/131068 bytes
kleiner
 
Posts: 11
Joined: Thu Jun 02, 2011 8:05 pm

Re: tftpboot

Postby WarheadsSE » Sat Jun 18, 2011 4:15 pm

Well, assuming it is a uImage, then you need to be certain that the file itself has a good crc that matches that which is contained inside the uImage.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 5 guests