Askey RAC2V1K / RT4230W REV6 Support

`(IPQ) # smeminfo
flash_type:             0x2
flash_index:            0x0
flash_chip_select:      0x0
flash_block_size:       0x20000
partition table offset 0x0
No.: Name             Attributes            Start             Size
  0: 0:SBL1           0x0000ffff              0x0          0x40000
  1: 0:MIBIB          0x0000ffff          0x40000         0x140000
  2: 0:SBL2           0x0000ffff         0x180000         0x140000
  3: 0:SBL3           0x0000ffff         0x2c0000         0x280000
  4: 0:DDRCONFIG      0x0000ffff         0x540000         0x120000
  5: 0:SSD            0x0000ffff         0x660000         0x120000
  6: 0:TZ             0x0000ffff         0x780000         0x280000
  7: 0:RPM            0x0000ffff         0xa00000         0x280000
  8: 0:APPSBL         0x0000ffff         0xc80000         0x500000
  9: 0:APPSBLENV      0x0000ffff        0x1180000          0x80000
 10: 0:ART            0x0000ffff        0x1200000         0x140000
 11: 0:BOOTCONFIG     0x0000ffff        0x1340000          0x60000
 12: 0:SBL2_1         0x0000ffff        0x13a0000         0x140000
 13: 0:SBL3_1         0x0000ffff        0x14e0000         0x280000
 14: 0:DDRCONFIG_1    0x0000ffff        0x1760000         0x120000
 15: 0:SSD_1          0x0000ffff        0x1880000         0x120000
 16: 0:TZ_1           0x0000ffff        0x19a0000         0x280000
 17: 0:RPM_1          0x0000ffff        0x1c20000         0x280000
 18: 0:BOOTCONFIG1    0x0000ffff        0x1ea0000          0x60000
 19: 0:APPSBL_1       0x0000ffff        0x1f00000         0x500000
 20: rootfs           0x0000ffff        0x2400000        0x8000000
 21: rootfs_1         0x0000ffff        0xa400000        0x8000000
 22: ubifs            0x0000ffff       0x12400000        0xa000000
`

I'm not sure which steps you're following but you should use the ones here, specifically method 2

1 Like

Thank you so much. It worked again,OpenWrt loaded but no WiFI, because :

Hit space key to stop autoboot: 0
MMC Device 0 not found
pci_bus_to_hose() failed
pci_bus_to_hose() failed
WiFi detect failed...

If u-boot can't detect the wifi cards that means they're probably dead. Try taking it out and cleaning the pcie connecters to see if that helps but if it doesn't then there's not much else you can do. Also make sure you're using a power supply rated for 12V and at least 1A.

Still uboot can't detect the wifi cards maybe they are dead. I use power supply 12v/3A .Thanks

@lmore377 -
i've cloned and pulled your git branch a number of times but have not been able to successfully make an image, either with your default options or with any customization.
this may be becasue openwrt is ahead now? im certainly not an expert maker.
any status updates for your project, or hints?
thanks

I've been rebasing it to keep it up to date with the main repo and there haven't been any conflicts in a while. Make sure you're cloning the askey_rt4230w_support branch. I just rebased it again so let me see if it builds fine or not.

It compiled fine for me. Here's everything I ran from clone to compile (I'm on linux):

git clone https://github.com/lmore377/openwrt
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig #I just selected the router and luci
make -j8 V=s
You should leave out -j8 because that's supposed to speed up compilation but can cause problems. Leave V=s because that increases verbosity which can help diagnose the issues.

Forgot to mention that I made the router branch the default like a month ago so you don't need to specify anymore

thank you for checking and for the additional directiion. I am running debian in a wsl environment and will get a chance to rebuild this weekend.

I just bought one of these on eBay to add a mesh node to my network after seeing a post on reddit. I am pretty interested in getting openwrt on this device because the hardware is great for the price.

How is the process of getting this out of the experimental category and into the fully supported category?

Is there anything a user like me can do to help? I am relatively capable of following some directions to get openwrt onto a variety of devices (needed to use serial cable to get this on an EA8500) and some basic troubleshooting of my own. I am not a developer but might be able to do some testing.

There's pretty much nothing else to be done at this point. I've ran it stable for a few months and it seems like all of the hardware works fine. I'm just waiting for the pull request to be accepted. If you wanna take a look at it you can go here. In the meantime, I just compiled all of the packages in the openwrt repo recently so I'm going to host that somewhere so people can use it without having to recompile everything every time they want to install a kernel module or something.

3 Likes

Alright I built all the packages. Just install the new firmware from my repo and replace /etc/opkg/distfeeds.conf with the one on my repo. After that you can just install packages like normal.

@lmore377 -
this is very generous of you. i have been trying to build off your branch for the past month but cannot get a successful make on my home setup. i will keep trying, but in the meantime, will use your source.
thank you!

@lmore377
I hope you can give me a bit of a start here. I received my RAC2v1K (firmware 1.1.31) yesterday and downloaded your updated repo from github.

I logged into the RAC2v1K web interface and tried to restore the 1.1.16 version of the SSH config. However after reboot I can't SSH into the router and I need to use the following to login to the web interface user:admin password:linuxbox.

I am clearly doing something wrong but was hoping that you might be able to help me get ssh.

I'm not home right now but I got a chance to play around with some newer firmware so I'll make a newer config later

1 Like

Alright I added a newer file. It's for 1.1.28 but hopefully it should work.

1 Like

Thanks. I can ssh in using user:admin password:admin but I can't set the fw_env. I can't ssh in using user:4230w with either pass:admin or pass:linuxbox. Unless there is an easy fix, I will crack this thing open and do serial cable.

Use the technician:linuxbox. admin:admin has less privileges

I used technician:linuxbox and am getting a "Bad CRC, using default environment" when I try to fw_setenv...

I sent you a message