configs/beelink_gs1: increase rootfs size to 120M
PATCH 1/2 configs/beelink_gs1: increase rootfs size to 120M
For the moment Beelink GS1 use a default rootfs size of 60M which make sometimes the build failed due to missing space.
Increase the rootfs size to 120M.
--- configs/beelink_gs1_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/beelink_gs1_defconfig +1 -0
@@ -24,6 +24,7 @@ BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_DROPBEAR=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
libfdt fails to compile with on CI./usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Bump U-boot and also Kernel and ATF.
--- configs/beelink_gs1_defconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
configs/beelink_gs1_defconfig +5 -5
@@ -11,11 +11,11 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" -# Kernel Linux headers same as kernel, a 5.5 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5=y +# Kernel Linux headers same as kernel, 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.5.4" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1"
@@ -29,14 +29,14 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" # Bootloader BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
Hi Clément,
Quoted 5 lines · Clément Péron
libfdt fails to compile with on CI.
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit statusBump U-boot and also Kernel and ATF.
the commit log and subject doesn't explain that the version bumping(as I suspect) fix the uboot build failure(as I can interpret). Can you please improve commit log by specifying that while bumping(u-boot I think) that error is fixed?
And please add:
Fixes:
the link of the CI failure.
Thank you
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 32 lines
Signed-off-by Clément Péron <[email protected]>--- configs/beelink_gs1_defconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)configs/beelink_gs1_defconfig +4
-4@@ -11,11 +11,11 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" -# Kernel Linux headers same as kernel, a 5.5 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5=y +# Kernel Linux headers same as kernel, 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.5.4" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1"@@ -29,14 +29,14 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6"
configs/beelink_gs1_defconfig BR2_TARGET_ROOTFS_EXT2_SIZE="120M" · line 42
Quoted 10 lines
configs/beelink_gs1_defconfig +1
-1# Bootloader BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
Hi Giulio,
Quoted 8 lines · Giulio Benetti
Hi Clément,
Quoted 4 lines · Clément Péron
libfdt fails to compile with on CI.
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Quoted 6 lines
Quoted 1 line
Bump U-boot and also Kernel and ATF.
the commit log and subject doesn't explain that the version bumping(as I suspect) fix the uboot build failure(as I can interpret). Can you please improve commit log by specifying that while bumping(u-boot I think) that error is fixed?
Thanks for the review, I will send a V2
Regards,
Clement
Quoted 44 lines
And please add:
Fixes:
the link of the CI failure.Thank you
Best regards
--
Giulio Benetti
Benetti Engineering sasQuoted 32 lines
Signed-off-by Clément Péron <[email protected]>--- configs/beelink_gs1_defconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)configs/beelink_gs1_defconfig +4
-4@@ -11,11 +11,11 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" -# Kernel Linux headers same as kernel, a 5.5 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5=y +# Kernel Linux headers same as kernel, 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.5.4" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1"@@ -29,14 +29,14 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6"
Quoted 11 lines
configs/beelink_gs1_defconfig BR2_TARGET_ROOTFS_EXT2_SIZE="120M" · line 42
Quoted 10 lines
configs/beelink_gs1_defconfig +1
-1# Bootloader BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Clément,
Quoted 6 lines · Clément Péron
For the moment Beelink GS1 use a default rootfs size of 60M which make sometimes the build failed due to missing space.
Increase the rootfs size to 120M.
Signed-off-by Clément Péron <[email protected]>
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 10 lines
--- configs/beelink_gs1_defconfig | 1 + 1 file changed, 1 insertion(+)configs/beelink_gs1_defconfig +0
-0
configs/beelink_gs1_defconfig BR2_PACKAGE_AUTOSSH=y · line 30
Quoted 7 lines
configs/beelink_gs1_defconfig +1
-0@@ -24,6 +24,7 @@ BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_DROPBEAR=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Clément,
Quoted 2 lines · Clément Péron
For the moment Beelink GS1 use a default rootfs size of 60M which make sometimes the build failed due to missing space.
That's surprising... The only thing in the rootfs is busybox, so the rootfs
size should be way less than 1MB, let alone 60MB...
Also, "sometimes" is suspicious. The rootfs should be almost binary identical
between two builds (there are some dates and paths in there if you don't enable BR2_REPRODUCIBLE).
Do you have a bit more detail/example of how it fails?
Regards,
Arnout
Quoted 13 lines
Increase the rootfs size to 120M.
Signed-off-by Clément Péron <[email protected]>--- configs/beelink_gs1_defconfig | 1 + 1 file changed, 1 insertion(+)configs/beelink_gs1_defconfig +0
-0
configs/beelink_gs1_defconfig BR2_PACKAGE_AUTOSSH=y · line 30
Quoted 7 lines
configs/beelink_gs1_defconfig +1
-0@@ -24,6 +24,7 @@ BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_DROPBEAR=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" # Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Arnout,
Quoted 7 lines · Arnout Vandecappelle
Hi Clément,
Quoted 2 lines · Clément Péron
For the moment Beelink GS1 use a default rootfs size of 60M which make sometimes the build failed due to missing space.
Quoted 8 lines
That's surprising... The only thing in the rootfs is busybox, so the rootfs
size should be way less than 1MB, let alone 60MB...Also, "sometimes" is suspicious. The rootfs should be almost binary identical
between two builds (there are some dates and paths in there if you don't enableBR2_REPRODUCIBLE).Do you have a bit more detail/example of how it fails?
Agree, "Sometimes" is not the proper word, I received two times a mail saying missing space in the target, maybe it was due to a package that was wrongly added by default with some dependencies? (Can't find them again).
Anyway 60MiB is really low and I need to change it every time I want to add a graphic stack.
I will edit the commit log and send a V2.
Regards,
Clement
Quoted 22 lines
Regards,
ArnoutQuoted 18 lines
Increase the rootfs size to 120M.
Signed-off-by Clément Péron <[email protected]>--- configs/beelink_gs1_defconfig | 1 + 1 file changed, 1 insertion(+)configs/beelink_gs1_defconfig +1
-0@@ -24,6 +24,7 @@ BR2_PACKAGE_AUTOSSH=y BR2_PACKAGE_DROPBEAR=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
Quoted 2 lines
configs/beelink_gs1_defconfig BR2_PACKAGE_AUTOSSH=y · line 30
Quoted 2 lines
configs/beelink_gs1_defconfig +0
-0# Firmware BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot