Opened 3 years ago

Last modified 2 years ago

#17885 new defect

sysupgrade not working because /tmp/sysinfo/board_name is set to unknown

Reported by: l.anzinger@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Barrier Breaker 14.07
Keywords: Cc:


I wanted to upgrade my TP-Link TP-WA860RE from Barrier Breaker 14.07 rc3 to a custom built BB image using sysupgrade via SSH. However, /tmp/sysinfo/board_name is set to unknown and hence the upgrade failed.

If I set the content to tp-wa860re it works fine.

Attachments (1) (713 bytes) - added by attila.lendvai 3 years ago.
this patch fixes my problem on my AP121

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by JoeBar

I think, there is something missing in /lib/ like the following diff

diff --git a/target/linux/ar71xx/base-files/lib/ b/target/linux/ar71xx/base-files/lib/
index 78d67fa..daa3928 100755
--- a/target/linux/ar71xx/base-files/lib/
+++ b/target/linux/ar71xx/base-files/lib/
@@ -586,6 +586,9 @@ ar71xx_board_detect() {
+       *TL-WA860RE)
+               name="tl-wa860re"
+               ;;
        *"TL-WA830RE v2")

comment:2 Changed 3 years ago by attila.lendvai@…

i'm not sure whether it should be a separate issue... but i have a similar problem:

# cat /proc/cpuinfo 
system type             : Atheros AR9330 rev 1
machine                 : Atheros AP121 reference board
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

and the file expects this:

	*"AP132 reference board")
	*"AP136-010 reference board")
	*"AP136-020 reference board")
	*"AP135-020 reference board")

i.e. some entries have the " reference board" suffix, and some don't. is it merely the result of an inconsistent patch, or is there something i'm missing?

Changed 3 years ago by attila.lendvai

this patch fixes my problem on my AP121

comment:3 Changed 2 years ago by attila.lendvai

FTR, the AP121 attachment has been submitted as:

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.