From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Sun, 9 Apr 2017 12:22:54 +0530 Subject: [U-Boot] [PATCH v4 33/35] ARM: i.MX6: sabresd: Update README In-Reply-To: <1491720776-7445-1-git-send-email-jagan@openedev.com> References: <1491720776-7445-1-git-send-email-jagan@openedev.com> Message-ID: <1491720776-7445-34-git-send-email-jagan@openedev.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Jagan Teki Now SabreSD board support SPL and non-SPL with devicetree enabled, so update the README according with images generated with respective builds. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v4: - Update the dtb-enabled image as u-boot-dtb.img Changes for v3, v2: - none board/freescale/imx6sabresd/README | 50 ++++++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/board/freescale/imx6sabresd/README b/board/freescale/imx6sabresd/README index 43070e1..32f31ce 100644 --- a/board/freescale/imx6sabresd/README +++ b/board/freescale/imx6sabresd/README @@ -3,9 +3,9 @@ How to use and build U-Boot on mx6sabresd: Currently there are three methods for booting mx6sabresd boards: -1. Booting via Normal U-Boot (u-boot.imx) +1. Booting via Normal U-Boot (u-boot-dtb.imx) -2. Booting via SPL (SPL and u-boot.img) +2. Booting via SPL (SPL and u-boot-dtb.img) 3. Booting via Falcon mode (SPL launches the kernel directly) @@ -13,56 +13,74 @@ Currently there are three methods for booting mx6sabresd boards: 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 imx6q_sabresd_defconfig (If you want to build for imx6 quad sabresd) $ make -This will generate the image called u-boot.imx. +This will generate the image called u-boot-dtb.imx. -- Flash the u-boot.imx binary into the SD card: +- Flash the u-boot-dtb.imx binary into the SD card: -$ sudo dd if=u-boot.imx of=/dev/sdb bs=1K seek=1 && sync +$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 && sync 2. Booting via SPL ------------------ -Other method for building U-Boot on mx6qsabresd and mx6qpsabresd is +Other method for building U-Boot on imx6 duallite, quad and quad plus is through SPL. In order to do so: -$ make mx6sabresd_spl_defconfig +$ make imx6dl_sabresd_spl_defconfig (If you want to build for imx6 duallite sabresd) + +or + +$ make imx6q_sabresd_spl_defconfig (If you want to build for imx6 quad sabresd) + +or + +$ make imx6q_sabresd_spl_defconfig (If you want to build for imx6 quad plus sabresd) + $ 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 -------------------------- -$ make mx6sabresd_spl_defconfig +$ make imx6dl_sabresd_spl_defconfig (If you want to build for imx6 duallite sabresd) + +or + +$ make imx6q_sabresd_spl_defconfig (If you want to build for imx6 quad sabresd) + +or + +$ make imx6q_sabresd_spl_defconfig (If you want to build for imx6 quad plus sabresd) + $ 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 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