If you can see output on the serial console but can't type anything, you need to remove the two resistors I circled in red in this image: https://ibb.co/G7cY1fb
They are labelled R415 and R1126. You should be able to knock them off with a pointy object like the tip of a multimeter or a knife, you just have to be careful not to knock anything else off. Also you can interrupt uboot after doing that
Edit: forgot to mention that this is the opposite side of the board under the serial port
All of the stable initramfs images here boot fine but are useless because they don't have compatible ethernet or wifi modules. I'm trying to build my own image but it keeps crashing when it tries to set up power management (I assume). Can anyone help out with this? Here's the boot log. The same also happens with snapshot images.
My Netgear R7800, which is very similar to the Askey RAC2V1K, also could not boot properly. WiFi interfaces will not come up. Even after I reverted the 'offending' patch, the warnings (which you also saw in your posted bootlog) were gone, but the WiFi interfaces are still missing.
I was told the only way to test now is to flash it into the router.
Well I rebuilt openwrt with the 4.19 kernel instead if 5.4 and the pci error is gone now but I still get the regulator errors at the end. Here's the new boot log.
Edit: To use 4.19, edit target/linux/ipq806x/Makefile and change KERNEL_PATCHVER. Also, do you know how to get a dts file from a dtb file?
Alright so I got some device tree files out of it. I uploaded all the dtb files here and converted them to dts files. I think the main thing that's different is the nand. On the wikidev page it says it has Spansion flash but on one of the routers I have it's MXIC flash
Yet another edit: if you run cat /proc/device-tree/model you can see what revision your board is
Alright I got openwrt mostly working on this router. It's on 4.19 kernel because of the issue 4 posts above. Here's a list of things that are working, working but needs more testing / more work, and broken:
Working:
Booting (only over tftp)
Serial console
Reset button
Needs testing:
Networking (I'm not sure if the offsets for the ART partition are consistent across all of these routers and I'm only getting 200mbps wired instead of the 500mbps it's usually capable of on my internet)
WiFi (Same issue as above)
Front LED (Askey uses 3 gpios to do like 7 or 8 different things)
WPS Button (Can't figure out the correct GPIO pin)
Not all the ram is being allocated
Not Working:
Flashing to nand flash (the mtd partition layout is confusing, it looks like it boots from a ubi partition by default, it looks like some routers use different flash chips, and none of the uboot commands have a help)
I'll make another post in a bit with info on how you can help with networking and wifi.
It actually does but they get defined by uboot. Before linux loads, there's a line like this mtdparts=nand0:256K@0x0(0:SBL1),1280K@0x40000(0:MIBIB),1280K@0x180000(0:SBL2),2560K@0x2c0000(0:SBL3),1152K@0x540000(0:DDRCONFIG),1152K@0x660000(0:SSD),2560K@0x780000(0:TZ),2560K@0xa00000(0:RPM),5M@0xc80000(0:APPSBL),512K@0x1180000(0:APPSBLENV),1280K@0x1200000(0:ART),384K@0x1340000(0:BOOTCONFIG),1280K@0x13a0000(0:SBL2_1),2560K@0x14e0000(0:SBL3_1),1152K@0x1760000(0:DDRCONFIG_1),1152K@0x1880000(0:SSD_1),2560K@0x19a0000(0:TZ_1),2560K@0x1c20000(0:RPM_1),384K@0x1ea0000(0:BOOTCONFIG1),5M@0x1f00000(0:APPSBL_1),99M@0x2400000(rootfs),99M@0x8700000(rootfs_1),22M@0xea00000(ubifs),
This is what tells linux the partition sizes and offsets
Edit: if you interrupt uboot and run smeminfo, it will tell you where each partition starts and what the size of it is in a more readable format