All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81
@ 2024-03-10 19:26 Peter Korsgaard
  2024-03-10 19:26 ` [Buildroot] [PATCH 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01 Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-10 19:26 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

The kernel build now requires FIT support in mkimage:

  ITB     arch/mips/boot/vmlinux.gz.itb
/home/peko/source/buildroot/output-ci20/host/bin/mkimage: unsupported type Flat Device Tree

So enable that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/ci20_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/ci20_defconfig b/configs/ci20_defconfig
index 7e119376e1..f9070d5098 100644
--- a/configs/ci20_defconfig
+++ b/configs/ci20_defconfig
@@ -3,7 +3,7 @@ BR2_mipsel=y
 BR2_mips_xburst=y
 # BR2_MIPS_SOFT_FLOAT is not set
 BR2_KERNEL_HEADERS_AS_KERNEL=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS4"
@@ -15,7 +15,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ci20/genimage.cfg"
 # kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.254"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.81"
 BR2_LINUX_KERNEL_DEFCONFIG="ci20"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 
@@ -29,6 +29,7 @@ BR2_TARGET_UBOOT_FORMAT_IMG=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin"
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
+BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y
 BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/ci20/uboot-env.txt"
 BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="32768"
-- 
2.39.2

_______________________________________________
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 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01
  2024-03-10 19:26 [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
@ 2024-03-10 19:26 ` Peter Korsgaard
  2024-03-14 18:38   ` Peter Korsgaard
  2024-03-10 19:26 ` [Buildroot] [PATCH 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline Peter Korsgaard
  2024-03-14 18:38 ` [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
  2 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-10 19:26 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/ci20_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/ci20_defconfig b/configs/ci20_defconfig
index f9070d5098..31019aeae2 100644
--- a/configs/ci20_defconfig
+++ b/configs/ci20_defconfig
@@ -23,7 +23,7 @@ BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="ci20_mmc"
 BR2_TARGET_UBOOT_FORMAT_IMG=y
 BR2_TARGET_UBOOT_SPL=y
-- 
2.39.2

_______________________________________________
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 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline
  2024-03-10 19:26 [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
  2024-03-10 19:26 ` [Buildroot] [PATCH 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01 Peter Korsgaard
@ 2024-03-10 19:26 ` Peter Korsgaard
  2024-03-14 18:38   ` Peter Korsgaard
  2024-03-14 18:38 ` [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
  2 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-10 19:26 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

Passing ip=dhcp to the kernel will cause it to try to configure the network
interface using DHCP and wait up to 120s for the interface to detect a link,
slowing down boots without a network cable a lot.

Instead use the "normal" BR2_SYSTEM_DHCP, E.G.  trigger ifup to run the DHCP
client in the background.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/ci20/uboot-env.txt | 2 +-
 configs/ci20_defconfig   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/ci20/uboot-env.txt b/board/ci20/uboot-env.txt
index 3093496cc9..2d693af7b7 100644
--- a/board/ci20/uboot-env.txt
+++ b/board/ci20/uboot-env.txt
@@ -1,6 +1,6 @@
 baudrate=115200
 board_mfr=NP
-bootargs=console=ttyS4,115200 console=tty0 mem=256M@0x0 mem=768M@0x30000000 rootwait root=/dev/mmcblk0p1 devtmpfs.mount=1 ip=dhcp
+bootargs=console=ttyS4,115200 console=tty0 mem=256M@0x0 mem=768M@0x30000000 rootwait root=/dev/mmcblk0p1 devtmpfs.mount=1
 bootcmd=run ethargs; ext4load mmc 0:1 0x88000000 /boot/uImage; bootm 0x88000000
 bootdelay=1
 ethargs=env set bootargs ${bootargs}
diff --git a/configs/ci20_defconfig b/configs/ci20_defconfig
index 31019aeae2..4b3c742173 100644
--- a/configs/ci20_defconfig
+++ b/configs/ci20_defconfig
@@ -7,6 +7,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 
 # system
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS4"
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
-- 
2.39.2

_______________________________________________
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 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81
  2024-03-10 19:26 [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
  2024-03-10 19:26 ` [Buildroot] [PATCH 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01 Peter Korsgaard
  2024-03-10 19:26 ` [Buildroot] [PATCH 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline Peter Korsgaard
@ 2024-03-14 18:38 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-14 18:38 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > The kernel build now requires FIT support in mkimage:
 >   ITB     arch/mips/boot/vmlinux.gz.itb
 > /home/peko/source/buildroot/output-ci20/host/bin/mkimage: unsupported type Flat Device Tree

 > So enable that.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01
  2024-03-10 19:26 ` [Buildroot] [PATCH 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01 Peter Korsgaard
@ 2024-03-14 18:38   ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-14 18:38 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline
  2024-03-10 19:26 ` [Buildroot] [PATCH 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline Peter Korsgaard
@ 2024-03-14 18:38   ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-03-14 18:38 UTC (permalink / raw)
  To: buildroot; +Cc: Ezequiel Garcia

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Passing ip=dhcp to the kernel will cause it to try to configure the network
 > interface using DHCP and wait up to 120s for the interface to detect a link,
 > slowing down boots without a network cable a lot.

 > Instead use the "normal" BR2_SYSTEM_DHCP, E.G.  trigger ifup to run the DHCP
 > client in the background.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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:[~2024-03-14 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-10 19:26 [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard
2024-03-10 19:26 ` [Buildroot] [PATCH 2/3] configs/ci20_defconfig: bump u-boot to version 2024.01 Peter Korsgaard
2024-03-14 18:38   ` Peter Korsgaard
2024-03-10 19:26 ` [Buildroot] [PATCH 3/3] configs/ci20_defconfig: configure eth0 through BR2_SYSTEM_DHCP rather than kernel cmdline Peter Korsgaard
2024-03-14 18:38   ` Peter Korsgaard
2024-03-14 18:38 ` [Buildroot] [PATCH 1/3] configs/ci20_defconfig: bump Linux to version 6.1.81 Peter Korsgaard

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.