* [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5
@ 2023-11-21 19:34 Gaël PORTAY
2023-11-21 19:34 ` [Buildroot] [v1 1/4] arch: add support 16k page size on ARM64 Gaël PORTAY
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Gaël PORTAY @ 2023-11-21 19:34 UTC (permalink / raw)
To: buildroot
Cc: Martin Bark, Gaël PORTAY, Julien Grossholtz,
Thomas Petazzoni, Mahyar Koshkouei
Dear maintainers,
This patch series adds the support for the Raspberry Pi 5[0].
The first patch enables MMU 16K page-size on ARM64 as the Raspberry Pi 5
supports 16K page-size[1].
The two following patches bump the packages rpi-firmware and linux.
- The package rpi-firmware bumps the dtb overlays to the commit
7e9c2063fc15274fbc4dab1ca614f9228834d881[2]. The commit states "Add
support for PI 5" and it bumps the kernel files. The firmware files
transferred to the VideoCore GPU are left untouched since they are
self-contained in the bootloader EEPROM of the Raspberry Pi 5
firmware[3].
- The package linux bumps to the raspberrypi kernel to 6.1.55 up to the
commit[4]. The branch rpi-6.1.y supports the Raspberry Pi 5.
The last patch adds the raspberrypi5_defconfig for the Raspberry Pi 5
64-bit. It uses the defconfig bcm2712_defconfig[5] and the device-tree
source bcm2712-rpi-5-b.dts[6]. The Raspberry Pi 5 has now a dedicated
debug UART connector[7] (it is always active and enabled; there is no
more need to enable_uart=1 in the file config.txt). The UART device name
changes to ttyAMA10 and the command line has to be updated in the file
cmdline.txt. The Raspberry Pi 5 only supports 64-bit kernel[8].
The output boots fine and it runs getty on uart and virtual tty if it is
built using the toolchain built by buildroot.
The output boots the kernel but the kernel cannot run the init process
if it is built using the bootlin prebuilt toolchain. Something is broken
due to the 16k MMU page-size :(
Question: the device-tree overlays are taken from the rpi-firmware; is
there a plan to compile the one from the downstream kernel sources
instead? by tweaking the linux.mk maybe?
Changes since RFC:
- Update README to add model Pi 5 B
- Add support for 64K MMU page-size for ARM64 and Raspberry Pi 5
- Add Raspberry Pi 5 specific cmdline_5.txt to set its console on its
debug uart (ttyAMA10 instead of ttyAMA0)
- Remove 32-bit variant since Raspberry Pi 5 supports booting a 64-bit
kernel only
- Remove the property arm_64bit=1 from config_5_64bit.txt
- Remove the _64bit suffix
- Remove unecessary Pi 5 variant from package rpi-firmware
[0]: https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#introduction
[1]: https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel
[2]: https://github.com/raspberrypi/firmware/commit/7e9c2063fc15274fbc4dab1ca614f9228834d881
[3]: https://www.raspberrypi.com/documentation/computers/config_txt.html#start_file-fixup_file
[4]: https://github.com/raspberrypi/linux/commit/feb4ea51e77af09c1a4c7c3e5dd33237750f95cd
[5]: https://github.com/raspberrypi/linux/commit/9cfb379147f803b0362b0fe249e5b145d232bea3
[6]: https://github.com/raspberrypi/linux/commit/1196bf1a7736ff0ab79f5012fa84082e298031a7
[7]: https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#uart-connector
[8]: https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_64bit
Kind Regards,
Gaël PORTAY (4):
arch: add support 16k page size on ARM64
package/rpi-firmware: bump version for pi5 support
configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55)
configs: add raspberrypi 5 defconfig
arch/Config.in.arm | 4 +++
arch/arch.mk | 2 +-
board/raspberrypi/cmdline_5.txt | 1 +
board/raspberrypi/config_5.txt | 24 ++++++++++++++++
board/raspberrypi/readme.txt | 8 +++++-
board/raspberrypi5 | 1 +
configs/raspberrypi0_defconfig | 2 +-
configs/raspberrypi0w_defconfig | 2 +-
configs/raspberrypi2_defconfig | 2 +-
configs/raspberrypi3_64_defconfig | 2 +-
configs/raspberrypi3_defconfig | 2 +-
configs/raspberrypi3_qt5we_defconfig | 2 +-
configs/raspberrypi4_64_defconfig | 2 +-
configs/raspberrypi4_defconfig | 2 +-
configs/raspberrypi5_defconfig | 39 ++++++++++++++++++++++++++
configs/raspberrypi_defconfig | 2 +-
configs/raspberrypicm4io_64_defconfig | 2 +-
configs/raspberrypicm4io_defconfig | 2 +-
configs/raspberrypizero2w_defconfig | 2 +-
linux/linux.mk | 4 +++
package/rpi-firmware/rpi-firmware.hash | 2 +-
package/rpi-firmware/rpi-firmware.mk | 2 +-
22 files changed, 95 insertions(+), 16 deletions(-)
create mode 100644 board/raspberrypi/cmdline_5.txt
create mode 100644 board/raspberrypi/config_5.txt
create mode 120000 board/raspberrypi5
create mode 100644 configs/raspberrypi5_defconfig
--
2.42.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [v1 1/4] arch: add support 16k page size on ARM64 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY @ 2023-11-21 19:34 ` Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support Gaël PORTAY ` (3 subsequent siblings) 4 siblings, 0 replies; 11+ messages in thread From: Gaël PORTAY @ 2023-11-21 19:34 UTC (permalink / raw) To: buildroot Cc: Martin Bark, Gaël PORTAY, Julien Grossholtz, Thomas Petazzoni, Mahyar Koshkouei The BCM2712 of the RaspberryPi 5 supports for 16KB page size. This adds support for 16 KB on ARM64. Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> --- arch/Config.in.arm | 4 ++++ arch/arch.mk | 2 +- linux/linux.mk | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 78621e321c..b44a164e03 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -781,6 +781,9 @@ choice config BR2_ARM64_PAGE_SIZE_4K bool "4KB" +config BR2_ARM64_PAGE_SIZE_16K + bool "16KB" + config BR2_ARM64_PAGE_SIZE_64K bool "64KB" @@ -789,6 +792,7 @@ endchoice config BR2_ARM64_PAGE_SIZE string default "4K" if BR2_ARM64_PAGE_SIZE_4K + default "16K" if BR2_ARM64_PAGE_SIZE_16K default "64K" if BR2_ARM64_PAGE_SIZE_64K config BR2_ARCH diff --git a/arch/arch.mk b/arch/arch.mk index 2e737b92ac..4174d33df5 100644 --- a/arch/arch.mk +++ b/arch/arch.mk @@ -23,7 +23,7 @@ ifeq ($(BR2_ARC_PAGE_SIZE_4K)$(BR2_ARM64_PAGE_SIZE_4K),y) ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 else ifeq ($(BR2_ARC_PAGE_SIZE_8K),y) ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=8192 -Wl,-z,common-page-size=8192 -else ifeq ($(BR2_ARC_PAGE_SIZE_16K),y) +else ifeq ($(BR2_ARC_PAGE_SIZE_16K)$(BR2_ARM64_PAGE_SIZE_16K),y) ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384 else ifeq ($(BR2_ARM64_PAGE_SIZE_64K),y) ARCH_TOOLCHAIN_WRAPPER_OPTS += -Wl,-z,max-page-size=65536 -Wl,-z,common-page-size=65536 diff --git a/linux/linux.mk b/linux/linux.mk index 1db5c6046d..53e2ad6d48 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -411,6 +411,10 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_ARM64_4K_PAGES) $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_16K_PAGES) $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_64K_PAGES)) + $(if $(BR2_ARM64_PAGE_SIZE_16K), + $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_4K_PAGES) + $(call KCONFIG_ENABLE_OPT,CONFIG_ARM64_16K_PAGES) + $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_64K_PAGES)) $(if $(BR2_ARM64_PAGE_SIZE_64K), $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_4K_PAGES) $(call KCONFIG_DISABLE_OPT,CONFIG_ARM64_16K_PAGES) -- 2.42.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 1/4] arch: add support 16k page size on ARM64 Gaël PORTAY @ 2023-11-21 19:34 ` Gaël PORTAY 2024-01-20 18:16 ` Yann E. MORIN 2023-11-21 19:34 ` [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) Gaël PORTAY ` (2 subsequent siblings) 4 siblings, 1 reply; 11+ messages in thread From: Gaël PORTAY @ 2023-11-21 19:34 UTC (permalink / raw) To: buildroot Cc: Martin Bark, Gaël PORTAY, Julien Grossholtz, Thomas Petazzoni, Mahyar Koshkouei This bumps to 7e9c2063fc15274fbc4dab1ca614f9228834d881[1] that states "Add support for PI 5". Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> --- package/rpi-firmware/rpi-firmware.hash | 2 +- package/rpi-firmware/rpi-firmware.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash index ec13115f3b..659613591d 100644 --- a/package/rpi-firmware/rpi-firmware.hash +++ b/package/rpi-firmware/rpi-firmware.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 f3442fb80966faf1e28a32f9d9b91acb4b87c6ff33f0ced4179ec6ccbfa92c65 rpi-firmware-7e9c2063fc15274fbc4dab1ca614f9228834d881.tar.gz sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index 53d6d8ca06..e765d0ea82 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -4,7 +4,7 @@ # ################################################################################ -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_VERSION = 7e9c2063fc15274fbc4dab1ca614f9228834d881 RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) RPI_FIRMWARE_LICENSE = BSD-3-Clause RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -- 2.42.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support 2023-11-21 19:34 ` [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support Gaël PORTAY @ 2024-01-20 18:16 ` Yann E. MORIN 0 siblings, 0 replies; 11+ messages in thread From: Yann E. MORIN @ 2024-01-20 18:16 UTC (permalink / raw) To: Gaël PORTAY Cc: Thomas Petazzoni, Mahyar Koshkouei, Martin Bark, Julien Grossholtz, buildroot Gaél, All, On 2023-11-21 20:34 +0100, Gaël PORTAY spake thusly: > This bumps to 7e9c2063fc15274fbc4dab1ca614f9228834d881[1] that states > "Add support for PI 5". > > Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> > --- > package/rpi-firmware/rpi-firmware.hash | 2 +- > package/rpi-firmware/rpi-firmware.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/rpi-firmware/rpi-firmware.hash b/package/rpi-firmware/rpi-firmware.hash > index ec13115f3b..659613591d 100644 > --- a/package/rpi-firmware/rpi-firmware.hash > +++ b/package/rpi-firmware/rpi-firmware.hash > @@ -1,3 +1,3 @@ > # Locally computed > -sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz > +sha256 f3442fb80966faf1e28a32f9d9b91acb4b87c6ff33f0ced4179ec6ccbfa92c65 rpi-firmware-7e9c2063fc15274fbc4dab1ca614f9228834d881.tar.gz > sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom > diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk > index 53d6d8ca06..e765d0ea82 100644 > --- a/package/rpi-firmware/rpi-firmware.mk > +++ b/package/rpi-firmware/rpi-firmware.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 > +RPI_FIRMWARE_VERSION = 7e9c2063fc15274fbc4dab1ca614f9228834d881 We are now using a version more recent than that (that you also submitted), so I marked this a not-applicable. Thanks! Regards, Yann E. MORIN. > RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) > RPI_FIRMWARE_LICENSE = BSD-3-Clause > RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom > -- > 2.42.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 1/4] arch: add support 16k page size on ARM64 Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support Gaël PORTAY @ 2023-11-21 19:34 ` Gaël PORTAY 2024-02-05 12:03 ` Giulio Benetti 2023-11-21 19:34 ` [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig Gaël PORTAY 2023-11-23 10:12 ` [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Thomas Petazzoni via buildroot 4 siblings, 1 reply; 11+ messages in thread From: Gaël PORTAY @ 2023-11-21 19:34 UTC (permalink / raw) To: buildroot Cc: Martin Bark, Gaël PORTAY, Julien Grossholtz, Thomas Petazzoni, Mahyar Koshkouei Now based on 6.1.55 (from 5.10.92). Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> --- configs/raspberrypi0_defconfig | 2 +- configs/raspberrypi0w_defconfig | 2 +- configs/raspberrypi2_defconfig | 2 +- configs/raspberrypi3_64_defconfig | 2 +- configs/raspberrypi3_defconfig | 2 +- configs/raspberrypi3_qt5we_defconfig | 2 +- configs/raspberrypi4_64_defconfig | 2 +- configs/raspberrypi4_defconfig | 2 +- configs/raspberrypi_defconfig | 2 +- configs/raspberrypicm4io_64_defconfig | 2 +- configs/raspberrypicm4io_defconfig | 2 +- configs/raspberrypizero2w_defconfig | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig index 4506e94bce..6beb69d3c3 100644 --- a/configs/raspberrypi0_defconfig +++ b/configs/raspberrypi0_defconfig @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B from the kernel sources: the zero is the same diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig index 7a35794c2d..4db244e719 100644 --- a/configs/raspberrypi0w_defconfig +++ b/configs/raspberrypi0w_defconfig @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig index 9b484c5588..8f2ed3a21f 100644 --- a/configs/raspberrypi2_defconfig +++ b/configs/raspberrypi2_defconfig @@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig index 4d838ae0e8..0946bb9f9a 100644 --- a/configs/raspberrypi3_64_defconfig +++ b/configs/raspberrypi3_64_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig index 0a59ab42a9..26a118f2f1 100644 --- a/configs/raspberrypi3_defconfig +++ b/configs/raspberrypi3_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig index 40d0c0f888..501f12435f 100644 --- a/configs/raspberrypi3_qt5we_defconfig +++ b/configs/raspberrypi3_qt5we_defconfig @@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig index 5942f7c4e1..17a2f8cbb2 100644 --- a/configs/raspberrypi4_64_defconfig +++ b/configs/raspberrypi4_64_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig index 4e5580c140..194af0a1b8 100644 --- a/configs/raspberrypi4_defconfig +++ b/configs/raspberrypi4_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig index cca53f9b37..3d50f81278 100644 --- a/configs/raspberrypi_defconfig +++ b/configs/raspberrypi_defconfig @@ -11,7 +11,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig index 29cb0472d7..f8f0d6c23a 100644 --- a/configs/raspberrypicm4io_64_defconfig +++ b/configs/raspberrypicm4io_64_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig index 017aecc0dd..1f0703493b 100644 --- a/configs/raspberrypicm4io_defconfig +++ b/configs/raspberrypicm4io_defconfig @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" # Build the DTB from the kernel sources diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig index 2ea503ca24..09082dbc4d 100644 --- a/configs/raspberrypizero2w_defconfig +++ b/configs/raspberrypizero2w_defconfig @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" # Build the DTB from the kernel sources -- 2.42.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) 2023-11-21 19:34 ` [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) Gaël PORTAY @ 2024-02-05 12:03 ` Giulio Benetti 0 siblings, 0 replies; 11+ messages in thread From: Giulio Benetti @ 2024-02-05 12:03 UTC (permalink / raw) To: Gaël PORTAY, buildroot Cc: Thomas Petazzoni, Martin Bark, Julien Grossholtz, Mahyar Koshkouei Hi Gaël, unfortunately this patch has been superseded by the following one that's been committed: https://gitlab.com/buildroot.org/buildroot/-/commit/13ba668a2da3a0dcb386578ce15b00a444101dbe So it can be dropped from Patchwork. Best regards -- Giulio Benetti CEO&CTO@Benetti Engineering sas On 21/11/23 20:34, Gaël PORTAY wrote: > Now based on 6.1.55 (from 5.10.92). > > Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> > --- > configs/raspberrypi0_defconfig | 2 +- > configs/raspberrypi0w_defconfig | 2 +- > configs/raspberrypi2_defconfig | 2 +- > configs/raspberrypi3_64_defconfig | 2 +- > configs/raspberrypi3_defconfig | 2 +- > configs/raspberrypi3_qt5we_defconfig | 2 +- > configs/raspberrypi4_64_defconfig | 2 +- > configs/raspberrypi4_defconfig | 2 +- > configs/raspberrypi_defconfig | 2 +- > configs/raspberrypicm4io_64_defconfig | 2 +- > configs/raspberrypicm4io_defconfig | 2 +- > configs/raspberrypizero2w_defconfig | 2 +- > 12 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/configs/raspberrypi0_defconfig b/configs/raspberrypi0_defconfig > index 4506e94bce..6beb69d3c3 100644 > --- a/configs/raspberrypi0_defconfig > +++ b/configs/raspberrypi0_defconfig > @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" > > # Build the DTBs for A/B from the kernel sources: the zero is the same > diff --git a/configs/raspberrypi0w_defconfig b/configs/raspberrypi0w_defconfig > index 7a35794c2d..4db244e719 100644 > --- a/configs/raspberrypi0w_defconfig > +++ b/configs/raspberrypi0w_defconfig > @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" > BR2_LINUX_KERNEL_DTS_SUPPORT=y > BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" > diff --git a/configs/raspberrypi2_defconfig b/configs/raspberrypi2_defconfig > index 9b484c5588..8f2ed3a21f 100644 > --- a/configs/raspberrypi2_defconfig > +++ b/configs/raspberrypi2_defconfig > @@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi3_64_defconfig b/configs/raspberrypi3_64_defconfig > index 4d838ae0e8..0946bb9f9a 100644 > --- a/configs/raspberrypi3_64_defconfig > +++ b/configs/raspberrypi3_64_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig > index 0a59ab42a9..26a118f2f1 100644 > --- a/configs/raspberrypi3_defconfig > +++ b/configs/raspberrypi3_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi3_qt5we_defconfig b/configs/raspberrypi3_qt5we_defconfig > index 40d0c0f888..501f12435f 100644 > --- a/configs/raspberrypi3_qt5we_defconfig > +++ b/configs/raspberrypi3_qt5we_defconfig > @@ -12,7 +12,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi4_64_defconfig b/configs/raspberrypi4_64_defconfig > index 5942f7c4e1..17a2f8cbb2 100644 > --- a/configs/raspberrypi4_64_defconfig > +++ b/configs/raspberrypi4_64_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi4_defconfig b/configs/raspberrypi4_defconfig > index 4e5580c140..194af0a1b8 100644 > --- a/configs/raspberrypi4_defconfig > +++ b/configs/raspberrypi4_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypi_defconfig b/configs/raspberrypi_defconfig > index cca53f9b37..3d50f81278 100644 > --- a/configs/raspberrypi_defconfig > +++ b/configs/raspberrypi_defconfig > @@ -11,7 +11,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" > > # Build the DTBs for A/B, A+/B+ and compute module from the kernel sources > diff --git a/configs/raspberrypicm4io_64_defconfig b/configs/raspberrypicm4io_64_defconfig > index 29cb0472d7..f8f0d6c23a 100644 > --- a/configs/raspberrypicm4io_64_defconfig > +++ b/configs/raspberrypicm4io_64_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypicm4io_defconfig b/configs/raspberrypicm4io_defconfig > index 017aecc0dd..1f0703493b 100644 > --- a/configs/raspberrypicm4io_defconfig > +++ b/configs/raspberrypicm4io_defconfig > @@ -11,7 +11,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" > > # Build the DTB from the kernel sources > diff --git a/configs/raspberrypizero2w_defconfig b/configs/raspberrypizero2w_defconfig > index 2ea503ca24..09082dbc4d 100644 > --- a/configs/raspberrypizero2w_defconfig > +++ b/configs/raspberrypizero2w_defconfig > @@ -9,7 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y > > BR2_LINUX_KERNEL=y > BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" > > # Build the DTB from the kernel sources _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY ` (2 preceding siblings ...) 2023-11-21 19:34 ` [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) Gaël PORTAY @ 2023-11-21 19:34 ` Gaël PORTAY 2024-02-05 14:10 ` Giulio Benetti 2023-11-23 10:12 ` [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Thomas Petazzoni via buildroot 4 siblings, 1 reply; 11+ messages in thread From: Gaël PORTAY @ 2023-11-21 19:34 UTC (permalink / raw) To: buildroot Cc: Martin Bark, Gaël PORTAY, Julien Grossholtz, Thomas Petazzoni, Mahyar Koshkouei This configuration builds an image for the RaspberryPi 5. Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> --- board/raspberrypi/cmdline_5.txt | 1 + board/raspberrypi/config_5.txt | 24 ++++++++++++++++++++ board/raspberrypi/readme.txt | 8 ++++++- board/raspberrypi5 | 1 + configs/raspberrypi5_defconfig | 39 +++++++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 board/raspberrypi/cmdline_5.txt create mode 100644 board/raspberrypi/config_5.txt create mode 120000 board/raspberrypi5 create mode 100644 configs/raspberrypi5_defconfig diff --git a/board/raspberrypi/cmdline_5.txt b/board/raspberrypi/cmdline_5.txt new file mode 100644 index 0000000000..ac457353e2 --- /dev/null +++ b/board/raspberrypi/cmdline_5.txt @@ -0,0 +1 @@ +root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA10,115200 diff --git a/board/raspberrypi/config_5.txt b/board/raspberrypi/config_5.txt new file mode 100644 index 0000000000..d25c29558d --- /dev/null +++ b/board/raspberrypi/config_5.txt @@ -0,0 +1,24 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +dtoverlay=vc4-kms-v3d-pi5 +dtoverlay=imx219 +#dtoverlay=ov5647 diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index c81fd801ae..4bdd7b3e8c 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -10,6 +10,7 @@ These instructions apply to all models of the Raspberry Pi: - the model B3 (aka Raspberry Pi 3). - the model B4 (aka Raspberry Pi 4). - the model CM4 (aka Raspberry Pi Compute Module 4 and IO Board). + - the model B5 (aka Raspberry Pi 5). How to build it =============== @@ -17,7 +18,7 @@ How to build it Configure Buildroot ------------------- -There are two RaspberryPi defconfig files in Buildroot, one for each +There are serveral RaspberryPi defconfig files in Buildroot, one for each major variant, which you should base your work on: For models A, B, A+ or B+: @@ -60,6 +61,10 @@ or for CM4 (on IO Board - 64 bit): $ make raspberrypicm4io_64_defconfig +For model 5 B (64 bit): + + $ make raspberrypi5_64_defconfig + Build the rootfs ---------------- @@ -90,6 +95,7 @@ After building, you should obtain this tree: +-- bcm2710-rpi-cm3.dtb [1] +-- bcm2711-rpi-4-b.dtb [1] +-- bcm2711-rpi-cm4.dtb [1] + +-- bcm2712-rpi-5-b.dtb [1] +-- bcm2837-rpi-3-b.dtb [1] +-- boot.vfat +-- rootfs.ext4 diff --git a/board/raspberrypi5 b/board/raspberrypi5 new file mode 120000 index 0000000000..fcdafc81ed --- /dev/null +++ b/board/raspberrypi5 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/configs/raspberrypi5_defconfig b/configs/raspberrypi5_defconfig new file mode 100644 index 0000000000..391df9696a --- /dev/null +++ b/configs/raspberrypi5_defconfig @@ -0,0 +1,39 @@ +BR2_aarch64=y +BR2_cortex_a76_a55=y +BR2_ARM_FPU_VFPV4=y +BR2_ARM64_PAGE_SIZE_16K=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 6.1 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2712-rpi-5-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5/config_5.txt" +BR2_PACKAGE_RPI_FIRMWARE_CMDLINE_FILE="board/raspberrypi5/cmdline_5.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5/post-image.sh" -- 2.42.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig 2023-11-21 19:34 ` [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig Gaël PORTAY @ 2024-02-05 14:10 ` Giulio Benetti 0 siblings, 0 replies; 11+ messages in thread From: Giulio Benetti @ 2024-02-05 14:10 UTC (permalink / raw) To: Gaël PORTAY, buildroot Cc: Thomas Petazzoni, Martin Bark, Julien Grossholtz, Mahyar Koshkouei Hi Gaël, On 21/11/23 20:34, Gaël PORTAY wrote: > This configuration builds an image for the RaspberryPi 5. can you please point an URL to the product page and briefly description of the board? > Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr> > --- > board/raspberrypi/cmdline_5.txt | 1 + > board/raspberrypi/config_5.txt | 24 ++++++++++++++++++++ > board/raspberrypi/readme.txt | 8 ++++++- > board/raspberrypi5 | 1 + > configs/raspberrypi5_defconfig | 39 +++++++++++++++++++++++++++++++++ > 5 files changed, 72 insertions(+), 1 deletion(-) > create mode 100644 board/raspberrypi/cmdline_5.txt > create mode 100644 board/raspberrypi/config_5.txt > create mode 120000 board/raspberrypi5 > create mode 100644 configs/raspberrypi5_defconfig > > diff --git a/board/raspberrypi/cmdline_5.txt b/board/raspberrypi/cmdline_5.txt > new file mode 100644 > index 0000000000..ac457353e2 > --- /dev/null > +++ b/board/raspberrypi/cmdline_5.txt > @@ -0,0 +1 @@ > +root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA10,115200 > diff --git a/board/raspberrypi/config_5.txt b/board/raspberrypi/config_5.txt > new file mode 100644 > index 0000000000..d25c29558d > --- /dev/null > +++ b/board/raspberrypi/config_5.txt > @@ -0,0 +1,24 @@ > +# Please note that this is only a sample, we recommend you to change it to fit > +# your needs. > +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. > +# See http://buildroot.org/manual.html#rootfs-custom > +# and http://elinux.org/RPiconfig for a description of config.txt syntax > + > +kernel=Image > + > +# To use an external initramfs file > +#initramfs rootfs.cpio.gz > + > +# Disable overscan assuming the display supports displaying the full resolution > +# If the text shown on the screen disappears off the edge, comment this out > +disable_overscan=1 > + > +# How much memory in MB to assign to the GPU on Pi models having > +# 256, 512 or 1024 MB total memory > +gpu_mem_256=100 > +gpu_mem_512=100 > +gpu_mem_1024=100 > + > +dtoverlay=vc4-kms-v3d-pi5 > +dtoverlay=imx219 > +#dtoverlay=ov5647 please drop this last line ^^^ > diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt > index c81fd801ae..4bdd7b3e8c 100644 > --- a/board/raspberrypi/readme.txt > +++ b/board/raspberrypi/readme.txt > @@ -10,6 +10,7 @@ These instructions apply to all models of the Raspberry Pi: > - the model B3 (aka Raspberry Pi 3). > - the model B4 (aka Raspberry Pi 4). > - the model CM4 (aka Raspberry Pi Compute Module 4 and IO Board). > + - the model B5 (aka Raspberry Pi 5). > > How to build it > =============== > @@ -17,7 +18,7 @@ How to build it > Configure Buildroot > ------------------- > > -There are two RaspberryPi defconfig files in Buildroot, one for each > +There are serveral RaspberryPi defconfig files in Buildroot, one for each > major variant, which you should base your work on: > > For models A, B, A+ or B+: > @@ -60,6 +61,10 @@ or for CM4 (on IO Board - 64 bit): > > $ make raspberrypicm4io_64_defconfig > > +For model 5 B (64 bit): > + > + $ make raspberrypi5_64_defconfig > + > Build the rootfs > ---------------- > > @@ -90,6 +95,7 @@ After building, you should obtain this tree: > +-- bcm2710-rpi-cm3.dtb [1] > +-- bcm2711-rpi-4-b.dtb [1] > +-- bcm2711-rpi-cm4.dtb [1] > + +-- bcm2712-rpi-5-b.dtb [1] > +-- bcm2837-rpi-3-b.dtb [1] > +-- boot.vfat > +-- rootfs.ext4 > diff --git a/board/raspberrypi5 b/board/raspberrypi5 > new file mode 120000 > index 0000000000..fcdafc81ed > --- /dev/null > +++ b/board/raspberrypi5 > @@ -0,0 +1 @@ > +raspberrypi > \ No newline at end of file Please add newline > diff --git a/configs/raspberrypi5_defconfig b/configs/raspberrypi5_defconfig > new file mode 100644 > index 0000000000..391df9696a > --- /dev/null > +++ b/configs/raspberrypi5_defconfig > @@ -0,0 +1,39 @@ > +BR2_aarch64=y > +BR2_cortex_a76_a55=y I've found that BCM2712 is a quad-cortex A76 and not A76+A55, so if I'm correct with BCM2712 on Raspberry 5 SoC model you should enable: BR2_cortex_a76=y > +BR2_ARM_FPU_VFPV4=y I can't find informations on which type of FPU implementation BCM2712 has but here: https://en.wikipedia.org/wiki/Raspberry_Pi I see: that all Raspberry up to version 4 support VFPV4 so it makes sense to enable VFPV4. Have you tested some package that uses FPU extensively? > +BR2_ARM64_PAGE_SIZE_16K=y > + > +BR2_TOOLCHAIN_BUILDROOT_CXX=y Is there a reason for CXX to be added? > + > +BR2_SYSTEM_DHCP="eth0" > + > +# Linux headers same as kernel, a 6.1 series > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y > + > +BR2_LINUX_KERNEL=y > +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,feb4ea51e77af09c1a4c7c3e5dd33237750f95cd)/linux-feb4ea51e77af09c1a4c7c3e5dd33237750f95cd.tar.gz" > +BR2_LINUX_KERNEL_DEFCONFIG="bcm2712" > + > +# Build the DTB from the kernel sources > +BR2_LINUX_KERNEL_DTS_SUPPORT=y > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2712-rpi-5-b" > + > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y > + > +BR2_PACKAGE_RPI_FIRMWARE=y > +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5/config_5.txt" > +BR2_PACKAGE_RPI_FIRMWARE_CMDLINE_FILE="board/raspberrypi5/cmdline_5.txt" > + > +# Required tools to create the SD image > +BR2_PACKAGE_HOST_DOSFSTOOLS=y > +BR2_PACKAGE_HOST_GENIMAGE=y > +BR2_PACKAGE_HOST_MTOOLS=y > + > +# Filesystem / image > +BR2_TARGET_ROOTFS_EXT2=y > +BR2_TARGET_ROOTFS_EXT2_4=y > +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" > +# BR2_TARGET_ROOTFS_TAR is not set > +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi5/post-build.sh" > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi5/post-image.sh" Best regards -- Giulio Benetti CEO&CTO@Benetti Engineering sas _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY ` (3 preceding siblings ...) 2023-11-21 19:34 ` [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig Gaël PORTAY @ 2023-11-23 10:12 ` Thomas Petazzoni via buildroot 2023-11-23 15:25 ` Gaël PORTAY 4 siblings, 1 reply; 11+ messages in thread From: Thomas Petazzoni via buildroot @ 2023-11-23 10:12 UTC (permalink / raw) To: Gaël PORTAY Cc: Mahyar Koshkouei, Martin Bark, Julien Grossholtz, buildroot On Tue, 21 Nov 2023 20:34:44 +0100 Gaël PORTAY <gael.portay@rtone.fr> wrote: > The output boots fine and it runs getty on uart and virtual tty if it is > built using the toolchain built by buildroot. > > The output boots the kernel but the kernel cannot run the init process > if it is built using the bootlin prebuilt toolchain. Something is broken > due to the 16k MMU page-size :( I *think* this is expected. The Bootlin toolchains are built for the default page size of 4KB, so the libc in those toolchains expects 4KB pages, and this breaks if you mix it with code that was built for 16 KB page size. > Question: the device-tree overlays are taken from the rpi-firmware; is > there a plan to compile the one from the downstream kernel sources > instead? by tweaking the linux.mk maybe? The problem here is that it would be a tweak in linux.mk that is specific to how the downstream RPi kernel does it. But the mainline kernel has grown support for building DT overlays too. Is it similar to how the downstream RPi kernel does it? Which tweak would be needed in linux.mk to build overlays in the downstream RPi kernel? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 2023-11-23 10:12 ` [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Thomas Petazzoni via buildroot @ 2023-11-23 15:25 ` Gaël PORTAY 2023-11-23 15:38 ` Gaël PORTAY 0 siblings, 1 reply; 11+ messages in thread From: Gaël PORTAY @ 2023-11-23 15:25 UTC (permalink / raw) To: Thomas Petazzoni Cc: Mahyar Koshkouei, Martin Bark, Julien Grossholtz, buildroot On Thu Nov 23, 2023 at 11:12 AM CET, Thomas Petazzoni wrote: > On Tue, 21 Nov 2023 20:34:44 +0100 > Gaël PORTAY <gael.portay@rtone.fr> wrote: > > > The output boots fine and it runs getty on uart and virtual tty if it is > > built using the toolchain built by buildroot. > > > > The output boots the kernel but the kernel cannot run the init process > > if it is built using the bootlin prebuilt toolchain. Something is broken > > due to the 16k MMU page-size :( > > I *think* this is expected. The Bootlin toolchains are built for the > default page size of 4KB, so the libc in those toolchains expects 4KB > pages, and this breaks if you mix it with code that was built for 16 KB > page size. > Okay. So it needs to ship multiple toolchains, one per page-size? Or maybe there is a compiler flag or whatsoever; I saw a linker flag. I know nothing about that for now. I need to dig in. BTW, I wonder how the Raspberry OS deals with an image working for both 4k and 16k in a single userland; maybe it is just a matter of toolchain. > > Question: the device-tree overlays are taken from the rpi-firmware; is > > there a plan to compile the one from the downstream kernel sources > > instead? by tweaking the linux.mk maybe? > > The problem here is that it would be a tweak in linux.mk that is > specific to how the downstream RPi kernel does it. But the mainline > kernel has grown support for building DT overlays too. Is it similar to > how the downstream RPi kernel does it? > All I know for know is that upstream sets the flag -@ to embed the nodes __symbols__ and __local_fixups__ in the dtb subject to get overlaid at runtime. The dtbo can resolve its missing symbols from its node __fixups__ then IIRC. Did I missed something new in the upstream kernel? > Which tweak would be needed in linux.mk to build overlays in the > downstream RPi kernel? > In fact, the overlays are built already by linux.mk since it builds the device-trees and thus the overlays at the same time. Actually, there is no mecanism to install them back the output directory since the linux.mk does not use the target dtbs_install to install the device-tree blobs. It uses BR2_LINUX_KERNEL_INTREE_DTS_NAME to list the in-tree device-tree to install manually thanks to an install -D. Therefore, the overlays need the same mecanism for the overlays. Note: The mecanism cannot be reused for the overlays since the name given is the path: - from the dts directory (overlays are in overlays/) - without the .dts suffix (overlays have -overlay.dts) - .dtb is automatically suffixed (/!\ overlays have -overlay.dtbo) I have already made that tweak but I have not submitted it for an RFC as the overlays is a downstream specific feature (at least for now), and I do not know if another downstream kernel tree builts overlays. Therefore, I think it should not be a part of linux.mk (at least directly), even if it is standard with other downstream trees. Below is a part of the tweak I am thinking about (it is a copy/paste of what it is done for dts/dtb): diff --git a/linux/linux.mk b/linux/linux.mk index 53e2ad6d48..5f2b371afe 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -199,6 +199,14 @@ LINUX_DTS_NAME += $(basename $(filter %.dts,$(notdir $(call qstrip,$(BR2_LINUX_K LINUX_DTBS = $(addsuffix .dtb,$(LINUX_DTS_NAME)) +ifeq ($(BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT),y) +LINUX_DTS_OVERLAY_NAMES += $(call qstrip,$(BR2_LINUX_KERNEL_INTREE_DTS_OVERLAY_NAMES)) + +LINUX_DTS_OVERLAY_NAMES += $(basename $(filter %-overlay.dts,$(notdir $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_OVERLAY_PATH))))) + +LINUX_DTBOS = $(addsuffix .dtbo,$(LINUX_DTS_OVERLAY_NAMES)) +endif + ifeq ($(BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM),y) LINUX_IMAGE_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_NAME)) LINUX_TARGET_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME)) @@ -458,10 +466,23 @@ define LINUX_INSTALL_DTB $(1)/$(if $(BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME),$(dtb),$(notdir $(dtb))) ) endef +define LINUX_INSTALL_DTBO + $(foreach dtbo,$(LINUX_DTBOS), \ + install -D \ + $(wildcard $(LINUX_ARCH_PATH)/boot/dts/$(dtbo)) \ + $(1)/$(if $(BR2_LINUX_KERNEL_DTBO_KEEP_DIRNAME),$(dtbo),$(notdir $(dtbo))) + ) +endef endif # BR2_LINUX_KERNEL_APPENDED_DTB endif # BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT endif # BR2_LINUX_KERNEL_DTS_SUPPORT +ifeq ($(BR2_LINUX_KERNEL_DTS_OVERLAY_SUPPORT),y) +define LINUX_BUILD_DTBO + $(LINUX_MAKE_ENV) $(BR2_MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_DTBOS) +endef +endif # BR2_LINUX_KERNEL_DTS_OVERLAY_SUPPORT + ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) # dtbs moved from arch/$ARCH/boot to arch/$ARCH/boot/dts since 3.8-rc1 define LINUX_APPEND_DTB @@ -508,6 +529,7 @@ define LINUX_BUILD_CMDS $(LINUX_MAKE_ENV) $(BR2_MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME) $(LINUX_BUILD_DTB) $(LINUX_APPEND_DTB) + $(LINUX_BUILD_DTBO) endef ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) @@ -529,6 +551,7 @@ ifeq ($(BR2_LINUX_KERNEL_INSTALL_TARGET),y) define LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET $(call LINUX_INSTALL_IMAGE,$(TARGET_DIR)/boot) $(call LINUX_INSTALL_DTB,$(TARGET_DIR)/boot) + $(call LINUX_INSTALL_DTBO,$(TARGET_DIR)/boot/overlays) endef endif @@ -543,6 +566,7 @@ endef define LINUX_INSTALL_IMAGES_CMDS $(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR)) $(call LINUX_INSTALL_DTB,$(BINARIES_DIR)) + $(call LINUX_INSTALL_DTBO,$(BINARIES_DIR)) endef Let me know if this looks to be interresting and if it should get post in a dedicated thread. Thanks. > Thomas > Gaël _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 2023-11-23 15:25 ` Gaël PORTAY @ 2023-11-23 15:38 ` Gaël PORTAY 0 siblings, 0 replies; 11+ messages in thread From: Gaël PORTAY @ 2023-11-23 15:38 UTC (permalink / raw) To: Gaël PORTAY, Thomas Petazzoni Cc: Mahyar Koshkouei, Martin Bark, Julien Grossholtz, buildroot On Thu Nov 23, 2023 at 4:25 PM CET, Gaël PORTAY wrote: > On Thu Nov 23, 2023 at 11:12 AM CET, Thomas Petazzoni wrote: > > On Tue, 21 Nov 2023 20:34:44 +0100 > > Gaël PORTAY <gael.portay@rtone.fr> wrote: > > > > > The output boots fine and it runs getty on uart and virtual tty if it is > > > built using the toolchain built by buildroot. > > > > > > The output boots the kernel but the kernel cannot run the init process > > > if it is built using the bootlin prebuilt toolchain. Something is broken > > > due to the 16k MMU page-size :( > > > > I *think* this is expected. The Bootlin toolchains are built for the > > default page size of 4KB, so the libc in those toolchains expects 4KB > > pages, and this breaks if you mix it with code that was built for 16 KB > > page size. > > > > Okay. So it needs to ship multiple toolchains, one per page-size? Or > maybe there is a compiler flag or whatsoever; I saw a linker flag. I > know nothing about that for now. I need to dig in. > > BTW, I wonder how the Raspberry OS deals with an image working for both > 4k and 16k in a single userland; maybe it is just a matter of toolchain. > > > > Question: the device-tree overlays are taken from the rpi-firmware; is > > > there a plan to compile the one from the downstream kernel sources > > > instead? by tweaking the linux.mk maybe? I have just tested with the toolchain "Arm AArch64 12.2.rel1" and it works! It is just a matter of toolchain. Gaël _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-02-05 14:10 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-11-21 19:34 [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 1/4] arch: add support 16k page size on ARM64 Gaël PORTAY 2023-11-21 19:34 ` [Buildroot] [v1 2/4] package/rpi-firmware: bump version for pi5 support Gaël PORTAY 2024-01-20 18:16 ` Yann E. MORIN 2023-11-21 19:34 ` [Buildroot] [v1 3/4] configs/raspberrypi*: bump kernel version to feb4ea5 (6.1.55) Gaël PORTAY 2024-02-05 12:03 ` Giulio Benetti 2023-11-21 19:34 ` [Buildroot] [v1 4/4] configs: add raspberrypi 5 defconfig Gaël PORTAY 2024-02-05 14:10 ` Giulio Benetti 2023-11-23 10:12 ` [Buildroot] [v1 0/4] [PATCH 0/3] Add support for Pi5 Thomas Petazzoni via buildroot 2023-11-23 15:25 ` Gaël PORTAY 2023-11-23 15:38 ` Gaël PORTAY
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox