[U-Boot] [PATCH v3 29/31] ARM: i.MX6: sabresd: Update README

Jagan Teki
2017-04-05T19:20:39Z

Since all SabreSD boards support SPL and devicetree
update README on respective image name changes
while loading the SD card.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
board/freescale/imx6sabresd/README | 53 ++++++++++++--------------------------
1 file changed, 17 insertions(+), 36 deletions(-)

diff --git a/board/freescale/imx6sabresd/README b/board/freescale/imx6sabresd/README
index 43070e1..4e9abb8 100644
--- a/board/freescale/imx6sabresd/README
+++ b/board/freescale/imx6sabresd/README
@@ -1,68 +1,49 @@
-How to use and build U-Boot on mx6sabresd:
-----------------------------------
+How to use and build U-Boot on imx6sabresd:
+------------------------------------------

-Currently there are three methods for booting mx6sabresd boards:
+Currently there are two methods for booting imx6sabresd boards:

-1. Booting via Normal U-Boot (u-boot.imx)
+1. Booting via SPL (SPL and u-boot-dtb.img)

-2. Booting via SPL (SPL and u-boot.img)
+2. Booting via Falcon mode (SPL launches the kernel directly)

-3. Booting via Falcon mode (SPL launches the kernel directly)

+1. Booting via SPL
+------------------

-1. Booting via Normal U-Boot
-----------------------------
-
-$ make mx6qsabresd_defconfig (If you want to build for mx6qsabresd)
+$ make imx6dl_sabresd_defconfig (If you want to build for imx6 duallite sabresd)

or

-$ make mx6dlsabresd_defconfig (If you want to build for mx6dlsabresd)
-
-$ make
-
-This will generate the image called u-boot.imx.
-
-- Flash the u-boot.imx binary into the SD card:
-
-$ sudo dd if=u-boot.imx of=/dev/sdb bs=1K seek=1 && sync
+$ make imx6q_sabresd_defconfig (If you want to build for imx6 quad sabresd)

+or

-2. Booting via SPL
-------------------
-
-Other method for building U-Boot on mx6qsabresd and mx6qpsabresd is
-through SPL. In order to do so:
+$ make imx6qp_sabresd_defconfig (If you want to build for imx6 quad plus sabresd)

-$ make mx6sabresd_spl_defconfig
$ make

-This will generate the SPL image called SPL and the u-boot.img.
+This will generate the SPL image called SPL and the u-boot-dtb.img.

- Flash the SPL image into the SD card:

$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 && sync

-- Flash the u-boot.img image into the SD card:
+- Flash the u-boot-dtb.img image into the SD card:

-$ sudo dd if=u-boot.img of=/dev/sdb bs=1K seek=69 && sync
+$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 && sync

-3. Booting via Falcon mode
+2. Booting via Falcon mode
--------------------------

-$ make mx6sabresd_spl_defconfig
-$ make
-
-This will generate the SPL image called SPL and the u-boot.img.
-
- Flash the SPL image into the SD card:

$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 oflag=sync status=none && sync

-- Flash the u-boot.img image into the SD card:
+- Flash the u-boot-dtb.img image into the SD card:

-$ sudo dd if=u-boot.img of=/dev/sdb bs=1K seek=69 oflag=sync status=none && sync
+$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 oflag=sync status=none && sync

Create a partition for root file system and extract it there:

--
1.9.1