From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Thu, 6 Apr 2017 00:50:39 +0530 Subject: [U-Boot] [PATCH v3 29/31] ARM: i.MX6: sabresd: Update README In-Reply-To: <1491420041-12471-1-git-send-email-jagan@openedev.com> References: <1491420041-12471-1-git-send-email-jagan@openedev.com> Message-ID: <1491420041-12471-30-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 Since all SabreSD boards support SPL and devicetree update README on respective image name changes while loading the SD card. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- 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