OpenWrt Forum Archive

Topic: Realtek SoC support in OpenWrt

The content of this topic has been archived between 22 Sep 2016 and 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all! I have router totolink n301ra (rtl8196c,  rtl8192ce, w9812g6jh-6)
If I understand right it have RAM: 16 MB Flash: 4 MB

http://s2.postimg.org/4pbkpqyth/DSCN6821.jpg

How can I upload the firmware without UART cable?
(as I understand most of routers support upload via tftp, but need more details, please)

Which file exactly need to flash? (this one https://downloads.nprove.in/snapshots/r … hfs-fw.bin ?)

Thanks!

(Last edited by reali on 19 Nov 2014, 02:59)

How you can transfer the firmware depends on your bootloader. You can find out about your bootloader via USB-Serial cable. connect it and turn on the router and on serial terminal you can check which is the bootloader. Once you have the info about the bootloader you will have no difficulty in finding out how to do it. Mostly routers use u-boot or CFE but realtek routers use realtek's own bootloader at least I have realtek's already on my flash chip.

If you happen to have realtek boootloader you can use TFTPD select it as tftp client and give the ip 192.168.1.6. I would suggest that you confirm whether your bootloader acts as tftp server or tftp client. I have limited working knowledge as I have dealt with 819xd SoC and I use the above method to transfer the image.

And yes I think squashfs is the generated firmware because in my SDK>menuocnfig>Target Image> squashfs is selected by default.

khmtambi wrote:

You can find out about your bootloader via USB-Serial cable. connect it and turn on the router and on serial terminal you can check which is the bootloader.

Thanks! Will try to get serial cable and then will get back here.

khmtambi wrote:

And yes I think squashfs is the generated firmware because in my SDK>menuocnfig>Target Image> squashfs is selected by default.

Yeah, I built it too.

Hi all,

I successfully run nprove openwrt on rtl8169c.
I wonder whether there are plans for official OpenWrt support for this realtek chip?
I would love to run 3.x kernel on it if possible :-)

Thanks,
Tom.

Hi all,

guyz I am facing this problem for about 3 weeks now and not a little bit of progress..... What I have is rtl8196d based board with 8192cd wifi chip. I am running BB.

The problem is DHCP passthrough over my LAN(eth1) interface. My LAN(eth1) interface is bridged with WiFI and I have given the network 192.168.9.1 to eth1. But when I connect DHCP client such as my laptop over wire I get the IP of my upstream router with upstream router's gateway. When I connect DHCP client over wifi I get the IP assigned to the LAN interface.

This problem is literally eating my time. Any help would be really appreciated!!!!!

Thanks
Tanveer.

@alphasparc  could you please help to build the openwrt RTL8196E  by the The Official openwrt dev sdk  @ realtek! ?

here i failed to build it.but RTL8198C is ok.

chijiao wrote:

Here is sdk download link.  http://pan.baidu.com/s/1hqgNCna

Dear chijiao,thx for your share ,btw,do you have this [rtl819x-SDK-v3.4.6.4] for share?

dear all,
  please help. failed to make the image with the offical openwrt sdk.

<code>
make[3]: Entering directory `/home/aico/realtek/openwrt/rtk_openwrtSDK_v2.1_20140314_full/rtk_openwrt/toolchain/gdb'
(cd /home/aico/realtek/openwrt/rtk_openwrtSDK_v2.1_20140314_full/rtk_openwrt/build_dir/toolchain-rlx_gcc-4.6-linaro_uClibc-0.9.33.2/gdb-linaro-7.6-2013.05; gdb_cv_func_sigsetjmp=yes CFLAGS="-O2" /home/aico/realtek/openwrt/rtk_openwrtSDK_v2.1_20140314_full/rtk_openwrt/build_dir/toolchain-rlx_gcc-4.6-linaro_uClibc-0.9.33.2/gdb-linaro-7.6-2013.05/configure --prefix=/home/aico/realtek/openwrt/rtk_openwrtSDK_v2.1_20140314_full/rtk_openwrt/staging_dir/toolchain-rlx_gcc-4.6-linaro_uClibc-0.9.33.2 --build=i686-linux-gnu --host=i686-linux-gnu --target=rlx-openwrt-linux-uclibc --disable-werror --disable-nls --without-uiout --disable-tui --disable-gdbtk --without-x --without-included-gettext --enable-threads );
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... Invalid configuration `rlx-openwrt-linux-uclibc': machine `rlx-openwrt' not recognized
configure: error: /bin/sh ./config.sub rlx-openwrt-linux-uclibc failed


</code>

kwongwo wrote:
andygo wrote:

http://downloads.trendnet.com/GPL/GPL_T … 23).tar.gz
could be interesting. There is rtl819x-SDK-v3.4.5.1 included.


Thanks, i just download it ,but fail to compile with some errors. how about you ?

That archive contains preconfigured set of files (busybox, kernel etc) for Trendnet. You should take some additional actions for making your personal firmware with that Realtek SDK.

Jast for testing I could get expected firmware for TEW-813. But it doesn't work with my Upvel device. M.b because of it's for 128MB RAM, but UR-825AC has 64MB only.

(Last edited by andygo on 26 Dec 2014, 23:37)

Does anybody know is there any vendor lock in different firmwares for different devices with the similar Realtek chip set?

(Last edited by andygo on 26 Dec 2014, 21:22)

andygo wrote:
kwongwo wrote:
andygo wrote:

http://downloads.trendnet.com/GPL/GPL_T … 23).tar.gz
could be interesting. There is rtl819x-SDK-v3.4.5.1 included.


Thanks, i just download it ,but fail to compile with some errors. how about you ?

That archive contains preconfigured set of files (busybox, kernel etc) for Trendnet. You should take some additional actions for making your personal firmware with that Realtek SDK.

Jast for testing I could get expected firmware for TEW-813. But it doesn't work with my Upvel device. M.b because of it's for 128MB RAM, but UR-825AC has 64MB only.


Dear Andygo,
   what Compile Environment  are you using?  i am using the Ubuntu12.04 ,

when i try to "make menuconfig" , i got some errors ,

could you pls adivice the Environment  ? i will try it again,

btw,  i just look into the Trendnet code,there some codes to check if the hardware belongs to  Trendnet .

kwongwo,

Look at GPL/README file.

I am using Centos 5.9 with all necessary packages from the same package repository (mount DVD with Centos 5.9 and configure yum for it). You have to disable any other repo (enable=0 in yum config files).
http://vault.centos.org/5.9/isos/i386/C … D-1of2.iso
- should be enough.
After you install "Server" version w/o GUI you have to install additional packages:

yum install gcc-*
yum install kernel-*
yum install ncurses
yum install kernel-*
yum install ncurces-devel
yum install byacc
yum install flex
yum install bison
yum install bison-devel

Also you have to install python docutils and mercurial for them.

M.b. I missed something. Look at stdout log and add/install necessary packagess. Some errors would be resolved if you removed Makefile in some apps (/opt/head/oemac/opensource/app) and would try again from the first step from README

(Last edited by andygo on 3 Jan 2015, 18:31)

Hey guys, whats new?

chx wrote:

Any news on https://wikidevi.com/wiki/AboCom_WRN500 whether this router work with OpenWRT?

It could work if the flash is 4MB or larger. Could you check the flash part number?

ifun wrote:

I have trouble to hit the http://nprove.in

I had the same difficulties. It looks like this web-site was deleted and is not supported more.

...
Domain ID:D5551966-AFIN
Domain Name:NPROVE.IN
Created On:27-Nov-2011 14:30:20 UTC
Last Updated On:09-Jan-2015 23:48:53 UTC
Expiration Date:27-Nov-2015 14:30:20 UTC
Sponsoring Registrar:Name.com LLC (R65-AFIN)
Status:CLIENT TRANSFER PROHIBITED
Status:INACTIVE
Status:PENDING DELETE RESTORABLE
Status:REDEMPTIONPERIOD
... 
andygo wrote:
ifun wrote:

I have trouble to hit the http://nprove.in

I had the same difficulties. It looks like this web-site was deleted and is not supported more.

...
Domain ID:D5551966-AFIN
Domain Name:NPROVE.IN
Created On:27-Nov-2011 14:30:20 UTC
Last Updated On:09-Jan-2015 23:48:53 UTC
Expiration Date:27-Nov-2015 14:30:20 UTC
Sponsoring Registrar:Name.com LLC (R65-AFIN)
Status:CLIENT TRANSFER PROHIBITED
Status:INACTIVE
Status:PENDING DELETE RESTORABLE
Status:REDEMPTIONPERIOD
... 

Could you have the backup of the image or the source code of openwrt ?
:-D

an owner and registrant of nprove.in - ps2chiper

Hey! Master! Is there any news? Could you share it with us? :-)

andygo,
Hello!
I bought a router UR-825AC
The official firmware does not suit me.
Let us together make OpenWrt?

Can anyone point me towards support for an A/C router with a RTL8881AQ + RTL8192? Sold by/labelled Monoprice, as "Monoprice 11442 AC750"; FCC ID is T58W (Netis), and specs look like Netis 2710R... Any help would be appreciated!

TIA,
dickms