2
0

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

12345678910111213141516171819202122232425262728293031323334
  1. From 36ee838bf83c01cff7cb47c7b07be278d2950ac0 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. --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
  11. +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
  12. @@ -20,7 +20,7 @@
  13. };
  14. chosen {
  15. - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
  16. + bootargs = "console=ttyS0,19200n8 consoleblank=300";
  17. stdout-path = "uart0:19200n8";
  18. };
  19. @@ -317,9 +317,9 @@
  20. * this is called "upgrade" on the vendor system.
  21. */
  22. partition@40000 {
  23. - label = "upgrade";
  24. + compatible = "wrg";
  25. + label = "firmware";
  26. reg = <0x00040000 0x01f40000>;
  27. - read-only;
  28. };
  29. /* RGDB, Residental Gateway Database? */
  30. partition@1f80000 {