Can a starterware project developed using CCSv6 and the TI tool chain be used to boot a beaglebone black from a host computer over ethernet?
My objective is to be able to easily do field updates of the bare metal software without having to load SD cards and boot with the reset button pressed.
I initially tried the methods outlined in
www.cs.sfu.ca/.../BareMetalGuide.pdf
but the ti images (e.g. for the gpioLEDBlink example) do not run (See output below).
Further searching suggests that using uboot requires linux images produced using a gcc tool chain.
Is that correct? Do I need to recompile my project using the gcc tool chain? Any other suggestions?
Bryan
------------------------------------------
The following attempt to use uboot with gpioLEDBlink.bin turned the LED on but then hung until a timeout when Linux was booted.
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot# setenv bootenv uEnvBareMetalDHCP.txt
U-Boot# boot
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnvBareMetalDHCP.txt
228 bytes read in 5 ms (43.9 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnvBareMetalDHCP.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.11
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.0.10; our IP address is 192.168.0.11
Filename 'gpioLEDBlink.bin'.
Load address: 0x80000000
Loading: #
196.3 KiB/s
done
Bytes transferred = 6636 (19ec hex)
*** Booting to BareMetal ***
## Starting application at 0x80000000 ...