I have a 3100, happy to test if needed

Yes please do!

Hi arinc9, you are right. I tried flashing my RT-AC3100 with the official snapshot and I could not get the router to fully boot up.

1 Like

Hi @arinc9 ,i flashed my RT-AC88U with your TEST4. My laptop,3 different iphones and samsung S21 all connect to 2.4 GHz wifi without any issue.(Only) my samsung S21 takes long time to connect to 5GHz and when it did it connects without internet.I tried every possible setting of 5GHz for 3 days then I gave up.

I meet the same problem with you. 2.4G works well and 5G can't get the ip address.

1 Like

I had the same problem. 5G was either not able to connect or once disconnected was not able to get an IP. Especially with older Android-based phones (2016-2018) but had this happen with iPhone13.

1 Like

My 3 iphones and laptop connect to 5ghz easily and get ip and gateway and dns, the problem only with samsung s21 which even it's connected with ip and dns but without internet

This patchset introduces dependency on bcm47xx_nvram in the NVMEM driver. If anything bcm47xx_nvram should be rather replaced by proper NVMEM usage across Linux kernel.

I can work on that but first I did some more testing.


First I verified this issue affects my Luxul XWR-3150 device as well. Not by default as NVRAM is stored on serial flash but I hacked code a bit to create fake NVRAM on NAND. I verified it affects XWR-3150 as well:

root@OpenWrt:/# ls /lib/wifi/
mac80211.sh

root@OpenWrt:/# hexdump -C /sys/bus/nvmem/devices/brcm-nvram1/cells/header@0
00000000  48 44 52 30 00 00 40 00  ae 46 fb e1 00 00 01 00  |HDR0..@..F......|
00000010

root@OpenWrt:/# ls /lib/
[  120.098439] SQUASHFS error: xz decompression failed, data probably corrupt
[  120.105371] SQUASHFS error: Failed to read block 0x3b8c02: -5
[  120.111158] SQUASHFS error: Unable to read metadata cache entry [3b8c00]
[  120.117877] SQUASHFS error: Unable to read inode 0x6760785
[  120.123545] SQUASHFS error: Unable to read metadata cache entry [3b8c00]
[  120.130470] SQUASHFS error: Unable to read inode 0x67607a5
[  120.136379] SQUASHFS error: Unable to read metadata cache entry [3b8c00]
[  120.143379] SQUASHFS error: Unable to read inode 0x6760845
[  120.149223] SQUASHFS error: Unable to read metadata cache entry [3b8c00]
[  120.156183] SQUASHFS error: Unable to read inode 0x67612d5
[  120.162049] SQUASHFS error: Unable to read metadata cache entry [3b8c00]
[  120.168970] SQUASHFS error: Unable to read inode 0x67616f5
ls: /lib/libpreload-seccomp.so: I/O error
ls: /lib/libpreload-trace.so: I/O error
ls: /lib/libustream-ssl.so: I/O error
ls: /lib/platform: I/O error
ls: /lib/upgrade: I/O error
config
firmware
functions
functions.sh
ld-musl-arm.so.1
libblobmsg_json.so.20230523
(...)

Just to be sure I decided to repeat that test with D-Link DIR-885L which uses just 1-bit ECC. I also verified this problem using it:

root@OpenWrt:/# ls /lib/wifi/
mac80211.sh

root@OpenWrt:/# hexdump -C /sys/bus/nvmem/devices/brcm-nvram0/cells/header@0
00000000  5e a3 a4 17 00 00 00 24  00 3f ff c0 c7 41 8a ea  |^......$.?...A..|
00000010

root@OpenWrt:/# ls -1 /lib/
[   85.633679] SQUASHFS error: Failed to read block 0x3b65c6: -5
[   85.639460] SQUASHFS error: Unable to read metadata cache entry [3b65c4]
[   85.646205] SQUASHFS error: Unable to read inode 0x6760785
[   85.651813] SQUASHFS error: Unable to read metadata cache entry [3b65c4]
[   85.658757] SQUASHFS error: Unable to read inode 0x67607a5
[   85.664627] SQUASHFS error: Unable to read metadata cache entry [3b65c4]
[   85.671550] SQUASHFS error: Unable to read inode 0x6760845
[   85.677436] SQUASHFS error: Unable to read metadata cache entry [3b65c4]
[   85.684380] SQUASHFS error: Unable to read inode 0x67612d5
[   85.690225] SQUASHFS error: Unable to read metadata cache entry [3b65c4]
[   85.697189] SQUASHFS error: Unable to read inode 0x67616f5
ls: /lib/libpreload-seccomp.so: I/O error
ls: /lib/libpreload-trace.so: I/O error
ls: /lib/libustream-ssl.so: I/O error
ls: /lib/platform: I/O error
ls: /lib/upgrade: I/O error
config
firmware
functions
functions.sh
ld-musl-arm.so.1
libblobmsg_json.so.20230523
libc.so
libfstools.so
libgcc_s.so.1
libjson_script.so.20230523
libsetlbf.so
libubox.so.20230523
(...)

For a reference:
Memory mapped flash access breaks Broadcom NAND controller based access

bcd76dc7d825 ("bcm53xx: store a copy of NVRAM content in NVMEM driver main master")

1 Like

Who tested that fix?

My AC88U boots fine on current snapshot which includes this commit. Keep in mind I had to revert commit ef76b6ff3e ("bcm53xx: Add support for D-Link DIR-890L") to compile the image as I get this error otherwise.

[...]
/mnt/Work/openwrt/staging_dir/host/bin/lzma e /mnt/Work/openwrt/staging_dir/target-arm_cortex-a9_musl_eabi/image/dlink_dir-890l-u-boot.bin -d16 /mnt/Work/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/dlink_dir-890l-kernel.bin

Error: can not open input file /mnt/Work/openwrt/staging_dir/target-arm_cortex-a9_musl_eabi/image/dlink_dir-890l-u-boot.bin
make[5]: *** [Makefile:536: /mnt/Work/openwrt/build_dir/target-arm_cortex-a9_musl_eabi/linux-bcm53xx_generic/dlink_dir-890l-kernel.bin] Error 1
make[5]: Leaving directory '/mnt/Work/openwrt/target/linux/bcm53xx/image'
make[4]: *** [Makefile:30: install] Error 2
make[4]: Leaving directory '/mnt/Work/openwrt/target/linux/bcm53xx'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/mnt/Work/openwrt/target/linux'
time: target/linux/install#16.33#2.41#12.48
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/mnt/Work/openwrt'
make[1]: *** [target/Makefile:24: /mnt/Work/openwrt/staging_dir/target-arm_cortex-a9_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/mnt/Work/openwrt'
make: *** [/mnt/Work/openwrt/include/toplevel.mk:232: world] Error 2
1 Like

I had a look at it and the error occurs because the D-Link 890L expects u-boot build for it (to get around a limitation) but it's not selected by default.

Select 'Bootloaders > u-boot-dir-890l' or adding 'CONFIG_PACKAGE_u-boot-dir-890l=yes' to the '.config' file solved it for me, the build succeeds.

Unfortunately I don't know what to change so that it's selected per default.

Do I need to perform any further tests?

No need, Rafal's patch fixed the issue reported on this post. And the fix is in the latest snapshot images.

So,Do you advice to flash RT-AC88U with the latest SNAPSHOT (r23885-703d667a0c) please??

Yea - I used this last night (build date 4th Sept) and it booted fine.

If you use the current release build version it'll brick and you'll need to recover.

2 Likes

Thank you dear,I will give it a try at the weekend.

Hello,

Can someone help me confirm that 5gh wifi works on the Asus 88u HW A1.

I installed the latest OpenWrt SNAPSHOT version r23885-703d667a0c / LuCI Master git-23.236.53281-98e3743 but it doesn't work.

I connect to the 5g network but I don't have internet and the router doesn't receive ping either. The router assigns ip on the 5g network.