#19426: TLWDR4300 Sysupgrade and factory binaries are swapped
--------------------------+----------------------------------
  Reporter:  anonymous    |      Owner:  developers
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:               |   Keywords:
--------------------------+----------------------------------

Comment (by hnyman):

 It is probably due to r44998 and r45000, which defined "new build code"
 for just those TP-link devices.

 r44998 looks strange, as it sets "factory" to have padding stripped from
 the end, while sysupgrade keeps the padding. Most likely the "-s" should
 be changed to the sysupgrade line.
 {{{
 # -s strip padding from end of the image
 ...
                 $(if $(findstring sysupgrade,$1),-j -X 0x40000) \
                 $(if $(findstring factory,$1),-j -X 0x40000 -s) \
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19426#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to