OSDN Git Service

ARM: dts: Fix bootargs for Gemini D-Link devices
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 2 May 2018 07:17:25 +0000 (09:17 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 May 2018 11:27:17 +0000 (13:27 +0200)
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
arch/arm/boot/dts/gemini-dlink-dns-313.dts

index 8d3478c..89ce0d1 100644 (file)
@@ -20,7 +20,8 @@
        };
 
        chosen {
-               stdout-path = "uart0:115200n8";
+               bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait";
+               stdout-path = "uart0:19200n8";
        };
 
        gpio_keys {
index d865cde..da78a0a 100644 (file)
@@ -26,6 +26,7 @@
        };
 
        chosen {
+               bootargs = "console=ttyS0,19200n8 root=/dev/sda4 rw rootwait";
                stdout-path = "uart0:19200n8";
        };