Building OpenWRT for RTL8196C
In previous post there wasn't clearly described how to download and compile sources for OpenWRT realtek release. Its not official repository because not yet all things is updated with mainline OpenWRT and not officially and OpenWRT port. To compile by your self there is need to do some basic configuration of sources.
Fits of all need to get sources from git server. There is some branches in git. But only one of them intended to be used for non development purposes its "realtek-unstable"
1 2 3 4
git clone http://git.advem.lv/rtl819xx cd ./rtl819xx/ git branch -a git checkout realtek-unstable
Config in menuconfig
There is supported only compilation with binutils 2.21.1 and gcc-4.6.x-linaro. Now you should setup that options with menuconfig.
This options should be set in main menu:
Target System as (Realtek RTL8xxx)
Target Profile as (nprove)
Advanced configuration options (for developers) switch on
Now in Advanced configuration options set Toolchain Options and there options for binutils and gcc as in image
Binutils Version as (binutils 2.21.1)
GCC compiler Version as (gcc 4.6.x with Linaro enhancements)
Last option to switch of is in main menu Network
It could take some time to compile image.
With some compiling output
Without extra output
Compile in many threads
Final image is inside bin/realtek
9 dec 2014 as main manager that was involved in this "nprove brand" router development based on 8196c/d chip changed job he dont invloved anymore in this project as it was. Also domain nprove.in not belong to any who where involved in this router development. Probably I can say that this try to port realtek fake open source openwrt firmware to mainline openwrt is ended. Also chanell on ~~freenode.net/#nprove~~ libera.chat/#mainlv with main developer also can be considered died. Also all this post now is for historical puropouses. If someone interested i could try to get all this 8196c git repo sources and put in archive. Maybe someone will continue development of 8196c chip support for mainline openwrt not for fake-relatek-openwrt.
8 jan 2015 old repo from git.nprove.in moved to http://git.advem.lv/
30 apr 2015 updated links
29 jan 2022 changed irc chat location
build_openwrt.tar.gz - 12KiB - http://archive.main.lv/files/writeup/building_openwrt_for_rtl8196c/build_openwrt.tar.gz
<a href=/img/building_openwrt_for_rtl8196c/menuconfig.png width="250"><img src="/img/building_openwrt_for_rtl8196c/menuconfig.png" style="width:40%" alt="OpenWRT menuconfig"></a> <a href=/img/building_openwrt_for_rtl8196c/toolchain.png width="250"><img src="/img/building_openwrt_for_rtl8196c/toolchain.png" style="width:40%" alt="OpenWRT menuconfig"></a>