320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch 777 B

1234567891011121314151617181920212223242526
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  2. Subject: [PATCH] ARM: dts: BCM5301X: Add serial= to the bootargs
  3. MIME-Version: 1.0
  4. Content-Type: text/plain; charset=UTF-8
  5. Content-Transfer-Encoding: 8bit
  6. It's enough to have proper stdout-path for getting serial working but
  7. for some reason LEDE doesn't offer "Please press Enter to activate this
  8. console." unless ttyS0 is specified.
  9. This is a workaround to get serial working in LEDE.
  10. Signed-off-by: Rafał Miłecki <[email protected]>
  11. ---
  12. --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  13. +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
  14. @@ -13,7 +13,7 @@
  15. model = "TP-LINK Archer C5 V2";
  16. chosen {
  17. - bootargs = "earlycon";
  18. + bootargs = "console=ttyS0,115200 earlycon";
  19. };
  20. memory {