[U-Boot] [PATCH v3 22/22] board: mx6sabresd: Update README with the SPL DM FIT info
Abel Vesa
abel.vesa at nxp.com
Wed Jan 30 13:40:12 UTC 2019
There is a new step now. The need to build the u-boot.itb.
And instead of flashing the .img file, now the .itb file needs
to be flashed.
Signed-off-by: Abel Vesa <abel.vesa at nxp.com>
---
board/freescale/mx6sabresd/README | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabresd/README
index 4b4df06..9b7f7cd 100644
--- a/board/freescale/mx6sabresd/README
+++ b/board/freescale/mx6sabresd/README
@@ -20,6 +20,7 @@ In order to build it:
$ make mx6sabresd_defconfig
$ make
+$ make u-boot.itb
This will generate the SPL and u-boot.img binaries.
@@ -29,7 +30,7 @@ $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
- Flash the u-boot.img binary into the SD card:
-$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
+$ sudo dd if=u-boot.itb of=/dev/sdX bs=1K seek=69 && sync
2. Booting from eMMC
@@ -38,6 +39,7 @@ $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
$ make mx6sabresd_defconfig
$ make
+$ make u-boot.itb
This will generate the SPL and u-boot.img binaries.
@@ -54,7 +56,7 @@ Mount the eMMC in the host PC:
- Flash SPL and u-boot.img binaries into the eMMC:
$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
-$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
+$ sudo dd if=u-boot.itb of=/dev/sdX bs=1K seek=69 && sync
Set SW6 to eMMC 8-bit boot: 11010110
@@ -64,6 +66,7 @@ Set SW6 to eMMC 8-bit boot: 11010110
$ make mx6sabresd_defconfig
$ make
+$ make u-boot.itb
This will generate the SPL image called SPL and the u-boot.img.
@@ -73,7 +76,7 @@ $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none && sync
- Flash the u-boot.img image into the SD card:
-$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync
+$ sudo dd if=u-boot.itb of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync
Create a partition for root file system and extract it there:
--
2.7.4
More information about the U-Boot
mailing list