2
0

0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 854934b0ce8e758ce581f5ddbc30e618ab46fbdb Mon Sep 17 00:00:00 2001
  2. From: Linus Walleij <[email protected]>
  3. Date: Mon, 11 Mar 2019 15:44:29 +0100
  4. Subject: [PATCH 2/2] ARM: dts: Augment DIR-685 partition table for OpenWrt
  5. Rename the firmware partition so that the firmware MTD
  6. splitter will do its job, drop the rootfs arguments as
  7. the MTD splitter will set this up automatically.
  8. Signed-off-by: Linus Walleij <[email protected]>
  9. ---
  10. arch/arm/boot/dts/gemini-dlink-dir-685.dts | 5 +++--
  11. 1 file changed, 3 insertions(+), 2 deletions(-)
  12. --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
  13. +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
  14. @@ -20,7 +20,7 @@
  15. };
  16. chosen {
  17. - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
  18. + bootargs = "console=ttyS0,19200n8 consoleblank=300";
  19. stdout-path = "uart0:19200n8";
  20. };
  21. @@ -286,7 +286,8 @@
  22. * this is called "upgrade" on the vendor system.
  23. */
  24. partition@40000 {
  25. - label = "upgrade";
  26. + compatible = "wrg";
  27. + label = "firmware";
  28. reg = <0x00040000 0x01f40000>;
  29. read-only;
  30. };