I have build an image for Netgear WAX630. It's has 3 radios with 4x4 on all radios.
It's similar to the wax620 in terms of mtd's etc as far as I can tell. I've got the board-2 file loading, LEDs are working, both LANs and all 3 radios are detected, and I can't see any errors in the boot log. So I'm wondering if anyone could help me and have a look, and see if I'm missing something in the boot log. Does it look OK?
I have only tested with initramfs image.
One thing that I noticed in the log, is this message because I'm using initramfs?
Edit: found the answer about this.
[ 512.107158] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 527.977862] mtdblock: MTD device 'rootfs_1' is NAND, please consider using UBI block devices instead.
And one more question. In the stock dts i found this:
aliases {
sdhc1 = "/soc/sdhci@7824900";
};
is this something I need to add as well? I saw in the log it detected sdhc so I'm not sure...
[ 0.862871] sdhci: Secure Digital Host Controller Interface driver
[ 0.862917] sdhci: Copyright(c) Pierre Ossman
[ 0.867953] sdhci-pltfm: SDHCI platform and OF driver helper
I guess that device doesn't even has sdhc/emmc (due to it's utilizing NAND) you can remove the sdhc alias.
Are you sure there are 3 radios detected?
I believe only the 2.4/5 Ghz radios are working, the 3rd radio is supposed to be connected via PCI.
So you need to add the proper PCI and wifi nodes/properties to the dts.
First check the stock dts and then have a look in the ax9000 dts to see how to add the required dts entries + add ath11k_pci to your build.
This would be the first ipq8074 device in OpenWrt with a 6 Ghz radio AFAIk
EDIT: according to the datasheet the device has 2 5 Ghz radios (lower and upper bands) so this isn't really a tri-band device.
So forget everything I said about the 6 Ghz radio.
Hello. No this is wax630 and not wax630E. Yes, all 3 was detected in initramfs, but I got an issue with LAN after I flashed rootfs with ubiformat and after reboot I got the following messages.
[ 0.724126] mdio_bus 90000.mdio-1: MDIO device at address 3 is missing.
[ 0.724541] mdio_bus 90000.mdio-1: MDIO device at address 28 is missing.
So I'm trying to solve that. I've been looking at other dts and stock dts. But I find it very hard to find the correct reset for both LAN.
Do I need to set compatible = "ethernet-phy-id004d.d101"; etc? I did work with initramfs, so I don't know if it should be there. To be honest I dunno if this is the right compatible for phy_adress 28. I cant find any information about where and how to set the compatible for each LAN.
It's working during initramfs 'cause u-boot is properly resetting the phys but thats not happening during boot from NAND. In this case, OpenWrt has to reset the phys.
And that's somehow not working in your case.
@kirdes so after some testing I found out that 5ghz radios is not working as expected.
They are listed as ipq8074 high and low, but none of them will either broadcast the ssid or scan for other wlans.
Iām not sure why. 2.4g can scan for wlans tho.
Have you any knowledge about this?
I see no errors in the logs. iw shows all capabilities and features btw for all 3 radios.
Edit: Booted into stock firmware to see how the radios performed. They did work and with ok rssi. The 5g high/low radios are not merged to one single radio.
Openwrt firmware shows rssi that is very high (around 90). The radios do show up when I'm scanning for wlans tho. But I'm unable to connect. Can't see any related stuff in the logs.
Changing power does not do anything either. 2.4g is better but not as stock. I did a dump of mtd24, because I saw in the stock log that it use that for some wifi stuff. I'm not sure, but looking at the size it reminds me of the bdwlan file. 131072 bytes (128 KiB)
# Point bdwlan.b215 to bdwlan.bin (/etc/bdwlan points to bdwlan.bin) for WAX63
ln -sf /etc/bdwlan /lib/firmware/IPQ8074/WIFI_FW/bdwlan.b215
if [ ${COUNTRY_CODE} = 36 ] || [ ${COUNTRY_CODE} = 554 ]; then
ln -sf /lib/firmware/$arch/WIFI_FW/WAX630_BDF_AU.bin /etc/bdwlan
elif [ ${COUNTRY_CODE} = 356 ]; then
ln -sf /lib/firmware/$arch/WIFI_FW/WAX630_BDF_INDIA.bin /etc/bdwlan
elif [ ${COUNTRY_CODE} = 124 ]; then
ln -sf /lib/firmware/$arch/WIFI_FW/WAX630_BDF_CANADA.bin /etc/bdwlan
elif [ ${COUNTRY_CODE} = 376 ]; then
ln -sf /lib/firmware/$arch/WIFI_FW/WAX630_BDF_ISRAEL.bin /etc/bdwlan
else
ln -sf /lib/firmware/$arch/WIFI_FW/WAX630_BDF.bin /etc/bdwlan
fi
fi
fi
if [ -f /lib/firmware/$arch/WIFI_FW/q6_fw.mdt ]; then
echo " WIFI FW mount is successful" > /dev/console 2>&1
fi
if [ -d /lib/firmware/$arch/WIFI_FW/qcn9000 ]; then
cd /lib/firmware/ && mkdir -p qcn9000
cd qcn9000 && ln -sf /lib/firmware/$arch/WIFI_FW/qcn9000/*.* .
fi
cd /lib/firmware/$arch && ln -sf WIFI_FW/*.* .
if [ -e /sys/firmware/devicetree/base/MP_512 ]; then
if [ -f /lib/firmware/$arch/WIFI_FW/firmware_rdp_feature_512P.ini ]; then
cd /lib/firmware
ln -sf /lib/firmware/$arch/WIFI_FW/firmware_rdp_feature_512P.ini .
fi
else
if [ -f /lib/firmware/$arch/WIFI_FW/firmware_rdp_feature.ini ]; then
cd /lib/firmware
ln -sf /lib/firmware/$arch/WIFI_FW/firmware_rdp_feature.ini .
fi
fi
. /lib/read_caldata_to_fs.sh
do_load_ipq4019_board_bin
mkdir -p /vendor/firmware
mv /lib/firmware/$arch/WIFI_FW/Data.msc /vendor/firmware
Please have a look in the stock bootlog, you should find an entry regarding the right bdf / board id.
The wifi issue you describing sounds like you are using the wrong bdf.
That worked as all your advice do I didn't try this earlier because on WAX620 the board file WAX620_BDF.bin did not work so well, but bdwlan.b290 do. So i thought this time i would be the same. But I was wrong
But everything is up and running now. Just testing STA in 5g-Low. Going to let it idle and see temps etc. But if it's working as the wax620 it will replace my master AP because of OpenWrt.