Running u-boot.bin in SDRAM can save time and be good for SD card and NAND Flash.
Reference:
http://blog.chinaunix.net/uid-25605754-id-1564890.html
Step 1: add these defines in config file. These defines will make U-Boot to skip low-level initialization. SPL/MLO need not to be executed.
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_SKIP_RELOCATE_UBOOT
Step 2: change SYS_TEXT_BASE in include/configs/ti_armv7_common.h. It cannot be set default value 0x80800000, as it's default u-boot address.
#define CONFIG_SYS_TEXT_BASE 0x83000000
Step 3: make.
Step 4: cp ../build/u-boot.bin /tftp_root/
Step 5: execute u-boot cmds. Then the new u-boot.bin will be executed.
set ipaddr 192.168.1.117; set serverip 192.168.1.116
tftp 0x83000000 u-boot.bin
go 0x83000000
DiracFatCat 2015-1-6 13:00