From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Thu, 18 May 2017 16:30:31 +0530 Subject: [U-Boot] [PATCH v6 21/21] SabreSD: README: Update with dtb changes In-Reply-To: <1495105231-1723-1-git-send-email-jagan@openedev.com> References: <1495105231-1723-1-git-send-email-jagan@openedev.com> Message-ID: <1495105231-1723-22-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 with U-Boot proper devicetree enabled, so update the README according with images generated with respective builds. "Booting from eMMC" still need to test and update README. Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/README | 66 +++++++++++---------------------------- 1 file changed, 19 insertions(+), 47 deletions(-) diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabresd/README index 628d35f..9749511 100644 --- a/board/freescale/mx6sabresd/README +++ b/board/freescale/mx6sabresd/README @@ -1,43 +1,36 @@ How to use and build U-Boot on mx6sabresd: ----------------------------------- +----------------------------------------- -Currently there are four methods for booting mx6sabresd boards: +Currently there are three methods for booting mx6sabresd boards: -1. Booting from SD card via normal U-Boot (u-boot.imx) +1. Booting via SPL (SPL and u-boot-dtb.img) 2. Booting from eMMC via normal U-Boot -3. Booting via SPL (SPL and u-boot.img) - -4. Booting via Falcon mode (SPL launches the kernel directly) - +3. Booting via Falcon mode (SPL launches the kernel directly) -1. Booting from SD card via normal U-Boot ------------------------------------------ - -$ make mx6qsabresd_defconfig (If you want to build for mx6qsabresd) -or +1. Booting via SPL (SPL and u-boot-dtb.img) +------------------------------------------- -$ make mx6dlsabresd_defconfig (If you want to build for mx6dlsabresd) +$ make mx6sabresd_defconfig $ make -This will generate the image called u-boot.imx. +This will generate the SPL image called SPL and the u-boot-dtb.img. -- Flash the u-boot.imx binary into the SD card: +- Flash the SPL image into the SD card: + +$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 && sync -$ sudo dd if=u-boot.imx of=/dev/sdb bs=1K seek=1 && sync +- Flash the u-boot-dtb.img image into the SD card: +$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 && sync 2. Booting from eMMC via normal U-Boot -------------------------------------- -$ make mx6qsabresd_defconfig (If you want to build for mx6qsabresd) - -or - -$ make mx6dlsabresd_defconfig (If you want to build for mx6dlsabresd) +$ make mx6sabresd_defconfig $ make @@ -66,42 +59,21 @@ $ sudo dd if=u-boot.imx of=/dev/sdX bs=1K seek=1 && sync Set SW6 to eMMC 8-bit boot: 11010110 - -3. Booting via SPL ------------------- - -Other method for building U-Boot on mx6qsabresd and mx6qpsabresd is -through SPL. In order to do so: - -$ 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 && sync - -- Flash the u-boot.img image into the SD card: - -$ sudo dd if=u-boot.img of=/dev/sdb bs=1K seek=69 && sync - - -4. Booting via Falcon mode +3. Booting via Falcon mode -------------------------- -$ make mx6sabresd_spl_defconfig +$ make mx6sabresd_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 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