Skip to content

Instantly share code, notes, and snippets.

@mcprat
Created November 1, 2020 23:57
Show Gist options
  • Save mcprat/e0762a2a986323c015712a603f584ddc to your computer and use it in GitHub Desktop.
Save mcprat/e0762a2a986323c015712a603f584ddc to your computer and use it in GitHub Desktop.
ECB1200 Openwrt firstboot master
[ 51.540000] br-lan: port 3(ath0) entered forwarding state
magic num = 00000000
decoding image
[ 288.050000] Restarting system.
U-Boot 1.1.4 (v1.0.0) (Nov 6 2014 - 12:56:32)
ECB1200_1750 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(200): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x3, 0x19)
Tap values = (0xe, 0xe, 0xe, 0xe)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 216k for U-Boot at: 87fc8000
Reserving 192k for malloc() at: 87f98000
Reserving 44 Bytes for Board Info at: 87f97fd4
Reserving 36 Bytes for Global Data at: 87f97fb0
Reserving 128k for boot params() at: 87f77fb0
Stack Pointer at: 87f77f98
Now running in RAM - U-Boot at: 87fc8000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
*** Warning *** : 2nd 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 0x87feb810
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> AR8035 PHY *
AR8035 PHY init
: cfg1 0xf cfg2 0x7135
eth0: 88:dc:96:11:22:fe
ATHR8035_PHY: Phy 5, Neg Success
ATHR8035_PHY: unit 0 phy addr 5 eth0 up
eth0
Setting 0x18116290 to 0x4081a14f
Hit any key to stop autoboot: 0
## Booting image at 9f050000 ...
Image Name: MIPS OpenWrt Linux-5.4.72
Created: 2020-11-01 15:28:24 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1996826 Bytes = 1.9 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f050040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
[ 0.000000] Linux version 5.4.72 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13719+835-66e04abbb6)) #0 Sun Nov 1 15:28:24 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is EnGenius ECB1200
[ 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: 122260K/131072K available (4770K kernel code, 190K rwdata, 1100K rodata, 1228K init, 196K bss, 8812K 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.008295] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042887] pid_max: default: 32768 minimum: 301
[ 0.047924] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055711] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.067663] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078072] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085414] pinctrl core: initialized pinctrl subsystem
[ 0.091806] NET: Registered protocol family 16
[ 0.120799] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.133758] clocksource: Switched to clocksource MIPS
[ 0.140139] NET: Registered protocol family 2
[ 0.145489] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.154452] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.162622] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.170131] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.176999] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.184007] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.191678] NET: Registered protocol family 1
[ 0.196376] PCI: CLS 0 bytes, default 32
[ 0.203691] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.216254] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.222499] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.246534] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.253557] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.260936] printk: console [ttyS0] disabled
[ 0.265560] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.274753] printk: console [ttyS0] enabled
[ 0.274753] printk: console [ttyS0] enabled
[ 0.283656] printk: bootconsole [early0] disabled
[ 0.283656] printk: bootconsole [early0] disabled
[ 0.299362] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.304664] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.311114] Creating 5 MTD partitions on "spi0.0":
[ 0.315985] 0x000000000000-0x000000040000 : "u-boot"
[ 0.321902] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.328047] 0x000000050000-0x000000fa0000 : "firmware"
[ 0.336950] 2 uimage-fw partitions found on MTD device firmware
[ 0.343003] Creating 2 MTD partitions on "firmware":
[ 0.348063] 0x000000000000-0x0000001f0000 : "kernel"
[ 0.353883] 0x0000001f0000-0x000000f50000 : "rootfs"
[ 0.359667] mtd: device 4 (rootfs) set to be root filesystem
[ 0.367015] 1 squashfs-split partitions found on MTD device rootfs
[ 0.373330] 0x000000590000-0x000000f50000 : "rootfs_data"
[ 0.379599] 0x000000fa0000-0x000000ff0000 : "userconfig"
[ 0.385842] 0x000000ff0000-0x000001000000 : "art"
[ 0.393010] libphy: Fixed MDIO Bus: probed
[ 0.399909] ag71xx 19000000.eth: invalid MAC address, using random address
[ 0.723554] libphy: ag71xx_mdio: probed
[ 0.728852] ag71xx 19000000.eth: connected to PHY at mdio.0:05 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 0.739314] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id
[ 0.746116] i2c /dev entries driver
[ 0.751411] NET: Registered protocol family 10
[ 0.760333] Segment Routing with IPv6
[ 0.764197] NET: Registered protocol family 17
[ 0.768778] 8021q: 802.1Q VLAN Support v1.8
[ 0.773721] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 0.779964] MEM 0x0000000010000000..0x0000000011ffffff
[ 0.785281] IO 0x0000000000000000..0x0000000000000000
[ 0.790736] PCI host bridge to bus 0000:00
[ 0.794927] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.801908] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.807565] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.814455] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.822530] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 0.828684] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.835625] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.842501] pci 0000:00:00.0: supports D1
[ 0.846577] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.853376] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.860139] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 0.867589] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 0.879323] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.890951] Freeing unused kernel memory: 1228K
[ 0.895565] This architecture does not have kernel memory protection.
[ 0.902099] Run /sbin/init as init process
[ 1.185822] random: fast init done
[ 1.457568] init: Console is alive
[ 1.461291] init: - watchdog -
[ 2.371059] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.519328] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.537338] init: - preinit -
[ 3.782159] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.054556] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.238537] 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.467186] eth0: link up (1000Mbps/Full duplex)
[ 7.471914] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.646540] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.657064] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.750620] eth0: link down
[ 8.764502] procd: - early -
[ 8.767564] procd: - watchdog -
[ 9.371785] procd: - watchdog -
[ 9.375255] procd: - ubus -
[ 9.532548] urandom_read: 5 callbacks suppressed
[ 9.532555] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.545033] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.552823] procd: - init -
Please press Enter to activate this console.
[ 10.376957] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.421775] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 10.429117] Backport generated by backports.git v5.8-1-0-g79400d9e
[ 10.485379] xt_time: kernel timezone is -0000
[ 10.717775] PPP generic driver version 2.4.2
[ 10.727021] NET: Registered protocol family 24
[ 10.802548] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 10.810479] ath10k_mac_create, priv_size: 804 hw: (ptrval) hw->priv: (ptrval)
[ 10.834356] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 10.840904] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 10.876701] urngd: v1.0.2 started.
[ 11.140411] random: crng init done
[ 14.495545] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[ 14.504948] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 14.517388] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 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 e1c91a74
[ 14.851138] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 15.819977] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[ 15.826832] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 15.844893] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 15.851220] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 15.859604] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[ 15.919196] 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
[ 15.934393] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 16.106303] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2
[ 16.116759] ath9k 18100000.wmac: Falling back to sysfs fallback for: ath9k-eeprom-ahb-18100000.wmac.bin
[ 17.075876] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=13
[ 17.112026] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 39.644239] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 39.669826] jffs2_build_filesystem(): unlocking the mtd device...
[ 39.669832] done.
[ 39.678074] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 40.556706] br-lan: port 1(eth0) entered blocking state
[ 40.569642] br-lan: port 1(eth0) entered disabled state
[ 40.575215] device eth0 entered promiscuous mode
[ 43.627134] eth0: link up (1000Mbps/Full duplex)
[ 43.636747] br-lan: port 1(eth0) entered blocking state
[ 43.642067] br-lan: port 1(eth0) entered forwarding state
[ 43.666455] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 112.293452] done.
[ 112.295448] jffs2: notice: (1796) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 112.548731] 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