All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name
@ 2019-12-17 18:18 Fabio Estevam
  2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
  2019-12-22 13:06 ` [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2019-12-17 18:18 UTC (permalink / raw)
  To: buildroot

After the firmware-imx bump to version 8.1.1 the following
error is observed when building freescale_imx8qxpmek_defconfig:

>> firmware-imx 8.1.1 Installing to images directory
# SECO firmware is needed when generating imx8-boot-sd.bin which
# is done in post-image script.
cp /home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img
/home/fabio/buildroot/output/images/ahab-container.img
cp: cannot stat
'/home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img':
No such file or directory

In the firmware-imx-8.1.1 (and newer) the i.MX8QXP container image was
renamed to mx8qx-ahab-container.img, so fix it accordingly.

Fixes: 3ec818769d51 ("package/freescale-imx/firmware-imx: bump version to 8.1.1")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 package/freescale-imx/firmware-imx/firmware-imx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/freescale-imx/firmware-imx/firmware-imx.mk b/package/freescale-imx/firmware-imx/firmware-imx.mk
index 59af3f9b96..c9040e1853 100644
--- a/package/freescale-imx/firmware-imx/firmware-imx.mk
+++ b/package/freescale-imx/firmware-imx/firmware-imx.mk
@@ -50,7 +50,7 @@ FIRMWARE_IMX_INSTALL_IMAGES = YES
 define FIRMWARE_IMX_INSTALL_IMAGES_CMDS
 	# SECO firmware is needed when generating imx8-boot-sd.bin which
 	# is done in post-image script.
-	cp $(@D)/firmware/seco/ahab-container.img \
+	cp $(@D)/firmware/seco/mx8qx-ahab-container.img \
 		$(BINARIES_DIR)/ahab-container.img
 endef
 else
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-17 18:18 [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Fabio Estevam
@ 2019-12-17 18:18 ` Fabio Estevam
  2019-12-17 19:10   ` Fabio Estevam
                     ` (2 more replies)
  2019-12-22 13:06 ` [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Thomas Petazzoni
  1 sibling, 3 replies; 10+ messages in thread
From: Fabio Estevam @ 2019-12-17 18:18 UTC (permalink / raw)
  To: buildroot

Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 configs/freescale_imx8qxpmek_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/freescale_imx8qxpmek_defconfig b/configs/freescale_imx8qxpmek_defconfig
index 33e2a50dd7..82f433f6cf 100644
--- a/configs/freescale_imx8qxpmek_defconfig
+++ b/configs/freescale_imx8qxpmek_defconfig
@@ -8,7 +8,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8qxp-mek.dtb"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.14.78_1.0.0_ga"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.14.98_2.0.0_ga"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-imx8qxp-mek"
@@ -22,14 +22,14 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/imx-atf"
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="rel_imx_4.14.78_1.0.0_ga"
-BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8qxp"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="rel_imx_4.14.98_2.0.0_ga"
+BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8qx"
 BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.14.78_1.0.0_ga"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.14.98_2.0.0_ga"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8qxp_mek"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
@ 2019-12-17 19:10   ` Fabio Estevam
  2019-12-18 13:07     ` Julien Olivain
  2019-12-22 13:06   ` Thomas Petazzoni
  2019-12-26 17:17   ` Thomas Petazzoni
  2 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2019-12-17 19:10 UTC (permalink / raw)
  To: buildroot

On Tue, Dec 17, 2019 at 3:19 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Please discard this patch, sorry.

I am getting a boot hang with this one applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-17 19:10   ` Fabio Estevam
@ 2019-12-18 13:07     ` Julien Olivain
  2019-12-18 13:13       ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Julien Olivain @ 2019-12-18 13:07 UTC (permalink / raw)
  To: buildroot

Hi Fabio,

On 2019-12-17 20:10, Fabio Estevam wrote:
> On Tue, Dec 17, 2019 at 3:19 PM Fabio Estevam <festevam@gmail.com> 
> wrote:
>> 
>> Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 
>> 4.14.98.
>> 
>> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> 
> Please discard this patch, sorry.
> 
> I am getting a boot hang with this one applied.

Apparently, we experience here what I described earlier, in [1].
Updating U-Boot, Kernel and ATF will also need to realign 
imx-sc-firmware
to the same BSP version. When also applying patch [2] on top of yours,
I was able to boot the board again.

Best regards,

Julien.

[1] 
http://lists.busybox.net/pipermail/buildroot/2019-December/268824.html
[2] 
http://lists.busybox.net/pipermail/buildroot/2019-December/269334.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-18 13:07     ` Julien Olivain
@ 2019-12-18 13:13       ` Fabio Estevam
  0 siblings, 0 replies; 10+ messages in thread
From: Fabio Estevam @ 2019-12-18 13:13 UTC (permalink / raw)
  To: buildroot

Hi Julien,

On Wed, Dec 18, 2019 at 10:08 AM Julien Olivain <juju@cotds.org> wrote:

> Apparently, we experience here what I described earlier, in [1].
> Updating U-Boot, Kernel and ATF will also need to realign
> imx-sc-firmware
> to the same BSP version. When also applying patch [2] on top of yours,
> I was able to boot the board again.

Excellent! I don't have my imx8qxp mek board handy at the moment, but
I suggest bumping  to imx-sc-firmware-1.2.2.bin instead of 1.2.1, so
that it matches the version stated in the NXP 4.14.98 Release Notes.

Thanks

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name
  2019-12-17 18:18 [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Fabio Estevam
  2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
@ 2019-12-22 13:06 ` Thomas Petazzoni
  1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-12-22 13:06 UTC (permalink / raw)
  To: buildroot

On Tue, 17 Dec 2019 15:18:54 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> After the firmware-imx bump to version 8.1.1 the following
> error is observed when building freescale_imx8qxpmek_defconfig:
> 
> >> firmware-imx 8.1.1 Installing to images directory  
> # SECO firmware is needed when generating imx8-boot-sd.bin which
> # is done in post-image script.
> cp /home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img
> /home/fabio/buildroot/output/images/ahab-container.img
> cp: cannot stat
> '/home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img':
> No such file or directory
> 
> In the firmware-imx-8.1.1 (and newer) the i.MX8QXP container image was
> renamed to mx8qx-ahab-container.img, so fix it accordingly.
> 
> Fixes: 3ec818769d51 ("package/freescale-imx/firmware-imx: bump version to 8.1.1")
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  package/freescale-imx/firmware-imx/firmware-imx.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
  2019-12-17 19:10   ` Fabio Estevam
@ 2019-12-22 13:06   ` Thomas Petazzoni
  2019-12-22 14:27     ` Fabio Estevam
  2019-12-26 17:17   ` Thomas Petazzoni
  2 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2019-12-22 13:06 UTC (permalink / raw)
  To: buildroot

On Tue, 17 Dec 2019 15:18:55 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  configs/freescale_imx8qxpmek_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

I've marked this patch as Changes Requested. Can you send a new
iteration once the issues are resolved?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-22 13:06   ` Thomas Petazzoni
@ 2019-12-22 14:27     ` Fabio Estevam
  2019-12-26 17:16       ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2019-12-22 14:27 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Sun, Dec 22, 2019 at 10:06 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Tue, 17 Dec 2019 15:18:55 -0300
> Fabio Estevam <festevam@gmail.com> wrote:
>
> > Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
> >  configs/freescale_imx8qxpmek_defconfig | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
>
> I've marked this patch as Changes Requested. Can you send a new
> iteration once the issues are resolved?

As you already applied Julien's patch:
package/freescale-imx/imx-sc-firmware: bump to version 1.2.1

It is safe to apply this one now as Julien's patch fixed the boot issue.

Thanks

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-22 14:27     ` Fabio Estevam
@ 2019-12-26 17:16       ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-12-26 17:16 UTC (permalink / raw)
  To: buildroot

On Sun, 22 Dec 2019 11:27:57 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> > I've marked this patch as Changes Requested. Can you send a new
> > iteration once the issues are resolved?  
> 
> As you already applied Julien's patch:
> package/freescale-imx/imx-sc-firmware: bump to version 1.2.1
> 
> It is safe to apply this one now as Julien's patch fixed the boot issue.

Thanks for the confirmation, I've applied Julien's patch now.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components
  2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
  2019-12-17 19:10   ` Fabio Estevam
  2019-12-22 13:06   ` Thomas Petazzoni
@ 2019-12-26 17:17   ` Thomas Petazzoni
  2 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-12-26 17:17 UTC (permalink / raw)
  To: buildroot

On Tue, 17 Dec 2019 15:18:55 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  configs/freescale_imx8qxpmek_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-12-26 17:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 18:18 [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Fabio Estevam
2019-12-17 18:18 ` [Buildroot] [PATCH 2/2] configs/imx8qxpmek: Update to 4.14.98 components Fabio Estevam
2019-12-17 19:10   ` Fabio Estevam
2019-12-18 13:07     ` Julien Olivain
2019-12-18 13:13       ` Fabio Estevam
2019-12-22 13:06   ` Thomas Petazzoni
2019-12-22 14:27     ` Fabio Estevam
2019-12-26 17:16       ` Thomas Petazzoni
2019-12-26 17:17   ` Thomas Petazzoni
2019-12-22 13:06 ` [Buildroot] [PATCH 1/2] firmware-imx: Fix the ahab-container name Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.