Thanks. Here's dmesg.
[ 0.000000] Linux version 5.4.97 (pi@SDDesk) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13719+835-66e04abbb6)) #0 Mon Feb 15 02:44:21 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is WatchGuard AP300
[ 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] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 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: 112396K/131072K available (4916K kernel code, 184K rwdata, 1124K rodata, 10920K init, 196K bss, 18676K 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/0x520 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.008284] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042878] pid_max: default: 32768 minimum: 301
[ 0.047927] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055710] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.067940] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078358] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085697] pinctrl core: initialized pinctrl subsystem
[ 0.092090] NET: Registered protocol family 16
[ 0.121613] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.134765] clocksource: Switched to clocksource MIPS
[ 0.141195] NET: Registered protocol family 2
[ 0.146515] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.155479] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.163648] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.171165] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.178051] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.185059] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.192753] NET: Registered protocol family 1
[ 0.197444] PCI: CLS 0 bytes, default 32
[ 0.373185] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.385971] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.392215] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.416315] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.423412] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.430867] printk: console [ttyS0] disabled
[ 0.435469] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.444655] printk: console [ttyS0] enabled
[ 0.453554] printk: bootconsole [early0] disabled
[ 0.469470] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[ 0.474689] 9 fixed-partitions partitions found on MTD device spi0.0
[ 0.481148] Creating 9 MTD partitions on "spi0.0":
[ 0.486026] 0x000000000000-0x000000040000 : "u-boot"
[ 0.491872] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.498086] 0x000000050000-0x0000000a0000 : "custom"
[ 0.503956] 0x0000000a0000-0x0000000b0000 : "loader"
[ 0.509798] 0x0000000b0000-0x000000230000 : "fwconcat1"
[ 0.515916] 0x000000230000-0x000000d70000 : "fwconcat0"
[ 0.522038] 0x000000d70000-0x000000ff0000 : "failsafe"
[ 0.528070] 0x000000ff0000-0x000001ff0000 : "fwconcat2"
[ 0.534191] 0x000001ff0000-0x000002000000 : "art"
[ 0.540014] Concatenating MTD devices:
[ 0.543869] (0): "fwconcat0"
[ 0.546797] (1): "fwconcat1"
[ 0.549716] (2): "fwconcat2"
[ 0.552637] into device "virtual_flash"
[ 0.556558] 1 fixed-partitions partitions found on MTD device virtual_flash
[ 0.563627] Creating 1 MTD partitions on "virtual_flash":
[ 0.569112] 0x000000000000-0x000001cc0000 : "firmware"
[ 0.611499] libphy: Fixed MDIO Bus: probed
[ 0.944556] libphy: ag71xx_mdio: probed
[ 0.966014] ag71xx 19000000.eth: connected to PHY at mdio.0:05 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 0.976444] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii-id
[ 0.983199] i2c /dev entries driver
[ 0.988531] NET: Registered protocol family 10
[ 0.997309] Segment Routing with IPv6
[ 1.001160] NET: Registered protocol family 17
[ 1.005755] 8021q: 802.1Q VLAN Support v1.8
[ 1.010851] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 1.017072] MEM 0x0000000010000000..0x0000000011ffffff
[ 1.022382] IO 0x0000000000000000..0x0000000000000000
[ 1.027839] PCI host bridge to bus 0000:00
[ 1.032030] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 1.039016] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.044678] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.051568] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.059637] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 1.065783] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 1.072728] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.079606] pci 0000:00:00.0: supports D1
[ 1.083682] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.090535] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.097293] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 1.104737] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 1.152980] Freeing unused kernel memory: 10920K
[ 1.157690] This architecture does not have kernel memory protection.
[ 1.164223] Run /init as init process
[ 1.182793] random: fast init done
[ 1.620511] init: Console is alive
[ 1.624251] init: - watchdog -
[ 1.644182] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 1.653298] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.671595] init: - preinit -
[ 1.927273] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.037752] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.084687] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.352132] eth0: link up (1000Mbps/Full duplex)
[ 5.356867] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.412136] eth0: link down
[ 6.425524] procd: - early -
[ 6.428613] procd: - watchdog -
[ 6.986867] procd: - watchdog -
[ 6.990386] procd: - ubus -
[ 7.000593] urandom_read: 5 callbacks suppressed
[ 7.000600] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.044883] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.054288] procd: - init -
[ 7.599676] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.633738] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 7.641381] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 7.699434] xt_time: kernel timezone is -0000
[ 7.820341] PPP generic driver version 2.4.2
[ 7.835511] NET: Registered protocol family 24
[ 7.858717] urngd: v1.0.2 started.
[ 7.915123] ath10k 5.8 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 7.931509] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 7.940166] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 8.083196] random: crng init done
[ 11.419551] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 11.428962] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 11.441198] 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
[ 11.774728] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 12.700463] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 12.717760] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 12.724085] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 12.732235] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[ 12.786110] 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
[ 12.800388] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 12.910049] ath: EEPROM regdomain sanitized
[ 12.910058] ath: EEPROM regdomain: 0x64
[ 12.910062] ath: EEPROM indicates we should expect a direct regpair map
[ 12.910079] ath: Country alpha2 being used: 00
[ 12.910083] ath: Regpair used: 0x64
[ 12.988801] ath: EEPROM regdomain sanitized
[ 12.988811] ath: EEPROM regdomain: 0x64
[ 12.988815] ath: EEPROM indicates we should expect a direct regpair map
[ 12.988833] ath: Country alpha2 being used: 00
[ 12.988836] ath: Regpair used: 0x64
[ 13.005885] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 13.007645] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12
[ 13.051170] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 73.497355] br-lan: port 1(eth0) entered blocking state
[ 73.502703] br-lan: port 1(eth0) entered disabled state
[ 73.508287] device eth0 entered promiscuous mode
[ 76.552121] eth0: link up (1000Mbps/Full duplex)
[ 76.557000] br-lan: port 1(eth0) entered blocking state
[ 76.562332] br-lan: port 1(eth0) entered forwarding state
[ 76.569513] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 206.412990] br-lan: port 1(eth0) entered disabled state
[ 206.439165] device eth0 left promiscuous mode
[ 206.443712] br-lan: port 1(eth0) entered disabled state
[ 206.456308] eth0: link down
[ 206.479253] br-lan: port 1(eth0) entered blocking state
[ 206.484603] br-lan: port 1(eth0) entered disabled state
[ 206.490179] device eth0 entered promiscuous mode
[ 206.513841] br-lan: port 1(eth0) entered blocking state
[ 206.519189] br-lan: port 1(eth0) entered forwarding state
[ 207.463355] br-lan: port 1(eth0) entered disabled state
[ 209.544165] eth0: link up (1000Mbps/Full duplex)
[ 209.554840] br-lan: port 1(eth0) entered blocking state
[ 209.560161] br-lan: port 1(eth0) entered forwarding state
[ 297.606907] eth0: link down
[ 297.610296] br-lan: port 1(eth0) entered disabled state
[ 305.800112] eth0: link up (1000Mbps/Full duplex)
[ 305.804998] br-lan: port 1(eth0) entered blocking state
[ 305.810323] br-lan: port 1(eth0) entered forwarding state
[ 344.723175] br-lan: port 1(eth0) entered disabled state
[ 344.739922] device eth0 left promiscuous mode
[ 344.744470] br-lan: port 1(eth0) entered disabled state
[ 344.758151] eth0: link down
[ 344.783056] br-lan: port 1(eth0) entered blocking state
[ 344.788404] br-lan: port 1(eth0) entered disabled state
[ 344.793977] device eth0 entered promiscuous mode
[ 344.818523] br-lan: port 1(eth0) entered blocking state
[ 344.823869] br-lan: port 1(eth0) entered forwarding state
[ 345.767347] br-lan: port 1(eth0) entered disabled state
[ 346.033743] device eth0 left promiscuous mode
[ 346.038287] br-lan: port 1(eth0) entered disabled state
[ 346.110682] br-lan: port 1(eth0) entered blocking state
[ 346.116035] br-lan: port 1(eth0) entered disabled state
[ 346.121606] device eth0 entered promiscuous mode
[ 349.160110] eth0: link up (1000Mbps/Full duplex)
[ 349.164992] br-lan: port 1(eth0) entered blocking state
[ 349.170324] br-lan: port 1(eth0) entered forwarding state
[ 349.177463] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
By the way.
Not getting success on make... Seems that have some issues building on MAC...
/Volumes/OpenWrt/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find -lgcc_s