Skip to contentSkip to conversation

configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

PATCH New Luca Ceresoli 2 participants 6 messages Aug 28, 2018 – Sep 6, 2018 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

---
 configs/zynq_zed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/zynq_zed_defconfig +1 -1
index 676366bc5c9a..a215695b541b 100644
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zed"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/3 configs/zynq_zc706: uboot: bump to xilinx-v2018.2 (fixes build)

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

---
 configs/zynq_zc706_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/zynq_zc706_defconfig +1 -1
index 758069b30fe8..e8019177d2b8 100644
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zc706"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/3 configs/zynq_microzed: uboot: bump to xilinx-v2018.2 (fixes build)

In reply to Luca Ceresoli

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

---
 configs/zynq_microzed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/zynq_microzed_defconfig +1 -1
index c89b4e6d9dcd..1bb11fee7ee3 100644
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2018.2"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_microzed"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Signature · 1 line
2.17.1
#3 lore raw

PATCH 1/3 configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

In reply to Luca Ceresoli

Luca, Peter,

Quoted 8 lines · Luca Ceresoli

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

Quoted 6 lines
---
 configs/zynq_zed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I am not sure we want to apply these updates to master, because we need a more general solution, and this more general solution will also fix the Zynq configurations.

So I would suggest that we take those patches into next, and implemented the more general solution in master (which could very well be reverting dtc).

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/3 configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

Hi,

Quoted 18 lines · Thomas Petazzoni

Luca, Peter,

Quoted 8 lines · Luca Ceresoli

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

Quoted 6 lines
---
 configs/zynq_zed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 7 lines

I am not sure we want to apply these updates to master, because we need a more general solution, and this more general solution will also fix the Zynq configurations.

So I would suggest that we take those patches into next, and implemented the more general solution in master (which could very well be reverting dtc).

No problem.

I had started preparing these patches when the outcome of the dtc issue was totally unclear. Since they were working I thought I'd send them anyway. I'm OK with committing them to master or next or even after 2018.08.

Bye,

Signature · 1 line
Luca
#5 lore raw

PATCH 1/3 configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

In reply to Luca Ceresoli

Hello,

Quoted 8 lines · Luca Ceresoli

Bump to the most recent Xilinx release.

Fixes:
.../output/host/include/libfdt_env.h:71:30: error: conflicting types for ?fdt64_t? .../output/host/include/libfdt_env.h:91:24: error: expected ?)? before ?x? .../output/host/include/libfdt.h:150:21: error: redefinition of ?fdt_offset_ptr_w?
...and many, many other similar errors.

Quoted 6 lines
---
 configs/zynq_zed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

All applied to next. Peter is about to release 2018.08, so I didn't want to merge into master. The problem anyway affects lots of defconfigs, and Peter will document it in the CHANGES file.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com