mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
|
From 5813b729eb9fe91fcf895a5c2f30bf34fbd46379 Mon Sep 17 00:00:00 2001
|
||
|
From: Linus Walleij <linus.walleij@linaro.org>
|
||
|
Date: Wed, 2 May 2018 09:17:25 +0200
|
||
|
Subject: [PATCH] ARM: dts: Fix bootargs for Gemini D-Link devices
|
||
|
|
||
|
These machines need to be booted from very specific harddisk
|
||
|
partitions (as the D-Link DNS-313 boots specifically from
|
||
|
partition 4). Add the proper bootargs so that everything works
|
||
|
smoothly.
|
||
|
|
||
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
||
|
---
|
||
|
arch/arm/boot/dts/gemini-dlink-dir-685.dts | 3 ++-
|
||
|
arch/arm/boot/dts/gemini-dlink-dns-313.dts | 1 +
|
||
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
|
||
|
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
|
||
|
@@ -20,7 +20,8 @@
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
- stdout-path = "uart0:115200n8";
|
||
|
+ bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait";
|
||
|
+ stdout-path = "uart0:19200n8";
|
||
|
};
|
||
|
|
||
|
gpio_keys {
|
||
|
--- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts
|
||
|
+++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
|
||
|
@@ -26,6 +26,7 @@
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
+ bootargs = "console=ttyS0,19200n8 root=/dev/sda4 rw rootwait";
|
||
|
stdout-path = "uart0:19200n8";
|
||
|
};
|
||
|
|