xref: /openbmc/u-boot/board/solidrun/mx6cuboxi/README (revision 57dc53a72460e8e301fa1cc7951b41db8e731485)
1*a187559eSBin MengHow to use U-Boot on Solid-run mx6 Hummingboard and Cubox-i
20768a69fSFabio Estevam-----------------------------------------------------------
3b8ce6fe2SFabio Estevam
4*a187559eSBin Meng- Build U-Boot for Hummingboard/Cubox-i:
5b8ce6fe2SFabio Estevam
6b8ce6fe2SFabio Estevam$ make mrproper
7b8ce6fe2SFabio Estevam$ make mx6cuboxi_defconfig
8b8ce6fe2SFabio Estevam$ make
9b8ce6fe2SFabio Estevam
10b8ce6fe2SFabio EstevamThis will generate the SPL image called SPL and the u-boot.img.
11b8ce6fe2SFabio Estevam
12b8ce6fe2SFabio Estevam- Flash the SPL image into the SD card:
13b8ce6fe2SFabio Estevam
14b8ce6fe2SFabio Estevamsudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
15b8ce6fe2SFabio Estevam
16b8ce6fe2SFabio Estevam- Flash the u-boot.img image into the SD card:
17b8ce6fe2SFabio Estevam
18b8ce6fe2SFabio Estevamsudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
19b8ce6fe2SFabio Estevam
20*a187559eSBin Meng- Insert the SD card in the board, power it up and U-Boot messages should
210768a69fSFabio Estevamcome up.
22