Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created March 17, 2021 08:23
Show Gist options
  • Save mcprat/9982134f4cd108c0c522ed64a2022fc8 to your computer and use it in GitHub Desktop.
Save mcprat/9982134f4cd108c0c522ed64a2022fc8 to your computer and use it in GitHub Desktop.
Openwrt firstboot Araknis AN500 AP
[ 61.120000] JFFS2 notice: (2221) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 63.800000] br-lan: port 1(eth0) entered forwarding state
the bonjourEnable:1
$Starting mDNSResponder...
************************************************************************
* AN500 *
************************************************************************
password:
Login incorrect
password:
Login timed out
Please press Enter to activate this console. doupgrade....
Writing kernel(openwrt-senao-an500-uImage-lzma.bin)...
Writing rootfs(openwrt-senao-an500-root.squashfs)...
Upgrade completed, rebooting system...
[ 969.270000] Restarting system.
U-Boot 1.1.4 (Dec 3 2014 - 09:54:57)
AN500 (ar955x) U-boot
- Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(177): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 224k 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 0x87fea2cc
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: d4:6a:91:3e:e5:e1
eth0 up
eth0
Setting 0x18116290 to 0x60c1a14f
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.105
Created: 2021-03-17 5:19:07 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 0xbf220000
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 5.4.105 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13719+835-66e04abbb6)) #0 Wed Mar 17 05:19:07 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is Araknis AN-500-AP-I-AC
[ 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: 122124K/131072K available (4911K kernel code, 183K rwdata, 1128K rodata, 1192K init, 196K bss, 8948K 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+0x308/0x4fc 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.008294] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042885] pid_max: default: 32768 minimum: 301
[ 0.047933] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055719] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.067886] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078291] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085623] pinctrl core: initialized pinctrl subsystem
[ 0.092019] NET: Registered protocol family 16
[ 0.121692] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.134718] clocksource: Switched to clocksource MIPS
[ 0.141105] NET: Registered protocol family 2
[ 0.146436] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.155393] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.163557] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.171072] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.177941] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.184941] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.192623] NET: Registered protocol family 1
[ 0.197323] PCI: CLS 0 bytes, default 32
[ 0.204671] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.217448] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.223692] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.247505] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.254552] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.261969] printk: console [ttyS0] disabled
[ 0.266595] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.275781] printk: console [ttyS0] enabled
[ 0.275781] printk: console [ttyS0] enabled
[ 0.284679] printk: bootconsole [early0] disabled
[ 0.284679] printk: bootconsole [early0] disabled
[ 0.300439] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.305752] 8 fixed-partitions partitions found on MTD device spi0.0
[ 0.312208] Creating 8 MTD partitions on "spi0.0":
[ 0.317078] 0x000000000000-0x000000040000 : "u-boot"
[ 0.322999] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.329155] 0x000000050000-0x0000000a0000 : "custom"
[ 0.335053] 0x0000000a0000-0x0000000b0000 : "loader"
[ 0.340890] 0x0000000b0000-0x000000220000 : "fwconcat1"
[ 0.347074] 0x000000220000-0x000000d70000 : "fwconcat0"
[ 0.353171] 0x000000d70000-0x000000ff0000 : "failsafe"
[ 0.359263] 0x000000ff0000-0x000001000000 : "art"
[ 0.365034] Concatenating MTD devices:
[ 0.368885] (0): "fwconcat0"
[ 0.371813] (1): "fwconcat1"
[ 0.374741] into device "virtual_flash"
[ 0.378654] 1 fixed-partitions partitions found on MTD device virtual_flash
[ 0.385721] Creating 1 MTD partitions on "virtual_flash":
[ 0.391218] 0x000000000000-0x000000cc0000 : "firmware"
[ 0.404293] 2 uimage-fw partitions found on MTD device firmware
[ 0.410339] Creating 2 MTD partitions on "firmware":
[ 0.415394] 0x000000000000-0x000000200000 : "kernel"
[ 0.421185] 0x000000200000-0x000000cc0000 : "rootfs"
[ 0.427064] mtd: device 10 (rootfs) set to be root filesystem
[ 0.434460] 1 squashfs-split partitions found on MTD device rootfs
[ 0.440784] 0x000000560000-0x000000cc0000 : "rootfs_data"
[ 0.448695] libphy: Fixed MDIO Bus: probed
[ 0.784527] libphy: ag71xx_mdio: probed
[ 0.789837] ag71xx 19000000.eth: connected to PHY at mdio.0:05 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 0.800288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id
[ 0.807042] i2c /dev entries driver
[ 0.812468] NET: Registered protocol family 10
[ 0.821172] Segment Routing with IPv6
[ 0.825030] NET: Registered protocol family 17
[ 0.829623] 8021q: 802.1Q VLAN Support v1.8
[ 0.834635] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 0.840883] MEM 0x0000000010000000..0x0000000011ffffff
[ 0.846194] IO 0x0000000000000000..0x0000000000000000
[ 0.851643] PCI host bridge to bus 0000:00
[ 0.855834] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.862815] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.868472] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.875362] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.883432] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 0.889577] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.896514] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.903390] pci 0000:00:00.0: supports D1
[ 0.907466] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.914367] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.921125] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 0.928566] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 0.941606] VFS: Mounted root (squashfs filesystem) readonly on device 31:10.
[ 0.953243] Freeing unused kernel memory: 1192K
[ 0.957857] This architecture does not have kernel memory protection.
[ 0.964387] Run /sbin/init as init process
[ 1.190727] random: fast init done
[ 1.487775] init: Console is alive
[ 1.491465] init: - watchdog -
[ 2.390929] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.533108] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.551488] init: - preinit -
[ 3.758781] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.043912] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.075919] 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
[ 7.308081] eth0: link up (1000Mbps/Full duplex)
[ 7.312810] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.489671] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[ 8.497030] jffs2_build_filesystem(): unlocking the mtd device...
[ 8.497035] done.
[ 8.505248] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 53.222760] random: crng init done
[ 53.233792] random: 5 urandom warning(s) missed due to ratelimiting
[ 56.207302] done.
[ 56.209280] jffs2: notice: (526) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 56.226599] mount_root: overlay filesystem has not been fully initialized yet
[ 56.239848] mount_root: switching to jffs2 overlay
[ 56.249294] overlayfs: upper fs does not support tmpfile.
- config restore -
[ 57.324981] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 57.458835] eth0: link down
[ 57.472693] procd: - early -
[ 57.475753] procd: - watchdog -
[ 57.526349] procd: cannot set group dialout for /dev/ttyS0 (getgrnam: 0)
[ 58.047456] procd: - watchdog -
[ 58.051035] procd: - ubus -
[ 58.131993] procd: - init -
Please press Enter to activate this console.
[ 59.035995] kmodloader: loading kernel modules from /etc/modules.d/*
[ 59.251979] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[ 59.259712] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[ 59.317195] xt_time: kernel timezone is -0000
[ 59.346876] urngd: v1.0.2 started.
[ 59.545536] PPP generic driver version 2.4.2
[ 59.559538] NET: Registered protocol family 24
[ 59.636659] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 59.655537] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 59.662551] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 63.221186] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[ 63.230594] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 63.242829] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,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 3e4cf97f
[ 63.589081] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 64.524063] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 64.541859] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 64.548176] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 64.556554] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[ 64.616433] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 64.631671] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 64.833626] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=13
[ 64.871848] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 107.129403] br-lan: port 1(eth0) entered blocking state
[ 107.134760] br-lan: port 1(eth0) entered disabled state
[ 107.140334] device eth0 entered promiscuous mode
[ 109.164072] eth0: link up (1000Mbps/Full duplex)
[ 109.169018] br-lan: port 1(eth0) entered blocking state
[ 109.174347] br-lan: port 1(eth0) entered forwarding state
[ 109.181697] 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