0073-ar71xx-add-user-space-support-for-the-OpenMesh-OM5P-ACv2.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Sat, 9 Apr 2016 10:26:18 +0000
  3. Subject: ar71xx: add user-space support for the OpenMesh OM5P-ACv2
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Backport of r49150
  6. Forwarded: https://patchwork.ozlabs.org/patch/624200/
  7. diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
  8. index a4051f2..d4d8b4e 100644
  9. --- a/target/linux/ar71xx/base-files/etc/diag.sh
  10. +++ b/target/linux/ar71xx/base-files/etc/diag.sh
  11. @@ -178,7 +178,8 @@ get_status_led() {
  12. om5p-an)
  13. status_led="om5p:blue:power"
  14. ;;
  15. - om5p-ac)
  16. + om5p-ac | \
  17. + om5p-acv2)
  18. status_led="om5pac:blue:power"
  19. ;;
  20. onion-omega)
  21. diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  22. index 10b8048..fbf76c8 100755
  23. --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
  24. +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  25. @@ -619,6 +619,9 @@ ar71xx_board_detect() {
  26. *"OM5P AC")
  27. name="om5p-ac"
  28. ;;
  29. + *"OM5P ACv2")
  30. + name="om5p-acv2"
  31. + ;;
  32. *"Onion Omega")
  33. name="onion-omega"
  34. ;;