Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created April 30, 2021 16:04
Show Gist options
  • Save mcprat/c5c08c175234d5386d21b1f1f30de3b0 to your computer and use it in GitHub Desktop.
Save mcprat/c5c08c175234d5386d21b1f1f30de3b0 to your computer and use it in GitHub Desktop.
Engenius EPG600 Openwrt firstboot (master-backport)
## Booting image at bc060000 ...
Image Name: MIPS OpenWrt Linux-5.4.111
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2000944 Bytes = 1.9 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
OK
Starting kernel ...
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <[email protected]>
Decompressing kernel... done!
Starting kernel at 80000000...
[ 0.000000] Linux version 5.4.111 (michael@Mark) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16053+6-f066ee2ad5)) #0 Fri Apr 30 05:01:57 2021
[ 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 MT7620A ver:2 eco:3
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is EnGenius EPG600
[ 0.000000] User-defined physical RAM map overwrite
[ 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-0x0000000002ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000002ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000002ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 12180
[ 0.000000] Kernel command line: console=ttyS0,115200 mem=48M rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=0001f644
[ 0.000000] Readback ErrCtl register=0001f644
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 41196K/49152K available (4730K kernel code, 204K rwdata, 1048K rodata, 1176K init, 205K bss, 7956K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x308/0x4fc with crng_init=0
[ 0.000000] CPU Clock: 600MHz
[ 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: 6370868154 ns
[ 0.000010] sched_clock: 32 bits at 300MHz, resolution 3ns, wraps every 7158278654ns
[ 0.007591] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.045455] pid_max: default: 32768 minimum: 301
[ 0.050143] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057196] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071697] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.081177] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087862] pinctrl core: initialized pinctrl subsystem
[ 0.093513] NET: Registered protocol family 16
[ 0.360743] PCI host bridge /pcie@10140000 ranges:
[ 0.365360] MEM 0x0000000020000000..0x000000002fffffff
[ 0.370419] IO 0x0000000010160000..0x000000001016ffff
[ 0.397690] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.403170] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.409520] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.414947] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.421276] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.426707] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.433044] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.438388] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.445137] PCI host bridge to bus 0000:00
[ 0.449118] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.455740] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.461488] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.468080] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.475817] pci 0000:00:00.0: [1814:0802] type 01 class 0x060400
[ 0.481643] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.487698] pci 0000:00:00.0: reg 0x14: [mem 0x20100000-0x2010ffff]
[ 0.493867] pci 0000:00:00.0: supports D1
[ 0.497691] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.505870] pci 0000:01:00.0: [1814:3091] type 00 class 0x028000
[ 0.511732] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 0.517902] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 0.525492] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.531897] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.538318] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.544712] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.551474] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 0.558067] pci 0000:00:00.0: BAR 1: assigned [mem 0x20100000-0x2010ffff]
[ 0.564671] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x2000ffff]
[ 0.571258] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.576073] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 0.582790] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.598147] clocksource: Switched to clocksource systick
[ 0.604678] NET: Registered protocol family 2
[ 0.609756] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.617910] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.625320] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.632160] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.638475] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.644828] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.651895] NET: Registered protocol family 1
[ 0.656187] PCI: CLS 80 bytes, default 32
[ 0.662955] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.670963] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.685559] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.691227] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.718112] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.725503] printk: console [ttyS0] disabled
[ 0.729724] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.739341] printk: console [ttyS0] enabled
[ 0.739341] printk: console [ttyS0] enabled
[ 0.747808] printk: bootconsole [early0] disabled
[ 0.747808] printk: bootconsole [early0] disabled
[ 0.763833] spi spi0.0: force spi mode3
[ 0.768745] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.774152] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.780646] Creating 7 MTD partitions on "spi0.0":
[ 0.785557] 0x000000000000-0x000000030000 : "u-boot"
[ 0.791669] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.798236] 0x000000040000-0x000000050000 : "factory"
[ 0.804385] 0x000000050000-0x000000060000 : "rf"
[ 0.810219] 0x000000060000-0x000000fa0000 : "firmware"
[ 0.820175] 2 uimage-fw partitions found on MTD device firmware
[ 0.826297] Creating 2 MTD partitions on "firmware":
[ 0.831389] 0x000000000000-0x0000001e8870 : "kernel"
[ 0.837488] 0x0000001e8870-0x000000f40000 : "rootfs"
[ 0.843579] mtd: device 6 (rootfs) set to be root filesystem
[ 0.851119] 1 squashfs-split partitions found on MTD device rootfs
[ 0.857524] 0x000000510000-0x000000f40000 : "rootfs_data"
[ 0.864092] 0x000000fa0000-0x000000fb0000 : "backup"
[ 0.870325] 0x000000fb0000-0x000001000000 : "storage"
[ 0.877374] libphy: Fixed MDIO Bus: probed
[ 0.891295] gsw: mdio mode enabled
[ 0.894977] gsw: ephy base address: 10
[ 0.902577] gsw: setting port4 to gmac mode
[ 0.907236] libphy: mdio: probed
[ 0.912893] switch0: Atheros AR8337 rev. 2 switch registered on mdio-bus
[ 1.006893] random: fast init done
[ 1.123845] mtk_soc_eth 10100000.ethernet: using fixed link parameters
[ 1.130804] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.137607] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.146637] rt2880_wdt 10000120.watchdog: Initialized
[ 1.153362] NET: Registered protocol family 10
[ 1.162047] Segment Routing with IPv6
[ 1.166018] NET: Registered protocol family 17
[ 1.170646] 8021q: 802.1Q VLAN Support v1.8
[ 1.182156] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 1.195783] Freeing unused kernel memory: 1176K
[ 1.200436] This architecture does not have kernel memory protection.
[ 1.207015] Run /sbin/init as init process
[ 2.018007] init: Console is alive
[ 2.021889] init: - watchdog -
[ 3.376276] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.539233] usbcore: registered new interface driver usbfs
[ 3.545005] usbcore: registered new interface driver hub
[ 3.550580] usbcore: registered new device driver usb
[ 3.558925] gpio-keys keys: does not support key code:360
[ 3.568626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.584553] SCSI subsystem initialized
[ 3.594174] ehci-fsl: Freescale EHCI Host controller driver
[ 3.602121] ehci-platform: EHCI generic platform driver
[ 3.617904] phy phy-usbphy.0: remote usb device wakeup disabled
[ 3.623963] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 3.628516] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 3.634426] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 3.642653] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 3.653149] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 3.660542] hub 1-0:1.0: USB hub found
[ 3.664939] hub 1-0:1.0: 1 port detected
[ 3.675002] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.682682] ohci-platform: OHCI generic platform driver
[ 3.688412] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.695409] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.703626] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.735163] hub 2-0:1.0: USB hub found
[ 3.739492] hub 2-0:1.0: 1 port detected
[ 3.753176] usbcore: registered new interface driver usb-storage
[ 3.760215] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.769266] init: - preinit -
[ 5.317645] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.486388] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.002235] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.335000] urandom_read: 3 callbacks suppressed
[ 6.335010] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.157112] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (1000Mbps/Full duplex)
[ 7.165719] 8021q: adding VLAN 0 to HW filter on device eth0
[ 7.171949] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Press the [f] ke[ 7.230399] random: procd: uninitialized urandom read (4 bytes read)
y and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 7.565818] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.746070] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.757744] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.849310] mtk_soc_eth 10100000.ethernet eth0: port 5 link down
[ 8.877182] procd: - early -
[ 8.880428] procd: - watchdog -
[ 9.186311] procd: - watchdog -
[ 9.300656] procd: - ubus -
[ 9.385799] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.395003] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.409647] procd: - init -
Please press Enter to activate this console.
[ 10.540696] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.587919] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[ 10.595747] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[ 10.669383] xt_time: kernel timezone is -0000
[ 10.940696] PPP generic driver version 2.4.2
[ 10.953553] NET: Registered protocol family 24
[ 11.044848] rt2800pci 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[ 11.056515] rt2800pci 0000:01:00.0: loaded eeprom from mtd device "factory"
[ 11.063654] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 11.071602] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000f detected
[ 11.146028] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "rf"
[ 11.153047] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.160992] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.224777] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 11.234813] urngd: jent-rng init failed, err: 2
[ 21.546238] random: crng init done
[ 45.926675] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 45.951497] jffs2_build_filesystem(): unlocking the mtd device...
[ 45.951505] done.
[ 45.959802] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 47.001026] mtk_soc_eth 10100000.ethernet eth0: port 5 link up (1000Mbps/Full duplex)
[ 47.017079] 8021q: adding VLAN 0 to HW filter on device eth0
[ 47.104592] Atheros AR8216/AR8236/AR8316 mdio-bus:00: Port 4 is up
[ 47.111260] br-lan: port 1(eth0.1) entered blocking state
[ 47.116800] br-lan: port 1(eth0.1) entered disabled state
[ 47.122735] device eth0.1 entered promiscuous mode
[ 47.127696] device eth0 entered promiscuous mode
[ 47.236481] br-lan: port 1(eth0.1) entered blocking state
[ 47.242038] br-lan: port 1(eth0.1) entered forwarding state
[ 48.016674] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 117.074208] done.
[ 117.076248] jffs2: notice: (2056) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 117.355101] overlayfs: upper fs does not support tmpfile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment