
I'm using u-boot 1.0.1 on a Metroworks MPC8540ADS board. I think I've set-up bootp and tftp correctly, but after download, u-boot says the image has a bad header checksum.
Here's what the download looks like:
Metrowerks=> bootp 4000000 Enet starting in Full Duplex Enet starting in 100BT BOOTP broadcast 1 packetHandler changed. TFTP from server 10.82.190.239; our IP address is 10.82.190.238 Filename '/tftpboot/EEBE520A.img'. Load address: 0x4000000 Loading: packetHandler changed. ################################################################# ################################################################# ################################################ done Bytes transferred = 906528 (dd520 hex) Metroworks=> bootm 4000000 ## Booting Image at 04000000 Bad Header Checksum Metrowerks=> iminfo ## Checking Image at 04000000 ... Bad Header Checksum Metrowerks=> crc32 4000000 dd520 CRC32 for 04000000 ... 040dd51f ==> d315f12f Metrowerks=>
I initially tried it at address 1000000 with the same result.
I'm building the image with 'make uImage'. Here's the last few lines of output:
make[2]: Entering directory `/opt/linuxppc-2.4/arch/ppc/boot/images' powerpc-603e-linux-gnu-objcopy --strip-all -S -O binary /opt/linuxppc-2.4/vmlinux vmlinux gzip -vf9 vmlinux vmlinux: 55.0% -- replaced with vmlinux.gz make[2]: Leaving directory `/opt/linuxppc-2.4/arch/ppc/boot/images' /bin/sh /opt/linuxppc-2.4/scripts/mkuboot.sh -A ppc -O linux -T kernel \ -C gzip -a 00000000 -e 00000000 \ -n 'Linux-2.4.26-pre5-moto-pq3-2004_06_04-0' \ -d images/vmlinux.gz images/vmlinux.UBoot Image Name: Linux-2.4.26-pre5-moto-pq3-2004_ Created: Tue Nov 2 10:37:34 2004 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 906464 Bytes = 885.22 kB = 0.86 MB Load Address: 0x00000000 Entry Point: 0x00000000 ln -sf vmlinux.UBoot images/uImage rm -f ./mkuboot make[1]: Leaving directory `/opt/linuxppc-2.4/arch/ppc/boot'
Does one have to build tftp images in a different way ?
krb