Building OpenWRT for RTL8196C

本文介绍如何从Git获取并编译OpenWRT Realtek版本的固件源码,适用于Realtek RTL8xxx系列设备。文章详细说明了配置步骤、编译选项以及所需的工具链版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


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.


Getting 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 git: //git .advem.lv /openwrt-realtek .git
cd . /openwrt-realtek/
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.

?
1
make 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
firewall3
odhcp6c


Build



It could take some time to compile image.

With some compiling output
?
1
make V=s


Without extra output
?
1
make


Compile in many threads
?
1
make -j8




Final image is inside bin/realtek

UPDATE

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 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 


Links


Downloads


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值