mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From d703aa3db7a3f6db81c6dcd03a8f462864e19144 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Wed, 17 May 2023 16:53:24 +0100
|
|
Subject: [PATCH] ARM: dts: bcm27xx: Add stdout-path to serial0
|
|
|
|
Rather than deleting the upstream stdout-path declaration, overwrite
|
|
it with one selecting serial0, which will always be the UART mapped
|
|
to the 40-pin header (provided enable_uart=1 is specified). Doing
|
|
so has the advantage that earlycon can be configured just by adding
|
|
"earlycon" to the command line.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm270x.dtsi | 2 +-
|
|
arch/arm/boot/dts/bcm2711-rpi-ds.dtsi | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm270x.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm270x.dtsi
|
|
@@ -5,7 +5,7 @@
|
|
chosen: chosen {
|
|
// Disable audio by default
|
|
bootargs = "coherent_pool=1M snd_bcm2835.enable_headphones=0";
|
|
- /delete-property/ stdout-path;
|
|
+ stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
soc: soc {
|
|
--- a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
|
|
@@ -34,7 +34,7 @@
|
|
};
|
|
|
|
chosen {
|
|
- /delete-property/ stdout-path;
|
|
+ stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
aliases {
|