OpenWrt Forum Archive

Topic: [success] RTL8196C port status.

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

AFAIK Realtek SoC is based on Lexra Microarchitecture.
So for those who really want to support Lexra SoC, this might be a good place to start

We already have the proper toolchain sources, and kernel patches to compile OpenWRT for RTL8196C's; and nearly all Realtek SoC's, for that matter.

EDIT: As I'm out of devices with RTL8196c processors; I'm no longer actively working on this. However, anyone that is/will be working on them in the future, I seguest taking a peek at http://theigb.com/sapido/  Specifically grabbing openrsdk and taking a peek at the "backup" folder. Yes, the files in there are real.

V/r,
Conjur

(Last edited by Conjur on 31 Jul 2013, 10:16)

is there any progress regarding Edimax br-6428ns ?
Any chance this router gets openwrt support?

Conjur wrote:

We already have the proper toolchain sources, and kernel patches to compile OpenWRT for RTL8196C's; and nearly all Realtek SoC's, for that matter.

EDIT: As I'm out of devices with RTL8196c processors; I'm no longer actively working on this. However, anyone that is/will be working on them in the future, I seguest taking a peek at http://theigb.com/sapido/  Specifically grabbing openrsdk and taking a peek at the "backup" folder. Yes, the files in there are real.

V/r,
Conjur


Dear Conjur,
   thx for your great job.  i am trying to do this as well.

pls let me know if you need some SOC like RTL8196C. i have about 5 routers with this chip.

and i can send you some.

(Last edited by kwongwo on 24 Sep 2013, 04:28)

Hi friends, first I´d like to thank you all and congratulate too since this discussion is definitely productive and is leading us all to more knowledge.
I´m writing also to ask to the gurus here.
I have a device just like Alex UK (pg 1, last comment) posted and of course it is bricked! I am having problems to upload a new firmware, simply I cannot upload through TFTP, TELNET since I´m not able to ping on 192.168.1.6. I already did all connections (JTAG and Ethernet) and  I know I reach the prompt <Realtek> and with "ipconfig" I checked it is 192.168.1.6, but I cannot go anywhere from that. I have my computer in the same network 192.168.1.xxx but ping does not respond, so any try through IP/Ethernet gives me nothing. I simply don´t know if there is a way to upload through JTAG (serial comm).

I have the device´s firmware but I can´t upload.

Is there a way to upload through JTAG cable? (Inf: I´m using FTDI232R TTL device).

Any reply will be deeply appreciated!!!

JohnFritz wrote:

Hi friends, first I´d like to thank you all and congratulate too since this discussion is definitely productive and is leading us all to more knowledge.
I´m writing also to ask to the gurus here.
I have a device just like Alex UK (pg 1, last comment) posted and of course it is bricked! I am having problems to upload a new firmware, simply I cannot upload through TFTP, TELNET since I´m not able to ping on 192.168.1.6. I already did all connections (JTAG and Ethernet) and  I know I reach the prompt <Realtek> and with "ipconfig" I checked it is 192.168.1.6, but I cannot go anywhere from that. I have my computer in the same network 192.168.1.xxx but ping does not respond, so any try through IP/Ethernet gives me nothing. I simply don´t know if there is a way to upload through JTAG (serial comm).

I have the device´s firmware but I can´t upload.

Is there a way to upload through JTAG cable? (Inf: I´m using FTDI232R TTL device).

Any reply will be deeply appreciated!!!


if the bootloader is  provided by  Realtek ,   the ip is  192.168.1.6 ,

some company will change the bootloader with another ip or another function.

Alex Atkin UK wrote:

It seems the cheap no-brand WiFi repeaters

They are. I have exactly the same board (bought in Thailand) except for the sdram chip (I've a Winbond W9812G6JH-6) and a couple of other details (ex: I have 2 tiny metal pieces soldered on ant3 and ant4 pins and a small dissipator glued on the microcontroller). It's sold by a japanese brand (PCI) as MZK-MF300N but following the FCC ID ( MQ4WAP5502 ) I got the Abocom WAP5502.

It's a RTL8196C+RTL8192CE based device: 400MHz, 16MB, 4MB, bgn MIMO2x2:2, 1 EJTAG, 1 serial, 1 usb (on my the connector is missing but I have the footprint and pinholes), 1 ethernet, and GPIOs (I've two buttons, one selector, 2 groups of pins). With a little bit of Proper Ironing is possible to expand the flash up to 32MB and the sdram up to 128MB.

I've no hardware to access jtag or serial... nor money to buy... but I'm digging repos for code... really want to resurrect this crap.

(Last edited by mfp on 16 Dec 2013, 03:22)

I have an NETGEAR JNR1010 Router.It has
1.Realtek RTL8196c
2.Radio Chip realtek RTL8188RE
3.EtronTech EM63A165TS-6G (256 Megabytes)
I am watching this thread from long time so think that I will have openwrt on it...

(Last edited by siddhantpatel001 on 11 Jun 2014, 13:15)

Any chance getting this to work on a DLink DIR-600L A1?

Is this project already dead? I need to install openwrt on my DIR-600L A1.

Looking at the other thread, it looks like nobody wants the hassle of making a 4MB firmware which is strange as many other devices are supported with such tiny builds, just not Realtek.

I just hate to waste my device but the firmware it came with it is insanely unstable.  I really wish I had just returned it but I was sure someone would get OpenWRT working on it.

Hello.
I have ZTE H118N,  Realtek RTL8196C/RTL8188C, and how to know my bootloader IP? I make firmware from sources so now I need to flash my device with TFTP, yes?

I have a rootfs from factory firmware of D-Link DIR-600L rev A1 . https://db.tt/uuCdUegw
i can enable telnet by using *IP*/shell.asp from webGUI and input : telnetd.sh .
But when i using telnet client to connect, in login promt i input : root but console response: login incorrect.

How can i enable root login from telnet.

watch111 wrote:

Edimax BR-6258N and BR-6428N and BR-6228Ns use Realtek RTL8196C/RTL8188CE.
BR-6228Ns has 4MB flash/16MB RAM. JP1 has 4 pads [+3.3v][RX GND TX] 57600 baud 8N1.

Press WPS/Reset button on power up or press ESC and you get <RealTek> prompt
Press and hold Reset button for 15s to recover using tftp.

<RealTek> ipconfig
Target Address=192.168.1.6

4.MXIC SPI (4 MByte)!
spi_flash.c: Set SPI clock < 40MHZ for low-speed SPI Flash
spi_flash.c: Set No dummy cycle

---RealTek(RTL8196C)at 2010.08.19-10:49+0800 version v1.1c [16bit](390MHz)
no rootfs signature at 000A0000!
Set 8196C PHY Patch OK

---Ethernet init Okay!
<RealTek> help
----------------- COMMAND MODE HELP ------------------
HELP (?)                                    : Print this help message
D <Address> <Len>
DB <Address> <Len>
DW <Address> <Len>
EW <Address> <Value1> <Value2>...
EB <Address> <Value1> <Value2>...
CMP: CMP <dst><src><length>
IPCONFIG:<TargetAddress>
AUTOBURN: 0/1
LOADADDR: <Load Address>
J: Jump to <TargetAddress>
FLW <dst_ROM_offset><src_RAM_addr><length_Byte> <SPI cnt#>: Write offset-data to SPI from RAM
PHYR: PHYR <PHYID><reg>
PHYW: PHYW <PHYID><reg><data>

ÿ4.MXIC SPI (4 MByte)!
spi_flash.c: Set SPI clock < 40MHZ for low-speed SPI Flash
spi_flash.c: Set No dummy cycle

---RealTek(RTL8196C)at 2010.08.19-10:49+0800 version v1.1c [16bit](390MHz)
no rootfs signature at 000A0000!
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: 10752k/16384k available (2014k kernel code, 5632k reserved, 204k data, 56k 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
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
get SPI CS0
maker:c2  type:20  sector_cnt:64
get SPI CS1
maker:0  type:0  sector_cnt:0

MXIC matched!!get SPI chip driver!
Physically mapped flash: Found an alies 0x400000 for the chip at 0x0, mxic device detect.
probe ends
probe realtek2
Creating 2 MTD partitions on "Physically mapped flash":
0x00000000-0x00400000 : "flash 4M"
0x000b0000-0x00400000 : "root fs"
RTL8192C/RTL8188C driver version 1.4 (2011-02-09)
=====>>INSIDE rtl8192cd_init_one <<=====
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
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
ip_conntrack version 2.1 (512 buckets, 4096 max) - 312 bytes per conntrack
PPTP netfilter connection tracking: registered
PPTP netfilter NAT helper: registered
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: 56k freed
mount /proc file system ok!
mount /var  file system ok!
init started: BusyBox v1.11.1 (2011-11-03 16:35:04 CST)
starting pid 9, tty '': '-/bin/sh'


BusyBox v1.11.1 (2011-11-03 16:35:04 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Thu Nov  3 16:32:46 UTC 2011
kill: you need to specify whom to kill
  Set 8196C PHY Patch OK
Close Wan Interface!!
No dnrd daemon found.  Exiting.
No dnrd daemon found.  Exiting.
Notice: caching turned off
cat: can't open '/tmp/wanStatus': No such file or directory
iptables: No chain/target/match by that name
Initialize WLAN interface
write_proc: file: 80f01f20, buffer: 0
, count: 2, data: 00000000
write_wlan_led_proc: file: 80cc5580, buffer: 2
, count: 2, data: 00000000
set TX Power: 0
write_proc: file: 80cc59e0, buffer: 0
, count: 2, data: 00000000
write_wlan_led_proc: file: 80f01f90, buffer: 2
, count: 2, data: 00000000
Setup BRIDGE interface
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
bridge br0 doesn't exist; can't delete it
Setup bridge...
device eth0 entered promiscuous mode
device wlan0 entered promiscuous mode
device wlan0-vxd entered promiscuous mode
br0: port 3(wlan0-vxd) entering listening state
br0: port 2(wlan0) entering listening state
br0: port 3(wlan0-vxd) entering learning state
br0: port 3(wlan0-vxd) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth0) entering listening state
br0: port 2(wlan0) entering learning state
br0: port 2(wlan0) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
Setup WAN interface
kill: you need to specify whom to kill
Close Wan Interface!!

device eth1 is not a slave of br0
device eth0 is already a member of a bridge; can't enslave it to bridge br0.
write_wlan_led_proc: file: 80cc53c0, buffer: 2
011-11-03 16:32:58]: start Dynamic IP
! $IP_ADDR --proto tcp --dport 80 -j DNAT --to $IP_ADDR:8000
, count: 2, data: 00000000
**********************************************************************
*                          Enable WSC_UPnP                           *
**********************************************************************
**********************************************************************
*                            Enable LLTD                             *
**********************************************************************
**********************************************************************
*                       Enable GPIO Interrupt                        *
**********************************************************************
ERROR: Couldn't kill dnrd: No such process
udhcpc (v1.11.1) started
into eth1.deconfig
No dnrd daemon found.  Exiting.
Notice: caching turned off
cat: can't open '/tmp/wanStatus': No such file or directory
killall: radiusd: no process killed
RADIUS server disable !!
write_proc: file: 80cc5190, buffer: 0
, count: 2, data: 00000000
br0: port 1(eth0) entering disabled state
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
br0: port 1(eth0) entering listening state
br0: port 1(eth0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
**********************************************************************
*                       FREE Page,Dentries and Inodes Cache          *
**********************************************************************
MemFree:          4896 kB
Cached:           1556 kB
kill: you need to specify whom to kill
kill: you need to specify whom to kill
kill: you need to specify whom to kill
iptables: No chain/target/match by that name
Notice: caching turned off

Zyxel NBG-416N uses RTL8196C/RTL8188RE and I saw a Recovery Kit exists that has a root.bin and linux.bin that you use with the TFTP recovery mode.

Edimax has linux source code at http://www.edimax.com/images/Image/Open … 110916.zip.

Hi Every one, I am really new here and very novice I went over many posts regarding this project and I am actually trying to understand where I am connecting to to have access to the prompt. My device is a repeater using the same RealTek chips (RTL8196C/RTL8192CE). There is only an RJ45 port and wifi (No USB). The software that comes in is really bad and I would like to setup the OpenWRT on it.
I would be very happy if you guys help me getting started and understanding the process.

Many Thanks to you all wink

The router uses RTL8188RE chip. The other chip is covered by a heat sink and so I can not determine it. Can RTL8196C SoC be assumed?

It is intriguing the klogd information:

RTL8192C/RTL8188C driver version 1.4 (2010-08-11)

Note that "RTL8188C" is not the RTL8188RE which is soldered on board!

Is there the RTL8192C/RTL8188C driver on OpenWrt?

PS.: I would want to use OpenWrt mainly to prevent some instability that exists currently. Using the same driver maybe is not a good strategy...

(Last edited by alexandre-mbm on 24 May 2017, 04:13)

I have buyed a router+repeater AC750W or UNT-750

Chip: RTL8881AN+8192ER
Flash: 4MB
SDRAM: DDR2 32MB

amazon.it/gp/product/B073JHDKCM/

Where i can fund a rom for RTL8881AN+8192ER of less of 4MB? i found a only link for a 4.4MB build for that chip that i cant obviusely use in 4MB flash.

The discussion might have continued from here.