2011-08-21 17:55:48     BF516F boot from SD card

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2011-08-21 17:55:48     BF516F boot from SD card

Robert Hillman (SWEDEN)

Message: 103057   


I've got a BF516F which i am running from a SD card by writing some commands over UART to the U-boot.



"fatls mmc 0:1"

"fatload mmc 0:1 0x1000000 myproject.ldr"

"bootldr 0x1000000"


It works just fine but it's getting tiring writing in these commands each time I start the unit. Is there any way to autoboot from the SD card?


Keep the explanation simple (step by step) if possible. Im new to this DSP and the environment.




2011-08-21 18:52:08     BF516F boot from SD card

Wojtek Skulski (UNITED STATES)

Message: 103058    In your uBoot directory ~/u-boot/u-boot-2010.06/include/configs there is a

file my_board.h. (Substitute proper name.) In that file add the following:



"mycommand=mmcinfo; \0" \

"fatls mmc 0:1; \0" \

"fatload mmc 0:1 0x1000000 myproject.ldr; \0" \

"bootldr 0x1000000\0" \


Recompile uBoot. Reflash your board with the new uBoot. Reboot.

Under the new uBoot prompt type:


uboot> run mycommand




2011-08-21 20:19:21     Re: BF516F boot from SD card

Mike Frysinger (UNITED STATES)

Message: 103059   


set bootcmd "mmcinfo; fatls mmc 0:1; ..........."