x300b: Disable the serial port without using dts

Instead of using dts to close the serial port, add files/etc/inittab file to close it.

Signed-off-by: Yin Ni <yin.ni@gl-inet.com>
This commit is contained in:
Yin Ni 2023-02-23 19:26:13 -08:00
parent 5ec4b5320a
commit b073e9fe53

View File

@ -1,4 +1,4 @@
From 52e55e9b19f179f2a71472dc46f6ec50a1eb3069 Mon Sep 17 00:00:00 2001 From d3fd1b434fb89403801c2d201d08cef082962658 Mon Sep 17 00:00:00 2001
From: niyin <yin.ni@gl-inet.com> From: niyin <yin.ni@gl-inet.com>
Date: Sat, 28 Jan 2023 00:26:02 -0800 Date: Sat, 28 Jan 2023 00:26:02 -0800
Subject: [PATCH] x300b: support x300b target Subject: [PATCH] x300b: support x300b target
@ -233,7 +233,7 @@ index 5f5646b3e0..0000000000
-}; -};
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi
new file mode 100644 new file mode 100644
index 0000000000..8def460083 index 0000000000..cf2735cb6b
--- /dev/null --- /dev/null
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi +++ b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dtsi
@@ -0,0 +1,206 @@ @@ -0,0 +1,206 @@
@ -419,10 +419,10 @@ index 0000000000..8def460083
+ }; + };
+ +
+}; +};
+ +/*
+&bootargs { +&bootargs {
+ bootargs=""; + bootargs="";
+}; +};*/
+ +
+&eth0 { +&eth0 {
+ status = "okay"; + status = "okay";