this is my ap specifications:
SoC: AR7242-AH1A CPU
RAM: 64MiB (NANYA NT5DS32M16DS-5T)
NOR Flash: 16MiB (MXIC MX25L12845EMI-10G)
Ethernet: 1 x PoE Gigabit Ethernet Port (SoC MAC + AR8021-BL1E PHY)
Wi-Fi: Atheros AR9283
is similar the mr12 ,i use sanpshot build openwrt-ath79-generic-meraki_mr12-initramfs-kernel.bin boot, wlan can open but eth0 can't start.i try to build mr13 form mr12 ,i use openwrt-ath79-generic-meraki_mr13-initramfs-kernel.bin boot ,eth0 can start but ath9k failed to initialize device so the wlan can't start.
i just modify the mdio0 eth0 and delete mdio1 eth1 in dts.
i don't know how to do can success initialize ath9k.please help me!
this is openwrt-ath79-generic-meraki_mr12-initramfs-kernel.bin boot log:
[ 0.000000] Linux version 5.4.117 (openwrt@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16725-f62aa9e781)) #0 Sat May 15 07:18:28 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Meraki MR12
[ 0.000000] SoC: Atheros AR7242 rev 1
[ 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] 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, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=0007ff70
[ 0.000000] Readback ErrCtl register=0007ff70
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 50504K/65536K available (4550K kernel code, 181K rwdata, 1084K rodata, 8320K init, 192K bss, 15032K 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+0x358/0x54c with crng_init=0
[ 0.000000] CPU clock: 400.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007976] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.094268] pid_max: default: 32768 minimum: 301
[ 0.099170] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.106529] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.120798] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.130763] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.137766] pinctrl core: initialized pinctrl subsystem
[ 0.144508] NET: Registered protocol family 16
[ 0.188947] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.203867] clocksource: Switched to clocksource MIPS
[ 0.210706] NET: Registered protocol family 2
[ 0.216326] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.224851] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.232572] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.239708] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.246333] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.252935] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.260458] NET: Registered protocol family 1
[ 0.264934] PCI: CLS 0 bytes, default 32
[ 0.460433] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.478266] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.484201] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.516607] pinctrl-single 18040028.pinmux: 64 pins, size 8
[ 0.523518] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.531009] printk: console [ttyS0] disabled
[ 0.535472] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
[ 0.544263] printk: console [ttyS0] enabled
[ 0.544263] printk: console [ttyS0] enabled
[ 0.552661] printk: bootconsole [early0] disabled
[ 0.552661] printk: bootconsole [early0] disabled
[ 0.571723] spi-nor spi0.0: s25sl12801 (16384 Kbytes)
[ 0.576952] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.583338] Creating 5 MTD partitions on "spi0.0":
[ 0.588209] 0x000000000000-0x000000040000 : "u-boot"
[ 0.594719] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.601349] 0x000000080000-0x0000000a0000 : "config"
[ 0.607800] 0x0000000a0000-0x000000fe0000 : "firmware"
[ 0.642308] 0x000000fe0000-0x000001000000 : "art"
[ 0.651255] libphy: Fixed MDIO Bus: probed
[ 1.354342] libphy: ag71xx_mdio: probed
[ 1.358293] mdio_bus mdio.0: MDIO device at address 4 is missing.
[ 1.364580] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 2.044338] libphy: ag71xx_mdio: probed
[ 2.193923] libphy: ar8xxx-mdio: probed
[ 2.197842] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.1
[ 2.273131] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 2.283171] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 2.289648] i2c /dev entries driver
[ 2.295791] NET: Registered protocol family 17
[ 2.300379] 8021q: 802.1Q VLAN Support v1.8
[ 2.305927] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[ 2.312456] MEM 0x0000000010000000..0x0000000013ffffff
[ 2.317793] IO 0x0000000000000000..0x0000000000000000
[ 2.323298] PCI host bridge to bus 0000:00
[ 2.327482] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 2.334413] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.340018] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.346856] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.354883] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[ 2.360992] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[ 2.368027] pci 0000:00:00.0: supports D1
[ 2.372062] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.379526] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.386261] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 2.483856] random: fast init done
[ 2.734975] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 3.074968] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 3.150890] Freeing unused kernel memory: 8320K
[ 3.155485] This architecture does not have kernel memory protection.
[ 3.161954] Run /init as init process
[ 3.689113] init: Console is alive
[ 3.692849] init: - watchdog -
[ 3.720470] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.732066] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.749974] init: - preinit -
[ 4.065070] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 4.297636] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.506523] random: jshn: uninitialized urandom read (4 bytes read)
[ 4.757315] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.461974] eth0: link up (1000Mbps/Full duplex)
[ 5.488559] urandom_read: 4 callbacks suppressed
[ 5.488571] random: procd: 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
[ 9.710322] eth0: link down
[ 9.729953] procd: - early -
[ 9.732989] procd: - watchdog -
[ 10.303678] procd: - watchdog -
[ 10.307431] procd: - ubus -
[ 10.322718] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.360836] random: ubusd: uninitialized urandom read (4 bytes read)
[ 10.371952] procd: - init -
Please press Enter to activate this console.
[ 11.235106] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.274223] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684
[ 11.281846] Backport generated by backports.git v5.10.34-1-0-g7b5533e1
[ 11.356865] xt_time: kernel timezone is -0000
[ 11.572317] PPP generic driver version 2.4.2
[ 11.585598] NET: Registered protocol family 24
[ 11.726178] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[ 11.736415] ath9k 0000:00:00.0: Falling back to sysfs fallback for: ath9k-eeprom-pci-0000:00:00.0.bin
[ 12.067857] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 12.094593] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=13
[ 12.134293] urngd: v1.0.2 started.
[ 12.184394] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.435000] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 12.770754] random: crng init done
this is openwrt-ath79-generic-meraki_mr13-initramfs-kernel.bin boot log:
[ 0.000000] Linux version 5.4.117 (openwrt@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16725-f62aa9e781)) #0 Sat May 15 07:18:28 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Meraki MR13
[ 0.000000] SoC: Atheros AR7242 rev 1
[ 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] 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, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=0007ff70
[ 0.000000] Readback ErrCtl register=0007ff70
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 50504K/65536K available (4550K kernel code, 181K rwdata, 1084K rodata, 8320K init, 192K bss, 15032K 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+0x358/0x54c with crng_init=0
[ 0.000000] CPU clock: 400.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 0.007974] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.094268] pid_max: default: 32768 minimum: 301
[ 0.099170] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.106529] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.120636] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.130599] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.137609] pinctrl core: initialized pinctrl subsystem
[ 0.144344] NET: Registered protocol family 16
[ 0.188293] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.203193] clocksource: Switched to clocksource MIPS
[ 0.210036] NET: Registered protocol family 2
[ 0.215645] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.224172] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.231902] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.239037] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.245674] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.252278] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.259796] NET: Registered protocol family 1
[ 0.264272] PCI: CLS 0 bytes, default 32
[ 0.460783] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.478564] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.484507] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.516913] pinctrl-single 18040028.pinmux: 64 pins, size 8
[ 0.523916] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.531289] printk: console [ttyS0] disabled
[ 0.535754] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
[ 0.544543] printk: console [ttyS0] enabled
[ 0.544543] printk: console [ttyS0] enabled
[ 0.552940] printk: bootconsole [early0] disabled
[ 0.552940] printk: bootconsole [early0] disabled
[ 0.571872] spi-nor spi0.0: s25sl12801 (16384 Kbytes)
[ 0.577107] 5 fixed-partitions partitions found on MTD device spi0.0
[ 0.583522] Creating 5 MTD partitions on "spi0.0":
[ 0.588365] 0x000000000000-0x000000040000 : "u-boot"
[ 0.594792] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.601425] 0x000000080000-0x0000000a0000 : "config"
[ 0.607871] 0x0000000a0000-0x000000fe0000 : "firmware"
[ 0.642498] 0x000000fe0000-0x000001000000 : "art"
[ 0.651451] libphy: Fixed MDIO Bus: probed
[ 1.353664] libphy: ag71xx_mdio: probed
[ 1.382630] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd04e, driver=Generic PHY]
[ 1.392550] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.399100] i2c /dev entries driver
[ 1.405202] NET: Registered protocol family 17
[ 1.409790] 8021q: 802.1Q VLAN Support v1.8
[ 1.415370] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[ 1.421900] MEM 0x0000000010000000..0x0000000013ffffff
[ 1.427236] IO 0x0000000000000000..0x0000000000000000
[ 1.432725] PCI host bridge to bus 0000:00
[ 1.436903] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 1.443830] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.449436] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.456273] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.464315] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[ 1.470427] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[ 1.477450] pci 0000:00:00.0: supports D1
[ 1.481489] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.488918] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.495653] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 1.577249] Freeing unused kernel memory: 8320K
[ 1.581814] This architecture does not have kernel memory protection.
[ 1.588318] Run /init as init process
[ 2.106362] init: Console is alive
[ 2.110098] init: - watchdog -
[ 2.137858] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.148741] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.166719] init: - preinit -
[ 2.513240] random: fast init done
/bin/board_detect: /etc/board.d/01_leds: line 234: syntax error: unexpected ")" (expecting ";;")
[ 2.802960] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.881431] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.927453] 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
[ 5.144475] eth0: link up (100Mbps/Full duplex)
[ 7.311573] eth0: link down
[ 7.331094] procd: - early -
[ 7.334227] procd: - watchdog -
[ 7.902648] procd: - watchdog -
[ 7.906386] procd: - ubus -
[ 7.921611] urandom_read: 3 callbacks suppressed
[ 7.921623] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.959816] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.966892] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.977450] procd: - init -
Please press Enter to activate this console.
[ 8.778327] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.808459] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684
[ 8.816159] Backport generated by backports.git v5.10.34-1-0-g7b5533e1
[ 8.930132] xt_time: kernel timezone is -0000
[ 9.152958] PPP generic driver version 2.4.2
[ 9.174443] NET: Registered protocol family 24
[ 9.305443] ath9k 0000:00:00.0: Direct firmware load for ath9k-eeprom-pci-0000:00:00.0.bin failed with error -2
[ 9.315673] ath9k 0000:00:00.0: Falling back to sysfs fallback for: ath9k-eeprom-pci-0000:00:00.0.bin
[ 9.717034] urngd: v1.0.2 started.
[ 9.865418] ath: phy0: Unable to load EEPROM file ath9k-eeprom-pci-0000:00:00.0.bin
[ 9.873144] ath9k 0000:00:00.0: Failed to initialize device
[ 9.878921] ath9k: probe of 0000:00:00.0 failed with error -22
[ 9.933764] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.337725] random: crng init done
[ 10.341170] random: 1 urandom warning(s) missed due to ratelimiting
[ 43.896293] br-lan: port 1(eth0) entered blocking state
[ 43.901566] br-lan: port 1(eth0) entered disabled state
[ 43.907336] device eth0 entered promiscuous mode
[ 45.944569] eth0: link up (100Mbps/Full duplex)
[ 45.949186] br-lan: port 1(eth0) entered blocking state
[ 45.954486] br-lan: port 1(eth0) entered forwarding state