Working Realtek SoC RTL8196E 97D 97F in last master

I have DAP-1610 HW VER B1 with RTL8197FH and RTL8812FR. Would there be OpenWRT for this device?

Based on the course of this thread over the last three years, what would you guess?

--
Chances are non-zero, but very, very low.
…and even if someone would get SOC support ready, WLAN would still be another question altogether
…and even if all of the above would happen, it would still be up to you to port your device to this, which involves quite some development skills (or a steep learning curve) on your side

Realistically, can you meet those conditions?
…if you did, you wouldn't have to ask.

how to continue this device support with some information from https://gist.github.com/feryw ? @gaspare can you help us too ?

Maybe this can help a lot in one of my comments I published a full dump image without encryption which can obtain both the universal uboot boot among other things this could help a lot in your advancement

:point_right: Tatung wap-3518

How can we install OpenWRT on the RTL8812BRH?
Hardware photos: https://imgur.com/a/KtHW3zT

Did you read this thread?

1 Like

Thanks for your initial work @plappermaul . I wonder if you're still interested in it?

I recently came across a lot of 20+ units of Askey AP5100W going for dirt cheap. I took one apart and found that there was already a uart header conveniently soldered, along with a pretty hefty heatsink. It seemed like rather powerful hardware. They were locked down by the vendor (telco in my country) but I was able to obtain root through the uart debug. Here are my initial investigations.

It ran on RTL8198C, so I cherry-picked your commits on top of master branch and refreshed the patches. I managed to get it to compile, and when I transferred the image to the device, the lzma decompression worked, but an exception was raised immediately. Unfortunate.

If anybody is interested in experimenting with RTL8198C support feel free to try from my fork. I'll keep the branch current via rebasing. Do let me know if anybody has any breakthrough in porting it to their devices.

After a few months of on-and-off work I’m pleased to say that I’ve gotten my RTL8198C device to boot with OpenWRT master branch on kernel 6.12. Link to the branch

Mostly cherry-picked code from Plappermaul’s branch. I tried to use the new rt-loader, unfortunately the device just prints ā€œUnexpected Exceptionā€ and freezes, so I will stick to the old lzma-loader for now. I am currently trying to get PCI working.

If you have any RTL8198C device please feel free to give this a spin.

4 Likes

Looking at your changes… any reason for using a separate rtl8198c folder for arch files instead of using rtl838x arch code and integrating rtl8198c to it?

Also pci and usb driver looks very similar to what i have found in rtl9607c arch files from a gpl source code, i wonder if it would be possible to have 1 realtek pci and usb for both these architectures…

I made a separate arch folder because it was easier to debug things that way. But since I’ve gotten the boot to work I think I can try and merge them again, but calling it rtl838x is becoming a little dishonest since old and new archs are under it

I looked at your GPL source and yes, agree that there is a lot of overlap. I don’t have a lot of time to tease out the details at the moment tho, if doing this myself I’d expect maybe another 2 months

@gaspare Thank for your work! I was able to boot to RTL8197F-VG from your branch (after some annoying fixed related to toolchain building)