GL.iNet GL-X300B

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

Collie (GL-X300B) is a 4G LTE gateway designed for industrial use. It has an aluminum alloy exterior, supports RS485 interface, and includes external antennas for an extended connectivity range. Collie is designed for industrial deployment under harsh and hazardous environments or remote locations with minimal network infrastructure.

GL-X300B has two models: GLX300B-RS485 comes with a RS485 interface and two antennas, and GL-X300B-IoT comes with an IoT module and three antennas.

GL-XE300-RS485 GL-XE300-IoT

  1. Collie provices a reliable network for heavy-duty IoT devices in an industrial environment, such as mass deployment of logistical drones, chemical equipment in laboratories, high-temperature manufacturing equipments, etc.
  2. Collie has a built-in hardware watchdog, detecting and recovering from connection errors, enhancing network reliability.\
  3. Apart from its powerful built-in firewall, Collie is also pre-installed with OpenVPN and WireGuard, supporting 30+ VPN services. By enabling VPN, Collie automatically encrypts data traffic for all devices within the network, protecting sensitive personal information and client data.
  4. All of GL.iNet’s OpenWrt devices can be easily customizable using our user-friendly ImageBuilder. Users can easily optimise the OpenWrt firmware for specific use, or develop unique applications.
  5. For more details, please visit https://www.gl-inet.com/products/gl-x300b/
ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
GL-X300Bv1Qualcomm Atheros QCA953165016128Qualcomm Atheros QCA9531b/g/n-2-LTE1x 2.0

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

Output 'cat /proc/mtd'

dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "art"
mtd3: 00fa0000 00010000 "firmware"
mtd4: 001d0000 00010000 "kernel"
mtd5: 00dd0000 00010000 "rootfs"
mtd6: 00430000 00010000 "rootfs_data"
  • Browse to http://192.168.8.1/#/upgrade GL.iNet Web Upgrade URL
  • Upload image file for sysupgrade
  • Choose whether to keep the configuration according to your needs, the default is to keep the configuration
  • Click install
  • Wait for reboot
  • Browse to http://192.168.8.1/cgi-bin/luci/admin/system/flash 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.

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

  • Login as root via SSH on 192.168.8.1, then enter the following commands:
cd /tmp
wget http://download.gl-inet.com/firmware/x300b/release/openwrt-x300b-3.203-0701.bin
sysupgrade /tmp/openwrt-x300b-3.203-0701.bin

On devices with a physical reset button, OpenWrt can be reset to default settings without serial or SSH access.

  1. Power on the device and wait for the status led to stop flashing (or go into failsafe mode, as described above).
  2. Press and hold the reset button for 10 seconds.
  3. Release the reset button.

The device will do a hard factory reset (see below) and then reboot. This operation can be slow on some devices, so wait a few minutes before connecting again.

If you want a clean slate, there’s no need to flash again; just enter the following commands. Your device's settings will be reset to defaults like when OpenWrt was first installed.

Issuing “firstboot” or “jffs2reset” command will attempt to delete all files from the jffs2 overlay partition. Note that this “soft reset” is performed with file system actions, so in some cases it is not enough.

firstboot && reboot now

Note: If the commands above (all on one line) don't work, try those commands on separate lines in the terminal.

Note: for most routers, “firstboot” actually just issues a “jffs2reset” command, so there is not much difference compared to the “hard reset” advice below.

Note: if you're issuing this command inside a bash script, remember to add the option -y to force firstboot:

firstboot -y && reboot now

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

Base on the OpenWrt firmware, the default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
eth0 WAN port DHCP client
eth1 LAN port 192.168.1.1/24
wlan0 WiFi 2.4G Disable

Base on the OEM(GL.iNet) firmware, the default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.8.1/24
eth0 WAN port DHCP client
eth1 LAN port 192.168.8.1/24
wlan0 WiFi 2.4G GL-X300B-xxx

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 GL.iNet GL-X300B has the following buttons:

BUTTON Event
Reset reset

FIXME

  1. This table is automatically generated, once the correct filters for Brand and Model are set.
  2. If you see “Nothing.” instead of a table, please edit this section and adjust the filters with the proper Brand and Model. Just try, it's easy.
  3. If you still don't see a table here, or a table filled with '¿': Is there already a Techdata page available for GL.iNet GL-X300B ? If not: Create one.
  4. If you see a table with the desired device data, everything is OK and you can delete this text and the <WRAP> that encloses it.
  5. If it still doesn't work: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.
Nothing.

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

  • To remove the cover and open the device, do a/b/c

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:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for GL.iNet GL-X300B @@Version@@
EXAMPLE 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.

[ 0.000000] Linux version 4.14.221 (glinet@ubuntu) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11257-5090152ae3)) #0 Mon Feb 15 15:22:37 2021 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] MIPS: machine is GL.iNet GL-X300B (NOR) [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 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, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat 805d3a90, node_mem_map 81007dc0 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x494 with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 122404K/131072K available (4419K kernel code, 160K rwdata, 1008K rodata, 1252K init, 218K bss, 8668K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] CPU clock: 650.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns [ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns [ 0.008251] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) [ 0.074866] pid_max: default: 32768 minimum: 301 [ 0.079942] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.086914] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098699] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.109125] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.115658] pinctrl core: initialized pinctrl subsystem [ 0.122399] NET: Registered protocol family 16 [ 0.153368] clocksource: Switched to clocksource MIPS [ 0.159741] NET: Registered protocol family 2 [ 0.165275] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.172631] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.179398] TCP: Hash tables configured (established 1024 bind 1024) [ 0.186269] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.192439] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.199377] NET: Registered protocol family 1 [ 0.204049] PCI: CLS 0 bytes, default 32 [ 0.207025] Crashlog allocated RAM at address 0x3f00000 [ 0.213959] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.225986] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.232132] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.253419] io scheduler noop registered [ 0.257559] io scheduler deadline registered (default) [ 0.265166] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72 [ 0.273206] gpio-export gpio-export: 3 gpio(s) exported [ 0.279524] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.288538] Serial port to 485 enable,rs485txen_gpio = gpio1 [ 0.294813] console [ttyS0] disabled [ 0.298612] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A [ 0.307735] console [ttyS0] enabled [ 0.315301] bootconsole [early0] disabled [ 0.342216] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.347176] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.353759] Creating 4 MTD partitions on "spi0.0": [ 0.358715] 0x000000000000-0x000000040000 : "u-boot" [ 0.364689] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.370962] 0x000000050000-0x000000060000 : "art" [ 0.376651] 0x000000060000-0x000001000000 : "firmware" [ 0.385340] 2 uimage-fw partitions found on MTD device firmware [ 0.391461] Creating 2 MTD partitions on "firmware": [ 0.396645] 0x000000000000-0x0000001d0000 : "kernel" [ 0.402544] 0x0000001d0000-0x000000fa0000 : "rootfs" [ 0.408468] mtd: device 5 (rootfs) set to be root filesystem [ 0.414411] 1 squashfs-split partitions found on MTD device rootfs [ 0.420809] 0x000000b70000-0x000000fa0000 : "rootfs_data" [ 0.429566] spi-nand: unknown raw ID 00000000 [ 0.434133] spi-nand: Failed to detect a SPI NAND (err = -19). [ 0.440826] libphy: Fixed MDIO Bus: probed [ 0.784474] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe. [ 1.463750] libphy: ag71xx_mdio: probed [ 1.753836] mdio-bus.0:1f: Found an AR934X built-in switch [ 1.759679] libphy: ar7240sw_mdio: probed [ 1.821020] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] [ 1.830982] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii [ 1.839316] NET: Registered protocol family 10 [ 1.848657] Segment Routing with IPv6 [ 1.852536] NET: Registered protocol family 17 [ 1.857234] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.870629] 8021q: 802.1Q VLAN Support v1.8 [ 2.215556] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY] [ 2.226260] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii [ 2.237896] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 2.252844] Freeing unused kernel memory: 1252K [ 2.257561] This architecture does not have kernel memory protection. [ 2.533410] random: fast init done [ 2.918123] init: Console is alive [ 2.921872] init: - watchdog - [ 4.811550] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.997028] usbcore: registered new interface driver usbfs [ 5.002809] usbcore: registered new interface driver hub [ 5.008436] usbcore: registered new device driver usb [ 5.019695] hw_wdt enter probe [ 5.022866] feed dog gpio = gpio2 [ 5.026579] watchdog enable gpio = gpio12 [ 5.030887] feed watchdog interval 100000000 ns [ 5.042315] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.058765] SCSI subsystem initialized [ 5.068251] ehci-platform: EHCI generic platform driver [ 5.073975] ehci-platform 1b000000.usb: EHCI Host Controller [ 5.079860] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1 [ 5.088090] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000 [ 5.123413] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00 [ 5.130685] hub 1-0:1.0: USB hub found [ 5.134993] hub 1-0:1.0: 1 port detected [ 5.142647] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.151132] ohci-platform: OHCI generic platform driver [ 5.159148] uhci_hcd: USB Universal Host Controller Interface driver [ 5.170584] usbcore: registered new interface driver usb-storage [ 5.179260] usbcore: registered new interface driver uas [ 5.185635] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.203635] init: - preinit - [ 5.757099] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 6.067083] random: procd: uninitialized urandom read (4 bytes read) [ 6.462592] random: jshn: uninitialized urandom read (4 bytes read) [ 6.613151] random: jshn: uninitialized urandom read (4 bytes read) [ 7.510236] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 8.574549] eth1: link up (1000Mbps/Full duplex) [ 8.579360] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 10.763587] mount_root: loading kmods from internal overlay [ 10.847473] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.859379] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.114326] block: attempting to load /etc/config/fstab [ 11.121673] block: unable to load configuration (fstab: Entry not found) [ 11.128840] block: no usable configuration [ 11.133973] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 11.218859] urandom-seed: Seed file not found (/etc/urandom.seed) [ 11.324244] eth1: link down [ 11.339789] procd: - early - [ 11.342883] procd: - watchdog - [ 12.038875] urandom_read: 5 callbacks suppressed [ 12.038884] random: jshn: uninitialized urandom read (4 bytes read) [ 12.125871] procd: - watchdog - [ 12.129431] procd: - ubus - [ 12.398931] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.656676] procd: - init - [ 14.787409] kmodloader: loading kernel modules from /etc/modules.d/* [ 14.842390] tun: Universal TUN/TAP device driver, 1.6 [ 14.886607] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.948771] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 15.100180] urngd: v1.0.2 started. [ 15.227473] Netfilter messages via NETLINK v0.30. [ 15.255301] ip_set: protocol 6 [ 15.374827] Mirror/redirect action on [ 15.411167] u32 classifier [ 15.414061] input device check on [ 15.417841] Actions configured [ 15.486161] GACT probability on [ 15.518155] Simple TC action Loaded [ 15.619995] usbcore: registered new interface driver cdc_acm [ 15.625925] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 15.685435] usbcore: registered new interface driver cdc_wdm [ 15.699049] random: crng init done [ 15.705429] Loading modules backported from Linux version v4.19.161-0-gdaefdc9eb24b [ 15.713346] Backport generated by backports.git v4.19.161-1-0-g4bb568fe [ 15.798148] Ebtables v2.0 registered [ 15.810241] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.845543] usbcore: registered new interface driver ipheth [ 16.127458] ctnetlink v0.93: registering with nfnetlink. [ 16.560695] usbcore: registered new interface driver usbserial [ 16.566883] usbcore: registered new interface driver usbserial_generic [ 16.573764] usbserial: USB Serial support registered for generic [ 16.630456] wireguard: WireGuard 1.0.20200611 loaded. See www.wireguard.com for information. [ 16.639266] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 16.854548] xt_time: kernel timezone is -0000 [ 16.862912] usbcore: registered new interface driver cdc_ether [ 16.898278] usbcore: registered new interface driver cdc_ncm [ 17.095723] usbcore: registered new interface driver cp210x [ 17.101558] usbserial: USB Serial support registered for cp210x [ 17.144965] usbcore: registered new interface driver huawei_cdc_ncm [ 17.338297] PPP generic driver version 2.4.2 [ 17.365130] PPP MPPE Compression module registered [ 17.392444] NET: Registered protocol family 24 [ 17.423719] qmi_wwan 1-1:1.4: cdc-wdm0: USB WDM device [ 17.429078] qmi_wwan 1-1:1.4: QuectelEC25&EC21&EG91&EG95&EG06&EP06&EM06&BG96&AG35 work on RawIP mode [ 17.474336] qmi_wwan 1-1:1.4 wwan0: register 'qmi_wwan' at usb-1b000000.usb-1, WWAN/QMI device, 22:1f:55:1b:49:55 [ 17.485236] usbcore: registered new interface driver qmi_wwan [ 17.522089] usbcore: registered new interface driver rndis_host [ 17.608825] usbcore: registered new interface driver sierra [ 17.614750] usbserial: USB Serial support registered for Sierra USB modem [ 17.656263] usbcore: registered new interface driver sierra_net [ 17.820312] usbcore: registered new interface driver option [ 17.826255] usbserial: USB Serial support registered for GSM modem (1-port) [ 17.833788] option 1-1:1.0: GSM modem (1-port) converter detected [ 17.840361] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 [ 17.847621] option 1-1:1.1: GSM modem (1-port) converter detected [ 17.854259] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 17.861444] option 1-1:1.2: GSM modem (1-port) converter detected [ 17.868101] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 [ 17.875365] option 1-1:1.3: GSM modem (1-port) converter detected [ 17.881937] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 18.126394] usbcore: registered new interface driver rt2800usb [ 18.191618] ath: EEPROM regdomain: 0x0 [ 18.191629] ath: EEPROM indicates default country code should be used [ 18.191632] ath: doing EEPROM country->regdmn map search [ 18.191648] ath: country maps to regdmn code: 0x3a [ 18.191654] ath: Country alpha2 being used: US [ 18.191657] ath: Regpair used: 0x3a [ 18.204367] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 18.206218] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12 [ 18.279132] kmodloader: done loading kernel modules from /etc/modules.d/* [ 28.755821] usb 1-1: USB disconnect, device number 2 [ 28.756177] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 [ 28.756284] option 1-1:1.0: device disconnected [ 28.756729] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 [ 28.756839] option 1-1:1.1: device disconnected [ 28.757289] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2 [ 28.757397] option 1-1:1.2: device disconnected [ 28.757838] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3 [ 28.757950] option 1-1:1.3: device disconnected [ 28.758269] qmi_wwan 1-1:1.4 wwan0: unregister 'qmi_wwan' usb-1b000000.usb-1, WWAN/QMI device [ 43.153404] usb 1-1: new high-speed USB device number 3 using ehci-platform [ 43.365975] option 1-1:1.0: GSM modem (1-port) converter detected [ 43.366243] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 [ 43.366885] option 1-1:1.1: GSM modem (1-port) converter detected [ 43.367122] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 43.367788] option 1-1:1.2: GSM modem (1-port) converter detected [ 43.368046] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 [ 43.368766] option 1-1:1.3: GSM modem (1-port) converter detected [ 43.369039] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 43.393976] qmi_wwan 1-1:1.4: cdc-wdm0: USB WDM device [ 43.393995] qmi_wwan 1-1:1.4: QuectelEC25&EC21&EG91&EG95&EG06&EP06&EM06&BG96&AG35 work on RawIP mode [ 43.395268] qmi_wwan 1-1:1.4 wwan0: register 'qmi_wwan' at usb-1b000000.usb-1, WWAN/QMI device, 22:1f:55:1b:49:55 [ 104.617583] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready [ 105.127394] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 105.734216] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 105.734241] jffs2_build_filesystem(): unlocking the mtd device... [ 105.734323] done. [ 105.734327] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 106.242102] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 106.249289] eth1: link up (1000Mbps/Full duplex) [ 106.255648] br-lan: port 1(eth1) entered blocking state [ 106.255662] br-lan: port 1(eth1) entered disabled state [ 106.255996] device eth1 entered promiscuous mode [ 106.264757] br-lan: port 1(eth1) entered blocking state [ 106.264772] br-lan: port 1(eth1) entered forwarding state [ 106.307585] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 108.416499] eth0: link up (100Mbps/Full duplex) [ 108.416549] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 113.548246] br-lan: port 2(wlan0) entered blocking state [ 113.548260] br-lan: port 2(wlan0) entered disabled state [ 113.548609] device wlan0 entered promiscuous mode [ 116.309060] br-lan: port 2(wlan0) entered blocking state [ 116.309075] br-lan: port 2(wlan0) entered forwarding state [ 131.659186] done. [ 131.659231] jffs2: notice: (3719) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 133.579428] overlayfs: upper fs does not support tmpfile. [ 143.128895] device wlan0 left promiscuous mode [ 143.129016] br-lan: port 2(wlan0) entered disabled state [ 145.717726] br-lan: port 2(wlan0) entered blocking state [ 145.717740] br-lan: port 2(wlan0) entered disabled state [ 145.718081] device wlan0 entered promiscuous mode [ 147.324494] br-lan: port 2(wlan0) entered blocking state [ 147.324509] br-lan: port 2(wlan0) entered forwarding state


[ 0.000000] Linux version 4.14.221 (linux@ubuntu) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72)) #0 Mon Feb 15 15:22:37 2021 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] MIPS: machine is GL.iNet GL-X300B (NOR) [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 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, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat 8057fc80, node_mem_map 81007dc0 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x47c with crng_init=0 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 122800K/131072K available (4147K kernel code, 145K rwdata, 960K rodata, 1204K init, 205K bss, 8272K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 51 [ 0.000000] CPU clock: 650.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns [ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns [ 0.008236] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) [ 0.074858] pid_max: default: 32768 minimum: 301 [ 0.079928] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.086897] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098442] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108865] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.115363] pinctrl core: initialized pinctrl subsystem [ 0.121377] NET: Registered protocol family 16 [ 0.149654] clocksource: Switched to clocksource MIPS [ 0.156075] NET: Registered protocol family 2 [ 0.161437] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.168797] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.175567] TCP: Hash tables configured (established 1024 bind 1024) [ 0.182426] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.188594] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.195504] NET: Registered protocol family 1 [ 0.200164] PCI: CLS 0 bytes, default 32 [ 0.204210] Crashlog allocated RAM at address 0x3f00000 [ 0.211087] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.222892] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.229037] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.249545] io scheduler noop registered [ 0.253739] io scheduler deadline registered (default) [ 0.261287] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72 [ 0.269309] gpio-export gpio-export: 3 gpio(s) exported [ 0.275613] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.282931] Serial port to 485 enable,rs485txen_gpio = gpio1 [ 0.289120] console [ttyS0] disabled [ 0.292979] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A [ 0.302099] console [ttyS0] enabled [ 0.309663] bootconsole [early0] disabled [ 0.333791] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.338705] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.345296] Creating 4 MTD partitions on "spi0.0": [ 0.350264] 0x000000000000-0x000000040000 : "u-boot" [ 0.356193] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.362515] 0x000000050000-0x000000060000 : "art" [ 0.368083] 0x000000060000-0x000001000000 : "firmware" [ 0.376707] 2 uimage-fw partitions found on MTD device firmware [ 0.382882] Creating 2 MTD partitions on "firmware": [ 0.388014] 0x000000000000-0x0000001b0000 : "kernel" [ 0.393902] 0x0000001b0000-0x000000fa0000 : "rootfs" [ 0.399766] mtd: device 5 (rootfs) set to be root filesystem [ 0.405654] 1 squashfs-split partitions found on MTD device rootfs [ 0.412068] 0x0000003d0000-0x000000fa0000 : "rootfs_data" [ 0.420792] spi-nand: unknown raw ID 00000000 [ 0.425306] spi-nand: Failed to detect a SPI NAND (err = -19). [ 0.432058] libphy: Fixed MDIO Bus: probed [ 0.770758] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe. [ 1.450038] libphy: ag71xx_mdio: probed [ 1.740120] mdio-bus.0:1f: Found an AR934X built-in switch [ 1.745962] libphy: ar7240sw_mdio: probed [ 1.807266] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY] [ 1.817218] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii [ 1.825642] NET: Registered protocol family 10 [ 1.834859] Segment Routing with IPv6 [ 1.838744] NET: Registered protocol family 17 [ 1.843453] 8021q: 802.1Q VLAN Support v1.8 [ 2.191847] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY] [ 2.202543] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii [ 2.214700] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 2.229381] Freeing unused kernel memory: 1204K [ 2.234096] This architecture does not have kernel memory protection. [ 2.529667] random: fast init done [ 2.967222] init: Console is alive [ 2.971075] init: - watchdog - [ 3.982783] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.058301] usbcore: registered new interface driver usbfs [ 4.064103] usbcore: registered new interface driver hub [ 4.069713] usbcore: registered new device driver usb [ 4.084458] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.092626] ehci-platform: EHCI generic platform driver [ 4.098267] ehci-platform 1b000000.usb: EHCI Host Controller [ 4.104214] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1 [ 4.112435] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000 [ 4.139690] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00 [ 4.146892] hub 1-0:1.0: USB hub found [ 4.151241] hub 1-0:1.0: 1 port detected [ 4.156615] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.174609] init: - preinit - [ 4.740928] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 5.026674] random: jshn: uninitialized urandom read (4 bytes read) [ 5.197323] random: procd: uninitialized urandom read (4 bytes read) [ 5.245617] random: jshn: uninitialized urandom read (4 bytes read) [ 5.583228] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 6.660920] eth1: link up (1000Mbps/Full duplex) [ 6.665739] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 8.784532] mount_root: loading kmods from internal overlay [ 8.817074] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 8.824885] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 9.139410] block: attempting to load /etc/config/fstab [ 9.145180] block: unable to load configuration (fstab: Entry not found) [ 9.152260] block: no usable configuration [ 9.157252] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 9.190501] urandom-seed: Seed file not found (/etc/urandom.seed) [ 9.221540] eth1: link down [ 9.236815] procd: - early - [ 9.239988] procd: - watchdog - [ 9.913383] procd: - watchdog - [ 9.916953] procd: - ubus - [ 10.082437] urandom_read: 5 callbacks suppressed [ 10.082445] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.152611] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.160623] procd: - init - [ 10.775253] kmodloader: loading kernel modules from /etc/modules.d/* [ 10.915806] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 10.938040] Loading modules backported from Linux version v4.19.161-0-gdaefdc9eb24b [ 10.946018] Backport generated by backports.git v4.19.161-1-0-g4bb568fe [ 10.972104] ip_tables: (C) 2000-2006 Netfilter Core Team [ 10.997780] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 11.123132] xt_time: kernel timezone is -0000 [ 11.244879] PPP generic driver version 2.4.2 [ 11.260866] NET: Registered protocol family 24 [ 11.343090] ath: EEPROM regdomain: 0x0 [ 11.343099] ath: EEPROM indicates default country code should be used [ 11.343102] ath: doing EEPROM country->regdmn map search [ 11.343118] ath: country maps to regdmn code: 0x3a [ 11.343124] ath: Country alpha2 being used: US [ 11.343127] ath: Regpair used: 0x3a [ 11.355685] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 11.357481] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=12 [ 11.386329] urngd: v1.0.2 started. [ 11.451505] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.862445] random: crng init done [ 31.966808] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 31.989780] jffs2_build_filesystem(): unlocking the mtd device... [ 31.989848] done. [ 31.998219] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 35.253263] eth1: link up (1000Mbps/Full duplex) [ 35.266457] br-lan: port 1(eth1) entered blocking state [ 35.271916] br-lan: port 1(eth1) entered disabled state [ 35.277613] device eth1 entered promiscuous mode [ 35.317135] br-lan: port 1(eth1) entered blocking state [ 35.322598] br-lan: port 1(eth1) entered forwarding state [ 35.328358] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 35.444708] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 36.259890] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 83.806480] done. [ 83.808515] jffs2: notice: (1074) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 83.973023] overlayfs: upper fs does not support tmpfile.


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

FIXME Add tags below, then remove this fixme.

How to add tags

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: 2022/05/03 15:32
  • by tmomas