0047-tools-firmware-utils-tplink-safeloader-add-version-1.1-support-to-CPE210-220-510-520.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Thu, 15 Oct 2015 21:56:40 +0200
  3. Subject: tools/firmware-utils: tplink-safeloader: add version 1.1 support to CPE210/220/510/520
  4. The hardware is identical to version 1.0, add the new models to the support
  5. list.
  6. Also remove the empty line at the end of the support list, the current
  7. stock images don't have it either.
  8. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  9. diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
  10. index 66658aa..77a894b 100644
  11. --- a/tools/firmware-utils/src/tplink-safeloader.c
  12. +++ b/tools/firmware-utils/src/tplink-safeloader.c
  13. @@ -129,17 +129,17 @@ static const struct flash_partition_entry cpe510_partitions[] = {
  14. /**
  15. The support list for CPE210/220/510/520
  16. -
  17. - The stock images also contain strings for two more devices: BS510 and BS210.
  18. - At the moment, there exists no public information about these devices.
  19. */
  20. static const char cpe510_support_list[] =
  21. "SupportList:\r\n"
  22. "CPE510(TP-LINK|UN|N300-5):1.0\r\n"
  23. + "CPE510(TP-LINK|UN|N300-5):1.1\r\n"
  24. "CPE520(TP-LINK|UN|N300-5):1.0\r\n"
  25. + "CPE520(TP-LINK|UN|N300-5):1.1\r\n"
  26. "CPE210(TP-LINK|UN|N300-2):1.0\r\n"
  27. + "CPE210(TP-LINK|UN|N300-2):1.1\r\n"
  28. "CPE220(TP-LINK|UN|N300-2):1.0\r\n"
  29. - "\r\n";
  30. + "CPE220(TP-LINK|UN|N300-2):1.1\r\n";
  31. #define error(_ret, _errno, _str, ...) \
  32. do { \