firmware-imx: Fix the ahab-container name
Fabio Estevam
reviewerPATCH 1/2 firmware-imx: Fix the ahab-container name
After the firmware-imx bump to version 8.1.1 the following error is observed when building freescale_imx8qxpmek_defconfig:
Quoted 1 line
Quoted 1 line
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.
--- package/freescale-imx/firmware-imx/firmware-imx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/freescale-imx/firmware-imx/firmware-imx.mk +1 -1
@@ -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
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
--- configs/freescale_imx8qxpmek_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
configs/freescale_imx8qxpmek_defconfig +4 -4
@@ -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
Signature · 1 line
2.17.1
Fabio Estevam
reviewerPATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Quoted 4 lines · Fabio Estevam
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
Signed-off-by Fabio Estevam <[email protected]>
Please discard this patch, sorry.
I am getting a boot hang with this one applied.
PATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Hi Fabio,
Quoted 11 lines · Fabio Estevam
Quoted 5 lines · Fabio Estevam
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
Signed-off-by Fabio Estevam <[email protected]>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
Fabio Estevam
reviewerPATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Hi Julien,
Quoted 5 lines · Julien Olivain
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
PATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
In reply to Fabio EstevamQuoted 6 lines · On Tue, 17 Dec 2019 15:18:55 -0300 Fabio Estevam <[email protected]> wrote:
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
Signed-off-by Fabio Estevam <[email protected]>--- 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
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Fabio Estevam
reviewerPATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Hi Thomas,
Quoted 6 lines · Thomas Petazzoni
Quoted 2 lines · On Tue, 17 Dec 2019 15:18:55 -0300 Fabio Estevam <[email protected]> wrote:
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
Quoted 7 lines
Quoted 4 lines
Signed-off-by Fabio Estevam <[email protected]>--- 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
PATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
Quoted 7 lines · On Sun, 22 Dec 2019 11:27:57 -0300 Fabio Estevam <[email protected]> wrote:
Quoted 2 lines
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.1It 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
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Thomas Petazzoni
AppliedPATCH 2/2 configs/imx8qxpmek: Update to 4.14.98 components
In reply to Fabio EstevamQuoted 6 lines · On Tue, 17 Dec 2019 15:18:55 -0300 Fabio Estevam <[email protected]> wrote:
Bump kernel, ATF and U-Boot to the versions found in the NXP BSP 4.14.98.
Signed-off-by Fabio Estevam <[email protected]>--- configs/freescale_imx8qxpmek_defconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Thomas Petazzoni
AppliedPATCH 1/2 firmware-imx: Fix the ahab-container name
In reply to Fabio EstevamQuoted 12 lines · On Tue, 17 Dec 2019 15:18:54 -0300 Fabio Estevam <[email protected]> wrote:
After the firmware-imx bump to version 8.1.1 the following error is observed when building
freescale_imx8qxpmek_defconfig:Quoted 1 line
Quoted 1 line
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
Quoted 8 lines
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 <[email protected]>--- package/freescale-imx/firmware-imx/firmware-imx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com