Skip to contentSkip to conversation

board/zynqmp/kria/kv260/uboot.fragment: remove unnecessary CONFIG_MULTI_DTB_FIT option

PATCH Applied Neal Frager via buildroot 2 participants 6 messages Nov 13, 2022 – Nov 15, 2022 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/zynqmp/kria/kv260/uboot.fragment: remove unnecessary CONFIG_MULTI_DTB_FIT option

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
 board/zynqmp/kria/kv260/uboot.fragment | 1 -
 1 file changed, 1 deletion(-)
board/zynqmp/kria/kv260/uboot.fragment +0 -1
index 874eb470ac..0ed560c411 100644
@@ -1,7 +1,6 @@
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-smk-k26-revA"
 CONFIG_SYS_SPI_U_BOOT_OFFS=0xF80000
 CONFIG_DTB_RESELECT=y
-CONFIG_MULTI_DTB_FIT=y
 CONFIG_DMA=y
 CONFIG_XILINX_DPDMA=y
 CONFIG_PHY=y
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Sun, 13 Nov 2022 11:49:33 -0700 Neal Frager via buildroot…

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
 board/zynqmp/kria/kv260/uboot.fragment | 1 -
 1 file changed, 1 deletion(-)

I've applied to master, after adding the following to the commit log:

"""

    Fixes:
    
      https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

"""

For future patches, it would be nice if you could include such references if your patch is aimed at fixing a Gitlab CI failure, or an autobuilder failure. Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Hi Thomas,

Quoted 19 lines · Thomas Petazzoni

On Sun, 13 Nov 2022 11:49:33 -0700

Quoted 8 lines · Neal Frager via buildroot

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
board/zynqmp/kria/kv260/uboot.fragment | 1 -

1 file changed, 1 deletion(-)

I've applied to master, after adding the following to the commit log:

"""
Fixes:

Quoted 7 lines
     https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

"""

For future patches, it would be nice if you could include such references if your patch is aimed at fixing a Gitlab CI failure, or an autobuilder failure. Thanks a lot!

Yes, no problem. I will keep this in mind for the future.

Best regards,
Neal Frager
AMD
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Thomas Petazzoni via buildroot

Hi Thomas,

Quoted 9 lines

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
 board/zynqmp/kria/kv260/uboot.fragment | 1 -
 1 file changed, 1 deletion(-)
Quoted 7 lines

I've applied to master, after adding the following to the commit log:

"""
Fixes:

     https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

"""

I was too quick with this solution. If we remove the CONFIG_MULTI_DTB_FIT u-boot option, the generated u-boot.its file is wrong. With the wrong u-boot.its, the kv260.sh script generates a u-boot.itb with an incorrect device tree and all of the daughter card peripherals are missing.

The SD card interface is thus missing which means that even though the zynqmp_kria_kv260_defconfig builds now, the image fails after loading u-boot.

I am working on a new solution.

Best regards,
Neal Frager
AMD
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Hi Thomas,

Quoted 9 lines

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
 board/zynqmp/kria/kv260/uboot.fragment | 1 -
 1 file changed, 1 deletion(-)
Quoted 7 lines

I've applied to master, after adding the following to the commit log:

"""
Fixes:

     https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

"""

Could you add on the following patch? With this patch, the build generates a correct u-boot.itb without the CONFIG_MULTI_DTB_FIT u-boot option.

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Best regards,
Neal Frager
AMD
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw
In reply to Thomas Petazzoni via buildroot
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Quoted 8 lines · On Sun, 13 Nov 2022 11:49:33 -0700 Neal Frager via buildroot…

This patch removes the CONFIG_MULTI_DTB_FIT u-boot option for the zynqmp_kria_kv260_defconfig as it is not necessary. The post build kv260.sh creates the proper u-boot.itb without needing this option.

---
board/zynqmp/kria/kv260/uboot.fragment | 1 -

1 file changed, 1 deletion(-)

I've applied to master, after adding the following to the commit log:

"""

Quoted 8 lines
    Fixes:
    
      https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

"""

For future patches, it would be nice if you could include such references if your patch is aimed at fixing a Gitlab CI failure, or an autobuilder failure. Thanks a lot!

Committed to 2022.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot