mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-02 04:58:14 +00:00
The am33xx_spl_board_init function was introduced as a way to add board-specific SPL init for AM33xx devices since the spl_board_init function was already used for SoC-specific init. Now that the SoC-specific SPL init was moved to spl_soc_init, we can use spl_board_init for this purpose and get rid of am33xx_spl_board_init. Rename the function in board files and enable the related config option for concerned boards. Signed-off-by: Paul Kocialkowski <paulk@sys-base.io> Reviewed-by: Tom Rini <trini@konsulko.com>
How to use U-Boot on Grinn's chiliBoard -------------------------------------- - Build U-Boot for chiliBoard: $ make mrproper $ make chiliboard_defconfig $ make This will generate the SPL image called MLO and the u-boot.img. - Flash the SPL image into the micro SD card: sudo dd if=MLO of=/dev/mmcblk0 bs=128k; sync - Flash the u-boot.img image into the micro SD card: sudo dd if=u-boot.img of=/dev/mmcblk0 bs=128k seek=3; sync - Jumper settings: S2: 1 1 1 0 1 0 where 0 means bottom position and 1 means top position (from the switch label numbers reference). - Insert the micro SD card in the board. - Connect USB cable between chiliBoard and the PC for the power and console. - U-Boot messages should come up.