Skip to content

Commit

Permalink
recipes-kernel/linux/linux-mainline: Disable WiFi chip
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Langowski <[email protected]>
  • Loading branch information
PLangowski committed Oct 31, 2024
1 parent 93fb19f commit b089531
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 2060e08623dd97b47f5c03651ac865d2efbd203a Mon Sep 17 00:00:00 2001
From: Pawel Langowski <[email protected]>
Date: Tue, 29 Oct 2024 09:47:51 +0100
Subject: [PATCH] Disable wifi chip

There is a race condition between mmc0 and mmc1 when mouting the root
partition on RTE. Disabling mmc1 solves this problem. The WiFi chip does
not work anyway.

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Pawel Langowski <[email protected]>
---
arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
index 1b001f2ad0ef..baab19d3604f 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
@@ -143,7 +143,7 @@ &mmc1 {
mmc-pwrseq = <&wifi_pwrseq>;
bus-width = <4>;
non-removable;
- status = "okay";
+ status = "disabled";

/*
* Explicitly define the sdio device, so that we can add an ethernet
--
2.46.2

1 change: 1 addition & 0 deletions recipes-kernel/linux/linux-mainline_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SRC_URI += " \
file://0007-drivers-spi-spidev.c-add-spidev-compatible.patch \
file://0008-sun8i-h2-plus-orangepi-zero.dts-enable-spidev.patch \
file://0009-sun8i-h2-plus-orangepi-zero.dts-enable-in219.patch \
file://0010-sun8i-h2-plus-orangepi-zero.dts-disable-mmc1.patch \
"

SRC_URI += " \
Expand Down

0 comments on commit b089531

Please sign in to comment.