RavPower RP-WD03

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

Ravpower WD03 is a small battery powered router with a SD Card reader and an ethernet port. It can be used to read SD card from a phone and copy files (eg: pictures) to a hard drive for backup. Moreover it has a 6000mah battery that can recharge a USB plugged device. Finally it can act as a router to share a ethernet or wifi connection.

Top View of Ravpower WD03

FIXME

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more “fixme” tags left, delete this one too, along with the <WRAP> that encloses it.
  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to docs
  • base-system should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general documentation.

  1. Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer.
    Rename the files as:
    • openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.binkernel
    • openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.binrootfs
  2. Plug the router into your computer via Ethernet
  3. Set your computer to use 10.10.10.254 as its IP address
  4. With your router shut down, hold down the power button until the first white LED lights up.
  5. Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first.
  6. The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt.
  7. Set your computer to use DHCP for its IP address

Stock Firmware

Partitions from “cat /proc/mtd”:

dev:    size   ​erasesize ​ name
mtd0: 00800000 00010000 "​ALL"​
mtd1: 00030000 00010000 "​Bootloader"​
mtd2: 00010000 00010000 "​Config"​
mtd3: 00010000 00010000 "​Factory"​
mtd4: 00180000 00010000 "​Kernel_RootFS"​
mtd5: 00010000 00010000 "​params"​
mtd6: 00010000 00010000 "​user_backup"​
mtd7: 00010000 00010000 "​user"​
mtd8: 00600000 00010000 "​Rootfs"​
Layer0 mtd0
ALL
8192KiB
Layer1 mtd1
Bootloader
192KiB
mtd2
Config
64KiB
mtd3
Factory
64KiB
mtd4
Kernel_RootFS
1536KiB
mtd5
params
64KiB
mtd6
user_backup
64KiB
mtd7
user
64KiB
mtd8
Rootfs
6144KiB

OpenWrt Firmware

dev:    size   erasesize  name
mtd0: 00030000 00001000 "u-boot"
mtd1: 00010000 00001000 "config"
mtd2: 00010000 00001000 "factory"
mtd3: 00010000 00001000 "loader"
mtd4: 00170000 00001000 "firmware2"
mtd5: 00010000 00001000 "u-boot-env"
mtd6: 00020000 00001000 "firmware3"
mtd7: 00600000 00001000 "firmware1"
mtd8: 00790000 00001000 "firmware"
mtd9: 001d96db 00001000 "kernel"
mtd10: 005b6925 00001000 "rootfs"
mtd11: 002a1000 00001000 "rootfs_data"
Layer0 raw flash 8192 KiB
Layer1 mtd0: u-boot
192 KiB
mtd1: config
64 KiB
mtd2: factory
64 KiB
mtd3: loader
64 KiB
mtd4: firmware2
(remainder of the original ​Kernel_RootFS partition)
1536 KiB - 64 KiB
mtd5 u-boot-env
64 KiB
mtd6: firmware3
64 KiB + 64 KiB
mtd7: firmware1
6144 KiB
Layer2 mtd8: firmware
(firmware1 + firmware2 + firmware3)
6144 KiB + 1536 KiB - 64 KiB + 128 KiB
Layer3 mtd9: kernel
about 2 MiB
mtd10: rootfs
/”, OverlayFS with /overlay
Layer4 /dev/root
/rom”, SquashFS
mtd11: rootfs_data
/overlay”, JFFS2

None

Specific values needed for tftp

Bootloader tftp server IPv4 address 10.10.10.254
Firmware tftp image For snapshots and recent releases:
openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.binkernel,
openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.binrootfs

For 19.07 and earlier releases: sysupgrade.bin should be renamed to kernel, e.g.:
openwrt-19.07.4-ramips-mt7620-ravpower_wd03-squashfs-sysupgrade.binkernel
TFTP window start approximately 20 seconds after power on
TFTP client required IP address 10.10.10.128
  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc
  1. find the latest OEM Firmware Upgrade, e.g.: fw-7620-WiFiDGRJ-RAVPower-RP-WD03-2.000.074
  2. unpack the payload and the ext2 filesystem with some tools
  3. find the kernel and rootfs
  4. use the files for TFTP recovery

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan1 (eth0.1) LAN ports (1 to 4) None
vlan2 (eth0.2) WAN port DHCP
wlan0 WiFi Disabled

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The RavPower RP-WD03 has the following buttons:

BUTTON Event
Reset reset
Power Button -
PurposeBrandModelSpecs
RAM PM Tech PMD708416CTR-5CN 32MB (16M*16bits)
Flash Memory Macronix MX25L6405 8MB (64Mb)
USB Hub and SD Card driverGenesys Logic GL827LUSB2.0
Battery Management Holtek HT66F40 8 Bits RISC Controller

Battery Management controller HT66F40 communicates with main SOC via I2C

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Backside label:
Bottom View of Ravpower WD03

Up:
Up View of Ravpower WD03

Up Opened:
Up Opened View of Ravpower WD03

Side:

Down:
Down View of Ravpower WD03

Note: This will void your warranty!

The box is made of two parts. Using a screwdriver in one corner, I managed to get leverage to force the box opened. It will leave pretty bad scratches to the enclosure and break some retaining clips inside.

Main PCB:
Insert photo of PCB

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Back side of the PCB:

Serial connection parameters
for RavPower RP-WD03 Stock boot and kernel
57600, 8N1
Serial connection parameters
for RavPower RP-WD03 OpenWrt
since commit b56b499948c2189892f8063ccd515cd301629ca5
Serial connection parameters
for RavPower RP-WD03 OpenWrt
up to release 19.07
115200, 8N1

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

None so far.

U-Boot 1.1.3 (May 7 2014 - 05:33:12) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fac000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. spi_wait_nsec: 29 spi device id: c2 20 17 c2 20 (2017c220) find flash: MX25L6405D raspi_read: from:1d4000 len:1000 *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.1.0.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:May 7 2014 Time:05:33:12 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =32 Mbytes raspi_read: from:40028 len:6 Initialize vs configure module raspi_read: from:1d0000 len:1000 Initialize GPIO check: 0 Input i key to enter menu 0 raspi_read: from:50000 len:180000 ## Booting image at 80500000 ... Image Name: Linux Kernel Image Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1558090 Bytes = 1.5 MB Load Address: 80000000 Entry Point: 8000c2f0 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 8000c2f0) ... ## Giving linux memsize in MB, 32 Starting kernel ... LINUX started... THIS IS ASIC [ 0.104000] PROC INIT OK! [ 0.256000] gre: can't add protocol [ 0.288000] SQUASHFS error: Xattrs in filesystem, these will be ignored enter init Start rootfs mounted echo 7 > /proc/sys/kernel/printk init dev files mounted end [ 2.672000] scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 0233 PQ: 0 ANSI: 0 [ 2.692000] Spinning up disk... [ 2.716000] delay 1 second ... [ 3.028000] tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel. [ 3.044000] Disabling lock debugging due to kernel taint [ 3.084000] Tuxera NTFS driver 3014.4.29 [Flags: R/W MODULE]. [ 3.724000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 3.900000] Tuxera exFAT driver version 3014.1.24 [Flags: R/W MODULE]. [ 3.988000] Tuxera FAT driver 3013.2.9 [Flags: R/W MODULE]. Thu Apr 19 17:17:18 GMT 2018 Get time information first tz_minuteswest=0 Set time information offset=-2 tz.tz_minuteswest=-120 Get time information again tz_minuteswest=-120 GMT-02:00 Finish the check crc SSID_PREFIX:FileHubPlus wireless port last two bytes:-dff6! str_buf=DFF6 SSID:FileHubPlus-C956 init net /etc/initnet: line 29: wanMode_restore: not found [ 8.136000] Raeth v3.0 (Tasklet,SkbRecycle) [ 8.148000] [ 8.148000] phy_tx_ring = 0x01636000, tx_ring = 0xa1636000 [ 8.148000] [ 8.148000] phy_rx_ring0 = 0x01637000, rx_ring0 = 0xa1637000 [ 8.148000] SMACCR1 -- : 0x0000001c [ 8.148000] SMACCR0 -- : 0xc22fdff6 [ 8.192000] CDMA_CSG_CFG = 81000000 [ 8.196000] GDMA1_FWD_CFG = 20710000 [ 8.300000] RX DESC a1e3b000 size = 2048 [ 8.308000] RTMP_TimerListAdd: add timer obj c00e3798! [ 8.320000] RTMP_TimerListAdd: add timer obj c00a58e8! [ 8.332000] RTMP_TimerListAdd: add timer obj c00a58bc! [ 8.340000] RTMP_TimerListAdd: add timer obj c00a5890! [ 8.352000] RTMP_TimerListAdd: add timer obj c004d018! [ 8.360000] RTMP_TimerListAdd: add timer obj c004cc0c! [ 8.372000] RTMP_TimerListAdd: add timer obj c004cfe8! [ 8.380000] RTMP_TimerListAdd: add timer obj c004d324! [ 8.392000] RTMP_TimerListAdd: add timer obj c004d264! [ 8.404000] RTMP_TimerListAdd: add timer obj c004d294! [ 8.412000] RTMP_TimerListAdd: add timer obj c00501e4! [ 8.424000] RTMP_TimerListAdd: add timer obj c004fdd8! [ 8.432000] RTMP_TimerListAdd: add timer obj c00501b4! [ 8.444000] RTMP_TimerListAdd: add timer obj c00504f0! [ 8.452000] RTMP_TimerListAdd: add timer obj c0050430! [ 8.464000] RTMP_TimerListAdd: add timer obj c0050460! [ 8.476000] RTMP_TimerListAdd: add timer obj c00533b0! [ 8.484000] RTMP_TimerListAdd: add timer obj c0052fa4! [ 8.496000] RTMP_TimerListAdd: add timer obj c0053380! [ 8.504000] RTMP_TimerListAdd: add timer obj c00536bc! [ 8.516000] RTMP_TimerListAdd: add timer obj c00535fc! [ 8.524000] RTMP_TimerListAdd: add timer obj c005362c! [ 8.536000] RTMP_TimerListAdd: add timer obj c005657c! [ 8.544000] RTMP_TimerListAdd: add timer obj c0056170! [ 8.556000] RTMP_TimerListAdd: add timer obj c005654c! [ 8.568000] RTMP_TimerListAdd: add timer obj c0056888! [ 8.576000] RTMP_TimerListAdd: add timer obj c00567c8! [ 8.588000] RTMP_TimerListAdd: add timer obj c00567f8! [ 8.596000] RTMP_TimerListAdd: add timer obj c0059748! [ 8.608000] RTMP_TimerListAdd: add timer obj c005933c! [ 8.616000] RTMP_TimerListAdd: add timer obj c0059718! [ 8.628000] RTMP_TimerListAdd: add timer obj c0059a54! [ 8.640000] RTMP_TimerListAdd: add timer obj c0059994! [ 8.648000] RTMP_TimerListAdd: add timer obj c00599c4! [ 8.660000] RTMP_TimerListAdd: add timer obj c005c914! [ 8.668000] RTMP_TimerListAdd: add timer obj c005c508! [ 8.680000] RTMP_TimerListAdd: add timer obj c005c8e4! [ 8.688000] RTMP_TimerListAdd: add timer obj c005cc20! [ 8.700000] RTMP_TimerListAdd: add timer obj c005cb60! [ 8.712000] RTMP_TimerListAdd: add timer obj c005cb90! [ 8.720000] RTMP_TimerListAdd: add timer obj c005fae0! [ 8.732000] RTMP_TimerListAdd: add timer obj c005f6d4! [ 8.740000] RTMP_TimerListAdd: add timer obj c005fab0! [ 8.752000] RTMP_TimerListAdd: add timer obj c005fdec! [ 8.760000] RTMP_TimerListAdd: add timer obj c005fd2c! [ 8.772000] RTMP_TimerListAdd: add timer obj c005fd5c! [ 8.780000] RTMP_TimerListAdd: add timer obj c0062cac! [ 8.792000] RTMP_TimerListAdd: add timer obj c00628a0! [ 8.804000] RTMP_TimerListAdd: add timer obj c0062c7c! [ 8.812000] RTMP_TimerListAdd: add timer obj c0062fb8! [ 8.824000] RTMP_TimerListAdd: add timer obj c0062ef8! [ 8.832000] RTMP_TimerListAdd: add timer obj c0062f28! [ 8.844000] RTMP_TimerListAdd: add timer obj c00a7cf0! [ 8.852000] RTMP_TimerListAdd: add timer obj c00a78e4! [ 8.864000] RTMP_TimerListAdd: add timer obj c00a7cc0! [ 8.876000] RTMP_TimerListAdd: add timer obj c00a7ffc! [ 8.884000] RTMP_TimerListAdd: add timer obj c00a7d20! [ 8.896000] RTMP_TimerListAdd: add timer obj c00a7d50! [ 8.904000] RTMP_TimerListAdd: add timer obj c00a7d80! [ 8.916000] RTMP_TimerListAdd: add timer obj c00ba104! [ 8.924000] RTMP_TimerListAdd: add timer obj c00ba220! [ 8.936000] RTMP_TimerListAdd: add timer obj c00ba130! [ 8.944000] RTMP_TimerListAdd: add timer obj c00a83ac! [ 8.956000] RTMP_TimerListAdd: add timer obj c004a4d8! [ 8.968000] RTMP_TimerListAdd: add timer obj c004d6a4! [ 8.980000] RTMP_TimerListAdd: add timer obj c0050870! [ 8.988000] RTMP_TimerListAdd: add timer obj c0053a3c! [ 9.000000] RTMP_TimerListAdd: add timer obj c0056c08! [ 9.008000] RTMP_TimerListAdd: add timer obj c0059dd4! [ 9.020000] RTMP_TimerListAdd: add timer obj c005cfa0! [ 9.028000] RTMP_TimerListAdd: add timer obj c006016c! [ 9.040000] RTMP_TimerListAdd: add timer obj c00a80bc! [ 9.156000] RT_CfgSetMacAddress : invalid length (0) [ 9.176000] APSDCapable[0]=0 [ 9.180000] APSDCapable[1]=0 [ 9.184000] APSDCapable[2]=0 [ 9.192000] APSDCapable[3]=0 [ 9.196000] APSDCapable[4]=0 [ 9.204000] APSDCapable[5]=0 [ 9.208000] APSDCapable[6]=0 [ 9.216000] APSDCapable[7]=0 [ 9.220000] APSDCapable[8]=0 [ 9.228000] APSDCapable[9]=0 [ 9.232000] APSDCapable[10]=0 [ 9.236000] APSDCapable[11]=0 [ 9.244000] APSDCapable[12]=0 [ 9.248000] APSDCapable[13]=0 [ 9.256000] APSDCapable[14]=0 [ 9.260000] APSDCapable[15]=0 [ 9.268000] default ApCliAPSDCapable[0]=0 [ 9.472000] Key1Str is Invalid key length(0) or Type(1) [ 9.484000] Key2Str is Invalid key length(0) or Type(0) [ 9.492000] Key3Str is Invalid key length(0) or Type(0) [ 9.504000] Key4Str is Invalid key length(0) or Type(0) [ 9.520000] APCli_WPAPSK_KEY, key string required 8 ~ 64 characters!!! [ 9.536000] I/F(apcli0) Key1Str is Invalid key length! [ 9.544000] I/F(apcli0) Key2Str is Invalid key length! [ 9.556000] I/F(apcli0) Key3Str is Invalid key length! [ 9.568000] I/F(apcli0) Key4Str is Invalid key length! [ 9.588000] Wrong OBSSScanParamtetrs format in dat file!!!!! Use default value. [ 9.620000] EntryLifeCheck=1024 [ 9.624000] 1. Phy Mode = 9 [ 9.632000] 2. Phy Mode = 9 [ 9.636000] E2PROM: D0 target power=0xffff [ 9.644000] E2PROM: 40 MW Power Delta= 0 [ 9.652000] 3. Phy Mode = 9 [ 9.660000] [1B][mAntCfgInit: primary/secondary ant 0/1 [ 9.660000] [1B][mInitialize RF Central Registers for E2 !!! [ 9.680000] Initialize RF Central Registers for E3 !!! [ 9.692000] Initialize RF Channel Registers for E2 !!! [ 9.700000] Initialize RF Channel Registers for E3 !!! [ 9.712000] Initialize RF DCCal Registers for E2 !!! [ 9.720000] Initialize RF DCCal Registers for E3 !!! [ 9.732000] D1 = -2, D2 = 3, CalCode = 12 !!! [ 9.744000] RT6352_Temperature_Init : BBPR49 = 0xfffffffe [ 9.752000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff4 [ 9.768000] Current Temperature from BBP_R49=0xfffffff2 [ 9.780000] TX BW Filter Calibration !!! [ 9.920000] RX BW Filter Calibration !!! [ 10.216000] LOFT Calibration Done! [ 10.224000] IQCalibration Start! [ 10.240000] IQCalibration Done! CH = 0, (gain= 3, phase=3d) [ 10.252000] IQCalibration Start! [ 10.268000] IQCalibration Done! CH = 1, (gain= 0, phase= 0) [ 10.280000] TX IQ Calibration Done! [ 10.292000] VGA Code idx overflow(19), AM_63(0) !!! [ 10.304000] VGA Code idx overflow(19), AM_63(0) !!! [ 10.344000] RXIQ Sigma_i=0, Sigma_q=0, R_iq=0 [ 10.352000] RXIQ calibration FAIL [ 10.360000] internal ALC is not enabled in NVM ! [ 10.368000] RTMPSetPhyMode: channel is out of range, use first channel=0 [ 10.384000] MCS Set = ff ff 00 00 01 [ 10.396000] VGA Code idx overflow(19), AM_63(0) !!! [ 10.408000] VGA Code idx overflow(19), AM_63(0) !!! [ 10.444000] SYNC - BBP R4 to 20MHz.l [ 14.856000] ===================================================== [ 14.868000] Channel 1 : Dirty = 0, False CCA = 304, Busy Time = 14905, Skip Channel = FALSE [ 14.884000] Channel 2 : Dirty = 0, False CCA = 38, Busy Time = 464, Skip Channel = FALSE [ 14.900000] Channel 3 : Dirty = 100, False CCA = 54, Busy Time = 2701, Skip Channel = FALSE [ 14.916000] Channel 4 : Dirty = 120, False CCA = 7, Busy Time = 70, Skip Channel = FALSE [ 14.932000] Channel 5 : Dirty = 140, False CCA = 233, Busy Time = 3344, Skip Channel = FALSE [ 14.948000] Channel 6 : Dirty = 160, False CCA = 157, Busy Time = 6274, Skip Channel = FALSE [ 14.964000] Channel 7 : Dirty = 350, False CCA = 16, Busy Time = 12538, Skip Channel = FALSE [ 14.984000] Channel 8 : Dirty = 160, False CCA = 21, Busy Time = 714, Skip Channel = FALSE [ 15.000000] Channel 9 : Dirty = 140, False CCA = 7, Busy Time = 1162, Skip Channel = FALSE [ 15.016000] Channel 10 : Dirty = 120, False CCA = 12, Busy Time = 125, Skip Channel = FALSE [ 15.032000] Channel 11 : Dirty = 100, False CCA = 324, Busy Time = 17935, Skip Channel = FALSE [ 15.048000] ===================================================== [ 15.060000] Rule 2 CCA value : Min False CCA value ==> Select Channel 4, min falsecca = 77 [ 15.080000] RTMP_TimerListAdd: add timer obj c00b19e0! [ 15.100000] VGA Code idx overflow(19), AM_63(0) !!! [ 15.112000] VGA Code idx overflow(19), AM_63(0) !!! [ 15.152000] Main bssid = 00:1c:c2:2f:df:f6 [ 15.160000] <==== rt28xx_init, Status=0 [ 15.172000] 0x1300 = 00064380 ifconfig: SIOCGIFFLAGS: No such device brctl: bridge br0: No such device or address vconfig: ioctl error for rem: No such device vconfig: ioctl error for rem: No such device [ 15.812000] device eth2 entered promiscuous mode restore RT6855 ESW to dump switch mode switch reg write offset=2004, value=ff0000 switch reg write offset=2104, value=ff0000 switch reg write offset=2204, value=ff0000 switch reg write offset=2304, value=ff0000 switch reg write offset=2404, value=ff0000 switch reg write offset=2504, value=ff0000 switch reg write offset=2604, value=ff0000 switch reg write offset=2704, value=ff0000 switch reg write offset=2010, value=810000c0 switch reg write offset=2110, value=810000c0 switch reg [ 16.020000] device ra0 entered promiscuous mode write offset=2210, value=810000c0 switch reg write offset=2310, value=810000c0 switch reg write offset=2410, value=810000c0 switch reg write offset=2510, value=810000c0 switch reg write offset=2610, value=810000c0 switch reg write offset=2710, value=810000c0 REG_ESW_WT_MAC_ATC is 0x7ff0002 done. /sbin/netinit.sh: line 288: addRax2Br0: not found [ 16.120000] br0: port 1(ra0) entering learning state [ 16.132000] br0: port 1(ra0) entering learning state [ 17.132000] br0: port 1(ra0) entering forwarding state Set: phy[0].reg[0] = 3900 Set: phy[4].reg[0] = 3900 Set: phy[0].reg[0] = 3100 Set: phy[4].reg[0] = 3100 udhcpc (v1.12.1) started iptables: Bad rule (does a matching rule exist in that chain?). iptables: Bad rule (does a matching rule exist in that chain?). iptables v1.4.10: can't initialize iptables table `mangle': Table does not exist (do you need to[ 19.824000] hao: input argv = 1 insmod?) Perhaps iptables or your kernel needs to be upgraded. [ 20.008000] udevd version 125 started /etc/rc.d/rc1.d/S34ntpclient start /etc/rc.d/rc1.d/S75fileserv start 0.pool.ntp.org: Unknown host 1.pool.ntp.org: Unknown host 2.pool.ntp.org: Unknown host 3.pool.ntp.org: Unknown host /etc/rc.d/rc1.d/S77qos start /etc/rc.d/rc: line 31: /etc/rc.d/rc1.d/S77qos: not found /etc/rc.d/rc1.d/S80webd start /etc/rc.d/rc1.d/S82upnpd start /etc/rc.d/rc1.d/S99local start ddddddddddddd [ 21.596000] [func:sdcard_detect_poll, line:563] sdcard poll wake up RP-WD03 login: [ 25.184000] enable send the SIGUSR2


Bootlog with OKLI Loader

Use OKLI Loader to work around the 1536 KByte kernel size limit.

More details on the forum: Ravpower wd03 does not start with openwrt master

|-------------------------------| | IOVST MAIN MENU | |-------------------------------| | 6 Test USB | | 8 Test ethernet | | B Boot the Kernel | | E Test PIO | | I Test system params | | U SPIFlash Upgrade | | T SMT test program | | X Update the license | | R Reboot | | Z Enter Command Line Interface| |-------------------------------| Please input test item:R Reboot system... U-Boot 1.1.3 (May 7 2014 - 05:33:12) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fac000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. ****************************** Software System Reset Occurred ****************************** spi_wait_nsec: 29 spi device id: c8 40 17 c8 40 (4017c840) Warning: un-recognized chip ID, please update bootloader! raspi_read: from:1d4000 len:1000 *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.1.0.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:May 7 2014 Time:05:33:12 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =32 Mbytes raspi_read: from:40028 len:6 Initialize vs configure module raspi_read: from:1d0000 len:1000 Initialize GPIO check: 0 Input i key to enter menu 0 raspi_read: from:50000 len:180000 ## Booting image at 80500000 ... Image Name: MIPS OpenWrt Linux-5.4.63 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 3292 Bytes = 3.2 kB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 32 Starting kernel ... OpenWrt kernel loader for MIPS based SoC Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> Looking for OpenWrt image... found at 0xbc200000 Decompressing kernel... done! Starting kernel at 80000000... [ 0.000000] Linux version 5.4.63 (rmorris@linuxServer) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13895-e9f8f7c8b9)) #0 Fri Sep 11 17:32:29 2020 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is RAVPower RP-WD03 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8120 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.000000] Writing ErrCtl register=00018510 [ 0.000000] Readback ErrCtl register=00018510 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 25120K/32768K available (4581K kernel code, 203K rwdata, 1024K rodata, 1224K init, 205K bss, 7648K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000009] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015468] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048) [ 0.059573] pid_max: default: 32768 minimum: 301 [ 0.068950] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.083353] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.104385] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.123687] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.137288] pinctrl core: initialized pinctrl subsystem [ 0.148169] NET: Registered protocol family 16 [ 0.188936] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.199975] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.212568] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.223571] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.236188] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.247017] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.259858] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.283785] clocksource: Switched to clocksource systick [ 0.295647] NET: Registered protocol family 2 [ 0.305128] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.321693] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.336860] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.350874] TCP: Hash tables configured (established 1024 bind 1024) [ 0.363655] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.376560] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.390701] NET: Registered protocol family 1 [ 0.399290] PCI: CLS 0 bytes, default 32 [ 0.409895] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.424055] workingset: timestamp_bits=14 max_order=13 bucket_order=0 [ 0.445173] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.456680] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.492963] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.506680] printk: console [ttyS0] disabled [ 0.515146] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.534789] printk: console [ttyS0] enabled [ 0.534789] printk: console [ttyS0] enabled [ 0.551374] printk: bootconsole [early0] disabled [ 0.551374] printk: bootconsole [early0] disabled [ 0.576112] spi spi0.0: force spi mode3 [ 0.586467] spi-nor spi0.0: gd25q64 (8192 Kbytes) [ 0.595968] 8 fixed-partitions partitions found on MTD device spi0.0 [ 0.608630] Creating 8 MTD partitions on "spi0.0": [ 0.618184] 0x000000000000-0x000000030000 : "u-boot" [ 0.629130] 0x000000030000-0x000000040000 : "config" [ 0.640164] 0x000000040000-0x000000050000 : "factory" [ 0.651259] 0x000000050000-0x000000060000 : "loader" [ 0.662223] 0x000000060000-0x0000001d0000 : "firmware2" [ 0.673705] 0x0000001d0000-0x0000001e0000 : "u-boot-env" [ 0.685344] 0x0000001e0000-0x000000200000 : "firmware3" [ 0.696796] 0x000000200000-0x000000800000 : "firmware1" [ 0.709247] libphy: Fixed MDIO Bus: probed [ 0.731442] gsw: setting port4 to ephy mode [ 0.740349] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 0.752914] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.769955] rt2880_wdt 10000120.watchdog: Initialized [ 0.781520] NET: Registered protocol family 10 [ 0.794826] Segment Routing with IPv6 [ 0.802346] NET: Registered protocol family 17 [ 0.811286] 8021q: 802.1Q VLAN Support v1.8 [ 0.820161] Concatenating MTD devices: [ 0.827683] (0): "firmware1" [ 0.833417] (1): "firmware2" [ 0.839152] (2): "firmware3" [ 0.844885] into device "virtual_flash" [ 0.852580] 1 fixed-partitions partitions found on MTD device virtual_flash [ 0.866454] Creating 1 MTD partitions on "virtual_flash": [ 0.877222] 0x000000000000-0x000000790000 : "firmware" [ 0.889698] 2 okli-fw partitions found on MTD device firmware [ 0.901220] Creating 2 MTD partitions on "firmware": [ 0.911128] 0x000000000000-0x0000001d96db : "kernel" [ 0.922049] 0x0000001d96db-0x000000790000 : "rootfs" [ 0.932977] mtd: device 10 (rootfs) set to be root filesystem [ 0.946094] 1 squashfs-split partitions found on MTD device rootfs [ 0.958488] 0x0000004ef000-0x000000790000 : "rootfs_data" [ 0.978480] VFS: Mounted root (squashfs filesystem) readonly on device 31:10. [ 0.999598] Freeing unused kernel memory: 1224K [ 1.008645] This architecture does not have kernel memory protection. [ 1.021479] Run /sbin/init as init process [ 1.575743] random: fast init done [ 1.879389] init: Console is alive [ 1.886565] init: - watchdog - [ 3.198614] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.358818] usbcore: registered new interface driver usbfs [ 3.369917] usbcore: registered new interface driver hub [ 3.380623] usbcore: registered new device driver usb [ 3.397790] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.412673] ehci-fsl: Freescale EHCI Host controller driver [ 3.425700] ehci-platform: EHCI generic platform driver [ 3.446538] phy phy-usbphy.0: remote usb device wakeup disabled [ 3.458345] phy phy-usbphy.0: UTMI 16bit 30MHz [ 3.467202] ehci-platform 101c0000.ehci: EHCI Host Controller [ 3.478693] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 3.494592] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 3.511472] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 3.524989] hub 1-0:1.0: USB hub found [ 3.532953] hub 1-0:1.0: 1 port detected [ 3.546986] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.560739] ohci-platform: OHCI generic platform driver [ 3.571548] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 3.585122] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 3.601004] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 3.638185] hub 2-0:1.0: USB hub found [ 3.646140] hub 2-0:1.0: 1 port detected [ 3.658186] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.677148] init: - preinit - [ 3.871422] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 4.438746] hub 1-1:1.0: USB hub found [ 4.457515] hub 1-1:1.0: 2 ports detected [ 4.585183] random: procd: uninitialized urandom read (4 bytes read) [ 5.151250] usb 1-1.1: new high-speed USB device number 3 using ehci-platform [ 5.338385] random: jshn: uninitialized urandom read (4 bytes read) [ 5.439913] random: jshn: uninitialized urandom read (4 bytes read) [ 5.609539] urandom_read: 2 callbacks suppressed [ 5.609548] random: jshn: uninitialized urandom read (4 bytes read) [ 5.677694] random: jshn: uninitialized urandom read (4 bytes read) [ 5.738231] random: jshn: uninitialized urandom read (4 bytes read) [ 5.928263] 8021q: adding VLAN 0 to HW filter on device eth0 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 7.600562] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 7.644757] urandom-seed: Seed file not found (/etc/urandom.seed) [ 7.775259] procd: - early - [ 7.781197] procd: - watchdog - [ 8.262666] procd: - watchdog - [ 8.269353] procd: - ubus - [ 8.354118] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.483996] random: ubusd: uninitialized urandom read (4 bytes read) [ 8.501929] procd: - init - Please press Enter to activate this console. [ 9.387912] kmodloader: loading kernel modules from /etc/modules.d/* [ 9.620730] i2c /dev entries driver [ 9.639590] i2c-ralink 10000900.i2c: clock 100KHz, re-start support [ 9.677454] Loading modules backported from Linux version v5.8-0-gbcf876870b95 [ 9.691895] Backport generated by backports.git v5.8-1-0-g79400d9e [ 9.778395] xt_time: kernel timezone is -0000 [ 10.057473] PPP generic driver version 2.4.2 [ 10.078992] NET: Registered protocol family 24 [ 10.131530] urngd: jent-rng init failed, err: 2 [ 10.161763] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 10.176203] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 10.191659] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 10.319232] kmodloader: done loading kernel modules from /etc/modules.d/* [ 18.441666] random: crng init done [ 36.399694] 8021q: adding VLAN 0 to HW filter on device eth0 [ 36.421110] br-lan: port 1(eth0) entered blocking state [ 36.431601] br-lan: port 1(eth0) entered disabled state [ 36.442403] device eth0 entered promiscuous mode [ 36.503967] br-lan: port 1(eth0) entered blocking state [ 36.514454] br-lan: port 1(eth0) entered forwarding state [ 37.343086] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 51.586801] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 51.600744] jffs2_build_filesystem(): unlocking the mtd device... [ 51.600816] done. [ 51.616989] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 82.275942] done. [ 82.294740] jffs2: notice: (1643) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 82.589207] overlayfs: upper fs does not support tmpfile. BusyBox v1.31.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r14443+11-f1bc66c765 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 00030000 00001000 "u-boot" mtd1: 00010000 00001000 "config" mtd2: 00010000 00001000 "factory" mtd3: 00010000 00001000 "loader" mtd4: 00170000 00001000 "firmware2" mtd5: 00010000 00001000 "u-boot-env" mtd6: 00020000 00001000 "firmware3" mtd7: 00600000 00001000 "firmware1" mtd8: 00790000 00001000 "firmware" mtd9: 001d96db 00001000 "kernel" mtd10: 005b6925 00001000 "rootfs" mtd11: 002a1000 00001000 "rootfs_data" root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 3.3M 3.3M 0 100% /rom tmpfs 12.9M 56.0K 12.8M 0% /tmp tmpfs 12.9M 68.0K 12.8M 1% /tmp/root tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock11 2.6M 160.0K 2.5M 6% /overlay overlayfs:/overlay 2.6M 160.0K 2.5M 6% / root@OpenWrt:/# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UNKNOWN qlen 1000 link/ether 00:1c:c2:30:c9:56 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:1c:c2:30:c9:56 brd ff:ff:ff:ff:ff:ff 4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether 00:1c:c2:30:c9:56 brd ff:ff:ff:ff:ff:ff inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan valid_lft forever preferred_lft forever inet6 fdbb:e533:62c7::1/60 scope global valid_lft forever preferred_lft forever inet6 fe80::21c:c2ff:fe30:c956/64 scope link valid_lft forever preferred_lft forever root@OpenWrt:/#


Bootlog with 1536998 Bytes kernel from 2018

U-Boot 1.1.3 (May 7 2014 - 05:33:12) Board: Ralink APSoC DRAM: 32 MB relocate_code Pointer at: 81fac000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. spi_wait_nsec: 29 spi device id: c2 20 17 c2 20 (2017c220) find flash: MX25L6405D raspi_read: from:1d4000 len:1000 *** Warning - bad CRC, using default environment ============================================ Ralink UBoot Version: 4.1.0.0 -------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 256 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 32 MBytes Flash component: SPI Flash Date:May 7 2014 Time:05:33:12 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 580 MHZ #### estimate memory size =32 Mbytes raspi_read: from:40028 len:6 Initialize vs configure module raspi_read: from:1d0000 len:1000 Initialize GPIO check: 0 Input i key to enter menu 0 raspi_read: from:50000 len:180000 ## Booting image at 80500000 ... Image Name: MIPS OpenWrt Linux-4.14.36 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1536998 Bytes = 1.5 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 32 Starting kernel ... [ 0.000000] Linux version 4.14.36 (apm@debian) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6632+157-bfed382)) #0 Mon Apr 30 12:46:27 2018 [ 0.000000] Board has DDR1 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc) [ 0.000000] MIPS: machine is Ravpower WD03 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00076407 [ 0.000000] Readback ErrCtl register=00076407 [ 0.000000] Memory: 27360K/32768K available (3557K kernel code, 178K rwdata, 856K rodata, 200K init, 222K bss, 5408K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] CPU Clock: 580MHz [ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns [ 0.000000] systick: enable autosleep mode [ 0.000000] systick: running - mult: 214748, shift: 32 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015469] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087711] pid_max: default: 32768 minimum: 301 [ 0.097122] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110143] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.129777] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.149250] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.161420] pinctrl core: initialized pinctrl subsystem [ 0.172931] NET: Registered protocol family 16 [ 0.205596] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.216617] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.229217] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.240201] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.252832] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.263645] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.280102] clocksource: Switched to clocksource systick [ 0.291746] NET: Registered protocol family 2 [ 0.301312] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.315082] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.327671] TCP: Hash tables configured (established 1024 bind 1024) [ 0.340438] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.351943] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.364651] NET: Registered protocol family 1 [ 0.375499] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.388203] Crashlog allocated RAM at address 0x1f00000 [ 0.399877] workingset: timestamp_bits=30 max_order=13 bucket_order=0 [ 0.418407] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.429892] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.457921] io scheduler noop registered [ 0.465615] io scheduler deadline registered (default) [ 0.476708] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.492262] console [ttyS0] disabled [ 0.499251] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.561225] console [ttyS0] enabled [ 0.568291] bootconsole [early0] disabled [ 0.577066] cacheinfo: Failed to find cpu0 device node [ 0.582350] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.589253] pinctrl core: add 1 pinctrl maps [ 0.589293] rt2880-pinmux pinctrl: found group selector 2 for spi [ 0.589313] rt2880-pinmux pinctrl: request pin 3 (io3) for 10000b00.spi [ 0.589326] rt2880-pinmux pinctrl: request pin 4 (io4) for 10000b00.spi [ 0.589339] rt2880-pinmux pinctrl: request pin 5 (io5) for 10000b00.spi [ 0.589353] rt2880-pinmux pinctrl: request pin 6 (io6) for 10000b00.spi [ 0.594705] spi spi0.0: force spi mode3 [ 0.599350] m25p80 spi0.0: mx25l6405d (8192 Kbytes) [ 0.604436] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.610925] Creating 5 MTD partitions on "spi0.0": [ 0.615836] 0x000000000000-0x000000030000 : "u-boot" [ 0.621777] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.627989] 0x000000040000-0x000000050000 : "factory" [ 0.634056] 0x000000050000-0x000000fd0000 : "firmware" [ 0.639308] mtd: partition "firmware" extends beyond the end of device "spi0.0" -- size truncated to 0x7b0000 [ 1.571905] 2 uimage-fw partitions found on MTD device firmware [ 1.577977] 0x000000050000-0x0000001c72c1 : "kernel" [ 1.583918] 0x0000001c72c1-0x000000800000 : "rootfs" [ 1.589722] mtd: device 5 (rootfs) set to be root filesystem [ 1.596844] 1 squashfs-split partitions found on MTD device rootfs [ 1.603233] 0x0000003cb000-0x000000800000 : "rootfs_data" [ 1.609629] 0x000000ff0000-0x000001000000 : "art" [ 1.614487] mtd: partition "art" is out of reach -- disabled [ 1.621826] mdio_bus fixed-0: GPIO lookup for consumer reset [ 1.621841] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 1.621853] mdio_bus fixed-0: lookup for GPIO reset failed [ 1.621883] libphy: Fixed MDIO Bus: probed [ 1.630832] gsw: setting port4 to ephy mode [ 1.635182] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 4 link up (100Mbps/Full duplex) [ 1.644623] mtk_soc_eth 10100000.ethernet: generated random MAC address 7e:eb:af:d6:18:f6 [ 1.653071] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 1.659783] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 1.668784] rt2880_wdt 10000120.watchdog: Initialized [ 1.675363] NET: Registered protocol family 10 [ 1.683564] Segment Routing with IPv6 [ 1.687429] NET: Registered protocol family 17 [ 1.692080] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.705314] 8021q: 802.1Q VLAN Support v1.8 [ 1.726030] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 1.734348] Freeing unused kernel memory: 200K [ 1.738883] This architecture does not have kernel memory protection. [ 3.136958] init: Console is alive [ 3.140647] init: - watchdog - [ 5.055670] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.316080] usbcore: registered new interface driver usbfs [ 5.321838] usbcore: registered new interface driver hub [ 5.327369] usbcore: registered new device driver usb [ 5.335314] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys-polled/reset[0]' - status (0) [ 5.335343] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys-polled/0x100[0]' - status (0) [ 5.335362] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys-polled/0x101[0]' - status (0) [ 5.335399] rt2880-pinmux pinctrl: request pin 1 (io1) for pio:1 [ 5.335427] rt2880-pinmux pinctrl: request pin 42 (io42) for pio:42 [ 5.335447] rt2880-pinmux pinctrl: request pin 43 (io43) for pio:43 [ 5.338484] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.346928] ehci-platform: EHCI generic platform driver [ 5.355395] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.363163] ohci-platform: OHCI generic platform driver [ 5.370388] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/wan[0]' - status (0) [ 5.370422] rt2880-pinmux pinctrl: request pin 40 (io40) for pio:40 [ 5.370431] no flags found for gpios [ 5.370588] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/lan[0]' - status (0) [ 5.370609] rt2880-pinmux pinctrl: request pin 41 (io41) for pio:41 [ 5.370615] no flags found for gpios [ 5.370751] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/wlan[0]' - status (0) [ 5.370776] rt2880-pinmux pinctrl: request pin 72 (io72) for pio:72 [ 5.370781] no flags found for gpios [ 5.372599] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.381399] init: - preinit - [ 6.999196] 8021q: adding VLAN 0 to HW filter on device eth0 [ 8.217853] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 8.254393] urandom-seed: Seed file not found (/etc/urandom.seed) [ 8.512357] procd: - early - [ 8.515403] procd: - watchdog - [ 8.838500] procd: - watchdog - [ 8.841985] procd: - ubus - [ 8.918383] procd: - init - [ 9.344894] kmodloader: loading kernel modules from /etc/modules.d/* [ 9.357954] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 9.376233] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 9.384475] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 9.395679] ip_tables: (C) 2000-2006 Netfilter Core Team [ 9.410836] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 9.485258] xt_time: kernel timezone is -0000 [ 9.660499] PPP generic driver version 2.4.2 [ 9.667706] NET: Registered protocol family 24 [ 9.702717] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory" [ 9.710164] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected [ 9.718087] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 9.725762] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 9.801875] kmodloader: done loading kernel modules from /etc/modules.d/* [ 17.555516] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 17.562908] jffs2_build_filesystem(): unlocking the mtd device... [ 17.562913] done. [ 17.571243] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 22.796495] 8021q: adding VLAN 0 to HW filter on device eth0 [ 22.875856] br-lan: port 1(eth0.1) entered blocking state [ 22.881380] br-lan: port 1(eth0.1) entered disabled state [ 22.887465] device eth0.1 entered promiscuous mode [ 22.892361] device eth0 entered promiscuous mode [ 22.993810] br-lan: port 1(eth0.1) entered blocking state [ 22.999335] br-lan: port 1(eth0.1) entered forwarding state [ 23.005245] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 23.833436] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


A script on an USB Stick that is called `EnterRouterMode.sh` is executed when plugged in during operation. This can e.g. be used to get the original partitions as files:

#!/bin/sh
SDCARD=/data/UsbDisk1/Volume1/
USB=/data/UsbDisk2/Volume1/

dd if=/dev/mtd0 of=$SDCARD/mtd0.bin
dd if=/dev/mtd1 of=$SDCARD/mtd1.bin
dd if=/dev/mtd2 of=$SDCARD/mtd2.bin
dd if=/dev/mtd3 of=$SDCARD/mtd3.bin
dd if=/dev/mtd4 of=$SDCARD/mtd4.bin
dd if=/dev/mtd5 of=$SDCARD/mtd5.bin
dd if=/dev/mtd6 of=$SDCARD/mtd6.bin
dd if=/dev/mtd7 of=$SDCARD/mtd7.bin
dd if=/dev/mtd8 of=$SDCARD/mtd8.bin

This could then be used as an backup to create an images to get back to the OEM firmware:

copy /b mtd4.bin+mtd5.bin+mtd6.bin+mtd7.bin kernel
copy mtd8.bin rootfs

(those two files can be flashed via the tftp method)

Forum Source

Space for additional notes, links to forum threads or other resources.

OpenWrt 18.06 succesfully installed to Lenovo F800 using the tftp method.

https://forum.archive.openwrt.org/viewtopic.php?id=66343Possible new device Lenovo F800 wifi external drive

  • ...
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1