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.

You were right - I pressed the big, obvious, green "DOWNLOAD" button, right next to the name of the archive, and it sent me to the adware. I couldn't tell what it was going to download, since it merely activated another script, with an innocuous name.

The tiny print that was a link to the actual archive was labelled "Direct download Link"

http://i.imgur.com/PengzTa.png

Guess solidfiles is just a bad place to put files to share. Glad I had AVG to catch the sneaks.

And I can't explain why you got the tgz from the green button, with Chrome on Linux, and I got malware with Chrome on Windoze - seems like solidfiles is actually watching the request metadata, and only serving malware where it's likely to be installed.

Alright, I've read through most of this thread but I'm still pretty unsure of what I need to do. I downloaded the 00002778-rtk_openwrtSDK_v2.1_20140314_full.tar.gz file, I'm just not quite sure where to go from there.

I know my way around Linux and am comfortable with all that, so I don't need step-by-step directions, just a general idea of what I need to do. I have a Netgear WNR1500, which has a RTL8196C chip. Anyone able to help?

(Last edited by vaindil on 20 Feb 2015, 00:37)

Curious: has anyone looked at the Asus WL-330NUL at all?

It's a lovely, small travel router. OpenWRT on it would be the icing on the cake.

8196EU + 8188ER, 16MiB Flash, 32 MiB RAM.

(from https://wikidevi.com/wiki/ASUS_WL-330NUL)

hmm. I have a LevelOne WBR-6020, R0.20a7 firmware. WiFi disconnects all teh time and then reconnects. Rubbish.

I thought I might be able to load on OpenWRT or DD-WRT but it seems it's not really ready, not if vaindil can't understand how to get it working.

So I will have to buy a new router and throw this away. Such a waste.


This time round we'll get a decent one. Which is the best router manufacturer supporting OpenWRT/opensource efforts now?

You may also consider TOTOLINK A2004NS, which is low cost.
It uses the same chips as the Realtek RTL8197D design.

Hello guys!
I bricked my ws-wn523n2 router(I was able to access it over UART/TFTP only) so I tried to put new firmware .bin to it through TFTP and completely killed it. It doesn't answer at all.

But I'm just curious why it happened, and how far should I throw this thing now.

1. I uploaded official firmware .bin to the module (1EBF43 Bytes at 80500000)

2. I used flw to write that data to address 30000
(command: flw 30000 80500000 1EBF43)

Modules' lights go on and I cannot send commands anymore.
This was probably a vital memory address for the device, but why? What address I should've used?

Before I killed it, I had this scenario:

no sys signature at 00010000!
no sys signature at 00020000!
no rootfs signature at 000E0000!
no rootfs signature at 000F0000!
.... until:
Set 8196C PHY Path OK

I was missing this main event completely:

Jump to image start=0x80500000...
decompressing kernel:
Uncompressing Linux... done, booting the kernel.
...

How could I have achieved that, and why was address 30000 reserved and killed it? I'm just curious.
I was aware that 0-0x10000 is reserved, but not 30000.
(I read that from here: http://rtl8181.sourceforge.net/rtl8181_cookbook.php)

P.S. There's easy access to SPI flash. Can I rewrite the whole firmware there, using Arduino etc.?

Thank you for reading!

(Last edited by Tuppe on 6 Apr 2015, 12:44)

http://www.tp-link.co.id/products/detai … 841HP#down

I want to buy this router, It is same as TL-WR841HP but has 8dbi antenna instead of the 5dbi antenna of the international version. Normally know as TL-WR841HP (HG) . Do you think it can run openwrt if realtek SoC is supported ? I am willing to wait for openwrt to be ported . Just want to know will it be supported before I buy it .

(Last edited by jobayer on 6 Apr 2015, 18:51)

jobayer wrote:

http://www.tp-link.co.id/products/detai … 841HP#down

I want to buy this router, It is same as TL-WR841HP but has 8dbi antenna instead of the 5dbi antenna of the international version. Normally know as TL-WR841HP (HG) . Do you think it can run openwrt if realtek SoC is supported ? I am willing to wait for openwrt to be ported . Just want to know will it be supported before I buy it .

I think it uses Qualcomm, better to open another thread or ask in WR841N thread.

dickms wrote:

You were right - I pressed the big, obvious, green "DOWNLOAD" button, right next to the name of the archive, and it sent me to the adware. I couldn't tell what it was going to download, since it merely activated another script, with an innocuous name.

The tiny print that was a link to the actual archive was labelled "Direct download Link"

http://i.imgur.com/PengzTa.png

Guess solidfiles is just a bad place to put files to share. Glad I had AVG to catch the sneaks.

And I can't explain why you got the tgz from the green button, with Chrome on Linux, and I got malware with Chrome on Windoze - seems like solidfiles is actually watching the request metadata, and only serving malware where it's likely to be installed.

the picture you posted i see a direct download opption on the botton ,maybe thats the one.

Hi guys, my English is not good
I have a route
CPU: RTL8197D
FLAH: 16M MX25L12845EMI-100
RAM: 64M EM6AB160TSD-5G
Wi-Fi RTL8192CE
I downloaded the SDK from the post 101 compiled (defconfig_rtl819xd) and install the firmware , but the following problem .
When you try to turn on Wi-Fi network is not included in the kernel and system logs indicated that the device can not be started

As far as I know I made mistakes configuration files

System Log
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] Process hostapd (pid: 1035, threadinfo=82eb2000, task=832d69c8, tls=00000000)
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] Stack : ffffffff 80057178 00024220 00000000 00000003 000003db 00000000 831c87c0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]       833243c0 00000000 00000000 8007d280 000524e8 00000000 00000000 00000000
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]       829c0000 00000e00 00000000 00000000 00000868 8007d760 000003db 833243c0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]       c07215dc 831d0000 c06f7478 10000401 83324000 8013ef50 00000010 c06fd0a8
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]       00000020 80312e78 ffffffff 00000cc0 829bcc80 00000cc0 000000c0 82dc24e0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]       ...
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] Call Trace:[<80057178>] 0x80057178
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8007d280>] 0x8007d280
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8007d760>] 0x8007d760
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c07215dc>] 0xc07215dc
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c06f7478>] 0xc06f7478
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8013ef50>] 0x8013ef50
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c06fd0a8>] 0xc06fd0a8
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c06bee8c>] 0xc06bee8c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8004c748>] 0x8004c748
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c06f7478>] 0xc06f7478
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<800034e0>] 0x800034e0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80012f64>] 0x80012f64
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c06c487c>] 0xc06c487c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80003800>] 0x80003800
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8021ce94>] 0x8021ce94
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8021cdc0>] 0x8021cdc0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8021d170>] 0x8021d170
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<c0440000>] 0xc0440000
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80010000>] 0x80010000
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8021d2d4>] 0x8021d2d4
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8022dc1c>] 0x8022dc1c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8022dc1c>] 0x8022dc1c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80276520>] 0x80276520
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8022ded8>] 0x8022ded8
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80206a14>] 0x80206a14
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80091a30>] 0x80091a30
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<800957b8>] 0x800957b8
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80207630>] 0x80207630
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8008280c>] 0x8008280c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80082d10>] 0x80082d10
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<802085c4>] 0x802085c4
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80091af0>] 0x80091af0
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8002b6f8>] 0x8002b6f8
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<8000976c>] 0x8000976c
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] [<80001624>] 0x80001624
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000]
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.130000] Code: 8e340004  081bbe8b  00000000 <8e050000> afa50030  8e030004  afa3002c  8c430008  3063f00f
Fri Apr 10 17:36:49 2015 kern.warn kernel: [   38.140000] ---[ end trace d8e36dea33d1d9c7 ]---
Fri Apr 10 17:36:49 2015 daemon.notice netifd: radio0 (879): Segmentation fault
Fri Apr 10 17:36:49 2015 daemon.notice netifd: radio0 (879): cat: can't open '/var/run/wifi-phy1.pid': No such file or directory
Fri Apr 10 17:36:49 2015 daemon.notice netifd: radio0 (879): Command failed: Invalid argument
Fri Apr 10 17:36:49 2015 daemon.notice netifd: radio0 (879): Device setup failed: HOSTAPD_START_FAILED

Kernel Log
[   38.130000] Modules linked in: pppoe ppp_async iptable_nat cdc_mbim rtl8192cd rndis_host qmi_wwan pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_MASQUERADE ip_tables cfg80211 cdc_ncm cdc_ether asix xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT x_tables usbserial usbnet slhc nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp nf_conntrack crc_ccitt compat cdc_wdm cdc_acm ipv6 arc4 crypto_blkcipher ext4 crc16 jbd2 mbcache crypto_hash
[   38.130000] Process hostapd (pid: 1035, threadinfo=82eb2000, task=832d69c8, tls=00000000)
[   38.130000] Stack : ffffffff 80057178 00024220 00000000 00000003 000003db 00000000 831c87c0
[   38.130000]       833243c0 00000000 00000000 8007d280 000524e8 00000000 00000000 00000000
[   38.130000]       829c0000 00000e00 00000000 00000000 00000868 8007d760 000003db 833243c0
[   38.130000]       c07215dc 831d0000 c06f7478 10000401 83324000 8013ef50 00000010 c06fd0a8
[   38.130000]       00000020 80312e78 ffffffff 00000cc0 829bcc80 00000cc0 000000c0 82dc24e0
[   38.130000]       ...
[   38.130000] Call Trace:[<80057178>] 0x80057178
[   38.130000] [<8007d280>] 0x8007d280
[   38.130000] [<8007d760>] 0x8007d760
[   38.130000] [<c07215dc>] 0xc07215dc
[   38.130000] [<c06f7478>] 0xc06f7478
[   38.130000] [<8013ef50>] 0x8013ef50
[   38.130000] [<c06fd0a8>] 0xc06fd0a8
[   38.130000] [<c06bee8c>] 0xc06bee8c
[   38.130000] [<8004c748>] 0x8004c748
[   38.130000] [<c06f7478>] 0xc06f7478
[   38.130000] [<800034e0>] 0x800034e0
[   38.130000] [<80012f64>] 0x80012f64
[   38.130000] [<c06c487c>] 0xc06c487c
[   38.130000] [<80003800>] 0x80003800
[   38.130000] [<8021ce94>] 0x8021ce94
[   38.130000] [<8021cdc0>] 0x8021cdc0
[   38.130000] [<8021d170>] 0x8021d170
[   38.130000] [<c0440000>] 0xc0440000
[   38.130000] [<80010000>] 0x80010000
[   38.130000] [<8021d2d4>] 0x8021d2d4
[   38.130000] [<8022dc1c>] 0x8022dc1c
[   38.130000] [<8022dc1c>] 0x8022dc1c
[   38.130000] [<80276520>] 0x80276520
[   38.130000] [<8022ded8>] 0x8022ded8
[   38.130000] [<80206a14>] 0x80206a14
[   38.130000] [<80091a30>] 0x80091a30
[   38.130000] [<800957b8>] 0x800957b8
[   38.130000] [<80207630>] 0x80207630
[   38.130000] [<8008280c>] 0x8008280c
[   38.130000] [<80082d10>] 0x80082d10
[   38.130000] [<802085c4>] 0x802085c4
[   38.130000] [<80091af0>] 0x80091af0
[   38.130000] [<8002b6f8>] 0x8002b6f8
[   38.130000] [<8000976c>] 0x8000976c
[   38.130000] [<80001624>] 0x80001624
[   38.130000]
[   38.130000]
[   38.130000] Code: 8e340004  081bbe8b  00000000 <8e050000> afa50030  8e030004  afa3002c  8c430008  3063f00f
[   38.140000] ---[ end trace d8e36dea33d1d9c7 ]---

Please, help.
It is desirable to lay out the configuration files under the specified hardware

reali wrote:

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

this is my boot log

FLASH_ID->00ef4015

=>Default SFCSR used:=>Use Winbond default...

=>SFCR2:0bf08000


---ipTIME-RealTek(RTL8196C)at 2010.07.15-19:10+0900 version v1.1c [16bit](390MHz)

Init GPIO

Delay 1 second till reset button

Magic Number: raw_nv 00000000

sizeof package_header_t -> 56

Check Firmware(05020000) : product_id: <zn301ra>, size: 0x001c2fc8 ---->[ OK ]


---05020048

header StartAddr --> 80500000, 716802

Jump to image start=0x80500000...

decompressing kernel:
Uncompressing Linux... done, booting the kernel.
done decompressing kernel.
early printk enabled 

Determined physical RAM map:

 memory: 01000000 @ 00000000 (usable)

On node 0 totalpages: 4096

zone(0): 4096 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/mtdblock1 console=0 single

Calibrating delay loop... 389.12 BogoMIPS

Memory: 9500k/16384k available (2310k kernel code, 6884k reserved, 416k data, 60k init, 0k highmem)

Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)

Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 4096 (order: 2, 16384 bytes)

check_wait... unavailable.

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

Serial driver version 6.02 (2003-03-12) with no serial options enabled

ttyS00 at 0x2000 (irq = 5) is a rtl_uart1

state->flags=00000000

Realtek GPIO Driver for Flash Reload Default

Init IPTIME GPIO: 

block: 64 slots per queue, batch=16

PPP generic driver version 2.4.1

MPPE/MPPC encryption/compression module registered

SPI INIT

flash device: 0x200000 at 0xbd000000

probe realtek

capacity_id 15

get SPI CS0


maker:ef  type:40  sector_cnt:32

get SPI chip driver!

Physically mapped flash: Found an alies 0x200000 for the chip at 0x0, winbond device detect.

probe ends

probe realtek2

Creating 2 MTD partitions on "Physically mapped flash":

0x00000000-0x00200000 : "boot+cfg+linux+rootfs"

0x000d0000-0x00200000 : "root fs"

RealTek E-Flash System Driver. (C) 2002 RealTek Corp.

Cannot find driver for DiskOnChip Millennium at 0x6000

Realtek WLAN driver - version 1.6 (2013-02-21)

 wlan_index:0  0, 134,0xb9000000,0xb8b10000,21

=====>>INSIDE rtl8192cd_init_one <<=====


PCIE_reset_procedure_96C

96C - 40MHz Clock Source

vendor_deivce_id=819110ec

=====>>EXIT rtl8192cd_init_one <<=====

=====>>INSIDE rtl8192cd_init_one <<=====

=====>>EXIT rtl8192cd_init_one <<=====

=====>>INSIDE rtl8192cd_init_one <<=====

=====>>EXIT rtl8192cd_init_one <<=====

=====>>INSIDE rtl8192cd_init_one <<=====

=====>>EXIT rtl8192cd_init_one <<=====

=====>>INSIDE rtl8192cd_init_one <<=====

=====>>EXIT rtl8192cd_init_one <<=====

=====>>INSIDE rtl8192cd_init_one <<=====

=====>>EXIT rtl8192cd_init_one <<=====

Realtek 865x Ethernet driver v0.6 (Mar 26, 2008)

eth0: RTL865x-NIC at 0xbb804000, 00:00:00:00:00:11, IRQ 2

eth1: RTL865x-NIC at 0xbb804000, 00:00:00:00:00:22, IRQ 2

eth2: RTL865x-NIC at 0xbb804000, 00:e0:4c:f0:00:02, IRQ 2

eth3: RTL865x-NIC at 0xbb804000, 00:e0:4c:f0:00:03, IRQ 2

eth4: RTL865x-NIC at 0xbb804000, 00:e0:4c:f0:00:04, IRQ 2

=> rtl865x_ioctl init

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 1024 bind 2048)

Linux IP multicast router 0.06 plus PIM-SM

==> create_proc_ipclone() form DEV.c 

ip_conntrack version 2.1 (512 buckets, 1024 max) - 384 bytes per conntrack

IPSEC netfilter connection tracking: registered

IPSEC netfilter NAT helper: NETDETECT target register

ip_nat_bnet: Trying to register for port 6112

FTP proc OK....

ip_ct_ftp: registering helper for port 21

ip_ct_ftp: # of port 1

ip_tables: (C) 2000-2002 Netfilter core team

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

NET4: Ethernet Bridge 008 for NET4.0

VFS: Mounted root (squashfs filesystem) readonly.

Freeing unused kernel memory: 60k freed

mount /proc file system ok!

mount /tmp  file system ok!

---> /sbin/init doing 

alias:zn301ra version:8.76
Restore Config ( 6473 bytes )
etc/wireless.conf.wps.wlan0
etc/wireless.conf.wlan0
etc/udhcpd.static
etc/udhcpd.leases
etc/udhcpd.conf
etc/services
etc/resolv.conf
etc/pptpd.conf
etc/pppoe.session
etc/ppp
etc/ppp/options.pptpd
etc/ppp/options.eth1
etc/ppp/chap-secrets
etc/ppp/pap-secrets
etc/passwd
etc/miniupnpd.conf
etc/mime.types
etc/messages
etc/ippool.set
etc/ippool.conf
etc/igmpproxy.conf
etc/iconfig.cfg
etc/httpd.passwd
etc/group
etc/fwsched_netfilter.set
etc/fwsched.set
etc/defaultip
Set WAN PORT



=================================================================
press magic key to change default setting ...
  LAN MAC : secret
  WAN MAC : secret
Bridge Init
device wlan0-va0 is not a slave of br0
device wlan0-va1 is not a slave of br0
device wlan0-va2 is not a slave of br0
device wlan0-wds0 is not a slave of br0
device wlan0-wds1 is not a slave of br0
device wlan0-wds2 is not a slave of br0
device wlan0-wds3 is not a slave of br0
device wlan0-vxd is not a slave of br0
Interface doesn't accept private ioctl...
set_mib (89F1): Operation not permitted
iptables: No chain/target/match by that name
iptables: Bad rule (does a matching rule exist in that chain?)
Jan  1 00:00:07 miniupnpd[203]: Reloading rules from lease file

Jan  1 00:00:07 miniupnpd[203]: could not open lease file: /var/run/upnp_pmlist

Jan  1 00:00:07 miniupnpd[203]: HTTP listening on port 2048

PPTP Server Start!!
insmod: not found
killall: iapp: no process killed
killall: wscd: no process killed
killall: iwcontrol: no process killed
SIGNAL -> Config Update signal progress
killall: pppoe-relay: no process killed
SIGNAL -> WAN ip changed
signalling SAVE
signalling WAN IP Changed
iptables: Bad rule (does a matching rule exist in that chain?)
Reaped 229
Reaped 220
Reaped 202
Reaped 201
SIGNAL ->Save All
etc/wireless.conf.wps.wlan0
etc/wireless.conf.wlan0
etc/udhcpd.static
etc/udhcpd.leases
etc/udhcpd.conf
etc/services
etc/resolv.conf
etc/pptpd.conf
etc/pppoe.session
etc/ppp/
etc/ppp/pap-secrets
etc/ppp/chap-secrets
etc/ppp/options.eth1
etc/ppp/options.pptpd
etc/passwd
etc/miniupnpd.conf
etc/mime.types
etc/messages
etc/ippool.set
etc/ippool.conf
etc/igmpproxy.conf
etc/iconfig.cfg
etc/httpd.passwd
etc/group
etc/fwsched_netfilter.set
etc/fwsched.set
etc/defaultip
SIGNAL -> WAN ip changed
WAN0 IP: 172.16.2.106
Jan  1 00:00:11 miniupnpd[203]: received signal 17, Ext Interface ppp1

/sbin/sendapcp: not found
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
Reaped 265
Base: 7929,  Auth Slot: 7985
Auth Counter: 21544, 56 remained

Thanks!

Is the project abandoned?
Most of budget routers and most of new D-Links based on realtek chipsets. Some 11ac routers based on RTL8197D have good prices.
If they are really bad, so tell us not to buy them.:/

(Last edited by sb1370 on 12 May 2015, 06:29)

How could I get the source code?thanks

If they are really bad, so tell us not to buy them.:/

OpenWrt did not support Realtek SoC.
There are many ressources required to do porting. (time/money, interest,  resources etc.)
Realtek does not seem to be involved with "current" linux/toolchain support for their SoC.
Realtek is not a small company. Complain to Realtek/DLink for missing OpenWrt support smile
There is still a git repo available in the links from the 1st post - anyone can work/continue from there.

zloop wrote:

If they are really bad, so tell us not to buy them.:/

OpenWrt did not support Realtek SoC.
There are many ressources required to do porting. (time/money, interest,  resources etc.)
Realtek does not seem to be involved with "current" linux/toolchain support for their SoC.
Realtek is not a small company. Complain to Realtek/DLink for missing OpenWrt support smile
There is still a git repo available in the links from the 1st post - anyone can work/continue from there.

I asked it because Realtek CPUs lack some instructions compared to MIPS. So they are weaker/slower?

I asked it because Realtek CPUs lack some instructions compared to MIPS. So they are weaker/slower?

From a theoretical pov: emulating the functionality of the missing instructions can take more time.
But its also important how often that instruction would be used "normally". This is decided by the compiler and its Optimization - OpenWrt optimized for "size" not "speed" setting.

atm there are ~6 variants of MIPS supported in gcc (mips32r1....r6)
Probably every new version has introduced new instructions to help performance in certain fields.
like MMX,SEE,AVX which were introduced for multimedia purposees.

So "weaker"/"slower" is only true if you *heavily* would have used the missing instructions.

(Last edited by zloop on 14 May 2015, 07:43)

I'd be interested in testing out a build for Realtek chips. I have a TP-Link WR841HP here. Where can I get the build? What about compiling from source?

So I read after reading thru the thread am I to understand work on a Realtek port has ceased?
Or are there a few still pounding away at it?

I picked up a D-link DIR-600L rev.A1 (Not to be confused with the older Atheros based DIR-600)
at the thrift store last night for 2 bucks.

I thought it was running a Atheros SoC, what a rude surprise when I found a Realtek inside which no one supports lol.

SoC: RTL8196C
Ram: 32mb (w9825g6jh-6)
Flash: 4mb (some spi I think, to tiny to read)
Radio: rtl8188re
Kernel: Linux version 2.4.18-MIPS-01.00 (gcc version 3.4.6-1.3.6)

Stock firmware is as ugly as can be hmm

I found the serial header and got it working so I can provide boot text, etc.
Never been good with compiling, and code patching is over my head.

Don't have a JTAG (but I can always get one) Willing to be a labrat if anyone still working on the Realteks

Added serial pinout and some pix over at wikidevi if anyone is interested:
https://wikidevi.com/wiki/D-Link_DIR-600L_rev_A1

ps2chiper wrote:
vhcolombo wrote:
danielsokolowski wrote:

Hi Roman, thanks for your work on this - I have purchased: TP-LINK TL-WR841HP which seems to be  Realtek RTL8196D and Realtek RTL8192CE - http://wikidevi.com/wiki/TP-LINK_TL-WR841HP. So please keep up posted on your progress and if you have a donate page feel free to share the link.

TP-Link routers are crappy with stock firmware but great when flashed with openwrt firmware -  in my limited experience

@danielsokolowski have you tried the openwrt in your WR841HP? Do you know how much flash memory this has? Maybe you could take a picture of the board and post here wink

For everyone who wants to try 96d. Please PM me so I can personally help you out. You will need to change the bootloader to make it work. I want to help you with that as its not really documented, nor the sources provided for the bootloader.

Anymore info on this in the open? Got my hands on a TL-WR841HP here and not finding much information on OpenWRT support for it. Would be nice to get some feedback if OpenWRT works (WR841N/ND firmwares?)

Thanks in advance!

Dear all,
   my board(RTL8196E) has only 1 Ethernet port,now it is WAN port,it can get the ip from dhcp server.
i also want to use it as lan port  while i connect it with the computer.

i can access the router directly.



# ifconfig 
br0       Link encap:Ethernet  HWaddr 00:E0:4C:81:96:C1  
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:46 (46.0 B)

eth0      Link encap:Ethernet  HWaddr 00:E0:4C:81:96:C1  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:12 

eth1      Link encap:Ethernet  HWaddr 00:E0:4C:81:96:C9  
          inet addr:192.168.10.233  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13653 (13.3 KiB)  TX bytes:61904 (60.4 KiB)
          Interrupt:12 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3504 (3.4 KiB)  TX bytes:3504 (3.4 KiB)
# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.00e04c8196c1       no              eth0

thanks .

Hello.

I have TP-LINK TL-WR1042ND router.
I want to change stock firmware to Openwrt. How can i do it? Can anyone help me?

Router  page on Wikidevi.

(Last edited by schwed on 11 Jun 2015, 17:09)

Hello

Has anyone compiled OpenWRT for ipTIME A2004NS or TOTOLINK A2004NS they have the same hardware with RTL8197D CPU.
They are cheap and have very powerful hardware, this thing made to run OpenWRT on it.

(Last edited by NemesiS2015 on 7 Jul 2015, 12:56)

I have compiled OpenWRT for rtl819xd cpu from sources found in post 102, can anyone test it?

Hello

To owners of UPVEL UR-825AC or Netis WF2780 or D-Link DIR-825 rev E1 or maybe of some other RTL8197DN based routers. Could you please share the full flash image of your router (incl. bootloader)
TIA