Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created May 8, 2021 05:35
Show Gist options
  • Save mcprat/f14e32f21f85e5a331bfc477f082031a to your computer and use it in GitHub Desktop.
Save mcprat/f14e32f21f85e5a331bfc477f082031a to your computer and use it in GitHub Desktop.
Engenius ESR300 Openwrt firstboot
U-boot Ver:1.0.5.8 2014/07/24 16:53:32
Board: Ralink APSoC DRAM: 64 MB
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 28
spi device id: c2 20 18 c2 20 (2018c220)
find flash: MX25L12805D
Flash size 16MB, sector count = 256
============================================
ASIC 7620_MP (Port5<->None)
Product Name: ESR300
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jul 24 2014 Time:16:53:32
============================================
EMBEDAD SWITH init
Please choose the operation:
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
9: Load Boot Loader code then write to Flash via TFTP. 0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: MIPS OpenWrt Linux-5.4.111
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2000210 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 Sat May 8 02:35:16 2021
[ 0.000000] Board has DDR1
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is EnGenius ESR300
[ 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-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] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 mem=64M 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=0007cfb4
[ 0.000000] Readback ErrCtl register=0007cfb4
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57452K/65536K available (4730K kernel code, 204K rwdata, 1048K rodata, 1176K init, 205K bss, 8084K 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.007585] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.045448] pid_max: default: 32768 minimum: 301
[ 0.050132] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057186] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.070346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.079818] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.086504] pinctrl core: initialized pinctrl subsystem
[ 0.092125] NET: Registered protocol family 16
[ 0.128049] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.133508] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.139844] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.145270] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.151575] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.156993] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.163337] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.168679] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.175311] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.189844] clocksource: Switched to clocksource systick
[ 0.196368] NET: Registered protocol family 2
[ 0.201438] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.209588] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.216995] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.223837] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.230145] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.236496] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.243540] NET: Registered protocol family 1
[ 0.247776] PCI: CLS 0 bytes, default 32
[ 0.254358] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.262277] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.276779] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.282441] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.309128] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.316477] printk: console [ttyS0] disabled
[ 0.320689] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.330304] printk: console [ttyS0] enabled
[ 0.330304] printk: console [ttyS0] enabled
[ 0.338773] printk: bootconsole [early0] disabled
[ 0.338773] printk: bootconsole [early0] disabled
[ 0.354654] spi spi0.0: force spi mode3
[ 0.359509] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.364873] 6 fixed-partitions partitions found on MTD device spi0.0
[ 0.371372] Creating 6 MTD partitions on "spi0.0":
[ 0.376283] 0x000000000000-0x000000030000 : "u-boot"
[ 0.382444] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.388889] 0x000000040000-0x000000050000 : "factory"
[ 0.395092] 0x000000050000-0x000000fa0000 : "firmware"
[ 0.404342] 2 uimage-fw partitions found on MTD device firmware
[ 0.410460] Creating 2 MTD partitions on "firmware":
[ 0.415550] 0x000000000000-0x0000001e8592 : "kernel"
[ 0.421644] 0x0000001e8592-0x000000f50000 : "rootfs"
[ 0.427682] mtd: device 5 (rootfs) set to be root filesystem
[ 0.435189] 1 squashfs-split partitions found on MTD device rootfs
[ 0.441576] 0x000000540000-0x000000f50000 : "rootfs_data"
[ 0.448095] 0x000000fa0000-0x000000fb0000 : "backup"
[ 0.454281] 0x000000fb0000-0x000001000000 : "storage"
[ 0.461356] libphy: Fixed MDIO Bus: probed
[ 0.475906] gsw: setting port4 to ephy mode
[ 0.480274] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 2 link up (100Mbps/Full duplex)
[ 0.490101] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 0.496876] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.505932] rt2880_wdt 10000120.watchdog: Initialized
[ 0.512524] NET: Registered protocol family 10
[ 0.520991] Segment Routing with IPv6
[ 0.524938] NET: Registered protocol family 17
[ 0.529561] 8021q: 802.1Q VLAN Support v1.8
[ 0.541258] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.554952] Freeing unused kernel memory: 1176K
[ 0.559607] This architecture does not have kernel memory protection.
[ 0.566186] Run /sbin/init as init process
[ 1.145784] random: fast init done
[ 1.376739] init: Console is alive
[ 1.380596] init: - watchdog -
[ 2.720358] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.883074] usbcore: registered new interface driver usbfs
[ 2.888833] usbcore: registered new interface driver hub
[ 2.894388] usbcore: registered new device driver usb
[ 2.906523] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.921969] SCSI subsystem initialized
[ 2.931406] ehci-fsl: Freescale EHCI Host controller driver
[ 2.939269] ehci-platform: EHCI generic platform driver
[ 2.955017] phy phy-usbphy.0: remote usb device wakeup disabled
[ 2.961075] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 2.965622] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 2.971539] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 2.979761] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 2.991464] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 2.998865] hub 1-0:1.0: USB hub found
[ 3.003172] hub 1-0:1.0: 1 port detected
[ 3.013019] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.020737] ohci-platform: OHCI generic platform driver
[ 3.026444] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.033461] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.041665] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.073276] hub 2-0:1.0: USB hub found
[ 3.077595] hub 2-0:1.0: 1 port detected
[ 3.090214] usbcore: registered new interface driver usb-storage
[ 3.097181] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.106060] init: - preinit -
[ 4.641897] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.810182] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.222269] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.041597] 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.115997] urandom_read: 4 callbacks suppressed
[ 6.116006] random: procd: uninitialized urandom read (4 bytes read)
[ 7.608229] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 7.619596] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 7.730276] procd: - early -
[ 7.733498] procd: - watchdog -
[ 8.028261] procd: - watchdog -
[ 8.140163] procd: - ubus -
[ 8.219573] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.228640] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.239275] procd: - init -
Please press Enter to activate this console.
[ 9.339819] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.385821] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[ 9.393643] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[ 9.463441] xt_time: kernel timezone is -0000
[ 9.730730] PPP generic driver version 2.4.2
[ 9.743582] NET: Registered protocol family 24
[ 9.827528] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 9.834976] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 9.842917] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 9.906815] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.052831] urngd: jent-rng init failed, err: 2
[ 19.671230] random: crng init done
[ 28.597252] mtk_soc_eth 10100000.ethernet eth0: port 2 link down
[ 30.765957] mtk_soc_eth 10100000.ethernet eth0: port 2 link up (100Mbps/Full duplex)
[ 49.368700] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 49.391238] jffs2_build_filesystem(): unlocking the mtd device...
[ 49.391245] done.
[ 49.399537] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 50.420718] 8021q: adding VLAN 0 to HW filter on device eth0
[ 50.489108] br-lan: port 1(eth0.1) entered blocking state
[ 50.494720] br-lan: port 1(eth0.1) entered disabled state
[ 50.500641] device eth0.1 entered promiscuous mode
[ 50.505583] device eth0 entered promiscuous mode
[ 50.599036] br-lan: port 1(eth0.1) entered blocking state
[ 50.604621] br-lan: port 1(eth0.1) entered forwarding state
[ 51.423806] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 119.844702] done.
[ 119.846712] jffs2: notice: (1963) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 120.111699] 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