GL.iNet GL-MT300N V1

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

Top/Front view of the GL-MT300N

  • Based on the Mediatek MT7620N @ 580MHz
  • 64MB DDR1, 16MB Flash
  • USB A port for external storage, 3G dongle, etc with software power control.
  • 300Mbps Wifi N
  • Dual Ethernet (WAN/LAN)
  • Customised OpenWrt pre-installed from the factory (with GLI Web UI)
  • Configurable 2/3-position toggle switch (requires simple hardware mod for 3 position)

Please read the article flash.layout for a better understanding. It contains a couple of explanations. Then let's have a quick view at flash layout of this particular device:

GL.iNet GL-MT300N Flash Layout
Layer0 w25q128 16 MiB
Layer1 mtd0
u-boot
192 KiB
mtd1
u-boot-env
64 KiB
mtd2
factory
64 KiB
mtd3
firmware
15872 KiB
mtd7
art
64 KiB
Layer2 mtd4
kernel
about 1.2 MiB
mtd5
rootfs
mountpoint /
filesystem overlayfs
Layer3 /dev/root
about 6.0 MiB
mtd6
rootfs_data
8.5 MiB
mountpoint none none none none /rom /overlay none
filesystem none none none none SquashFS JFFS2 none

Note the “art” partition with the SoC specific Wifi data.

Install OpenWrt in GL.Inet devices

Note: It can happen that the browser cache does conflict with the new loaded firmware. This can be avoided by browsing to: http://192.168.1.1/index.html?index. By adding ?index it asked the browser not to load from cache.

generic.flashing.tftp

Note: TFTP upgrade requires connecting to the Serial port, and pressing spacebar during boot to access the U-Boot command line.

  • Browse to http://192.168.8.1/cgi-bin/luci/admin/system/flashops
  • 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.8.1, then enter the following commands:
cd /tmp
wget https://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/openwrt-ramips-mt7620-gl-mt300n-squashfs-sysupgrade.bin
sysupgrade /tmp/openwrt-ramips-mt7620-gl-mt300n-squashfs-sysupgrade.bin

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.8.1, then enter the following commands:
cd /tmp
wget https://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/openwrt-ramips-mt7620-gl-mt300n-squashfs-sysupgrade.bin
mtd write /tmp/openwrt-ramips-mt7620-gl-mt300n-squashfs-sysupgrade.bin linux && reboot

generic.debrick

The U-Boot bootloader has a web interface to update the firmware. To use the web interface, you need to connect to the LAN port, and your computer's ethernet port set to 192.168.1.2/24. To start the web interface:

  1. With the router unplugged, press and hold the reset button.
  2. Plug in the router.
  3. Hold the reset button for at least 3 seconds.
  4. Release button, wait a few seconds, and connect to http://192.168.1.1

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

The default OEM network configuration is:

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

Port number 0 is labeled WAN on the unit, port 1 is labeled LAN. Ports 2-5 are not present. Port 6 (CPU) is the internal connection to the router itself. vlan1 = eth0.1, vlan2 = eth0.2 and so on.

Port Switch port
Internet (WAN) 0
LAN 1

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.

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

The GL.iNet GL-MT300N has the following buttons:

BUTTON Event
EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -

Front:
Top/front of MT300N showing 3 LED indicators

Back/Backside label:
Rear of the MT300N with Model number, Power rating, Management IP, SSID, Wireless Key, MAC, Serial and Dynamic DNS address

Each MT300N is assigned a Dynamic DNS address unique to your device.

Use a pry tool in the notch indicated. There are clips all round, see below;

Use a pry tool in the notch indicated. There are clips all round. Rear cover of MT300N showing clips that hold the cover on

Note the white post on the cover that holds the PCB steady. Ensure the cover is replaced with the correct orientation.

PCB front:
PCB Front of the MT300N

→The port.serial port on the MT300N comes with the headers factory fitted.

How to connect to the Serial Port of this specific device:
It can be seen between the Ethernet switch (yellow) and PCB port at the bottom of the board and is labelled “TX,RX and GND”.

PCB Front of the MT300N

Serial connection parameters
for GL.iNet GL-MT300N V1
115200, 8N1

The MT300N has general purpose GPIO pins broken out. Note, the headers at the top of the board. These headers are not factory fitted and will need to be fitted manually.

Label GPIO Note
No label 0 Controls power to the USB A port, export GPIO 0 and set its value 0/1 to control
WPS_PBC 2 Shared with WPS button according to docs, however this button appears not to exist
RST_PBC 1 Shared with Reset Button
3.3VD - 3.3V
LINK4 44 Unused
LINK3 43 Shared with toggle switch on side of device

Not really a Mod, but the board comes with support for a PoE add-on board which can be obtained from GLI.

PoE daughter-board connections of the MT300N

The datasheet with pinouts for the PoE daughter-board can be found; Datasheet

PoE daughter-board connections of the MT300N

The 3 way toggle switch comes from the factory with the right-hand third of the plastic part filled, GLI claims this is to prevent confusion over the 3 way toggle, but to keep the feature available when required, decided not to remove the 3-way switch. The photograph above shows a modified MT300N to allow 3 way toggling. In the image, the switch is at the centre position.

The MT300N implements a GPIO switch driver, using the scripts below, the switch position can be determined from shell script and acted upon.

/etc/rc.button/BTN_0
/etc/rc.button/BTN_1

The switch uses GPIOs 42 and 43 and can be access by exporting them as inputs. The values correspond to the switch positions as follows.

Position GPIO 42 GPIO 43
Left High/1 X
Centre Low/0 Low/0
Right X High/1

Where X indicates a “Don't Care” state.

The scripts receive both a button ID in the form “BTN_X” and an action such as “pressed” or “unpressed”.

U-Boot 1.1.3 (Nov 28 2015 - 17:35:15) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 enable ephy clock...done. rf reg 29 = 5 SSC disabled. spi_wait_nsec: 29 spi device id: ef 40 18 0 0 (40180000) find flash: W25Q128BV *** Warning - bad CRC, using default environment ====================================================== Ralink UBoot Version: 4.3.0.0 -------------------------------------------------- ASIC 7620_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Nov 28 2015 Time:17:35:15 -------------------------------------------------- icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 -------------------------------------------------- ##### The CPU freq = 580 MHZ #### ##### Memory size =64 Mbytes#### ====================================================== *** *** ** ** ***** *** *** *** ** *** * * * ** ** * * * * * * * * * * * * * ** ** * * * * * * ** * * * ***** ** ** * ** * * * * ** * * *** * * * * * * * * * * * ** * * * * * * * * * * * * * ** * * * * * * * * * * * * * * * * ** ****** * * * *** *** *** *** *** * Hit SPACE to stop autoboot: 0 Found calibration data, checking calibration status... Device calibrated. Checking MAC address... Found MAC. Starting firmware... ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-3.18.23 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1200770 Bytes = 1.1 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, 64 Starting kernel ... [ 0.000000] Linux version 3.18.23 (alzhao@alzhao-ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47065) ) #21 Mon Jan 4 15:08:11 HKT 2016 [ 0.000000] Board has DDR2 [ 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 GL-MT300N [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff] [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=0000321a [ 0.000000] Readback ErrCtl register=0000321a [ 0.000000] Memory: 61176K/65536K available (2675K kernel code, 132K rwdata, 536K rodata, 168K init, 190K bss, 4360K 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] systick: running - mult: 214748, shift: 32 [ 0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.060000] pid_max: default: 32768 minimum: 301 [ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070000] pinctrl core: initialized pinctrl subsystem [ 0.080000] NET: Registered protocol family 16 [ 0.090000] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.100000] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.100000] rt2880_gpio 10000638.gpio: registering 16 gpios [ 0.110000] rt2880_gpio 10000638.gpio: registering 16 irq handlers [ 0.110000] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.120000] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.120000] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.130000] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.130000] Switched to clocksource systick [ 0.140000] NET: Registered protocol family 2 [ 0.140000] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.140000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.150000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.160000] TCP: reno registered [ 0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.170000] NET: Registered protocol family 1 [ 0.180000] rt-timer 10000100.timer: maximum frequency is 2441Hz [ 0.180000] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.200000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.210000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.230000] msgmni has been set to 119 [ 0.230000] io scheduler noop registered [ 0.240000] io scheduler deadline registered (default) [ 0.240000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.250000] console [ttyS0] disabled [ 0.260000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A [ 0.270000] console [ttyS0] enabled [ 0.270000] console [ttyS0] enabled [ 0.270000] bootconsole [early0] disabled [ 0.270000] bootconsole [early0] disabled [ 0.290000] m25p80 spi32766.0: w25q128 (16384 Kbytes) [ 0.290000] 5 ofpart partitions found on MTD device spi32766.0 [ 0.300000] Creating 5 MTD partitions on "spi32766.0": [ 0.300000] 0x000000000000-0x000000030000 : "u-boot" [ 0.310000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.320000] 0x000000040000-0x000000050000 : "factory" [ 0.320000] 0x000000050000-0x000000fd0000 : "firmware" [ 0.450000] 2 uimage-fw partitions found on MTD device firmware [ 0.450000] 0x000000050000-0x0000001752c2 : "kernel" [ 0.460000] 0x0000001752c2-0x000000fd0000 : "rootfs" [ 0.470000] mtd: device 5 (rootfs) set to be root filesystem [ 0.47 [ 3.730000] init: Console is alive [ 3.730000] init: - watchdog - [ 9.580000] usbcore: registered new interface driver usbfs [ 9.580000] usbcore: registered new interface driver hub [ 9.590000] usbcore: registered new device driver usb [ 9.600000] exFAT: Version 1.2.9 [ 9.640000] SCSI subsystem initialized [ 9.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.660000] ehci-platform: EHCI generic platform driver [ 9.870000] phy phy-usbphy.0: remote usb device wakeup disabled [ 9.870000] phy phy-usbphy.0: UTMI 16bit 30MHz [ 9.880000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 9.880000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 9.890000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 9.920000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 9.920000] hub 1-0:1.0: USB hub found [ 9.930000] hub 1-0:1.0: 1 port detected [ 9.930000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 9.940000] ohci-platform: OHCI generic platform driver [ 9.950000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 9.950000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 9.960000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 10.030000] hub 2-0:1.0: USB hub found [ 10.030000] hub 2-0:1.0: 1 port detected [ 10.060000] MTK MSDC device init. [ 10.060000] mtk-sd: MediaTek MT6575 MSDC Driver [ 10.070000] sdhci: Secure Digital Host Controller Interface driver [ 10.070000] sdhci: Copyright(c) Pierre Ossman [ 10.080000] sdhci-pltfm: SDHCI platform and OF driver helper [ 10.090000] usbcore: registered new interface driver usb-storage [ 10.900000] init: - preinit - [ 12.720000] 8021q: adding VLAN 0 to HW filter on device eth0 [ 12.780000] random: mktemp urandom read with 20 bits of entropy available 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 [ 16.820000] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 16.860000] mount_root: switching to jffs2 overlay [ 16.940000] procd: - early - [ 16.950000] procd: - watchdog - [ 18.130000] procd: - ubus - [ 19.160000] procd: - init - Please press Enter to activate this console. /etc/init.d/mjpg-streamer: device '/dev/video0' does not exist [ 29.280000] NET: Registered protocol family 10 [ 29.550000] ntfs: driver 2.1.31 [Flags: R/O MODULE]. [ 29.620000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 29.690000] Loading modules backported from Linux version master-2015-03-09-0-g141f155 [ 29.700000] Backport generated by backports.git backports-20150129-0-gdd4a670 [ 29.800000] cfg80211: Calling CRDA to update world regulatory domain [ 29.880000] cfg80211: World regulatory domain updated: [ 29.880000] cfg80211: DFS Master region: unset [ 29.890000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 29.900000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 29.900000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 29.910000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 29.920000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 29.930000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s) [ 29.940000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 29.950000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 29.950000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 29.980000] i2c /dev entries driver [ 29.990000] Linux video capture interface: v2.00 [ 30.030000] u32 classifier [ 30.030000] input device check on [ 30.030000] Actions configured [ 30.040000] Mirror/redirect action on [ 30.060000] nf_conntrack version 0.5.0 (958 buckets, 3832 max) [ 30.070000] fuse init (API version 7.23) [ 30.130000] usbcore: registered new interface driver cdc_acm [ 30.140000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 30.160000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 30.170000] usbcore: registered new interface driver ipheth [ 30.250000] usbcore: registered new interface driver usbserial [ 30.250000] usbcore: registered new interface driver usbserial_generic [ 30.260000] usbserial: USB Serial support registered for generic [ 30.280000] usbcore: registered new interface driver uvcvideo [ 30.280000] USB Video Class driver (1.1.1) [ 30.360000] xt_time: kernel timezone is -0000 [ 30.380000] usbcore: registered new interface driver cdc_ether [ 30.390000] usbcore: registered new interface driver cp210x [ 30.390000] usbserial: USB Serial support registered for cp210x [ 30.410000] gspca_main: v2.14.0 registered [ 30.420000] usbcore: registered new interface driver sonixb [ 30.430000] usbcore: registered new interface driver sonixj [ 30.440000] usbcore: registered new interface driver gspca_zc3xx [ 30.490000] PPP generic driver version 2.4.2 [ 30.500000] NET: Registered protocol family 24 [ 30.510000] usbcore: registered new interface driver rndis_host [ 30.660000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected [ 30.670000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 30.730000] usbcore: registered new interface driver rt2800usb [ 30.770000] usbcore: registered new interface driver option [ 30.780000] usbserial: USB Serial support registered for GSM modem (1-port) [ 47.090000] 8021q: adding VLAN 0 to HW filter on device eth0 [ 47.100000] device eth0.1 entered promiscuous mode [ 47.100000] device eth0 entered promiscuous mode [ 47.200000] br-lan: port 1(eth0.1) entered forwarding state [ 47.200000] br-lan: port 1(eth0.1) entered forwarding state [ 49.200000] br-lan: port 1(eth0.1) entered forwarding state [ 50.280000] cfg80211: Calling CRDA for country: CN [ 50.280000] cfg80211: Regulatory domain changed to country: CN [ 50.290000] cfg80211: DFS Master region: FCC [ 50.290000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 50.300000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 50.310000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A) [ 50.320000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s) [ 50.330000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 50.340000] cfg80211: (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A) [ 50.350000] cfg80211: (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm), (N/A) [ 50.360000] cfg80211: (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm), (N/A) [ 54.090000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 54.100000] device wlan0 entered promiscuous mode [ 54.100000] br-lan: port 2(wlan0) entered forwarding state [ 54.110000] br-lan: port 2(wlan0) entered forwarding state [ 54.760000] br-lan: port 2(wlan0) entered disabled state [ 64.010000] br-lan: port 2(wlan0) entered forwarding state [ 64.020000] br-lan: port 2(wlan0) entered forwarding state [ 64.020000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 66.020000] br-lan: port 2(wlan0) entered forwarding state [ 73.840000] random: nonblocking pool is initialized


[ 0.000000] Linux version 4.4.7 (buildbot@debian-amd64) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49379) ) #1 Thu Jun 9 17:49:57 UTC 2016 [ 0.000000] Board has DDR2 [ 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 GL-MT300N [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=0001c560 [ 0.000000] Readback ErrCtl register=0001c560 [ 0.000000] Memory: 60648K/65536K available (3011K kernel code, 145K rwdata, 720K rodata, 148K init, 200K bss, 4888K 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.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007575] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070067] pid_max: default: 32768 minimum: 301 [ 0.074691] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.081060] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.093129] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.102815] pinctrl core: initialized pinctrl subsystem [ 0.109160] NET: Registered protocol family 16 [ 0.132878] rt2880_gpio 10000600.gpio: registering 24 gpios [ 0.138320] rt2880_gpio 10000600.gpio: registering 24 irq handlers [ 0.144452] rt2880_gpio 10000638.gpio: registering 16 gpios [ 0.149843] rt2880_gpio 10000638.gpio: registering 16 irq handlers [ 0.155993] rt2880_gpio 10000660.gpio: registering 32 gpios [ 0.161389] rt2880_gpio 10000660.gpio: registering 32 irq handlers [ 0.167514] rt2880_gpio 10000688.gpio: registering 1 gpios [ 0.172822] rt2880_gpio 10000688.gpio: registering 1 irq handlers [ 0.180379] clocksource: Switched to clocksource systick [ 0.187016] NET: Registered protocol family 2 [ 0.192283] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.199009] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.205234] TCP: Hash tables configured (established 1024 bind 1024) [ 0.211456] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.217081] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.223477] NET: Registered protocol family 1 [ 0.228203] rt-timer 10000100.timer: maximum frequency is 1220Hz [ 0.235031] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.260638] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.266255] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc. [ 0.278362] io scheduler noop registered [ 0.282185] io scheduler deadline registered (default) [ 0.287367] ralink-usb-phy usbphy: invalid resource [ 0.292759] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.302599] console [ttyS0] disabled [ 0.306042] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103 [ 0.315719] console [ttyS0] enabled [ 0.315719] console [ttyS0] enabled [ 0.322746] bootconsole [early0] disabled [ 0.322746] bootconsole [early0] disabled [ 0.337519] spi spi0.0: force spi mode3 [ 0.342011] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.346854] 5 ofpart partitions found on MTD device spi0.0 [ 0.352495] Creating 5 MTD partitions on “spi0.0”: [ 0.357389] 0x000000000000-0x000000030000 : “u-boot” [ 0.364234] 0x000000030000-0x000000040000 : “u-boot-env” [ 0.371529] 0x000000040000-0x000000050000 : “factory” [ 0.378486] 0x000000050000-0x000000fd0000 : “firmware” [ 0.467938] 2 uimage-fw partitions found on MTD device firmware [ 0.474019] 0x000000050000-0x000000193d5c : “kernel” [ 0.480742] 0x000000193d5c-0x000000fd0000 : “rootfs” [ 0.487577] mtd: device 5 (rootfs) set to be root filesystem [ 0.493564] 1 squashfs-split partitions found on MTD device rootfs [ 0.499880] 0x000000390000-0x000000fd0000 : “rootfs_data” [ 0.507225] 0x000000ff0000-0x000001000000 : “art” [ 0.516827] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex) [ 0.526397] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver [ 0.533270] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.542299] rt2880_wdt 10000120.watchdog: Initialized [ 0.548989] NET: Registered protocol family 10 [ 0.557886] NET: Registered protocol family 17 [ 0.562599] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.575559] Bridge firewalling registered [ 0.579666] 8021q: 802.1Q VLAN Support v1.8 [ 0.601573] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.609578] Freeing unused kernel memory: 148K (803cb000 - 803f0000) [ 3.011681] init: Console is alive [ 3.015364] init: - watchdog - [ 4.730337] usbcore: registered new interface driver usbfs [ 4.736127] usbcore: registered new interface driver hub [ 4.741692] usbcore: registered new device driver usb [ 4.752575] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.760900] ehci-platform: EHCI generic platform driver [ 4.776568] phy phy-usbphy.0: remote usb device wakeup disabled [ 4.782627] phy phy-usbphy.0: UTMI 16bit 30MHz [ 4.787193] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.793105] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.801314] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.812222] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.819782] hub 1-0:1.0: USB hub found [ 4.824062] hub 1-0:1.0: 1 port detected [ 4.831115] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.838965] ohci-platform: OHCI generic platform driver [ 4.844651] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.851639] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.859837] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.890486] hub 2-0:1.0: USB hub found [ 4.894660] hub 2-0:1.0: 1 port detected [ 4.905721] init: - preinit - [ 5.853008] 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 [ 6.738162] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 6.771834] procd: - early - [ 6.775578] procd: - watchdog - [ 7.213689] procd: - ubus - [ 7.239281] random: ubusd urandom read with 15 bits of entropy available [ 7.248004] procd: - init - Please press Enter to activate this console. [ 7.913533] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 7.932864] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68 [ 7.940489] Backport generated by backports.git backports-20151218-0-g2f58d9d [ 8.008217] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.025259] nf_conntrack version 0.5.0 (949 buckets, 3796 max) [ 8.081257] xt_time: kernel timezone is -0000 [ 8.099278] PPP generic driver version 2.4.2 [ 8.106730] NET: Registered protocol family 24 [ 8.129489] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected [ 8.137479] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected [ 14.870190] jffs2: notice: (910) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 18.948030] 8021q: adding VLAN 0 to HW filter on device eth0 [ 18.993644] device eth0.1 entered promiscuous mode [ 18.998553] device eth0 entered promiscuous mode [ 19.055632] br-lan: port 1(eth0.1) entered forwarding state [ 19.061438] br-lan: port 1(eth0.1) entered forwarding state [ 21.061460] br-lan: port 1(eth0.1) entered forwarding state [ 49.745295] random: nonblocking pool is initialized


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

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