User Tools

Site Tools


toh:ravpower:ravpower_rp-wd03

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

Getting started with a new Device Page

  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.

Keep the articles modular

  • 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.

Supported Versions

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
RP-WD03MediaTek MT7620N5808, SD32MediaTek MT7620Nb/g/n-1--1x 2.0, 1x µUSB (power)

Installation

Install OpenWrt (generic explanation)

Installation:

  • Download the sysupgrade image
  • Place it in the root of a clean TFTP server running on your computer.
  • Rename the image to “kernel” — be sure there is no file extension.
  • Plug the WD03 into your computer via ethernet.
  • Set your computer to use 10.10.10.254 as its IP address.
  • With your WD03 shut down, hold down the power button until the first white LED lights up.
  • 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.
  • The WD03 (10.10.10.128) will look for your computer at 10.10.10.254 and install the kernel file. Once it has finished installation of the kernel file, it will search for a (nonexistent) rootfs file — when it begins searching for this file, shut down the WD03 by holding the power button normally.
  • Start up your WD03 normally.

Video : https://www.youtube.com/watch?v=JVyvt8nJvYA

Re-Installing stock firmware :

Flash Layout

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 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 007b0000 00010000 "firmware"
mtd4: 001009c8 00010000 "kernel"
mtd5: 006af638 00010000 "rootfs"
mtd6: 00490000 00010000 "rootfs_data"
Layer0 raw flash 8192 KiB
Layer1 mtd0: u-boot
192 KiB
mtd1: u-boot-env
64 KiB
mtd2: factory
64 KiB
mtd3: firmware
7872 KiB (= FlashSize-(192+64+64))
Layer2 mtd4: kernel
about 1 MiB
mtd5: rootfs
/”, OverlayFS with /overlay
Layer3 /dev/root
/rom”, SquashFS
mtd6: rootfs_data
/overlay”, JFFS2

OEM easy installation

None

OEM installation using the TFTP method

Specific values needed for tftp

Bootloader tftp server IPv4 address 10.10.10.254
Firmware tftp image Latest OpenWrt release should be rename “kernel”
TFTP window start approximately 20 seconds after power on
TFTP client required IP address 10.10.10.128

Upgrading OpenWrt

LuCI Web Upgrade Process

  • 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

Terminal Upgrade Process

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

Debricking

Failsafe mode

Basic configuration

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

Specific Configuration

Network interfaces

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

Switch Ports (for VLANs)

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

Buttons

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 -

Hardware

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

Info

General
Brand RavPower
Model RP-WD03
Versions
Device Type Travel Router - Battery powered
Availability Available 2018
Comments - general
OpenWrt Support
Supported Since Revision
Supported Since Release 18.06.0
Supported Current Release 18.06.1
Unsupported
Hardware
Instruction set
Sub Instruction Set
bootloader U-Boot
Target ramips
System-On-Chip
CPU MHz 580
Flash MB 8, SD
RAM MB 32
Network
Ethernet 100M ports 1
Ethernet Gbit ports -
switch -
Modem -
VLAN ¿
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware MediaTek MT7620N
Detachable Antennas -
Comments - WLAN
Interfaces
USB ports 1x 2.0, 1x µUSB (power)
SATA ports -
Serial Yes
JTAG ¿
Comments - USB & SATA ports
Misc
LED count 3
Button count 1
Power supply 5 VDC, 1.0 A (µUSB), 6000mAh battery
Links
Forum Topic URL
WikiDevi URL https://wikidevi.com/wiki/RAVPower_FileHub_Plus
OEM device homepage URL https://www.ravpower.com/rp-wd03-filehub-6000mah-power-bank-portable-wireless-router.html
Firmware OEM Stock URL https://www.ravpower.com/downloads-81-65001-001.html
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt7620/openwrt-18.06.1-ramips-mt7620-ravpower_wd03-squashfs-sysupgrade.bin
Edit the underlying data View/Edit data

Photos

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

Opening the case

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

Serial

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
115200, 8N1

JTAG

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

Bootloader mods

Hardware mods

None so far.

Bootlogs

OEM bootlog

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


OpenWrt bootlog

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


Notes

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

Tags

toh/ravpower/ravpower_rp-wd03.txt · Last modified: 2018/09/03 20:06 by badz