Askey RAC2V1K / RT4230W REV6 Support

There's nothing showing up. Try uploading the pictures to imgur or google photos

RAC2V1A is QCA9983

I dont have a RAC2V1A. Just the K

updated post with pic

The QR code on the pcb doesn't matter, it just has the Mac address. Can you send a picture of the area above the wifi card?

im not trying to be dense - in which direction on the above picture?

It's upside down and that's the ethernet switch. The wifi card is the big heatsink on the other side of the board. https://photos.app.goo.gl/fayr71iuwZzCCfvS8 Here's the area I want to see

Ayy I figured out the issue. A rouge gpio pin is turning off the wifi cards. Once I can figure out which I'll keep on working on getting it on the nand flash

Edit: alright I got it working! I'm going to triple check the gpio definitions before anything

@ghoffman can you run cat /proc/mtd in the stock firmware

@efsg Thanks

I found a hidden page in the stock firmware while going through it. If you're on 1.1.17, upload this config file, go to http://192.168.10.1/1.1.17/N@74U1fUD0n7H@v1P$d/login.html (had to change ip because it interfered with my main network), then login with user: operator pass: admin. It let's you do things like make it a wifi extender, enable the public SpectrumWiFi hotspot, and a lot of other weird things. You can ssh with user: 4230w pass: admin. If you get a key exchange error, use ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 4230w@192.168.10.1

2 Likes

Oh, I don't know how to update the firmware


But i haven't updated

Oh I see what you mean. Try uploading it anyways

Yes, version 1.1.16 is also available

front and back pics of board:

@lmore377 - here is /proc/mtd:

dev:    size   erasesize  name
mtd0: 00040000 00020000 "0:SBL1"
mtd1: 00140000 00020000 "0:MIBIB"
mtd2: 00140000 00020000 "0:SBL2"
mtd3: 00280000 00020000 "0:SBL3"
mtd4: 00120000 00020000 "0:DDRCONFIG"
mtd5: 00120000 00020000 "0:SSD"
mtd6: 00280000 00020000 "0:TZ"
mtd7: 00280000 00020000 "0:RPM"
mtd8: 00500000 00020000 "0:APPSBL_1"
mtd9: 00080000 00020000 "0:APPSBLENV"
mtd10: 00140000 00020000 "0:ART"
mtd11: 00060000 00020000 "0:BOOTCONFIG"
mtd12: 00140000 00020000 "0:SBL2_1"
mtd13: 00280000 00020000 "0:SBL3_1"
mtd14: 00120000 00020000 "0:DDRCONFIG_1"
mtd15: 00120000 00020000 "0:SSD_1"
mtd16: 00280000 00020000 "0:TZ_1"
mtd17: 00280000 00020000 "0:RPM_1"
mtd18: 00060000 00020000 "0:BOOTCONFIG1"
mtd19: 00500000 00020000 "0:APPSBL"
mtd20: 08000000 00020000 "rootfs_1"
mtd21: 08000000 00020000 "rootfs"
mtd22: 0a000000 00020000 "ubifs"
mtd23: 00008000 00008000 "spi32766.0"
mtd24: 0060e000 0001f000 "kernel"
mtd25: 03203000 0001f000 "ubi_rootfs"
mtd26: 039c3000 0001f000 "rootfs_data"
mtd27: 07c00000 0001f000 "log"
mtd28: 007c0000 0001f000 "vendor"
mtd29: 00d14000 0001f000 "user_data" 

NAND-bootable image for Rev6 along with guide is available here https://github.com/ondr3j/openwrt-askey-rt4230w

Thanks to @efsg and @lmore377, I was able to put together patches to create an image which can be booted from the NAND. At the moment, UART is required in order to write it via TFTP. It may be possible to write it using mtd commands or nandwrite from USB stick within the shell of original firmware, but I have not explored that option myself.

Nice, I just got it booting from nand too. Is overlay working for you? I was originally writing straight to nand but overlay wouldn't mount after a reboot but I switched to using ubi and now it's fine

Edit: did you get the full 1G of ram to show up? Also I'll upload the files I've edited/made to get it to build and everything here

Overlay is working fine. I'm seeing 975.81 MB for RAM.

Can you share the memory part of the dts file? I couldn't figure out the right addresses so right now I only have about 467 MB showing up.

Edit: I don't think it's a good idea to use bootipq for handling booting. The way the stock fw is set up is that it has 2 copies of the kernel and everything and if something's not right in one of them it'll override it with the other one so there's a chance that something important will get overridden on boot