Skip to contentSkip to conversation

configs/arcturus_ucls1012a_defconfig does not build

Buildroot Thomas Petazzoni 2 participants 4 messages Aug 8, 2020 – Aug 12, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello Michael,

The configs/arcturus_ucls1012a_defconfig configuration in Buildroot no longer builds:

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

U-Boot is failing to build, with:

In file included from include/linux/compiler.h:54,

                 from include/linux/bitops.h:5,
                 from ./include/common.h:20:
include/linux/compiler-gcc.h:114:1: fatal error: linux/compiler-gcc9.h: No such file or directory
  114 | #include gcc_header(__GNUC__)
      | ^~~~

compilation terminated.

Could you send a patch to update U-Boot for this platform ?

Thanks a lot,

Thomas

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · On Mon, 10 Aug 2020 10:41:43 -0400 Michael Durrant…

Oleks and I already submitted a patch that addressed this issue on June 24 and again on July 27th.
No worries I will refresh and send them again.

Are you sure you are still registered on the list ? The last e-mails I see on the mailing list from an @arcturusnetworks.com e-mail dates back from September 16, 2019.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

[Buildroot] configs/arcturus_ucls1012a: bump kernel to 4.14.140 and u-boot version to 2019.10

In reply to Thomas Petazzoni

Fixes:

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

---
 board/arcturus/aarch64-ucls1012a/post-build.sh | 5 +++++
 configs/arcturus_ucls1012a_defconfig           | 9 +++++----
 2 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100755 board/arcturus/aarch64-ucls1012a/post-build.sh
board/arcturus/aarch64-ucls1012a/post-build.sh new file +5 -0
new file mode 100755
index 0000000000..f8ba78095f
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+mkdir -p ${TARGET_DIR}/lib/firmware
+cp -f ${BUILD_DIR}/linux-custom/firmware/ppfe/* ${TARGET_DIR}/lib/firmware/
+cp -f ${BUILD_DIR}/linux-custom/br2-ucls1012a.its ${BINARIES_DIR}/
configs/arcturus_ucls1012a_defconfig +5 -4
index fceaed0db7..fd33ebf1f6 100644
@@ -1,20 +1,21 @@
 # Architecture
 BR2_aarch64=y
 
-# Linux headers same as kernel, a 4.1 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
+# Linux headers same as kernel, a 4.14 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
 
 # System settings
 BR2_TARGET_GENERIC_HOSTNAME="ucls1012a"
 BR2_TARGET_GENERIC_ISSUE="Welcome to uCLS1012A-SOM"
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_OVERLAY="board/arcturus/aarch64-ucls1012a/rootfs_overlay"
+BR2_ROOTFS_POST_BUILD_SCRIPT="board/arcturus/aarch64-ucls1012a/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/arcturus/aarch64-ucls1012a/post-image.sh"
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-kernel,v0.2.1935)/linux-v0.2.1935.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-kernel,v.20.31)/linux-v.20.31.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="ucls1012a"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="arcturus/arc-ucls1012a"
@@ -27,7 +28,7 @@ BR2_TARGET_ROOTFS_CPIO_GZIP=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-uboot,v0.2.1935)/uboot-v0.2.1935.tar.gz"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCLS1012A-uboot,v.20.31)/uboot-v.20.31.tar.gz"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="UCLS1012A_QSPI128"
 
 # Tools
author Applied
#4 lore raw

[Buildroot] configs/arcturus_ucls1012a: bump kernel to 4.14.140 and u-boot version to 2019.10

Quoted 11 lines · On Mon, 10 Aug 2020 10:58:17 -0400 Michael Durrant…

Fixes:

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

---
 board/arcturus/aarch64-ucls1012a/post-build.sh | 5 +++++
 configs/arcturus_ucls1012a_defconfig           | 9 +++++----
 2 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100755 board/arcturus/aarch64-ucls1012a/post-build.sh

Applied to master, thanks.

Thomas

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