Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created May 19, 2020 07:24
Show Gist options
  • Save mcprat/18525cbf56475dbdde302049f269d7a0 to your computer and use it in GitHub Desktop.
Save mcprat/18525cbf56475dbdde302049f269d7a0 to your computer and use it in GitHub Desktop.
ENS202EXT factory.bin firstboot with OKLI and fakeroot (master)
Hit any key to stop autoboot: 0
Validating MD5Sum of 'vmlinux'... Passed!
Validating MD5Sum of 'rootfs'... Passed!
## Booting image at 9f0a0000 ...
Image Name: MIPS OpenWrt Linux-4.19.115
Created: 2020-05-11 21:16:18 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3265 Bytes = 3.2 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f0a0040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <[email protected]>
Looking for OpenWrt image... found at 0xbf230000
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 4.19.115 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r9415+3799-73c60ef239)) #0 Mon May 11 21:16:18 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is Engenius ENS202EXT
[ 0.000000] SoC: Atheros AR9341 rev 1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 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-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] random: get_random_bytes called from start_kernel+0x98/0x4a8 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 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=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57452K/65536K available (4325K kernel code, 178K rwdata, 1032K rodata, 1240K init, 206K bss, 8084K 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: 334.375 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11431838185 ns
[ 0.000017] sched_clock: 32 bits at 167MHz, resolution 5ns, wraps every 12844762109ns
[ 0.013480] Calibrating delay loop... 166.91 BogoMIPS (lpj=333824)
[ 0.055998] pid_max: default: 32768 minimum: 301
[ 0.064327] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.075635] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.097010] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.113715] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.124402] pinctrl core: initialized pinctrl subsystem
[ 0.135268] NET: Registered protocol family 16
[ 0.206030] clocksource: Switched to clocksource MIPS
[ 0.216967] NET: Registered protocol family 2
[ 0.226242] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.239470] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.251410] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.262285] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.273391] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.283466] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.294953] NET: Registered protocol family 1
[ 0.308844] Crashlog allocated RAM at address 0x3f00000
[ 0.320857] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.344946] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.354990] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.399338] io scheduler noop registered
[ 0.406149] io scheduler deadline registered (default)
[ 0.419009] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.430861] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.455622] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.464420] 8 fixed-partitions partitions found on MTD device spi0.0
[ 0.475275] Creating 8 MTD partitions on "spi0.0":
[ 0.483469] 0x000000000000-0x000000040000 : "u-boot"
[ 0.493672] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.504346] 0x000000050000-0x0000000a0000 : "custom"
[ 0.514626] 0x0000000a0000-0x000000220000 : "loader"
[ 0.524687] 0x000000220000-0x000000230000 : "fakeroot"
[ 0.535253] 0x000000230000-0x000000df0000 : "firmware"
[ 0.556053] 2 okli-fw partitions found on MTD device firmware
[ 0.565960] Creating 2 MTD partitions on "firmware":
[ 0.574460] 0x000000000000-0x0000001c0000 : "kernel"
[ 0.584446] 0x0000001c0000-0x000000bc0000 : "rootfs"
[ 0.594580] mtd: device 7 (rootfs) set to be root filesystem
[ 0.607405] 1 squashfs-split partitions found on MTD device rootfs
[ 0.618082] 0x000000440000-0x000000bc0000 : "rootfs_data"
[ 0.628958] 0x000000df0000-0x000000ff0000 : "failsafe"
[ 0.639423] 0x000000ff0000-0x000001000000 : "art"
[ 0.652917] libphy: Fixed MDIO Bus: probed
[ 1.015210] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.290024] random: fast init done
[ 1.344071] ------------[ cut here ]------------
[ 1.352109] WARNING: CPU: 0 PID: 1 at drivers/reset/core.c:419 __reset_control_get_internal+0x64/0x110
[ 1.367973] Modules linked in:
[ 1.373212] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.115 #0
[ 1.383303] Stack : 805c0000 80576324 00000000 00000000 80575b3c 8382597c 838282f4 805a3b67
[ 1.397571] 80542f70 00000001 80703670 000001a3 00000000 00000001 83825930 96eaea08
[ 1.411830] 00000000 00000000 80730000 00000056 00000000 00000000 00000007 00000000
[ 1.426089] 00000056 6d5b09ba 00000000 0005b1dc 00000000 00000009 00000000 802afd24
[ 1.440350] 805632f0 000001a3 00000000 805c0000 00000002 80061720 00000000 80700000
[ 1.454609] ...
[ 1.458791] Call Trace:
[ 1.463008] [<8006b0c4>] show_stack+0x58/0x100
[ 1.470639] [<80086260>] __warn+0xe4/0x13c
[ 1.477641] [<80086300>] warn_slowpath_null+0x48/0x68
[ 1.486272] [<802afd24>] __reset_control_get_internal+0x64/0x110
[ 1.496523] [<802aff08>] __of_reset_control_get+0x138/0x1a0
[ 1.506040] [<802b0218>] __devm_reset_control_get+0x6c/0xc8
[ 1.515577] [<80320490>] ag71xx_mdio_probe+0x9c/0x1d4
[ 1.524257] [<802d7d5c>] platform_drv_probe+0x40/0x88
[ 1.532879] [<802d60e0>] really_probe+0x180/0x300
[ 1.540914] [<802d4190>] bus_for_each_drv+0x50/0xb0
[ 1.549247] [<802d5ee0>] __device_attach+0x84/0xfc
[ 1.557434] [<802d51c4>] bus_probe_device+0x38/0xbc
[ 1.565764] [<802d1b04>] device_add+0x420/0x634
[ 1.573551] [<803340b4>] of_platform_device_create_pdata+0xb4/0x100
[ 1.584248] [<8033428c>] of_platform_bus_create+0x180/0x248
[ 1.593763] [<803344d0>] of_platform_populate+0x74/0xf0
[ 1.602694] [<80322c94>] ag71xx_probe+0x824/0x960
[ 1.610742] [<802d7d5c>] platform_drv_probe+0x40/0x88
[ 1.619365] [<802d60e0>] really_probe+0x180/0x300
[ 1.627401] [<802d6624>] __driver_attach+0xb4/0xfc
[ 1.635585] [<802d40d4>] bus_for_each_dev+0x54/0xac
[ 1.643919] [<802d5464>] bus_add_driver+0xf4/0x214
[ 1.652105] [<802d6e40>] driver_register+0xcc/0x11c
[ 1.660469] [<805df75c>] ag71xx_module_init+0x2c/0x50
[ 1.669093] [<8006096c>] do_one_initcall+0x7c/0x1a0
[ 1.677446] [<805cad54>] kernel_init_freeable+0x150/0x214
[ 1.686695] [<80493758>] kernel_init+0x10/0xf0
[ 1.694299] [<800659f8>] ret_from_kernel_thread+0x14/0x1c
[ 1.703528] ---[ end trace 90d5a2830a2a68e7 ]---
[ 1.711964] libphy: ag71xx_mdio: probed
[ 1.720505] libphy: ar8xxx-mdio: probed
[ 1.739930] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[ 1.791798] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.808454] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.819337] i2c /dev entries driver
[ 1.830232] NET: Registered protocol family 10
[ 1.849537] Segment Routing with IPv6
[ 1.856126] NET: Registered protocol family 17
[ 1.863915] 8021q: 802.1Q VLAN Support v1.8
[ 2.188449] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:00 [uid=004dd042, driver=Generic PHY]
[ 2.205933] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 2.218639] Warning: unable to open an initial console.
[ 2.237170] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[ 2.262259] Freeing unused kernel memory: 1240K
[ 2.270018] This architecture does not have kernel memory protection.
[ 2.281001] Run /sbin/init as init process
[ 3.459326] init: Console is alive
[ 3.465739] init: - watchdog -
[ 5.030279] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 5.159612] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.182909] init: - preinit -
[ 7.209123] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.457993] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.771788] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.371143] urandom_read: 3 callbacks suppressed
[ 8.371158] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.332496] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.342728] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 9.457298] random: procd: uninitialized urandom read (4 bytes read)
[ 10.375409] eth0: link up (1000Mbps/Full duplex)
[ 10.391792] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 10.415600] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 11.998025] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 12.012988] jffs2_build_filesystem(): unlocking the mtd device...
[ 12.012996] done.
[ 12.026823] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 53.842146] random: crng init done
[ 65.075686] done.
[ 65.079065] jffs2: notice: (685) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 65.108041] mount_root: overlay filesystem has not been fully initialized yet
[ 65.131838] mount_root: switching to jffs2 overlay
[ 65.184101] overlayfs: upper fs does not support tmpfile.
[ 65.969865] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 66.183857] eth0: link down
[ 66.228714] procd: - early -
[ 66.233978] procd: - watchdog -
[ 67.113195] procd: - watchdog -
[ 67.119052] procd: failed to set stdio: No such device
[ 67.128093] procd: - ubus -
[ 67.291894] procd: - init -
[ 68.881673] kmodloader: loading kernel modules from /etc/modules.d/*
[ 69.193689] Loading modules backported from Linux version v5.4.27-0-g585e0cc08069
[ 69.206563] Backport generated by backports.git v5.4.27-1-0-gf6e8852f
[ 69.343915] xt_time: kernel timezone is -0000
[ 69.664137] PPP generic driver version 2.4.2
[ 69.688264] NET: Registered protocol family 24
[ 69.698461] urngd: v1.0.2 started.
[ 69.949646] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=2
[ 70.130805] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 115.292610] eth0: link up (1000Mbps/Full duplex)
[ 115.306748] br-lan: port 1(eth0) entered blocking state
[ 115.315760] br-lan: port 1(eth0) entered disabled state
[ 115.325302] device eth0 entered promiscuous mode
[ 115.370367] br-lan: port 1(eth0) entered blocking state
[ 115.379338] br-lan: port 1(eth0) entered forwarding state
[ 115.388961] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 116.294292] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment