I've just bought subj hoping it would be easy to install openwrt. Not so easy
First, stock UI complains on openwrt factory image and refuses to flash it
I connected UART and forced u-boot webserver
Upload succeeds but nothing indicates flashing was done. It isn't. Nothing changed after reboot
Then I tried uploading RU and EU stock firmwares with the same result. Nothing
After some experiments I succeeded to tftp boot openwrt ramdisk image and it works
but sysupgrade does not work from there. Stock u-boot complains CRC error
If someone has this device EU version I'd appreciate if you post full SPI dump here
(or u-boot + config + tplink mtd partitions)
I guess hardware is the same and my RU can easily become EU
Also I could not figure out memory mapped SPI address to cp.b to. It would simplify things a lot
For now i'm builing custom openwrt ramdisk with readonly-removed patched dts
Actually, despite of russian UI firmware was US and that's the reason why it failed to update
I checked serial output while upgrading in stock firmware (not failsafe u-boot web server) and found this :
I changed specialId to 52550000 in tplink-safeloader.c, rebuilt openwrt and it all worked.
I will never need that hack again because now openwrt sysupgrade should work
Problem is solved
If someone needs US/RU compatible image I can share