Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created August 28, 2020 02:22
Show Gist options
  • Save mcprat/c958ff804f92161eda84948ac0c78c17 to your computer and use it in GitHub Desktop.
Save mcprat/c958ff804f92161eda84948ac0c78c17 to your computer and use it in GitHub Desktop.
EnStationAC Openwrt master ath79 firstboot
Please press Enter to activate this console.
************************************************************************
* ENSTATIONAC *
************************************************************************
password:
Login incorrect
password:
Login incorrect
password:
Login timed out
Please press Enter to activate this console. SENAOWRT image checked
keep setting....
doupgrade....
Writing kernel(openwrt-ar71xx-generic-enstationac-uImage-lzma.bin)...
Writing rootfs(openwrt-ar71xx-generic-enstationac-root.squashfs)...
Upgrade completed, rebooting system...
[ 5593.420000] Restarting system.
U-Boot 1.1.4 (Jun 18 2015 - 15:18:50)
ENSTATIONAC (ar955x) U-boot
- Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(177): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x1e)
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 225k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 36 Bytes for Global Data at: 87f93fb0
Reserving 128k for boot params() at: 87f73fb0
Stack Pointer at: 87f73f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0x1
Fetching MAC Address from 0x87fea7bc
Fetching MAC Address from 0x87fea7bc
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: 88:dc:96:74:9f:d3
eth0 up
Scorpion ---->8033 PHY*
AR8033 PHY init
athrs_ar8033_reg_init: Done ffff
Max resets limit reached exiting...
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: 00:02:6f:ff:ff:ff
eth1 up
eth0, eth1
Setting 0x18116290 to 0x4891a14f
eth_set_enetaddr(num=0, addr=88:dc:96:74:9f:d3)
Setting new HW address on eth0
New Address is 88:DC:96:74:9F:D3
eth_set_enetaddr(num=0, addr=88:dc:96:74:9f:d3)
Setting new HW address on eth0
New Address is 88:DC:96:74:9F:D3
eth_set_enetaddr(num=1, addr=00:02:6f:ff:ff:ff)
Setting new HW address on eth1
New Address is 00:02:6F:FF:FF:FF
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-5.4.60
Created: 2020-08-27 23:17:57 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, 134217728
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 5.4.60 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13719+472-66e04abbb6)) #0 Thu Aug 27 23:17:57 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is EnGenius EnStationAC v1
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 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] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122256K/131072K available (4766K kernel code, 186K rwdata, 1104K rodata, 1232K init, 196K bss, 8816K 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] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[ 0.000000] CPU clock: 720.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008288] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042879] pid_max: default: 32768 minimum: 301
[ 0.047917] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055704] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.067853] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078257] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085603] pinctrl core: initialized pinctrl subsystem
[ 0.092004] NET: Registered protocol family 16
[ 0.121472] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.134512] clocksource: Switched to clocksource MIPS
[ 0.140912] NET: Registered protocol family 2
[ 0.146247] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.155208] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.163378] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.170887] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.177759] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.184755] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.192431] NET: Registered protocol family 1
[ 0.197131] PCI: CLS 0 bytes, default 32
[ 0.204514] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.217139] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.223380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.247422] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.254474] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.261871] printk: console [ttyS0] disabled
[ 0.266492] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.275680] printk: console [ttyS0] enabled
[ 0.275680] printk: console [ttyS0] enabled
[ 0.284580] printk: bootconsole [early0] disabled
[ 0.284580] printk: bootconsole [early0] disabled
[ 0.300324] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.305635] 9 fixed-partitions partitions found on MTD device spi0.0
[ 0.312091] Creating 9 MTD partitions on "spi0.0":
[ 0.316961] 0x000000000000-0x000000040000 : "u-boot"
[ 0.322880] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.329051] 0x000000050000-0x0000000a0000 : "custom"
[ 0.334952] 0x0000000a0000-0x0000000b0000 : "loader"
[ 0.340799] 0x0000000b0000-0x000000220000 : "firmware2"
[ 0.346971] 0x000000220000-0x000000230000 : "fakeroot"
[ 0.352986] 0x000000230000-0x000000d70000 : "firmware1"
[ 0.359144] 0x000000d70000-0x000000ff0000 : "failsafe"
[ 0.365171] 0x000000ff0000-0x000001000000 : "art"
[ 0.371028] Concatenating MTD devices:
[ 0.374880] (0): "firmware1"
[ 0.377794] (1): "firmware2"
[ 0.380716] into device "virtual_flash"
[ 0.384644] 1 fixed-partitions partitions found on MTD device virtual_flash
[ 0.391711] Creating 1 MTD partitions on "virtual_flash":
[ 0.397199] 0x000000000000-0x000000cb0000 : "firmware"
[ 0.410964] 2 okli-fw partitions found on MTD device firmware
[ 0.416834] Creating 2 MTD partitions on "firmware":
[ 0.421891] 0x000000000000-0x0000001f0000 : "kernel"
[ 0.427696] 0x0000001f0000-0x000000cb0000 : "rootfs"
[ 0.433529] mtd: device 11 (rootfs) set to be root filesystem
[ 0.440864] 1 squashfs-split partitions found on MTD device rootfs
[ 0.447191] 0x000000550000-0x000000cb0000 : "rootfs_data"
[ 0.455053] libphy: Fixed MDIO Bus: probed
[ 0.788310] libphy: ag71xx_mdio: probed
[ 0.794447] ag71xx 19000000.eth: connected to PHY at mdio.0:01 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 0.804879] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id
[ 1.128070] ag71xx 1a000000.eth: connected to PHY at mdio.0:02 [uid=004dd074, driver=Atheros 8031 ethernet]
[ 1.138565] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[ 1.145017] i2c /dev entries driver
[ 1.150610] NET: Registered protocol family 10
[ 1.158539] random: fast init done
[ 1.163030] Segment Routing with IPv6
[ 1.166898] NET: Registered protocol family 17
[ 1.171486] 8021q: 802.1Q VLAN Support v1.8
[ 1.176427] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 1.182670] MEM 0x0000000010000000..0x0000000011ffffff
[ 1.187985] IO 0x0000000000000000..0x0000000000000000
[ 1.193435] PCI host bridge to bus 0000:00
[ 1.197623] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 1.204607] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.210273] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.217163] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.225241] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 1.231390] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 1.238331] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.245208] pci 0000:00:00.0: supports D1
[ 1.249283] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.256125] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.262881] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 1.270330] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 1.281486] VFS: Mounted root (squashfs filesystem) readonly on device 31:11.
[ 1.293252] Freeing unused kernel memory: 1232K
[ 1.297866] This architecture does not have kernel memory protection.
[ 1.304400] Run /sbin/init as init process
[ 1.793584] init: Console is alive
[ 1.797313] init: - watchdog -
[ 2.672946] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.700552] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.718608] init: - preinit -
[ 3.971833] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.249184] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.319130] random: jshn: uninitialized urandom read (4 bytes read)
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
[ 8.851717] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 8.859076] jffs2_build_filesystem(): unlocking the mtd device...
[ 8.859080] done.
[ 8.867302] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 45.270570] done.
[ 45.280150] jffs2: notice: (538) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 45.297203] mount_root: overlay filesystem has not been fully initialized yet
[ 45.305355] mount_root: switching to jffs2 overlay
[ 45.329891] overlayfs: upper fs does not support tmpfile.
[ 45.339119] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 45.424525] procd: - early -
[ 45.427583] procd: - watchdog -
[ 46.047583] procd: - watchdog -
[ 46.051069] procd: - ubus -
[ 46.190826] urandom_read: 5 callbacks suppressed
[ 46.190833] random: ubusd: uninitialized urandom read (4 bytes read)
[ 46.238323] random: ubusd: uninitialized urandom read (4 bytes read)
[ 46.246179] procd: - init -
Please press Enter to activate this console.
[ 46.969733] kmodloader: loading kernel modules from /etc/modules.d/*
[ 47.034572] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 47.041924] Backport generated by backports.git v5.8-1-0-g79400d9e
[ 47.100655] xt_time: kernel timezone is -0000
[ 47.335541] PPP generic driver version 2.4.2
[ 47.347374] NET: Registered protocol family 24
[ 47.417559] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 47.425475] ath10k_mac_create, priv_size: 804 hw: (ptrval) hw->priv: (ptrval)
[ 47.455117] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 47.463770] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 47.473180] urngd: v1.0.2 started.
[ 47.679957] random: crng init done
[ 49.542115] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[ 49.551506] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 49.563953] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fH-022-538f0906 api 2 features wmi-10.x,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 d870ee1d
[ 49.905402] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 50.876729] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[ 50.883568] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 50.901652] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 50.907976] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 50.916323] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 21000 iram: 25960'
[ 50.991227] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 51.001174] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 51.186437] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 97.354806] br-lan: port 1(eth0) entered blocking state
[ 97.360153] br-lan: port 1(eth0) entered disabled state
[ 97.365738] device eth0 entered promiscuous mode
[ 97.444476] br-lan: port 2(eth1) entered blocking state
[ 97.449830] br-lan: port 2(eth1) entered disabled state
[ 97.455413] device eth1 entered promiscuous mode
[ 100.491863] eth1: link up (1000Mbps/Full duplex)
[ 100.496730] br-lan: port 2(eth1) entered blocking state
[ 100.502053] br-lan: port 2(eth1) entered forwarding state
[ 100.509451] 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