All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M
@ 2022-01-29 11:17 Clément Péron
  2022-01-29 11:17 ` [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10 Clément Péron
  2022-01-30 17:18 ` [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 6+ messages in thread
From: Clément Péron @ 2022-01-29 11:17 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Clément Péron

For the moment Beelink GS1 use a default rootfs size of 60M,
which is a bit low if you want to add some packages like a
graphic stack.

Increase the rootfs size to 120M.

Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 configs/beelink_gs1_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig
index e88f3e3b69..1872aabdf0 100644
--- a/configs/beelink_gs1_defconfig
+++ b/configs/beelink_gs1_defconfig
@@ -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
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
  2022-01-29 11:17 [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Clément Péron
@ 2022-01-29 11:17 ` Clément Péron
  2022-01-29 11:22   ` Giulio Benetti
  2022-01-30 17:16   ` Thomas Petazzoni via buildroot
  2022-01-30 17:18 ` [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Thomas Petazzoni via buildroot
  1 sibling, 2 replies; 6+ messages in thread
From: Clément Péron @ 2022-01-29 11:17 UTC (permalink / raw)
  To: buildroot; +Cc: Clément Péron

U-boot libfdt fails to compile 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

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

As this fix has been already upstreamed just bump U-boot package.

Let's also bump Kernel and ATF as the board is properly supported upstream.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 configs/beelink_gs1_defconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig
index 1872aabdf0..ca953df3ea 100644
--- a/configs/beelink_gs1_defconfig
+++ b/configs/beelink_gs1_defconfig
@@ -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
-- 
2.32.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
  2022-01-29 11:17 ` [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10 Clément Péron
@ 2022-01-29 11:22   ` Giulio Benetti
  2022-01-30 17:16   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Giulio Benetti @ 2022-01-29 11:22 UTC (permalink / raw)
  To: Clément Péron; +Cc: buildroot

Hi Clément,

> Il giorno 29 gen 2022, alle ore 12:18, Clément Péron <peron.clem@gmail.com> ha scritto:
> 
> U-boot libfdt fails to compile 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
> 
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2021478208
> 
> As this fix has been already upstreamed just bump U-boot package.
> 
> Let's also bump Kernel and ATF as the board is properly supported upstream.
> 
> Signed-off-by: Clément Péron <peron.clem@gmail.com>

Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Best regards
Giulio

> ---
> configs/beelink_gs1_defconfig | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig
> index 1872aabdf0..ca953df3ea 100644
> --- a/configs/beelink_gs1_defconfig
> +++ b/configs/beelink_gs1_defconfig
> @@ -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
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10
  2022-01-29 11:17 ` [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10 Clément Péron
  2022-01-29 11:22   ` Giulio Benetti
@ 2022-01-30 17:16   ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-01-30 17:16 UTC (permalink / raw)
  To: Clément Péron; +Cc: buildroot

On Sat, 29 Jan 2022 12:17:31 +0100
Clément Péron <peron.clem@gmail.com> wrote:

> U-boot libfdt fails to compile 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
> 
> https://gitlab.com/buildroot.org/buildroot/-/jobs/2021478208
> 
> As this fix has been already upstreamed just bump U-boot package.
> 
> Let's also bump Kernel and ATF as the board is properly supported upstream.
> 
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
> ---
>  configs/beelink_gs1_defconfig | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M
  2022-01-29 11:17 [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Clément Péron
  2022-01-29 11:17 ` [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10 Clément Péron
@ 2022-01-30 17:18 ` Thomas Petazzoni via buildroot
  2022-01-31 12:43   ` Clément Péron
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-01-30 17:18 UTC (permalink / raw)
  To: Clément Péron; +Cc: Giulio Benetti, buildroot

On Sat, 29 Jan 2022 12:17:30 +0100
Clément Péron <peron.clem@gmail.com> wrote:

> For the moment Beelink GS1 use a default rootfs size of 60M,
> which is a bit low if you want to add some packages like a
> graphic stack.
> 
> Increase the rootfs size to 120M.
> 
> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
> ---
>  configs/beelink_gs1_defconfig | 1 +
>  1 file changed, 1 insertion(+)

I have not applied this one. Indeed, any defconfig that uses the
default rootfs size of 60M would have the problem of "if I add more
packages, it doesn't fit in the image". The defconfigs are meant to be
minimal, so it doesn't make sense to increase the size to 120M to
accommodate some possible package additions. Maybe even 120M is not
going to be enough depending on how many packages you add (and how
large they are).

So I've marked this patch as Rejected.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M
  2022-01-30 17:18 ` [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Thomas Petazzoni via buildroot
@ 2022-01-31 12:43   ` Clément Péron
  0 siblings, 0 replies; 6+ messages in thread
From: Clément Péron @ 2022-01-31 12:43 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Giulio Benetti, buildroot

Hi Thomas,

On Sun, 30 Jan 2022 at 18:18, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Sat, 29 Jan 2022 12:17:30 +0100
> Clément Péron <peron.clem@gmail.com> wrote:
>
> > For the moment Beelink GS1 use a default rootfs size of 60M,
> > which is a bit low if you want to add some packages like a
> > graphic stack.
> >
> > Increase the rootfs size to 120M.
> >
> > Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> > Signed-off-by: Clément Péron <peron.clem@gmail.com>
> > ---
> >  configs/beelink_gs1_defconfig | 1 +
> >  1 file changed, 1 insertion(+)
>
> I have not applied this one. Indeed, any defconfig that uses the
> default rootfs size of 60M would have the problem of "if I add more
> packages, it doesn't fit in the image". The defconfigs are meant to be
> minimal, so it doesn't make sense to increase the size to 120M to
> accommodate some possible package additions. Maybe even 120M is not
> going to be enough depending on how many packages you add (and how
> large they are).

Ok,
Thanks for the explanation

>
> So I've marked this patch as Rejected.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-31 12:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 11:17 [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Clément Péron
2022-01-29 11:17 ` [Buildroot] [PATCH v2 2/2] configs/beelink_gs1: bump to linux 5.15, atf 2.5 and u-boot 2021.10 Clément Péron
2022-01-29 11:22   ` Giulio Benetti
2022-01-30 17:16   ` Thomas Petazzoni via buildroot
2022-01-30 17:18 ` [Buildroot] [PATCH v2 1/2] configs/beelink_gs1: increase rootfs size to 120M Thomas Petazzoni via buildroot
2022-01-31 12:43   ` Clément Péron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.