Hey everyone!
so I've bought a 3-pack halo h90x and decided to flash openwrt with the instructions @csharper2005 gave us (thanks)
I know it's kinda different device, but we live once and now one of my ap's is dead.
I've went the UART way, cuz ssh/telnet doesn't work here (I saw somewhere on the forum was posted about root's pass not being correct)
everything went smooth until sysupgrade -n fw.bin
the device rebooted and between the console output I've seen the
*** UBI is read-only mode *** error
then it booted into the recovery http console (looks like mercusys stock recovery)
then I've tried again and again the same thing (who expects a different result?) and always got the same
the console output after a reboot after the "upgrade" process:
my mystake, it's not completely dead
I meant that it wont boot the stock fw anymore (after recovery) and I can't flash sysupgrade
I can indeed boot initramfs via UART
Also, I've re-read the console output after another sysupgrade -n fw.bin and I can see that sysupgrade was successful
but one remark: I've changed the mtdparts parameter to spi-nand0:2M(boot),1M(u-boot-env),50M(ubi0),8M(userconfig),4M(tp_data) (removed the ubi1), just to try....
but anyway the ap can't boot:
Reading from volume 'uboot' to 0x41dfffc0, size 0x0 ... *** Cannot find volume 'uboot' ***
volume uboot read error -19
-----boot from ubi0 fail, try another one
change to mtd ubi1!
-----boot from ubi1 fail, try another one
change to mtd ubi1!
ubi_boot_image: try two times failed
Start web server.
Ok, so we need to fix your uboot environment variables first, as you've set a lot of mr90x variables
This feature provides for run-time configuration of U-Boot via a flattened devicetree (fdt). This feature aims to make it possible for a single U-Boot binary to support multiple boards, with the exact configuration of each board controlled by a flattened devicetree (fdt).
So the mr90x and the h90x more than likely share the same uboot binary but use separate flattened device trees to boot.
omg, that really helped, it successfully booted
thanks a lot!
is there anything else I should fix or I can continue with setting things up?
I still get a few errors after boot and I haven't tested anything yet, only the http gui https://pastebin.com/raw/qDUxujk5
well, it looks quite stable
I've setup the ethernet interfaces and a few other things, but I have no wireless interfaces
wifi config generates an empty file and I can't setup it through LUCI either
maybe it's somehow related to this?
[ 10.352295] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174743a
[ 10.352295]
[ 10.697821] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174805
[ 10.857850] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[ 11.002535] mt798x-wmac 18000000.wifi: eeprom load fail, use default bin
[ 11.009310] mt798x-wmac 18000000.wifi: Direct firmware load for mediatek/mt7986_eeprom_mt7975_dual.bin failed with error -2
[ 11.020419] mt798x-wmac 18000000.wifi: Falling back to sysfs fallback for: mediatek/mt7986_eeprom_mt7975_dual.bin
[ 11.131078] mt798x-wmac: probe of 18000000.wifi failed with error -12
I can't login into a stock H90X with ssh, it won't accept my password
I think it's because H90X can only be configured with mercusys cloud, so the internal root user has an unknown pass
I booted into initramfs and entered ubinfo -a, but:
actually, the problem with ssh login is the cause why I started flashing with UART
It seems that H90x has completely different flash layout and has no tp_data partition. This is the reason why eeprom is unavailable and WiFi doesn't work. MR90x firmware is not suitable. Adding H90x support requires additional activities.
Looks like you're right.
And I think I'm not ready yet to fulfil all those additional activities.
The first thing that comes to mind to recover the dead ap is to dump the nand from the another stock ap, somehow change the serial and mac (becoming delirious) and write it to the semi-dead ap, but because of all the cloud-activate things I'm pretty sure that won't work.
Maybe someone got any ideas?)
UPD: I just compared the chips on H90X with MR90X, it's got absolutely the same hw, except for the nand, it's a ESMT F50L1G41LB (should've done it earlier)