Skip to contentSkip to conversation

imx8mn_ddr4_evk: Allow booting the kernel by default

PATCH New Fabio Estevam 5 participants 9 messages Mar 4, 2021 – Apr 5, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Currently it is not possible to boot Linux from the SD card by default.

Make the necessary adjustments to allow it.

---
 configs/imx8mn_ddr4_evk_defconfig | 1 +
 include/configs/imx8mn_evk.h      | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
configs/imx8mn_ddr4_evk_defconfig +1 -0
index f7ea65886d51..2c12bdabe0a0 100644
@@ -54,6 +54,7 @@ CONFIG_SPL_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_CLK_COMPOSITE_CCF=y
include/configs/imx8mn_evk.h +2 -2
index 1e2825337e2d..596e255ca6de 100644
@@ -34,10 +34,10 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"script=boot.scr\0" \
-	"image=Image.itb\0" \
+	"image=Image\0" \
 	"console=ttymxc1,115200\0" \
 	"fdt_addr=0x43000000\0"			\
-	"boot_fit=try\0" \
+	"boot_fit=no\0" \
 	"fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
 	"initrd_addr=0x43800000\0"		\
 	"bootm_size=0x10000000\0" \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Hello Fabio,

Quoted 8 lines · Fabio Estevam

Currently it is not possible to boot Linux from the SD card by default.

Make the necessary adjustments to allow it.

Quoted 37 lines
---
 configs/imx8mn_ddr4_evk_defconfig | 1 +
 include/configs/imx8mn_evk.h      | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
configs/imx8mn_ddr4_evk_defconfig +1 -0
index f7ea65886d51..2c12bdabe0a0 100644
@@ -54,6 +54,7 @@ CONFIG_SPL_OF_CONTROL=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_CLK_COMPOSITE_CCF=y
include/configs/imx8mn_evk.h +2 -3
index 1e2825337e2d..596e255ca6de 100644
@@ -34,10 +34,10 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS              \
        "script=boot.scr\0" \
-       "image=Image.itb\0" \
+       "image=Image\0" \
        "console=ttymxc1,115200\0" \
        "fdt_addr=0x43000000\0"                 \
-       "boot_fit=try\0" \
+       "boot_fit=no\0" \
        "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
        "initrd_addr=0x43800000\0"              \
        "bootm_size=0x10000000\0" \
--

2.25.1

Signature · 2 lines
Regards,
Andrey.
author reviewer
#2 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Hi Stefano and Tom,

Quoted 8 lines · Andrey Zhizhikin

Hello Fabio,

Quoted 4 lines · Fabio Estevam

Currently it is not possible to boot Linux from the SD card by default.

Quoted 6 lines
Quoted 4 lines

Make the necessary adjustments to allow it.

Please consider applying this one for 2021.04 as it allows imx8mn-evk booting Linux by default.

Thanks

#3 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Hi Fabio,

Quoted 13 lines · Fabio Estevam

Hi Stefano and Tom,

Quoted 10 lines · Andrey Zhizhikin

Hello Fabio,

Quoted 6 lines · Fabio Estevam

Currently it is not possible to boot Linux from the SD card by default.

Make the necessary adjustments to allow it.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Please consider applying this one for 2021.04 as it allows imx8mn-evk booting Linux by default.

Thanks for fixing it. I pick it up for release.

Stefano

Quoted 2 lines

Thanks

author reviewer
#4 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Hi Stefano,

Quoted 5 lines · Stefano Babic
Quoted 3 lines

Please consider applying this one for 2021.04 as it allows imx8mn-evk booting Linux by default.

Thanks for fixing it. I pick it up for release.

It seems this one is still missing. Could it be applied for 2021.04?

Thanks

#5 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Hi Fabio, Tom,

Quoted 4 lines · Fabio Estevam

Hi Stefano,

On Sat, Mar 20, 2021 at 3:18 PM Stefano Babic <[email protected]> wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Please consider applying this one for 2021.04 as it allows imx8mn-evk booting Linux by default.

Thanks for fixing it. I pick it up for release.

It seems this one is still missing. Could it be applied for 2021.04?

I see in patchwork that patch is already set to "accepted" and was delegated to Tom, but I could not find it as well in Tom's official tree. I merged into u-boot-imx, but is it maybe in another Tom's branch ready for release ?

Regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
#6 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

Quoted 11 lines · Stefano Babic

Hi Fabio, Tom,

Quoted 8 lines · Fabio Estevam

Hi Stefano,

Quoted 4 lines · Stefano Babic
Quoted 3 lines

Please consider applying this one for 2021.04 as it allows imx8mn-evk booting Linux by default.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Thanks for fixing it. I pick it up for release.

It seems this one is still missing. Could it be applied for 2021.04?

I see in patchwork that patch is already set to "accepted" and was delegated to Tom, but I could not find it as well in Tom's official tree. I merged into u-boot-imx, but is it maybe in another Tom's branch ready for release ?

I've applied it locally to master, but I haven't pushed since I'm otherwise getting ready to do the release and I don't want to get CI too bogged down just yet.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210405/c167845c/attachment.sig>
#7 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

In reply to Fabio Estevam
Quoted 33 lines

Subject: [PATCH] imx8mn_ddr4_evk: Allow booting the kernel by default

Currently it is not possible to boot Linux from the SD card by default.

Make the necessary adjustments to allow it.

---
 configs/imx8mn_ddr4_evk_defconfig | 1 +
 include/configs/imx8mn_evk.h      | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
configs/imx8mn_ddr4_evk_defconfig +0 -0
index f7ea65886d51..2c12bdabe0a0 100644
@@ -54,6 +54,7 @@ CONFIG_SPL_OF_CONTROL=y

CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y

configs/imx8mn_ddr4_evk_defconfig +1 -0
+CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_CLK_COMPOSITE_CCF=y
include/configs/imx8mn_evk.h +0 -0
index 1e2825337e2d..596e255ca6de 100644
@@ -34,10 +34,10 @@
 /* Initial environment variables */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"script=boot.scr\0" \

include/configs/imx8mn_evk.h

Quoted 10 lines
include/configs/imx8mn_evk.h +2 -3
-	"image=Image.itb\0" \
+	"image=Image\0" \
 	"console=ttymxc1,115200\0" \
 	"fdt_addr=0x43000000\0"			\
-	"boot_fit=try\0" \
+	"boot_fit=no\0" \
 	"fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
 	"initrd_addr=0x43800000\0"		\
 	"bootm_size=0x10000000\0" \
--
#8 lore raw

PATCH 1/1 imx8mn_ddr4_evk: Allow booting the kernel by default

In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam

Currently it is not possible to boot Linux from the SD card by default.

Make the necessary adjustments to allow it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210405/5e31f357/attachment.sig>