diff mbox

[U-Boot,v2,28/29] ARM: i.MX6: sabresd: Update README

Message ID 1491227616-15042-29-git-send-email-jagan@openedev.com
State Superseded
Delegated to: Stefano Babic
Headers show

Commit Message

Jagan Teki April 3, 2017, 1:53 p.m. UTC
From: Jagan Teki <jagan@amarulasolutions.com>

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(-)

Comments

Peng Fan April 6, 2017, 2:07 a.m. UTC | #1
On Mon, Apr 03, 2017 at 07:23:35PM +0530, Jagan Teki wrote:
>From: Jagan Teki <jagan@amarulasolutions.com>
>
>Since all SabreSD boards support SPL and devicetree
>update README on respective image name changes
>while loading the SD card.

SPL is not supported by NXP software releases, so I would keep non-SPL
as the default.

Thanks,
Peng.
Jagan Teki April 6, 2017, 4:03 a.m. UTC | #2
On Thu, Apr 6, 2017 at 7:37 AM, Peng Fan <van.freenix@gmail.com> wrote:
> On Mon, Apr 03, 2017 at 07:23:35PM +0530, Jagan Teki wrote:
>>From: Jagan Teki <jagan@amarulasolutions.com>
>>
>>Since all SabreSD boards support SPL and devicetree
>>update README on respective image name changes
>>while loading the SD card.
>
> SPL is not supported by NXP software releases, so I would keep non-SPL
> as the default.

The main idea about this series is to follow latest U-Boot features
SPL, dts, dm so I drooped non-SPL configs, Once these changes are in
tree on next release, may be NXP will need to update these.

thanks!
Fabio Estevam April 6, 2017, 1:30 p.m. UTC | #3
Hi Jagan,

On Thu, Apr 6, 2017 at 1:03 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:

> The main idea about this series is to follow latest U-Boot features
> SPL, dts, dm so I drooped non-SPL configs, Once these changes are in
> tree on next release, may be NXP will need to update these.

I also prefer we keep the original non-SPL defconfigs.

Thanks
Jagan Teki April 6, 2017, 7:06 p.m. UTC | #4
On Thu, Apr 6, 2017 at 7:00 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Jagan,
>
> On Thu, Apr 6, 2017 at 1:03 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
>
>> The main idea about this series is to follow latest U-Boot features
>> SPL, dts, dm so I drooped non-SPL configs, Once these changes are in
>> tree on next release, may be NXP will need to update these.
>
> I also prefer we keep the original non-SPL defconfigs.

OK, but dtb-enabled is fine right? will ended up 3 configs for non-spl
and spl all have dtb-enabled.

thanks!
Fabio Estevam April 6, 2017, 10:01 p.m. UTC | #5
On Thu, Apr 6, 2017 at 4:06 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:

> OK, but dtb-enabled is fine right? will ended up 3 configs for non-spl
> and spl all have dtb-enabled.

Enabling dtb support is fine. Keeping the DCD defconfigs is very convenient.
diff mbox

Patch

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: