From fd6bae5dc11a85b84a28663d10dbe13b69b1ac4c Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 27 Feb 2023 23:58:02 +0100 Subject: [PATCH] Linux: Update kernel 6.1.13 for Raspberry Pi systems (#2373) --- Documentation/kernel.md | 12 +-- ...x-add-compatible-picked-up-by-U-Boot.patch | 20 ++-- ...Add-device-tree-for-Home-Assistant-Y.patch | 91 ++++++++----------- ...yellow-Mux-UART4-for-SiLabs-radio-mo.patch | 22 ++--- ...M-dts-bcm2711-yellow-Mux-debug-UART5.patch | 24 ++--- ...cm2711-yellow-Enable-I2C6-by-default.patch | 14 +-- ...s-bcm2711-yellow-add-I2S-audio-codec.patch | 18 ++-- ...-dts-bcm2711-yellow-enable-GPIO-keys.patch | 20 ++-- ...-ARM-dts-bcm2711-yellow-add-user-LED.patch | 16 ++-- ...bcm2711-yellow-add-NXP-PCF85063A-RTC.patch | 14 +-- ...yellow-enable-USB-host-mode-by-defau.patch | 14 +-- ...yellow-use-generic-activity-trigger-.patch | 16 ++-- ...1-yellow-use-USB-OTG-mode-by-default.patch | 14 +-- ...dts-bcm2711-yellow-Add-LED-overrides.patch | 28 +++--- buildroot-external/configs/rpi2_defconfig | 4 +- buildroot-external/configs/rpi3_64_defconfig | 4 +- buildroot-external/configs/rpi3_defconfig | 4 +- buildroot-external/configs/rpi4_64_defconfig | 4 +- buildroot-external/configs/rpi4_defconfig | 4 +- buildroot-external/configs/yellow_defconfig | 4 +- 20 files changed, 168 insertions(+), 179 deletions(-) diff --git a/Documentation/kernel.md b/Documentation/kernel.md index 16e97870a..862fae9c3 100644 --- a/Documentation/kernel.md +++ b/Documentation/kernel.md @@ -6,12 +6,12 @@ Default Kernel tree: 5.15 | Board | Version | |-------|---------| | Open Virtual Appliance | 6.1.14 | -| Raspberry Pi | 5.15.84 | -| Raspberry Pi 0-W | 5.15.84 | -| Raspberry Pi 2 | 5.15.84 | -| Raspberry Pi 3 | 5.15.84 | -| Raspberry Pi 4 | 5.15.84 | -| Home Assistant Yellow | 5.15.84 | +| Raspberry Pi | 6.1.13 | +| Raspberry Pi 0-W | 6.1.13 | +| Raspberry Pi 2 | 6.1.13 | +| Raspberry Pi 3 | 6.1.13 | +| Raspberry Pi 4 | 6.1.13 | +| Home Assistant Yellow | 6.1.13 | | Tinker Board | 6.1.14 | | Odroid-C2 | 6.1.14 | | Odroid-C4 | 6.1.14 | diff --git a/buildroot-external/board/raspberrypi/patches/linux/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch b/buildroot-external/board/raspberrypi/patches/linux/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch index 6b3a27f4b..bffec3db6 100644 --- a/buildroot-external/board/raspberrypi/patches/linux/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch +++ b/buildroot-external/board/raspberrypi/patches/linux/0001-ARM-dts-bcm283x-add-compatible-picked-up-by-U-Boot.patch @@ -1,5 +1,5 @@ -From 2230740c7f74678ca80da55f74ccc24f5aa6bd35 Mon Sep 17 00:00:00 2001 -Message-Id: <2230740c7f74678ca80da55f74ccc24f5aa6bd35.1614676528.git.stefan@agner.ch> +From 57188c09ac02bfa61cce55932ccba43ec7210e54 Mon Sep 17 00:00:00 2001 +Message-Id: <57188c09ac02bfa61cce55932ccba43ec7210e54.1677499675.git.stefan@agner.ch> From: Pascal Vizeli Date: Tue, 2 Jun 2020 21:20:08 +0000 Subject: [PATCH] ARM: dts: bcm283x: add compatible picked up by U-Boot @@ -17,10 +17,10 @@ Signed-off-by: Stefan Agner 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi -index b4bca5af95e1..c31b87b5bb3a 100644 +index 941c4d16791b..3cd49fa4bafd 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi -@@ -127,7 +127,7 @@ rng@7e104000 { +@@ -128,7 +128,7 @@ rng@7e104000 { }; uart2: serial@7e201400 { @@ -29,7 +29,7 @@ index b4bca5af95e1..c31b87b5bb3a 100644 reg = <0x7e201400 0x200>; interrupts = ; clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -138,7 +138,7 @@ uart2: serial@7e201400 { +@@ -139,7 +139,7 @@ uart2: serial@7e201400 { }; uart3: serial@7e201600 { @@ -38,7 +38,7 @@ index b4bca5af95e1..c31b87b5bb3a 100644 reg = <0x7e201600 0x200>; interrupts = ; clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -149,7 +149,7 @@ uart3: serial@7e201600 { +@@ -150,7 +150,7 @@ uart3: serial@7e201600 { }; uart4: serial@7e201800 { @@ -47,7 +47,7 @@ index b4bca5af95e1..c31b87b5bb3a 100644 reg = <0x7e201800 0x200>; interrupts = ; clocks = <&clocks BCM2835_CLOCK_UART>, -@@ -160,7 +160,7 @@ uart4: serial@7e201800 { +@@ -161,7 +161,7 @@ uart4: serial@7e201800 { }; uart5: serial@7e201a00 { @@ -57,10 +57,10 @@ index b4bca5af95e1..c31b87b5bb3a 100644 interrupts = ; clocks = <&clocks BCM2835_CLOCK_UART>, diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi -index 346838ee9d21..7f289fbca28c 100644 +index d2d9c6e67f39..7b9a2e8cf529 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -300,7 +300,7 @@ uart1_ctsrts_gpio42: uart1_ctsrts_gpio42 { +@@ -302,7 +302,7 @@ uart1_ctsrts_gpio42: uart1_ctsrts_gpio42 { }; uart0: serial@7e201000 { @@ -70,5 +70,5 @@ index 346838ee9d21..7f289fbca28c 100644 interrupts = <2 25>; clocks = <&clocks BCM2835_CLOCK_UART>, -- -2.30.1 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch index d2ef2f3cd..a3f9a8a68 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0001-ARM-dts-bcm2711-Add-device-tree-for-Home-Assistant-Y.patch @@ -1,5 +1,5 @@ -From b28a8f5b591841f88f19cbf9850d713a602d912e Mon Sep 17 00:00:00 2001 -Message-Id: +From f0292972b38d512fce48384ebbb72b2da46f03bd Mon Sep 17 00:00:00 2001 +Message-Id: From: Stefan Agner Date: Mon, 11 Apr 2022 14:47:59 +0200 Subject: [PATCH] ARM: dts: bcm2711: Add device tree for Home Assistant Yellow @@ -10,15 +10,15 @@ board. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/Makefile | 3 +- - .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 598 ++++++++++++++++++ + .../boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 587 ++++++++++++++++++ arch/arm64/boot/dts/broadcom/Makefile | 1 + .../broadcom/bcm2711-rpi-cm4-ha-yellow.dts | 1 + - 4 files changed, 602 insertions(+), 1 deletion(-) + 4 files changed, 591 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile -index 3dfe451bcb16..d147c3400732 100644 +index f7d8d09c0a16..3a7d6595aded 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -18,7 +18,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \ @@ -33,14 +33,21 @@ index 3dfe451bcb16..d147c3400732 100644 alpine-db.dtb diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts new file mode 100644 -index 000000000000..61d8c81d3de4 +index 000000000000..f92936d7cf16 --- /dev/null +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -0,0 +1,598 @@ +@@ -0,0 +1,587 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; ++#define BCM2711 ++#define i2c0 i2c0if +#include "bcm2711.dtsi" ++#include "bcm283x-rpi-wifi-bt.dtsi" ++#undef i2c0 ++#include "bcm270x.dtsi" ++#define i2c0 i2c0mux +#include "bcm2711-rpi.dtsi" ++#undef i2c0 +//#include "bcm283x-rpi-usb-peripheral.dtsi" + +/ { @@ -65,11 +72,6 @@ index 000000000000..61d8c81d3de4 + }; + }; + -+ wifi_pwrseq: wifi-pwrseq { -+ compatible = "mmc-pwrseq-simple"; -+ reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; -+ }; -+ + sd_io_1v8_reg: sd_io_1v8_reg { + compatible = "regulator-gpio"; + regulator-name = "vdd-sd-io"; @@ -95,6 +97,10 @@ index 000000000000..61d8c81d3de4 + }; +}; + ++&bt { ++ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; ++}; ++ +&ddc0 { + status = "okay"; +}; @@ -229,23 +235,6 @@ index 000000000000..61d8c81d3de4 + status = "okay"; +}; + -+/* SDHCI is used to control the SDIO for wireless */ -+&sdhci { -+ #address-cells = <1>; -+ #size-cells = <0>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&emmc_gpio34>; -+ bus-width = <4>; -+ non-removable; -+ mmc-pwrseq = <&wifi_pwrseq>; -+ status = "okay"; -+ -+ brcmf: wifi@1 { -+ reg = <1>; -+ compatible = "brcm,bcm4329-fmac"; -+ }; -+}; -+ +/* EMMC2 is used to drive the EMMC card */ +&emmc2 { + bus-width = <8>; @@ -270,7 +259,7 @@ index 000000000000..61d8c81d3de4 + +&pcie0 { + pci@0,0 { -+ device-type = "pci"; ++ device_type = "pci"; + #address-cells = <3>; + #size-cells = <2>; + ranges; @@ -284,13 +273,6 @@ index 000000000000..61d8c81d3de4 + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ctsrts_gpio30 &uart0_gpio32>; + uart-has-rtscts; -+ status = "okay"; -+ -+ bluetooth { -+ compatible = "brcm,bcm43438-bt"; -+ max-speed = <2000000>; -+ shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>; -+ }; +}; + +/* uart1 is mapped to the pin header */ @@ -300,10 +282,6 @@ index 000000000000..61d8c81d3de4 + status = "okay"; +}; + -+&vchiq { -+ interrupts = ; -+}; -+ +&vc4 { + status = "okay"; +}; @@ -312,12 +290,13 @@ index 000000000000..61d8c81d3de4 + status = "disabled"; +}; + ++&wifi_pwrseq { ++ reset-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; ++}; ++ +// ============================================= +// Downstream rpi- changes + -+#define BCM2711 -+ -+#include "bcm270x.dtsi" +#include "bcm271x-rpi-bt.dtsi" + +/ { @@ -334,7 +313,7 @@ index 000000000000..61d8c81d3de4 + +/ { + chosen { -+ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1"; ++ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0"; + }; + + aliases { @@ -579,12 +558,14 @@ index 000000000000..61d8c81d3de4 +&leds { + act_led: led-act { + label = "led0"; ++ default-state = "off"; + linux,default-trigger = "mmc0"; + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; + }; + + pwr_led: led-pwr { + label = "led1"; ++ default-state = "off"; + linux,default-trigger = "default-on"; + gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; + }; @@ -594,10 +575,9 @@ index 000000000000..61d8c81d3de4 + status = "disabled"; +}; + -+&audio { ++&vchiq { + pinctrl-names = "default"; + pinctrl-0 = <&audio_pins>; -+ brcm,disable-headphones = <1>; +}; + +cam0_reg: &cam1_reg { @@ -606,6 +586,8 @@ index 000000000000..61d8c81d3de4 + +/ { + __overrides__ { ++ audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; ++ + act_led_gpio = <&act_led>,"gpios:4"; + act_led_activelow = <&act_led>,"gpios:8"; + act_led_trigger = <&act_led>,"linux,default-trigger"; @@ -633,19 +615,26 @@ index 000000000000..61d8c81d3de4 + sd_poll_once = <&emmc2>, "non-removable?"; + spi_dma4 = <&spi0>, "dmas:0=", <&dma40>, + <&spi0>, "dmas:8=", <&dma40>; ++ ++ cam0_reg = <&cam0_reg>,"status"; ++ cam0_reg_gpio = <&cam0_reg>,"gpio:4", ++ <&cam0_reg>,"gpio:0=", <&gpio>; ++ cam1_reg = <&cam1_reg>,"status"; ++ cam1_reg_gpio = <&cam1_reg>,"gpio:4", ++ <&cam1_reg>,"gpio:0=", <&gpio>; + }; +}; diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile -index 9873335d0ed2..8c19b62e189e 100644 +index 9b678d144085..7c1a67f7c028 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile -@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb +@@ -16,6 +16,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4s.dtb +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4-ha-yellow.dtb - subdir-y += bcm4908 + subdir-y += bcmbca subdir-y += northstar2 diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4-ha-yellow.dts new file mode 100644 @@ -655,5 +644,5 @@ index 000000000000..fdc5ec5bc956 @@ -0,0 +1 @@ +#include "../../../../arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts" -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch index 260901953..3c70c8541 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0002-ARM-dts-bcm2711-yellow-Mux-UART4-for-SiLabs-radio-mo.patch @@ -1,7 +1,7 @@ -From 7eb647452bb1a3294fae8edc5a323070adff922b Mon Sep 17 00:00:00 2001 -Message-Id: <7eb647452bb1a3294fae8edc5a323070adff922b.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From c07db9fb0a6a9779aadc7c8cc4c83c87c83b2ad4 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Thu, 4 Mar 2021 14:33:09 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: Mux UART4 for SiLabs radio module @@ -14,10 +14,10 @@ Signed-off-by: Stefan Agner 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 61d8c81d3de4..8db71876a78c 100644 +index f92936d7cf16..fa93ab5ca639 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -8,6 +8,10 @@ / { +@@ -15,6 +15,10 @@ / { compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; @@ -28,7 +28,7 @@ index 61d8c81d3de4..8db71876a78c 100644 chosen { /* 8250 auxiliary UART instead of pl011 */ stdout-path = "serial1:115200n8"; -@@ -261,6 +265,14 @@ &uart1 { +@@ -243,6 +247,14 @@ &uart1 { status = "okay"; }; @@ -40,10 +40,10 @@ index 61d8c81d3de4..8db71876a78c 100644 + status = "okay"; +}; + - &vchiq { - interrupts = ; + &vc4 { + status = "okay"; }; -@@ -488,9 +500,9 @@ uart3_pins: uart3_pins { +@@ -467,9 +479,9 @@ uart3_pins: uart3_pins { }; uart4_pins: uart4_pins { @@ -56,5 +56,5 @@ index 61d8c81d3de4..8db71876a78c 100644 uart5_pins: uart5_pins { -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch index 79c4a82b3..c508be9bf 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0003-ARM-dts-bcm2711-yellow-Mux-debug-UART5.patch @@ -1,7 +1,7 @@ -From a7b86d8d0d81f841d8399a83f0f59f383d1556ed Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: +From e12a021cbc1c474580d68e3593ce86d10ffc0232 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Thu, 4 Mar 2021 14:44:23 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: Mux debug UART5 @@ -12,10 +12,10 @@ Signed-off-by: Stefan Agner 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 8db71876a78c..d1dea0a214a6 100644 +index fa93ab5ca639..cc7e7b28ffc7 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -10,6 +10,7 @@ / { +@@ -17,6 +17,7 @@ / { aliases { serial4 = &uart4; @@ -23,7 +23,7 @@ index 8db71876a78c..d1dea0a214a6 100644 }; chosen { -@@ -273,6 +274,13 @@ &uart4 { +@@ -255,6 +256,13 @@ &uart4 { status = "okay"; }; @@ -34,17 +34,17 @@ index 8db71876a78c..d1dea0a214a6 100644 + status = "okay"; +}; + - &vchiq { - interrupts = ; + &vc4 { + status = "okay"; }; -@@ -308,6 +316,7 @@ soc { +@@ -287,6 +295,7 @@ soc { / { chosen { - bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1"; + bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0"; + stdout-path = "serial5:115200n8"; }; aliases { -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch index 5e27c4e6e..f858bdf46 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0004-ARM-dts-bcm2711-yellow-Enable-I2C6-by-default.patch @@ -1,7 +1,7 @@ -From 8ec364f50abcd9f5fa89f421a7ef8f70dfb2564a Mon Sep 17 00:00:00 2001 -Message-Id: <8ec364f50abcd9f5fa89f421a7ef8f70dfb2564a.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From fa80760de4f8d2cdb13167f2a480581c319a7c2d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Thu, 4 Mar 2021 14:48:48 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: Enable I2C6 by default @@ -14,10 +14,10 @@ Signed-off-by: Stefan Agner 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index d1dea0a214a6..0bdbfdd44aed 100644 +index cc7e7b28ffc7..72f437f4e81a 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -531,6 +531,12 @@ &i2c1 { +@@ -510,6 +510,12 @@ &i2c1 { clock-frequency = <100000>; }; @@ -31,5 +31,5 @@ index d1dea0a214a6..0bdbfdd44aed 100644 pinctrl-names = "default"; pinctrl-0 = <&i2s_pins>; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch index d66524818..bd9cc2025 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0005-ARM-dts-bcm2711-yellow-add-I2S-audio-codec.patch @@ -1,7 +1,7 @@ -From 50abc7980f8c575930cc4c928d356763742e81fb Mon Sep 17 00:00:00 2001 -Message-Id: <50abc7980f8c575930cc4c928d356763742e81fb.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From e83a7bddbe8981c96837b0258f07230e1a93e907 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Thu, 4 Mar 2021 17:19:01 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: add I2S audio codec @@ -14,10 +14,10 @@ Signed-off-by: Stefan Agner 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 0bdbfdd44aed..f6f42bf45c92 100644 +index 72f437f4e81a..8ca65c696531 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -535,11 +535,22 @@ &i2c6 { +@@ -514,11 +514,22 @@ &i2c6 { pinctrl-names = "default"; pinctrl-0 = <&i2c6_pins>; status = "okay"; @@ -40,7 +40,7 @@ index 0bdbfdd44aed..f6f42bf45c92 100644 }; // ============================================= -@@ -582,6 +593,21 @@ &pwm1 { +@@ -563,6 +574,21 @@ &pwm1 { status = "disabled"; }; @@ -59,9 +59,9 @@ index 0bdbfdd44aed..f6f42bf45c92 100644 + }; +}; + - &audio { + &vchiq { pinctrl-names = "default"; pinctrl-0 = <&audio_pins>; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch index 30fe25777..77df2fb82 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0006-ARM-dts-bcm2711-yellow-enable-GPIO-keys.patch @@ -1,7 +1,7 @@ -From 67751f4575c3837ada1bdec85184c77ea917b83a Mon Sep 17 00:00:00 2001 -Message-Id: <67751f4575c3837ada1bdec85184c77ea917b83a.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From ee53448bf22dec674655ed7bdb433e401bb06e68 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Tue, 9 Mar 2021 15:02:53 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: enable GPIO keys @@ -12,11 +12,11 @@ Signed-off-by: Stefan Agner 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f6f42bf45c92..e2fa42a11cc9 100644 +index 8ca65c696531..dcc36efcdcb1 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -4,6 +4,8 @@ - #include "bcm2711-rpi.dtsi" +@@ -11,6 +11,8 @@ + #undef i2c0 //#include "bcm283x-rpi-usb-peripheral.dtsi" +#include @@ -24,7 +24,7 @@ index f6f42bf45c92..e2fa42a11cc9 100644 / { compatible = "raspberrypi,4-compute-module-ha-yellow", "raspberrypi,4-compute-module", "brcm,bcm2711"; model = "Raspberry Pi Compute Module 4 on Home Assistant Yellow"; -@@ -18,6 +20,29 @@ chosen { +@@ -25,6 +27,29 @@ chosen { stdout-path = "serial1:115200n8"; }; @@ -54,7 +54,7 @@ index f6f42bf45c92..e2fa42a11cc9 100644 leds { led-act { gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; -@@ -380,6 +405,12 @@ spidev1: spidev@1{ +@@ -359,6 +384,12 @@ spidev1: spidev@1{ }; &gpio { @@ -68,5 +68,5 @@ index f6f42bf45c92..e2fa42a11cc9 100644 brcm,pins = <9 10 11>; brcm,function = ; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch index f0c55e548..06522afcd 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0007-ARM-dts-bcm2711-yellow-add-user-LED.patch @@ -1,7 +1,7 @@ -From e4db609b1080e4aabb027394966c07e050e02aab Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: +From 04601aebe965d7b153e548028a44b2c46159b657 Mon Sep 17 00:00:00 2001 +Message-Id: <04601aebe965d7b153e548028a44b2c46159b657.1677499716.git.stefan@agner.ch> +In-Reply-To: +References: From: Stefan Agner Date: Thu, 28 Oct 2021 19:38:04 +0200 Subject: [PATCH] ARM: dts: bcm2711: yellow: add user LED @@ -14,10 +14,10 @@ Signed-off-by: Stefan Agner 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index e2fa42a11cc9..6039c7894796 100644 +index dcc36efcdcb1..6cdf595cdc2c 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -336,7 +336,6 @@ soc { +@@ -315,7 +315,6 @@ soc { #include "bcm2711-rpi-ds.dtsi" #include "bcm283x-rpi-csi0-2lane.dtsi" #include "bcm283x-rpi-csi1-4lane.dtsi" @@ -25,7 +25,7 @@ index e2fa42a11cc9..6039c7894796 100644 / { chosen { -@@ -618,6 +617,12 @@ pwr_led: led-pwr { +@@ -599,6 +598,12 @@ pwr_led: led-pwr { linux,default-trigger = "default-on"; gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; }; @@ -39,5 +39,5 @@ index e2fa42a11cc9..6039c7894796 100644 &pwm1 { -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch index bcf386881..23f605569 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0008-ARM-dts-bcm2711-yellow-add-NXP-PCF85063A-RTC.patch @@ -1,7 +1,7 @@ -From 6625adc479a3e89873127a91064a94881449c0d8 Mon Sep 17 00:00:00 2001 -Message-Id: <6625adc479a3e89873127a91064a94881449c0d8.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From ef2877f999685caa678e34493d5dcfa1f55a28a8 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Fri, 12 Nov 2021 17:33:32 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: add NXP PCF85063A RTC @@ -12,10 +12,10 @@ Signed-off-by: Stefan Agner 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 6039c7894796..f78428ea64f3 100644 +index 6cdf595cdc2c..e867da211c9f 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -575,6 +575,11 @@ card_codec: pcm5121@4c { +@@ -554,6 +554,11 @@ card_codec: pcm5121@4c { CPVDD-supply = <&vdd_3v3_reg>; status = "okay"; }; @@ -28,5 +28,5 @@ index 6039c7894796..f78428ea64f3 100644 &i2s { -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch index c54dcf2c8..c7a035f54 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0009-ARM-dts-bcm2711-yellow-enable-USB-host-mode-by-defau.patch @@ -1,7 +1,7 @@ -From 1acd279eca810707856e5038438f52d694a62170 Mon Sep 17 00:00:00 2001 -Message-Id: <1acd279eca810707856e5038438f52d694a62170.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From d9881c68f4263460ec2eee718ce8e2b3ed3eea9a Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Fri, 7 Jan 2022 17:10:00 +0100 Subject: [PATCH] ARM: dts: bcm2711: yellow: enable USB host mode by default @@ -15,10 +15,10 @@ Signed-off-by: Stefan Agner 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f78428ea64f3..711a09441ad0 100644 +index e867da211c9f..3866192a6f47 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -599,6 +599,15 @@ &sdhost { +@@ -578,6 +578,15 @@ &sdhost { status = "disabled"; }; @@ -35,5 +35,5 @@ index f78428ea64f3..711a09441ad0 100644 led-modes = <0x00 0x08>; /* link/activity link */ }; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch index 5579795d5..1432694ca 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0010-ARM-dts-bcm2711-yellow-use-generic-activity-trigger-.patch @@ -1,7 +1,7 @@ -From 92332ba4302096777ea47e408f3406da0b2ef2c5 Mon Sep 17 00:00:00 2001 -Message-Id: <92332ba4302096777ea47e408f3406da0b2ef2c5.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From d5f3fd27c65fb9ce56184f49c3001f2ef86f4e88 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Wed, 27 Apr 2022 20:36:19 +0200 Subject: [PATCH] ARM: dts: bcm2711: yellow: use generic activity trigger for @@ -16,18 +16,18 @@ Signed-off-by: Stefan Agner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index 711a09441ad0..f2f4f1a49592 100644 +index 3866192a6f47..11da9ec9b828 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -622,7 +622,7 @@ audio_pins: audio_pins { - &leds { +@@ -602,7 +602,7 @@ &leds { act_led: led-act { label = "led0"; + default-state = "off"; - linux,default-trigger = "mmc0"; + linux,default-trigger = "activity"; gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; }; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch index 1814d5454..c3dd42d9d 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0011-ARM-dts-bcm2711-yellow-use-USB-OTG-mode-by-default.patch @@ -1,7 +1,7 @@ -From 59e44006c1e7406bd1fc52aa9b1fc88a67652ddd Mon Sep 17 00:00:00 2001 -Message-Id: <59e44006c1e7406bd1fc52aa9b1fc88a67652ddd.1662565903.git.stefan@agner.ch> -In-Reply-To: -References: +From 36e8909a2dbfb10fc34df9f606ff3f7f612027f3 Mon Sep 17 00:00:00 2001 +Message-Id: <36e8909a2dbfb10fc34df9f606ff3f7f612027f3.1677499716.git.stefan@agner.ch> +In-Reply-To: +References: From: Stefan Agner Date: Tue, 26 Jul 2022 15:53:59 +0200 Subject: [PATCH] ARM: dts: bcm2711: yellow: use USB OTG mode by default @@ -15,10 +15,10 @@ Signed-off-by: Stefan Agner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f2f4f1a49592..f354bfb69093 100644 +index 11da9ec9b828..fa2b96e31a4f 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -601,7 +601,7 @@ &sdhost { +@@ -580,7 +580,7 @@ &sdhost { &usb { compatible = "brcm,bcm2835-usb"; @@ -28,5 +28,5 @@ index f2f4f1a49592..f354bfb69093 100644 g-rx-fifo-size = <558>; g-tx-fifo-size = <512 512 512 512 512 256 256>; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/board/raspberrypi/yellow/patches/linux/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch b/buildroot-external/board/raspberrypi/yellow/patches/linux/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch index e38be67a3..4fb8dae33 100644 --- a/buildroot-external/board/raspberrypi/yellow/patches/linux/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch +++ b/buildroot-external/board/raspberrypi/yellow/patches/linux/0012-ARM-dts-bcm2711-yellow-Add-LED-overrides.patch @@ -1,7 +1,7 @@ -From f69ef30ade36371215d02546d603143cc13adef2 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: -References: +From b8640b0861e289e98af98a0f8b6861af6d2a2fd7 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: +References: From: Stefan Agner Date: Sat, 30 Jul 2022 11:21:31 +0200 Subject: [PATCH] ARM: dts: bcm2711: yellow: Add LED overrides @@ -10,29 +10,29 @@ Add device tree overrides for all three LEDs. Signed-off-by: Stefan Agner --- - arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) + arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -index f354bfb69093..2d272a02128b 100644 +index fa2b96e31a4f..f7fdf8bbb395 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-ha-yellow.dts -@@ -621,20 +621,24 @@ audio_pins: audio_pins { +@@ -600,22 +600,24 @@ audio_pins: audio_pins { &leds { act_led: led-act { - label = "led0"; + label = "act"; + default-state = "off"; linux,default-trigger = "activity"; -+ default-state = "off"; gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; }; pwr_led: led-pwr { - label = "led1"; + label = "pwr"; + default-state = "off"; linux,default-trigger = "default-on"; -+ default-state = "off"; gpios = <&expgpio 2 GPIO_ACTIVE_LOW>; }; @@ -46,10 +46,10 @@ index f354bfb69093..2d272a02128b 100644 gpios = <&gpio 44 GPIO_ACTIVE_LOW>; }; }; -@@ -670,14 +674,13 @@ cam0_reg: &cam1_reg { - - / { +@@ -652,14 +654,13 @@ / { __overrides__ { + audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}"; + - act_led_gpio = <&act_led>,"gpios:4"; - act_led_activelow = <&act_led>,"gpios:8"; act_led_trigger = <&act_led>,"linux,default-trigger"; @@ -64,5 +64,5 @@ index f354bfb69093..2d272a02128b 100644 eth_led1 = <&phy1>,"led-modes:4"; -- -2.37.3 +2.39.1 diff --git a/buildroot-external/configs/rpi2_defconfig b/buildroot-external/configs/rpi2_defconfig index bc29e61a6..5d59d11ee 100644 --- a/buildroot-external/configs/rpi2_defconfig +++ b/buildroot-external/configs/rpi2_defconfig @@ -8,7 +8,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi2 $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y diff --git a/buildroot-external/configs/rpi3_64_defconfig b/buildroot-external/configs/rpi3_64_defconfig index 6eedec8cb..3293c03bb 100644 --- a/buildroot-external/configs/rpi3_64_defconfig +++ b/buildroot-external/configs/rpi3_64_defconfig @@ -7,7 +7,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi3-64 $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y diff --git a/buildroot-external/configs/rpi3_defconfig b/buildroot-external/configs/rpi3_defconfig index 08a0c9163..bb6301cf1 100644 --- a/buildroot-external/configs/rpi3_defconfig +++ b/buildroot-external/configs/rpi3_defconfig @@ -8,7 +8,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi3 $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y diff --git a/buildroot-external/configs/rpi4_64_defconfig b/buildroot-external/configs/rpi4_64_defconfig index 0a19e09d3..41c0aba71 100644 --- a/buildroot-external/configs/rpi4_64_defconfig +++ b/buildroot-external/configs/rpi4_64_defconfig @@ -7,7 +7,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi4-64 $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y diff --git a/buildroot-external/configs/rpi4_defconfig b/buildroot-external/configs/rpi4_defconfig index 15f93baa6..ff106fafb 100644 --- a/buildroot-external/configs/rpi4_defconfig +++ b/buildroot-external/configs/rpi4_defconfig @@ -8,7 +8,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi4 $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y diff --git a/buildroot-external/configs/yellow_defconfig b/buildroot-external/configs/yellow_defconfig index a90995bb3..04093eb30 100644 --- a/buildroot-external/configs/yellow_defconfig +++ b/buildroot-external/configs/yellow_defconfig @@ -7,7 +7,7 @@ BR2_OPTIMIZE_2=y BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/yellow/patches" BR2_SSP_REGULAR=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y BR2_GCC_VERSION_9_X=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_GCC_ENABLE_LTO=y @@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/yellow $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/raspberrypi/linux/archive/1.20230106.tar.gz" +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,e9b8fd92399bd707bde31e3464472c1b06f5e2a0)/linux-e9b8fd92399bd707bde31e3464472c1b06f5e2a0.tar.gz" BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/kernel.config" BR2_LINUX_KERNEL_LZ4=y