* [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig
@ 2024-08-08 12:39 Gaël PORTAY
2024-08-08 12:39 ` [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment Gaël PORTAY
2024-08-08 16:42 ` [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Thomas Petazzoni via buildroot
0 siblings, 2 replies; 5+ messages in thread
From: Gaël PORTAY @ 2024-08-08 12:39 UTC (permalink / raw)
To: buildroot; +Cc: Gaël PORTAY, Martin Bark, Julien Grossholtz
This configuration builds an image for the Raspberry Pi Zero 2 W
(64-bit).
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
---
board/raspberrypi/config_zero2w_64bit.txt | 32 +++++++++++++++
board/raspberrypizero2w-64 | 1 +
configs/raspberrypizero2w_64_defconfig | 48 +++++++++++++++++++++++
3 files changed, 81 insertions(+)
create mode 100644 board/raspberrypi/config_zero2w_64bit.txt
create mode 120000 board/raspberrypizero2w-64
create mode 100644 configs/raspberrypizero2w_64_defconfig
diff --git a/board/raspberrypi/config_zero2w_64bit.txt b/board/raspberrypi/config_zero2w_64bit.txt
new file mode 100644
index 0000000000..6672871125
--- /dev/null
+++ b/board/raspberrypi/config_zero2w_64bit.txt
@@ -0,0 +1,32 @@
+# 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
+
+start_file=start.elf
+fixup_file=fixup.dat
+
+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
+
+# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+dtoverlay=miniuart-bt
+
+# enable autoprobing of Bluetooth driver without need of hciattach/btattach
+dtparam=krnbt=on
+
+# enable 64bits support
+arm_64bit=1
diff --git a/board/raspberrypizero2w-64 b/board/raspberrypizero2w-64
new file mode 120000
index 0000000000..fcdafc81ed
--- /dev/null
+++ b/board/raspberrypizero2w-64
@@ -0,0 +1 @@
+raspberrypi
\ No newline at end of file
diff --git a/configs/raspberrypizero2w_64_defconfig b/configs/raspberrypizero2w_64_defconfig
new file mode 100644
index 0000000000..7c36183a9f
--- /dev/null
+++ b/configs/raspberrypizero2w_64_defconfig
@@ -0,0 +1,48 @@
+BR2_aarch64=y
+BR2_cortex_a53=y
+BR2_ARM_FPU_VFPV4=y
+
+# patches
+BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
+# Linux headers same as kernel, a 6.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+
+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,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
+
+# Build the DTB from the kernel sources
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-zero-2-w"
+
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+
+BR2_PACKAGE_RPI_FIRMWARE=y
+BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
+BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
+BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w-64/config_zero2w_64bit.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/raspberrypizero2w-64/post-build.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w-64/post-image.sh"
+
+# Enable compressed kernel module support
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+BR2_PACKAGE_KMOD_TOOLS=y
+BR2_PACKAGE_XZ=y
+BR2_PACKAGE_KMOD=y
+BR2_PACKAGE_HOST_KMOD_XZ=y
--
2.46.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment
2024-08-08 12:39 [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Gaël PORTAY
@ 2024-08-08 12:39 ` Gaël PORTAY
2024-08-08 16:43 ` Thomas Petazzoni via buildroot
2024-08-08 16:42 ` [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Thomas Petazzoni via buildroot
1 sibling, 1 reply; 5+ messages in thread
From: Gaël PORTAY @ 2024-08-08 12:39 UTC (permalink / raw)
To: buildroot; +Cc: Gaël PORTAY, Martin Bark, Julien Grossholtz
The Raspberry Pi with Bluetooth connectivity up to 4 (i.e. Zero W, Zero
2 W, 3, 4 and Compute Module 4) use the miniuart-bt overlay to restore
UART0 for the serial console (like the Raspberry Pi and Raspberry Pi 2
that have no Bluetooth); the Bluetooth uses the mini-UART instead[1][2].
This rewords the comment instead of enumerating every hardwares that can
be extended in the future.
[1]: https://www.raspberrypi.com/documentation/computers/configuration.html#uarts-and-device-tree
[2]: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L4-L6
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
---
board/raspberrypi/config_0w.txt | 2 +-
board/raspberrypi/config_3.txt | 2 +-
board/raspberrypi/config_3_64bit.txt | 2 +-
board/raspberrypi/config_3_qt5we.txt | 2 +-
board/raspberrypi/config_4.txt | 2 +-
board/raspberrypi/config_4_64bit.txt | 2 +-
board/raspberrypi/config_cm4io.txt | 2 +-
board/raspberrypi/config_cm4io_64bit.txt | 2 +-
board/raspberrypi/config_zero2w.txt | 2 +-
board/raspberrypi/config_zero2w_64bit.txt | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/board/raspberrypi/config_0w.txt b/board/raspberrypi/config_0w.txt
index bc59d5fad2..123e09cf56 100644
--- a/board/raspberrypi/config_0w.txt
+++ b/board/raspberrypi/config_0w.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3.txt b/board/raspberrypi/config_3.txt
index bc59d5fad2..123e09cf56 100644
--- a/board/raspberrypi/config_3.txt
+++ b/board/raspberrypi/config_3.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3_64bit.txt b/board/raspberrypi/config_3_64bit.txt
index 6672871125..88206e9b14 100644
--- a/board/raspberrypi/config_3_64bit.txt
+++ b/board/raspberrypi/config_3_64bit.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_3_qt5we.txt b/board/raspberrypi/config_3_qt5we.txt
index 752310b179..3d81a4e5da 100644
--- a/board/raspberrypi/config_3_qt5we.txt
+++ b/board/raspberrypi/config_3_qt5we.txt
@@ -22,5 +22,5 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=200
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
diff --git a/board/raspberrypi/config_4.txt b/board/raspberrypi/config_4.txt
index 74a7b270cd..9b77d23d74 100644
--- a/board/raspberrypi/config_4.txt
+++ b/board/raspberrypi/config_4.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_4_64bit.txt b/board/raspberrypi/config_4_64bit.txt
index a4ae327d2a..fcb1c5c30a 100644
--- a/board/raspberrypi/config_4_64bit.txt
+++ b/board/raspberrypi/config_4_64bit.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_cm4io.txt b/board/raspberrypi/config_cm4io.txt
index cf7e6df1a1..15751e7187 100644
--- a/board/raspberrypi/config_cm4io.txt
+++ b/board/raspberrypi/config_cm4io.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable RTC
diff --git a/board/raspberrypi/config_cm4io_64bit.txt b/board/raspberrypi/config_cm4io_64bit.txt
index 813f6eba7b..4884bda553 100644
--- a/board/raspberrypi/config_cm4io_64bit.txt
+++ b/board/raspberrypi/config_cm4io_64bit.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable RTC
diff --git a/board/raspberrypi/config_zero2w.txt b/board/raspberrypi/config_zero2w.txt
index 55095f64a7..123e09cf56 100644
--- a/board/raspberrypi/config_zero2w.txt
+++ b/board/raspberrypi/config_zero2w.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
diff --git a/board/raspberrypi/config_zero2w_64bit.txt b/board/raspberrypi/config_zero2w_64bit.txt
index 6672871125..88206e9b14 100644
--- a/board/raspberrypi/config_zero2w_64bit.txt
+++ b/board/raspberrypi/config_zero2w_64bit.txt
@@ -22,7 +22,7 @@ gpu_mem_256=100
gpu_mem_512=100
gpu_mem_1024=100
-# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console
+# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
# enable autoprobing of Bluetooth driver without need of hciattach/btattach
--
2.46.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig
2024-08-08 12:39 [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Gaël PORTAY
2024-08-08 12:39 ` [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment Gaël PORTAY
@ 2024-08-08 16:42 ` Thomas Petazzoni via buildroot
2024-08-09 11:33 ` Gaël PORTAY
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-08 16:42 UTC (permalink / raw)
To: Gaël PORTAY
Cc: Gaël PORTAY, Martin Bark, Julien Grossholtz, buildroot
Hello Gaël,
On Thu, 8 Aug 2024 14:39:37 +0200
"Gaël PORTAY" <gael.portay@gmail.com> wrote:
> This configuration builds an image for the Raspberry Pi Zero 2 W
> (64-bit).
>
> Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
Thanks for this patch. The commit title should be:
configs/raspberrypizero2w_64: new defconfig
> ---
> board/raspberrypi/config_zero2w_64bit.txt | 32 +++++++++++++++
> board/raspberrypizero2w-64 | 1 +
> configs/raspberrypizero2w_64_defconfig | 48 +++++++++++++++++++++++
> 3 files changed, 81 insertions(+)
> create mode 100644 board/raspberrypi/config_zero2w_64bit.txt
> create mode 120000 board/raspberrypizero2w-64
> create mode 100644 configs/raspberrypizero2w_64_defconfig
Please add an entry in the DEVELOPERS file for this new defconfig.
Perhaps you also want to add yourself for all Raspberry platforms?
> diff --git a/board/raspberrypizero2w-64 b/board/raspberrypizero2w-64
> new file mode 120000
> index 0000000000..fcdafc81ed
> --- /dev/null
> +++ b/board/raspberrypizero2w-64
> @@ -0,0 +1 @@
> +raspberrypi
I really don't understand why we have all those symlinks, it makes no
sense. If all defconfigs are using the same files from
board/raspberrypi/, why are the defconfigs not all using
board/raspberrypi/ instead of those silly symlinks?
> diff --git a/configs/raspberrypizero2w_64_defconfig b/configs/raspberrypizero2w_64_defconfig
> new file mode 100644
> index 0000000000..7c36183a9f
> --- /dev/null
> +++ b/configs/raspberrypizero2w_64_defconfig
> @@ -0,0 +1,48 @@
> +BR2_aarch64=y
> +BR2_cortex_a53=y
> +BR2_ARM_FPU_VFPV4=y
> +
> +# patches
> +BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
Here you're not even using that new symlink.
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> +
> +# Linux headers same as kernel, a 6.6 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
> +
> +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,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
> +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
> +
> +# Build the DTB from the kernel sources
> +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-zero-2-w"
> +
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> +
> +BR2_PACKAGE_RPI_FIRMWARE=y
> +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
> +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
> +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w-64/config_zero2w_64bit.txt"
But here you're using it.
Could you fix that up and send a new iteration?
Thanks!
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] 5+ messages in thread
* Re: [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment
2024-08-08 12:39 ` [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment Gaël PORTAY
@ 2024-08-08 16:43 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-08 16:43 UTC (permalink / raw)
To: Gaël PORTAY
Cc: Gaël PORTAY, Martin Bark, Julien Grossholtz, buildroot
On Thu, 8 Aug 2024 14:39:38 +0200
"Gaël PORTAY" <gael.portay@gmail.com> wrote:
> The Raspberry Pi with Bluetooth connectivity up to 4 (i.e. Zero W, Zero
> 2 W, 3, 4 and Compute Module 4) use the miniuart-bt overlay to restore
> UART0 for the serial console (like the Raspberry Pi and Raspberry Pi 2
> that have no Bluetooth); the Bluetooth uses the mini-UART instead[1][2].
>
> This rewords the comment instead of enumerating every hardwares that can
> be extended in the future.
>
> [1]: https://www.raspberrypi.com/documentation/computers/configuration.html#uarts-and-device-tree
> [2]: https://github.com/raspberrypi/linux/blob/rpi-6.6.y/arch/arm/boot/dts/overlays/miniuart-bt-overlay.dts#L4-L6
>
> Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
> ---
> board/raspberrypi/config_0w.txt | 2 +-
> board/raspberrypi/config_3.txt | 2 +-
> board/raspberrypi/config_3_64bit.txt | 2 +-
> board/raspberrypi/config_3_qt5we.txt | 2 +-
> board/raspberrypi/config_4.txt | 2 +-
> board/raspberrypi/config_4_64bit.txt | 2 +-
> board/raspberrypi/config_cm4io.txt | 2 +-
> board/raspberrypi/config_cm4io_64bit.txt | 2 +-
> board/raspberrypi/config_zero2w.txt | 2 +-
> board/raspberrypi/config_zero2w_64bit.txt | 2 +-
> 10 files changed, 10 insertions(+), 10 deletions(-)
Applied to master, of course without the change in
config_zero2w_64bit.txt, as I didn't apply PATCH 1/2. 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] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig
2024-08-08 16:42 ` [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Thomas Petazzoni via buildroot
@ 2024-08-09 11:33 ` Gaël PORTAY
0 siblings, 0 replies; 5+ messages in thread
From: Gaël PORTAY @ 2024-08-09 11:33 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: Gaël PORTAY, Martin Bark, Julien Grossholtz, buildroot
Hello Thomas,
On Thu Aug 8, 2024 at 6:42 PM CEST, Thomas Petazzoni wrote:
> Thanks for this patch. The commit title should be:
>
> configs/raspberrypizero2w_64: new defconfig
>
Wow, dit I really make that commit title?!?
Fixed in v2.
> > ---
> > board/raspberrypi/config_zero2w_64bit.txt | 32 +++++++++++++++
> > board/raspberrypizero2w-64 | 1 +
> > configs/raspberrypizero2w_64_defconfig | 48 +++++++++++++++++++++++
> > 3 files changed, 81 insertions(+)
> > create mode 100644 board/raspberrypi/config_zero2w_64bit.txt
> > create mode 120000 board/raspberrypizero2w-64
> > create mode 100644 configs/raspberrypizero2w_64_defconfig
>
> Please add an entry in the DEVELOPERS file for this new defconfig.
> Perhaps you also want to add yourself for all Raspberry platforms?
>
Okay.
>
> > diff --git a/board/raspberrypizero2w-64 b/board/raspberrypizero2w-64
> > new file mode 120000
> > index 0000000000..fcdafc81ed
> > --- /dev/null
> > +++ b/board/raspberrypizero2w-64
> > @@ -0,0 +1 @@
> > +raspberrypi
>
> I really don't understand why we have all those symlinks, it makes no
> sense. If all defconfigs are using the same files from
> board/raspberrypi/, why are the defconfigs not all using
> board/raspberrypi/ instead of those silly symlinks?
>
They exist since a lot of time now. I have removed them and I hope I
have not missed something.
I hope the br2-external do not use them, or they will have to update the
path.
> > diff --git a/configs/raspberrypizero2w_64_defconfig b/configs/raspberrypizero2w_64_defconfig
> > new file mode 100644
> > index 0000000000..7c36183a9f
> > --- /dev/null
> > +++ b/configs/raspberrypizero2w_64_defconfig
> > @@ -0,0 +1,48 @@
> > +BR2_aarch64=y
> > +BR2_cortex_a53=y
> > +BR2_ARM_FPU_VFPV4=y
> > +
> > +# patches
> > +BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
>
> Here you're not even using that new symlink.
>
Well, I have make a copy of the existing raspberrypizero2w_defconfig; I
have not noticed that incoherence :)
> > +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> > +
> > +# Linux headers same as kernel, a 6.6 series
> > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
> > +
> > +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,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
> > +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
> > +
> > +# Build the DTB from the kernel sources
> > +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-zero-2-w"
> > +
> > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> > +
> > +BR2_PACKAGE_RPI_FIRMWARE=y
> > +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
> > +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
> > +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w-64/config_zero2w_64bit.txt"
>
> But here you're using it.
>
> Could you fix that up and send a new iteration?
>
I have "fixed" it.
Would you mind makeing sure I have not missed a thing? I have rebuild
only the pi5.
> Thanks!
>
My pleasure ;)
> Thomas
Gaël
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-09 11:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 12:39 [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Gaël PORTAY
2024-08-08 12:39 ` [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment Gaël PORTAY
2024-08-08 16:43 ` Thomas Petazzoni via buildroot
2024-08-08 16:42 ` [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Thomas Petazzoni via buildroot
2024-08-09 11:33 ` 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