
You don't provide any useful information (like exact commands used and addresses used), so don't expect a helpful reply ;-)
working procedure:
rgetz@pinky:~/uClinux-dist> make menuconfig (set things up) rgetz@pinky:~/uClinux-dist> make (make the uClinux dist)
rgetz@pinky:~/uClinux-dist> cp /linux-2.6.x/linux ./linux rgetz@pinky:~/uClinux-dist> cp linux /tftpboot/linux rgetz@pinky:~/uClinux-dist> objcopy -O binary ./linux ./linux.bin rgetz@pinky:~/uClinux-dist> cp linux /tftpboot/linux.bin rgetz@pinky:~/uClinux-dist> gzip -9 linux.bin rgetz@pinky:~/uClinux-dist> ../u-boot/tools/mkimage -A Blackfin -O Linux \ -T kernel -C gzip -a 0x1000 -e 0x1000 -n "Bfin uClinux Kernel" \ -d linux.bin.gz uImage rgetz@pinky:~/uClinux-dist> cp ./uImage /tftpboot/uImage
I have three files linux (elf file) linux.bin (binary) and uImage (compressed)
rgetz@pinky:~/uClinux-dist> kermit stamp> tftp 0x1000000 linux stamp> bootelf (works great)
stamp> tftp 0x1000 linux.bin stamp> go 0x1000 (works great)
stamp> tftp 0x1000000 uImage stamp> bootm (works great)
stamp> tftp 0x1000000 uImage stamp> cp.b 0x1000000 0x20100000 $(filesize) stamp> bootm 0x20100000 (boot from flash - works great) (reset, and boot from flash with Autoboot - works great)
Failing procedure:
rgetz@pinky:~/uClinux-dist> make menuconfig (set things up) rgetz@pinky:~/uClinux-dist> cp ../media/song.mp3 ./romfs/bin/song.mp3 rgetz@pinky:~/uClinux-dist> make (make the uClinux dist)
rgetz@pinky:~/uClinux-dist> cp /linux-2.6.x/linux ./linux rgetz@pinky:~/uClinux-dist> cp linux /tftpboot/linux rgetz@pinky:~/uClinux-dist> objcopy -O binary ./linux ./linux.bin rgetz@pinky:~/uClinux-dist> cp linux /tftpboot/linux.bin rgetz@pinky:~/uClinux-dist> gzip -9 linux.bin rgetz@pinky:~/uClinux-dist> ../u-boot/tools/mkimage -A Blackfin -O Linux \ -T kernel -C gzip -a 0x1000 -e 0x1000 -n "Bfin uClinux Kernel" \ -d linux.bin.gz uImage rgetz@pinky:~/uClinux-dist> cp ./uImage /tftpboot/uImage
I have three files linux (elf file) linux.bin (binary) and uImage (compressed)
rgetz@pinky:~/uClinux-dist> kermit stamp> tftp 0x1000000 linux stamp> bootelf (works great)
stamp> tftp 0x1000 linux.bin stamp> go 0x1000 (works great)
stamp> tftp 0x1000000 uImage stamp> bootm (fails)
stamp> tftp 0x1000000 uImage stamp> cp.b 0x1000000 0x20100000 $(filesize) stamp> bootm 0x20100000 (boot from flash - fails) (reset, and boot from flash with Autoboot - fails)
If you need anything else - let me know. -Robin