Topic: [success] RTL8196C port status.

Well, I posted some time ago about this chip... Now I have finally taken time to hack openwrt there.
Here go the sources: http://invyl.ath.cx/cgit/cgit.cgi/openwrt/log/

What is done:
kernel compiles, image packs, device boots the image,
Kernel boots, fails to mount root, since no mtd is around, yet.

Current TODO is:
port mtd driver for spi flash
LAN & WLAN
USB
better mach-support
better gpio driver for leds'n'buttons (realteks driver sucks)
scripts for target filesystem
...
PROFIT!

Lots of cleanup is also required.
I only have one 'edup' router for debugging, so if anybody feels adventureous - feedback would be nice.
More details posted to openwrt-devel.

Re: [success] RTL8196C port status.

Necromant,
   I have been working on a similar project for quite some time; based on the Sapido RB-1132 (Realtek 8196BU+8192SE)

   Yesterday, merrykid found a much cleaner Realtek SDK at:
http://sourceforge.net/projects/rtl819x/files/rtl819x-sdk-v2.5_2.5.1_2.5.2_boa.tar.gz

   The thread for the Sapido Project is located at http://www.dd-wrt.com/phpBB2/viewtopic.php?t=12630

   Hope some of this helps.. the new Reaktek SDK is much cleaner and easier to diff (based on 2.6.30)

   As far as MTD/NIC/WLAN drivers; I've been using a pre-compiled kernel from the wive-ng team that covers all of that; have you had a chance to look through their dev tree? (russian) http://wive-ng.sourceforge.net/

V/r,
Conjur

Re: [success] RTL8196C port status.

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.

Re: [success] RTL8196C port status.

I have made some decent progress with the RTL8192C. Currently, My source tree builds a workable dev kernel (2.6.30-9); but no web interface or redundency scripts.

I have it compiling from pure sources, including the toolchain. (NOTE- a few of the board-specific drivers are .S source, but still source)

How would I go about adding the OpenWRT specifics to the build; or incorporating it into the OpenWRT Tree? I started going thru the kamikaze source to see how to impliment it; but there are alot if configs and whatnot.. Is there a dummy guide around for implimenting a new architecture?

V/r,
Conjur

Re: [success] RTL8196C port status.

Any sources?

Re: [success] RTL8196C port status.

My current source tree is kind of a disaster; and would take others alot of time to get it working properly for them- I'd prefer implement it into the OpenWRT Structure; so other coders can spend their time fixing things rather than trying to figure out what order to compile the userspace apps... Not to mention that my build dir is a bit north of 2gb right now... give me a few hours to clean it up and I'll post it.

7 (edited by Conjur 2012-01-21 14:53:00)

Re: [success] RTL8196C port status.

As promised:
http://theigb.com/sapido/Realtek-rtl8196c.tar.bz2

instructions:
tar xjf Realtek-rtl8196c.tar.bz2
cd rtl819x
make

linux.bin and root.bin will appear in the images folder after it's done.

Please keep in mind that this is nowhere near release quality; as most apps were removed to get it to compile easily.
Most of this is not my work. it is based off of the Realtek SDK v2.5.2.

It is currently configured to build an image for a Sapido RB-1132v2; (RTL8196C CPU, RTL8192CE WiFi, 8MB MXIC 25L* Flash, 32MB Ram).

Again, this is NOT a production release; it's for reference/proof of concept only; use at your own risk.

Other Notes:
Download the GPL Source for the D-Link DIR-615F (dir615f_v6.00.tar.gz) from their site- the toolchain for this is the most complete I've ever seen (can compile for nearly any Realtek Chip)
And a working source for the RTL8196C toolchain: http://www.downloads.netgear.com/files/GPL/JWNR2000_v1.0.0.3_src_with_toolchain.zip.zip

Re: [success] RTL8196C port status.

I suppose that the url should read ...

http://theigb.com/sapido/rel1/Realtek-rtl8196c.tar.bz2

Re: [success] RTL8196C port status.

Conjur wrote:

As promised:
http://theigb.com/sapido/Realtek-rtl8196c.tar.bz2

instructions:
tar xjf Realtek-rtl8196c.tar.bz2
cd rtl819x
make

My attempt to "cd rtl819x; make" terminated with an error. The essential part of the log is as follows.

...
make[6]: Entering directory `$(CONJURROOT)/rtl819x/users/gdb/gdb-6.8/gdb'
gcc -c -g -Os   -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"$(CONJURROOT)/rtl819x/users/gdb/gdb-6.8/../gdb-host/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror .././gdb/cli/cli-cmds.c
cc1: warnings being treated as errors
.././gdb/cli/cli-cmds.c: In function ‘pwd_command’:
.././gdb/cli/cli-cmds.c:323:10: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[6]: *** [cli-cmds.o] Error 1
...

Re: [success] RTL8196C port status.

There is one dead give-away that something's wrong there.... it's trying to use gcc to compile, instead of rsdk-linux-gcc...

I'm compiling it fine on Fedora 9 (Linux 2.6.27); but I do know for a fact that it won't compile on Ubuntu 11.10...
might need to add the toolchain's bin folder to your $PATH; go thru the users/Makefile; theres a chunk that runs once after you extract it, that configures the user apps... it might have ... forgot to run.. it checks for a *_config_done file or something to that effect..

On another note; I recently got my hands on the Holy Grail. I've got the datasheets for the RTL8196C and RTL8192CE smile PM me if you want em; can't exactly post these ones online tongue Can anyone hunt down Necromant? I know he'd be intrested in them... lol

V/r,
Conjur

Re: [success] RTL8196C port status.

Conjur wrote:

There is one dead give-away that something's wrong there.... it's trying to use gcc to compile, instead of rsdk-linux-gcc...

I understand that you are priming with rsdk stuff. I'm taking a totally different approach;

1. Reproduce RTL856x work mentioned in:
https://lists.openwrt.org/pipermail/openwrt-devel/2011-August/012007.html

This patch is for r13092, with kernel 2.6.23 and gcc-4.1.2.

[GOAL 1] Verify the patch set works for RTL856X based device.

2. Modify the patch set to work for r29839 (or whatever the latest), kernel 2.6.30 and gcc-4.5-linaro.

Latest trunk was chosen for ease of forward bumping, and kernel 2.6.30 was chosen for ease of porting rsdk-linux- stuff.

[GOAL 2] Create an equivalent binaries for RTL856X from modern trunk.

3. Port rsdk-linux- stuff into the tree established in above 2.

Step 1 is done, but I don't know if produced binaries work for the RTL856X devices.

Step 2 is almost done, but I still don't have the devices.

Cheers,

12 (edited by Conjur 2012-01-22 22:01:37)

Re: [success] RTL8196C port status.

I've got quite a few RTL8196BU's and RTL8196C's; if you'd like I can do the boot up/execution tests for you..

We have a very similar goal; My current plan was:
1) Get the current kernel to compile (done)
2) Clean up the current kernel, and put the modules where they belong (wip) - Realtek has a bad habbit of hacking the kernel source, and using alot of duct tape...
3) re-write the board-specific modules for GPIO/MTD to de-convelute them, and seperate them from the arch code
4) *write* RTL8192CE Drivers that compile without having to cross my fingers

If you have a better plan, I'm all ears; but I'm not very familiar with the kernel changes in newer kernels (actually I'm more familiar with 2.4); so I can't just apply the patch to a new kernel and expect anything other than make laughing at me...

On a side note; I feel really bad for whoever has been trying to crack the WPA password on my dev board for the past 2 days.... I mean once they get in and realize that it's not connected to anything, lol..

V/r,
Conjur

Re: [success] RTL8196C port status.

stud this topic

Re: [success] RTL8196C port status.

Just FYI/FWIW, I added a hardware version 3.2R printed-circuit board photo to the TEW-652BRP OpenWRT wiki.  It uses the RTL8196C.

http://wiki.openwrt.org/toh/trendnet/tew632brp

(That pages covers both the 632 and 652.)

15

Re: [success] RTL8196C port status.

If you're interested in a super-cute RTL8196C, ZuniDigital's ZR301 is about half the size of an iPhone LCD. http://www.zunidigital.com/?page_id=220

It has a RTL8192CE and two internal antennas. MXIC 25L3206E (4M of flash) ESMT M12L128168A-6B (16M of RAM, 16-bit?). Card-edge/through-hole 3.3V serial connector with a root shell running. Appears to be built from a slightly older version of the Realtek SDK. Power jack is a microUSB port--could be a lot of fun if it did more than power. A small matter of soldering perhaps. Pretty easy to fish out the contents of flash using the existing HTTP server. (Realtek seems pragmatic; I wonder if they'd switch from their current trainwreck web server to LuCI given the chance.)

They've got a 4+1 gigabit 802.11n 2T2R device, which I would imagine is also RTL8196C. It's not much larger. These both smell like they're pretty close to datasheet designs, although well executed, and like the other ZuniDigital stuff they use the case itself to form the RJ45 jacks making them the likely winner of "smallest". (In terms of cubic cm the Chinese one-RJ45 routers may be smaller, but they're not thinner.)

No, I don't have much time to work on it right now. Kinda fun seeing my little hfload ELF bootloader in use after all these years though.

http://www.zunidigital.com/wp-content/uploads/2011/10/ZR301_angle1.png

Re: [success] RTL8196C port status.

have you tried contacting necromant?
http://ncrmnt.org/wp/contact/

Re: [success] RTL8196C port status.

Any recent update on this?

I have 3 Trendnet TEW-652BRP v3.2's with 32MB of RAM and 4MB of Flash. I've been wanting to toss OpenWrt on them.

Re: [success] RTL8196C port status.

I have one question about RTL8196C,
I?need to debug some code but I can't using core dump
does any one can teach me how to do?
Thanks

19 (edited by supremedalek 2012-09-28 19:09:47)

Re: [success] RTL8196C port status.

Any update? watch111, my Edimax BR-6258N does not seem to have much stuff under the <RealTek> prompt:

<RealTek>?                                                    
----------------- COMMAND MODE HELP ------------------        
HELP (?)                                    : Print this help message
J: Jump to <TargetAddress>
FLW <dst_ROM_offset><src_RAM_addr><length_Byte> <SPI cnt#>: Write offset-data tM
<RealTek>boot
Unknown command !

Interesting: if you let it fully boot it stops paying attention at the console...

MXIC SPI (4 MByte)!

---RealTek(RTL8196C)at 2010.05.28-19:08+0800 version v1.0a [16bit](390MHz)
no rootfs signature at 000E0000!
no rootfs signature at 000C0000!
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
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-04 17:37:26 CST)
starting pid 9, tty '': '-/bin/sh'


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

Fri Nov  4 17:35:15 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: 80d1f3c0, buffer: 0
, count: 2, data: 00000000
write_wlan_led_proc: file: 80d1f580, buffer: 2
, count: 2, data: 00000000
set TX Power: 0
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

Re: [success] RTL8196C port status.

Just checking in. Has anything changed at this point?

Also, I'm trying to find the antenna on an Edimax BR-6258n to solder an external one on, but I can't identify it.
Edimax
Any ideas?

21 (edited by scapi 2013-03-26 22:15:15)

Re: [success] RTL8196C port status.

I think it will be there:

http://img547.imageshack.us/img547/3783/edimax.jpg

Re: [success] RTL8196C port status.

how to make 8M/16M firmware and bootloader?
I used “rtl819x-sdk-v2.5_2.5.1_2.5.2_boa.tar.gz ”
tks!

Re: [success] RTL8196C port status.

tismon wrote:

Also, I'm trying to find the antenna on an Edimax BR-6258n to solder an external one on, but I can't identify it.
Edimax
Any ideas?

The tall white component in the bottom left corner looks like a ceramic chip antenna

Re: [success] RTL8196C port status.

Also, the Monoprice "Wireless 802.11N Router w/ WPS & WISP Function (300Mbps)" is using an RTL8196C and RTL8192CE for the wifi, along with what appears to be EON brand SPI flash "qh16-104". DRAM is ESMT M12L128168A, which is 16MB@up to 166MHz.

It looks like J15 is local console - Power-Ground-Serial-Serial.

25 (edited by Alex Atkin UK 2013-07-30 10:58:45)

Re: [success] RTL8196C port status.

It seems the cheap no-brand WiFi repeaters (the ones that plug straight into the socket, wall wart style) use these chipsets too. In fact it seems the board in the one I have was originally designed for the pocket WiFi routers.

Obviously I only have one for reference, but I expect a lot of them will be like this so it would be extremely useful to get OpenWRT working on them as their stock firmware is awful.

http://csdprojects.co.uk/OpenWRT/WiFi_Repeater_Top_s.jpg
http://csdprojects.co.uk/OpenWRT/WiFi_Repeater_Bottom_s.jpg