I am trying to make a blackfin buildroot image to run after u-boot on my custom BF537 board.
I have downloaded the latest buildroot from sourceforge: blackfin-buildroot-2012R2-RC5.tar.bz2 and have had success building an image using menuconfig with only the following settings:
Target Architecture (Blackfin)
Target ABI (FLAT)
Target Architecture Variant (bf537)
(0.3 Target CPU revision
-Enabled IPv6 support
-Enable WCHAR support
I have then used a tftp to copy 'uImage' to 0x100000 on my custom board(I only have a 8MB of SDRAM) which works fine.
When trying to run the linux image, U-boot reports back:
done
Bytes transferred = 3732020 (38f234 hex)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
bfin>
My environment variables are attached.
Loadaddr is set to 0x1000 as per http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:tftp_loading_files but I think I'm having some issues arranging my memory since:
- SDRAM is 8MB
- uImage is ~3.8MB.
- U-boot is booting from my 4MB SPI flash.
Ultimately I want buildroot to boot from SPI flash although clearly I'll need a bit more memory so for now I'd like to see buildroot running via tftp.
- Is there a definitions page for all the environment variables, fileaddr, loadaddr, ramboot etc?
- According to http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:tftp_loading_files I should load the uImage to 0x400000 (since in my case I only have 8MB of SDRAM) and set my loadaddr=0x1000, but it does not complete the file transfer and hangs.
Filename 'uImage'.
Load address: 0x400000
Loading: #################################################################
###############################################T ##################
#################################################################
####T #############################################################
#########################################T ########################
###########################
Does anyone have a solution to this problem?