aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-07-21 00:04:08 +0200
committerMathias Kresin <dev@kresin.me>2018-07-25 08:59:33 +0200
commit5409dcffbde47d40dff07758dda36b96d0cb38b5 (patch)
tree09dbc81040cd15a33692dff9df768baa0f8e7a1f
parent4cbf5601f9621d0f8973237f3133b821f472845c (diff)
downloadupstream-5409dcffbde47d40dff07758dda36b96d0cb38b5.tar.gz
upstream-5409dcffbde47d40dff07758dda36b96d0cb38b5.tar.bz2
upstream-5409dcffbde47d40dff07758dda36b96d0cb38b5.zip
ath79: fix OCEDO Raccoon
The OCEDO Raccoon only has one ethernet port, but currently uci sections for WAN and LAN are created. Additionally, newer versions of the devices U-Boot (units with SteelWRT) set the kernel-cmdline and therefore overwrite the partition-layout. We fix this by overwriting the cmdline supplied by the bootloader. Signed-off-by: David Bauer <mail@david-bauer.net>
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ath79/dts/ar9344_ocedo_raccoon.dts4
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index dd75a55b73..c5e23e4e50 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -13,6 +13,7 @@ ath79_setup_interfaces()
ucidef_set_interface_lan "eth0" "dhcp"
;;
"avm,fritz300e"|\
+ "ocedo,raccoon"|\
"tplink,re450-v2"|\
"tplink,tl-mr10u"|\
"tplink,tl-wr703n"|\
diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
index a98f251e34..01d5dae307 100644
--- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
+++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
@@ -10,6 +10,10 @@
model = "OCEDO Raccoon";
compatible = "ocedo,raccoon", "qca,ar9344";
+ chosen {
+ bootargs = "console=ttyS0,115200n8";
+ };
+
aliases {
led-status = &system;
};