Shawn Guo | ec907a0 | 2019-07-07 20:59:55 +0800 | [diff] [blame] | 1 | * Build U-Boot for Meerkat96 board |
| 2 | |
| 3 | $ make mrproper |
| 4 | $ make meerkat96_defconfig |
| 5 | $ make |
| 6 | |
| 7 | It will generate the U-Boot binary called u-boot-dtb.imx |
| 8 | |
| 9 | * Install U-Boot to MicroSD card |
| 10 | |
| 11 | Plug MicroSD card to a Linux machine (with card reader), find the |
| 12 | device name and replace sd[x] with the name in the following command. |
| 13 | |
| 14 | $ sudo dd if=u-boot-dtb.imx of=/dev/sd[x] bs=512 seek=2 |
| 15 | |
| 16 | It will install U-Boot to MicroSD card at 1KiB offset. Insert the |
| 17 | card to Meerkat96 MicroSD slot, power up the board, and U-Boot should |
| 18 | boot from the card. |