#19667: TP-Link TL-WR710N V1 kernel panic due to wrong board name
------------------------------------------+--------------------------------
 Reporter:  Stefan Hellermann <stefan@…>  |      Owner:  developers
     Type:  defect                        |     Status:  new
 Priority:  normal                        |  Milestone:  Chaos Calmer
Component:  base system                   |  (trunk)
 Keywords:                                |    Version:  Trunk
------------------------------------------+--------------------------------
 Hello,

 today I updated my TP-Link TL-WR710N V1.2 to current trunk and bricked it.
 After soldering a serial console I got the following error (full log
 attached)

 {{{
 Kernel command line:  board=TL-WR710NV1  console=ttyATH0,115200
 rootfstype=squad..
 MIPS: no machine found for id 'TL-WR710NV1', supported machines:
 id                       name
 ...
 TL-WR2543N               TP-LINK TL-WR2543N/ND
 TL-WR710N                TP-LINK TL-WR710N v1
 TL-WR703N                TP-LINK TL-WR703N v1
 }}}

 looks like #45538 got the cmdline wrong, as the kernel supports "TL-
 WR710N" and openwrt sets the cmdline to "TL-WR710NV1"

 While digging through commits related TL-WR710N I spotted another bug:
 commit #45643 moved the build of the TL-WR710N V1 and V2 to new build
 code. It looks like there's a typo:

 #45538
 {{{
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR710NV1,tl-wr710n-v1,TL-
 WR710N,ttyATH0,115200,0x07100001,1,8Mlzma))
 $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR710NV2,tl-wr710n-v2,TL-
 WR710N,ttyATH0,115200,0x07100002,1,4Mlzma))
 }}}

 #45643
 {{{
 define Device/tl-wr710n-v1
     $(Device/tplink-8mlzma)
     BOARDNAME := TL-WR710N
     DEVICE_PROFILE := TLWR710
     TPLINK_HWID := 0x07100001
     CONSOLE := ttyATH0,115200
 endef

 define Device/tl-wr710n-v2
     $(Device/tplink-4mlzma)
     BOARDNAME := TL-WR710N
     DEVICE_PROFILE := TLWR710
     TPLINK_HWID := 0x07100001             <=========
     CONSOLE := ttyATH0,115200
 endef
 }}}
 The TPLINK_HWID is identical for TL-WR710N-V1 and V2, but in #45538 it's
 different. I think #45538 is correct, so I corrected it in my patch.

--
Ticket URL: <https://dev.openwrt.org/ticket/19667>
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