diff mbox series

[RESEND,2/2] configs/imx6q-sabresd_defconfig: Switch to SPL boot

Message ID 1505567532-11583-2-git-send-email-festevam@gmail.com
State Accepted
Headers show
Series [RESEND,1/2] imx: Introduce an SPL genimage template | expand

Commit Message

Fabio Estevam Sept. 16, 2017, 1:12 p.m. UTC
From: Fabio Estevam <fabio.estevam@nxp.com>

U-Boot 2017.07 has switched to SPL boot, which allows the same binary to
boot on imx6dl, imx6q and imx6qp sabresd boards.

Switch to the SPL mechanism.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 configs/imx6q-sabresd_defconfig | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Comments

Arnout Vandecappelle Sept. 24, 2017, 3:10 p.m. UTC | #1
On 16-09-17 15:12, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
> 
> U-Boot 2017.07 has switched to SPL boot, which allows the same binary to
> boot on imx6dl, imx6q and imx6qp sabresd boards.
> 
> Switch to the SPL mechanism.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

 Applied both to master, thanks. However, as a follow-up patch, could you:

- rename this to imx6-sabresd_defconfig (since it now also supports DL and Q+);
- also swith the _qt5 config to SPL;
- maybe also merge board/freescale/imx6q-sabresd into board/freescale/imx6sabre,
i.e. a single readme for all imx6sabre board that explains the difference
between the Freescale and the upstream configs.

 Also, could a Solo not be supported with the same defconfig?

 Regards,
 Arnout

> ---
>  configs/imx6q-sabresd_defconfig | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/imx6q-sabresd_defconfig b/configs/imx6q-sabresd_defconfig
> index b26dc2a..e010315 100644
> --- a/configs/imx6q-sabresd_defconfig
> +++ b/configs/imx6q-sabresd_defconfig
> @@ -22,10 +22,12 @@ BR2_TARGET_ROOTFS_EXT2_4=y
>  
>  # Bootloader
>  BR2_TARGET_UBOOT=y
> -BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
> +BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd"
>  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05"
> -BR2_TARGET_UBOOT_FORMAT_IMX=y
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
> +BR2_TARGET_UBOOT_FORMAT_IMG=y
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="SPL"
>  
>  # Kernel
>  BR2_LINUX_KERNEL=y
> @@ -33,4 +35,4 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.1"
>  BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
>  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd"
>
Fabio Estevam Sept. 24, 2017, 3:24 p.m. UTC | #2
Hi Arnout,

On Sun, Sep 24, 2017 at 12:10 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
>
>
> On 16-09-17 15:12, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam@nxp.com>
>>
>> U-Boot 2017.07 has switched to SPL boot, which allows the same binary to
>> boot on imx6dl, imx6q and imx6qp sabresd boards.
>>
>> Switch to the SPL mechanism.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
>
>  Applied both to master, thanks. However, as a follow-up patch, could you:
>
> - rename this to imx6-sabresd_defconfig (since it now also supports DL and Q+);
> - also swith the _qt5 config to SPL;
> - maybe also merge board/freescale/imx6q-sabresd into board/freescale/imx6sabre,
> i.e. a single readme for all imx6sabre board that explains the difference
> between the Freescale and the upstream configs.

Yes, I had this in mind too. Will send it a follow-up patch soon.

>  Also, could a Solo not be supported with the same defconfig?

Yes, in theory. However NXP does not produce a imx6solo sabresd board.

Thanks!
Fabio Estevam Sept. 25, 2017, 12:36 p.m. UTC | #3
Hi Arnout,

On Sun, Sep 24, 2017 at 12:10 PM, Arnout Vandecappelle <arnout@mind.be> wrote:

>  Applied both to master, thanks. However, as a follow-up patch, could you:
>
> - rename this to imx6-sabresd_defconfig (since it now also supports DL and Q+);
> - also swith the _qt5 config to SPL;

Just sent a series that addresses this topics.

> - maybe also merge board/freescale/imx6q-sabresd into board/freescale/imx6sabre,
> i.e. a single readme for all imx6sabre board that explains the difference
> between the Freescale and the upstream configs.

This one is currently missing on my series, but I plan to do it on a next step.
diff mbox series

Patch

diff --git a/configs/imx6q-sabresd_defconfig b/configs/imx6q-sabresd_defconfig
index b26dc2a..e010315 100644
--- a/configs/imx6q-sabresd_defconfig
+++ b/configs/imx6q-sabresd_defconfig
@@ -22,10 +22,12 @@  BR2_TARGET_ROOTFS_EXT2_4=y
 
 # Bootloader
 BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
+BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05"
-BR2_TARGET_UBOOT_FORMAT_IMX=y
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
+BR2_TARGET_UBOOT_FORMAT_IMG=y
+BR2_TARGET_UBOOT_SPL=y
+BR2_TARGET_UBOOT_SPL_NAME="SPL"
 
 # Kernel
 BR2_LINUX_KERNEL=y
@@ -33,4 +35,4 @@  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.1"
 BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd"