Try this (FIP): https://github.com/hanwckf/bl-mt798x
That's what I wrote about. It doesn't work as a bootloader for me. It doesn't load (flash) firmware.
You need to check what you have in the NVRAM for the default boot configuration.
You can modify it to any parameters that enable booting the mounted UBI partition.
However, it's likely that this bootloader won't work out of the box for you.
Good point!
But are there any other hardware that should be mentioned in the warning for official OpenWrt U-Boot ( Change to OpenWrt U-Boot section) ?
- Winbond NAND, 2. AN8855 switch, ... what else?
100500% likely - it does not work as a firmware flasher on my router.
With downloads of already flashed firmware, the issue is solvable, but not with Ubut mod firmware((.
By the way, it sounds like you have a standard partition layout,
and no modifications have been made to it.
I would recommend the following:
- Use the bootloader (FIP,
mt7981_ax3000t_an8855-fip-fixed-parts-multi-layout.bin
) I mentioned earlier. - Boot it into recovery mode and simply flash the
openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin
file through its web interface.
What you'll get: a working OpenWrt.
What you won't get: U-Boot.
Winbond NAND - works with ubut mod in snapshot version and branch 24, but not earlier!!!
AN8855 switch, ... what else? - does not work with ubut mod
Are you sure those few dozen megabytes are worth all this trouble?
ffffff!!! This is not possible!!!!
It freezes after a split second when trying to flash.
Is my English really that bad?
If that's not possible, what did you observe in the UART logs during the flashing process of openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin
?
Are you sure you should overwrite the flash partition at least twice every time you reboot your router?
Some short phrase after which everything would freeze and could hang like that until disconnection for at least several days. Unfortunately, the log was not saved.
Ok, so @RHBH asked for a Winbond warning for 23.05 stable only. But since it's already supported by 24.10-rc6 and Snapshots ...
The most important, I think, is to add a warning for unsupported OpenWrt u-boot with the AN8855 switch.
Need to figure out how to combine both warnings while keeping them brief.
Update
@RHBH, added this wording, hope that's ok.
I’ve got a brand new dead router with over a hundred bad blocks, and here you are talking about this nonsense. OpenWrt support for Xiaomi AX3000T - #2674 by VoidNullNil
Do you often lose electricity or something?
I have a different issue. After a reboot, the time isn’t saved or synchronized. Because of this, Wi-Fi doesn’t work properly, and all secure connections fail.
I know what I'm writing about. I was one of the first to kill a router with Winbond and an old switch. Uboot mod from the stable branch.
Since it was not mentioned anywhere.
I booted and flashed a snapshot of Uboot mod via UART and everything was restored and worked fine, after which I recently updated Uboot from branch 24 and everything continued to work fine.
I am a practitioner, unlike many theorists)).
Everyone has their own problems. Re-solder the flash memory.
Wi-Fi doesn't care what time it is on the router, it always works.
I agree with VPN - the exact time affects the work.
And yes. The power goes out very often. And because of the lack of a normal bootloader, I don't really want to re-solder the memory.
Unfortunately, there's no available Foresee memory; otherwise, I’d have replaced it just for testing.
I hope you’ll manage to resolve all the issues successfully.
And about u-boot.
It's not like you're doing something.
You need to flash the native bootloader using UART, aka FIP.bin, which is done when creating a backup copy before flashing OpenWrt. If you didn't make a copy, then any suitable one from any router, it's not unique, but common, the main thing is that it supports the memory and switch of your router.
Why do you need Foresee? Any supported one, the same Winbond for example.
Hmm, because that's the first logical thought that came to mind.
I'm not sure if these memory modules have the same timings and pinout.