PandoraBox -> OpenWrt

Hi,

I got a couple of these. Nice hardware. But zero support unfortunately. The OS on these is something called PandoraBox:

| PandoraBox SDK Platform |
| The Core of SmartRouter |
| Copyright 2013-2015 D-Team Technology Co.,Ltd.SZ |
| http://www.pandorabox.org.cn |
|______________________________________________________________|
Base on OpenWrt BARRIER BREAKER (14.09, r1024)

Pretty old. Also the package repository is no longer accessible:

src/gz r2_base http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/base
src/gz r2_management http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/management
src/gz r2_oldpackages http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/oldpackages
src/gz r2_packages http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/packages
src/gz r2_routing http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/routing
src/gz r2_telephony http://downloads.openwrt.org.cn/PandoraBox/ralink/packages/telephony

Flash contains:
[root@House:/root]#cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "Factory"
mtd3: 00800000 00010000 "fullflash"
mtd4: 007b0000 00010000 "firmware"
mtd5: 00123147 00010000 "kernel"
mtd6: 0066ceb9 00010000 "rootfs"
mtd7: 00090000 00010000 "rootfs_data"
mtd8: 00020000 00010000 "panic_oops"

I've tried various versions of OpenWRT (18.07, 19.07) for the chipset (mt7620) but none are booting.

How can I find out which recent version of OpenWRT runs on this particular hardware:

[root@House:/root]#cat /proc/cmdline
pause_on_oops=10 noresume board=MT7620A_EVB console=ttyS1,115200 rootfstype=squashfs,jffs2
[root@House:/root]#cat /proc/cpuinfo
system type : MediaTek MT7620
machine : MediaTek MT7620A Evaluation Board
processor : 0
cpu model : MIPS 24KEc V5.0
BogoMIPS : 385.84
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r2
ASEs implemented : mips16 dsp
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

[root@House:/root]#cat /proc/meminfo
MemTotal: 61416 kB
MemFree: 17068 kB
MemAvailable: 36168 kB
Buffers: 5100 kB
Cached: 15764 kB
SwapCached: 0 kB
Active: 16864 kB
Inactive: 6296 kB
Active(anon): 2748 kB
Inactive(anon): 152 kB
Active(file): 14116 kB
Inactive(file): 6144 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 2312 kB
Mapped: 1964 kB
Shmem: 604 kB
Slab: 8436 kB
SReclaimable: 2536 kB
SUnreclaim: 5900 kB
KernelStack: 320 kB
PageTables: 320 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 30708 kB
Committed_AS: 6776 kB
VmallocTotal: 1048372 kB
VmallocUsed: 9256 kB
VmallocChunk: 1016568 kB
[root@House:/root]#cat /proc/devices
Character devices:
1 mem
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
90 mtd
108 ppp
128 ptm
136 pts
153 spi
180 usb
188 ttyUSB
189 usb_device
251 gpio
252 rdm0
253 watchdog
254 rtc

Block devices:
1 ramdisk
259 blkext
8 sd
31 mtdblock
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
[root@House:/root]#ls /sys/devices/platform
GPIODEV.0 alarmtimer ehci-platform gpio-keys leds-gpio mtk-sd.0 ohci-platform ralink-pinmux ralink-spi-flash serial8250 uevent
[root@House:/root]#uname -a
Linux House 3.14.44 #7 Mon Jun 8 22:23:15 CST 2015 mips GNU/Linux
[root@House:/root]#ls /sys/class/net
apcli0 br-house br-power eth0.1 eth0.2 eth0.98 gre0 ifb0 lo ra1 ra3 teql0 wds1 wds3
br-guests br-lan eth0 eth0.10 eth0.9 eth0.99 gretap0 ifb1 ra0 ra2 sit0 wds0 wds2
[root@House:/root]#cat /sys/kernel/debug/gpio
GPIOs 0-23, MT7620-GPIO0:
gpio-1 (reset ) in hi
gpio-2 (wps ) in hi
gpio-9 (power ) out hi

GPIOs 24-39, MT7620-GPIO1:
gpio-38 (wps ) out lo
gpio-39 (usb ) out lo

GPIOs 40-71, MT7620-GPIO2:

GPIOs 72-72, MT7620-GPIO3:
gpio-72 (wifi ) out lo

regards

I think you need this
PandoraBox SDK has been discontinued

Hi @efsg,

Thanks for the reply. Are you saying I should install one of these? If so, which one? Having said that, I would much prefer to install "proper" OpenWrt though, not a fork with unknowns. But ... the hardware is not in the list. Any suggestions to help me find the firmware that is compatible with this hardware, are much appreciated.

lintel PandoraBox comes from verdor openwrt sdk

Oh, I see, this device cannot be supported
This is lintel's business, modem and things like that use pandorabox

Hi @efsg,

Thanks for the link to the video but it's all in Chinese so I have no clue what they're saying :slight_smile:

Can you explain why you think this device cannot be supported? It's using a known and supported chipset, it's running a fork of OpenWrt, surely it should be possible to run plain OpenWrt?