Realtek

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions
Goto page 1, 2, 3, 4, 5  Next
Author Message
seathwest
DD-WRT User


Joined: 07 Jan 2007
Posts: 66

PostPosted: Sat Mar 17, 2007 2:35    Post subject: Realtek Reply with quote
Is there any plan for supporting Realtek chips such as the 8186? I read that it wasn't normally worth while, but I was wondering if anyone had one or would want to see it. I cannot say I am too concerned myself, as I've only ever seen one router that uses the chip, and it was by a brand I think few have heard of - Hawking.

Oh, and for those interested, it was the Hawking HWR54G, which appears to be exactly the same on the inside as the Aztech WL730RT4.
Sponsor
::2dfx::
DD-WRT Novice


Joined: 22 Apr 2009
Posts: 5

PostPosted: Mon Jun 07, 2010 0:25    Post subject: Reply with quote
One of the beauties of the internet is necroposting.

BrainSlayer wrote:
no. and there will not be. realtek boards are slow, the radio is crap and 2 mb flash is even not worth to port it.


Put my vote in for development towards a Realtek port. GPL code is in abundance and its not THAT bad.

16M RAM and 2M flash is not exactly spectacular, but if micro versions were developed for 8/2 WRT routers, it shouldn't be that much of a stretch to port one for a MIPS platform.
mikicz
DD-WRT User


Joined: 12 Apr 2009
Posts: 67

PostPosted: Sun Jun 13, 2010 21:28    Post subject: Reply with quote
and what about dlink DAP-1160? it is built on rtl8186, has 4MB flash, 16MB RAM and some sources available on ftp://ftp.dlink.cz/dap/dap-1160/driver_software/ is there a way, that dd-wrt could be ported?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7215

PostPosted: Tue Jun 15, 2010 9:35    Post subject: Reply with quote
::2dfx:: wrote:
One of the beauties of the internet is necroposting.

BrainSlayer wrote:
no. and there will not be. realtek boards are slow, the radio is crap and 2 mb flash is even not worth to port it.


Put my vote in for development towards a Realtek port. GPL code is in abundance and its not THAT bad.

16M RAM and 2M flash is not exactly spectacular, but if micro versions were developed for 8/2 WRT routers, it shouldn't be that much of a stretch to port one for a MIPS platform.


Brainslayer is soo right, the Realtek cpu's are not much to put in a parcel under the xmas tree.
They are slooow. They are crap.

Realtek based routers are not very common, you may find one here and one there but you rarely see a router mfgr having more than one model based on Realtek. Burned once..

There are so many good routers for which there hasn't been time for Brainslayer to do a dd-wrt port that it would be a misuse of time to spend it on Realtek ports.

No need to "vote" for it, the man has already said no.

_________________
I'm on a whiskey diet, lost 3 days already
mikicz
DD-WRT User


Joined: 12 Apr 2009
Posts: 67

PostPosted: Thu Jun 17, 2010 12:26    Post subject: Reply with quote
depends on term qualiffication... for example, here in east europe (CZ/SK/PL) they are very common and is not a wonder that lot of local ISPs use them in their networks. Generally, there are maybe more those craps (as you call it) than dd-wrt cappable units around me.
miox_24
DD-WRT Novice


Joined: 27 Mar 2010
Posts: 17

PostPosted: Fri Nov 05, 2010 19:32    Post subject: Reply with quote
Netgear's KWGR614 also uses this realtek chip and has 4mb flash and 16mb ram Smile
miox_24
DD-WRT Novice


Joined: 27 Mar 2010
Posts: 17

PostPosted: Fri Nov 05, 2010 19:39    Post subject: Reply with quote
And its not that slow Smile
conjur
DD-WRT Novice


Joined: 06 Nov 2010
Posts: 42
Location: Harlem, GA

PostPosted: Sat Nov 06, 2010 20:35    Post subject: Reply with quote
And another one.

The Amigo BR186N (Sold as the Sapido RB-1132)

Realtek 8196BU+8192SE, 8MB Flash, 32MB SDRAM, USB 2.0 Port, 802.11bgn radio, and 2 10/100 auto-mdix ports (chip supports 10/100/1000; but PCB only supports 10/100 *sad face*), for $55.

May not be up to standards; but for $55, that'd make one heck of a sip'd call manager...

+1 for Realtek Development!


EDIT: Added correct stats; for google-friendliness. Original Text was:
Realtek 8196BU+8192SE, 16MB Flash; 256MB SDRAM, USB 2.0 Port; for $55.


Last edited by conjur on Sat Nov 20, 2010 12:33; edited 1 time in total
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17508
Location: Hesse/Germany

PostPosted: Sun Nov 07, 2010 13:14    Post subject: Reply with quote
conjur wrote:
16MB Flash; 256MB SDRAM


devide by 8 first! i bet its Mb NOT MB!!

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
conjur
DD-WRT Novice


Joined: 06 Nov 2010
Posts: 42
Location: Harlem, GA

PostPosted: Sun Nov 07, 2010 15:32    Post subject: Reply with quote
You would be correct; the ram is only 32mb; but the flash has got to be atleast 8mb; as the factory firmware is 6.7mb.

High-res internal photos:
http://eveigb.net/pix/


The device runs Linux already:

Jan 1 00:00:24 klogd started: BusyBox v1.8.2 (2010-10-08 16:18:17 CST)
Jan 1 00:00:24 Linux version 2.6.19 (root@8196bu) (gcc version 3.4.6-1.3.6) #2 Fri Oct 8 16:18:13 CST 2010


Now; without connecting a console, any ideas of how to crack the default telnet password? it does not prompt for a username, only a password, when I telnet to it.

The only password I can change from the web site is the "admin" account; which is clearly not the root account.

The Firmware appears to be encrypted/compressed in some form; but it's been awhile since I did any reverse-engineering =(

Full boot log, to drool over (with a 7-port hub, and a digital camera plugged in):

Jan 1 00:00:24 klogd started: BusyBox v1.8.2 (2010-10-08 16:18:17 CST)
Jan 1 00:00:24 Linux version 2.6.19 (root@8196bu) (gcc version 3.4.6-1.3.6) #2 Fri Oct 8 16:18:13 CST 2010
Jan 1 00:00:24 CPU revision is: 0000ff00
Jan 1 00:00:24 Determined physical RAM map:
Jan 1 00:00:24 memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:24 User-defined physical RAM map:
Jan 1 00:00:24 memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:24 On node 0 totalpages: 8192
Jan 1 00:00:24 DMA zone: 64 pages used for memmap
Jan 1 00:00:24 DMA zone: 0 pages reserved
Jan 1 00:00:24 DMA zone: 8128 pages, LIFO batch:0
Jan 1 00:00:24 read synopsys=0
Jan 1 00:00:24 read synopsys2=0
Jan 1 00:00:24 rtl8652-ehci rtl8652-ehci.0: irq 10, io base 0xb8021000
Jan 1 00:00:24 rtl8652-ehci rtl8652-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
Jan 1 00:00:24 usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:24 hub 1-0:1.0: USB hub found
Jan 1 00:00:24 hub 1-0:1.0: 2 ports detected
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: RTL8652 OHCI
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: new USB bus registered, assigned bus number 2
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: irq 10, io mem 0xb8020000
Jan 1 00:00:24 usb usb2: configuration #1 chosen from 1 choice
Nov 7 01:44:04 usb 1-1: new high speed USB device using rtl8652-ehci and address 2
Nov 7 01:44:04 usb 1-1: configuration #1 chosen from 1 choice
Nov 7 01:44:04 hub 1-1:1.0: USB hub found
Nov 7 01:44:04 hub 1-1:1.0: 4 ports detected
Nov 7 01:44:05 usb 1-1.4: new high speed USB device using rtl8652-ehci and address 3
Nov 7 01:44:05 usb 1-1.4: configuration #1 chosen from 1 choice
Nov 7 01:44:05 hub 1-1.4:1.0: USB hub found
Nov 7 01:44:05 hub 1-1.4:1.0: 4 ports detected
Nov 7 01:44:05 wimax LED off and change to wan LED
Nov 7 01:44:05 wimax LED off and change to wan LED
Nov 7 01:48:38 usb 1-1.4.2: new high speed USB device using rtl8652-ehci and address 4
Nov 7 01:48:38 usb 1-1.4.2: configuration #1 chosen from 2 choices
Nov 7 01:48:38 scsi0 : SCSI emulation for USB Mass Storage devices
Nov 7 01:48:38 usb-storage: device found at 4
Nov 7 01:48:38 usb-storage: waiting for device to settle before scanning
Nov 7 01:48:39 wimax LED off and change to wan LED
Nov 7 01:48:43 scsi 0:0:0:0: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:43 SCSI device sda: 15523840 512-byte hdwr sectors (7948 MB)
Nov 7 01:48:43 sda: Write Protect is off
Nov 7 01:48:43 sda: Mode Sense: 03 00 00 00
Nov 7 01:48:43 sda: assuming drive cache: write through
Nov 7 01:48:43 SCSI device sda: 15523840 512-byte hdwr sectors (7948 MB)
Nov 7 01:48:43 sda: Write Protect is off
Nov 7 01:48:43 sda: Mode Sense: 03 00 00 00
Nov 7 01:48:43 sda: assuming drive cache: write through
Nov 7 01:48:43 sda: sda1
Nov 7 01:48:44 sd 0:0:0:0: Attached scsi removable disk sda
Nov 7 01:48:44 sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 7 01:48:44 scsi 0:0:0:1: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:44 SCSI device sdb: 92160 512-byte hdwr sectors (47 MB)
Nov 7 01:48:44 sdb: Write Protect is on
Nov 7 01:48:44 sdb: Mode Sense: 03 00 80 00
Nov 7 01:48:44 sdb: assuming drive cache: write through
Nov 7 01:48:44 SCSI device sdb: 92160 512-byte hdwr sectors (47 MB)
Nov 7 01:48:44 sdb: Write Protect is on
Nov 7 01:48:44 sdb: Mode Sense: 03 00 80 00
Nov 7 01:48:44 sdb: assuming drive cache: write through
Nov 7 01:48:44 sdb: sdb1
Nov 7 01:48:44 sd 0:0:0:1: Attached scsi removable disk sdb
Nov 7 01:48:44 sd 0:0:0:1: Attached scsi generic sg1 type 0
Nov 7 01:48:44 scsi 0:0:0:2: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:44 SCSI device sdc: 28672 512-byte hdwr sectors (15 MB)
Nov 7 01:48:44 sdc: Write Protect is off
Nov 7 01:48:44 sdc: Mode Sense: 03 00 00 00
Nov 7 01:48:44 sdc: assuming drive cache: write through
Nov 7 01:48:44 SCSI device sdc: 28672 512-byte hdwr sectors (15 MB)
Nov 7 01:48:44 sdc: Write Protect is off
Nov 7 01:48:44 sdc: Mode Sense: 03 00 00 00
Nov 7 01:48:44 sdc: assuming drive cache: write through
Nov 7 01:48:44 sdc: sdc1
Nov 7 01:48:44 sd 0:0:0:2: Attached scsi removable disk sdc
Nov 7 01:48:44 sd 0:0:0:2: Attached scsi generic sg2 type 0
Nov 7 01:48:44 usb-storage: device scan complete
Nov 7 01:49:41 usb 1-1.4.2: USB disconnect, address 4
Nov 7 01:49:42 wimax LED off and change to wan LED

V/r,
Mike
miox_24
DD-WRT Novice


Joined: 27 Mar 2010
Posts: 17

PostPosted: Tue Nov 09, 2010 15:02    Post subject: Reply with quote
conjur wrote:
You would be correct; the ram is only 32mb; but the flash has got to be atleast 8mb; as the factory firmware is 6.7mb.

High-res internal photos:
http://eveigb.net/pix/


The device runs Linux already:

Jan 1 00:00:24 klogd started: BusyBox v1.8.2 (2010-10-08 16:18:17 CST)
Jan 1 00:00:24 Linux version 2.6.19 (root@8196bu) (gcc version 3.4.6-1.3.6) #2 Fri Oct 8 16:18:13 CST 2010


Now; without connecting a console, any ideas of how to crack the default telnet password? it does not prompt for a username, only a password, when I telnet to it.

The only password I can change from the web site is the "admin" account; which is clearly not the root account.

The Firmware appears to be encrypted/compressed in some form; but it's been awhile since I did any reverse-engineering =(

Full boot log, to drool over (with a 7-port hub, and a digital camera plugged in):

Jan 1 00:00:24 klogd started: BusyBox v1.8.2 (2010-10-08 16:18:17 CST)
Jan 1 00:00:24 Linux version 2.6.19 (root@8196bu) (gcc version 3.4.6-1.3.6) #2 Fri Oct 8 16:18:13 CST 2010
Jan 1 00:00:24 CPU revision is: 0000ff00
Jan 1 00:00:24 Determined physical RAM map:
Jan 1 00:00:24 memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:24 User-defined physical RAM map:
Jan 1 00:00:24 memory: 02000000 @ 00000000 (usable)
Jan 1 00:00:24 On node 0 totalpages: 8192
Jan 1 00:00:24 DMA zone: 64 pages used for memmap
Jan 1 00:00:24 DMA zone: 0 pages reserved
Jan 1 00:00:24 DMA zone: 8128 pages, LIFO batch:0
Jan 1 00:00:24 read synopsys=0
Jan 1 00:00:24 read synopsys2=0
Jan 1 00:00:24 rtl8652-ehci rtl8652-ehci.0: irq 10, io base 0xb8021000
Jan 1 00:00:24 rtl8652-ehci rtl8652-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
Jan 1 00:00:24 usb usb1: configuration #1 chosen from 1 choice
Jan 1 00:00:24 hub 1-0:1.0: USB hub found
Jan 1 00:00:24 hub 1-0:1.0: 2 ports detected
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: RTL8652 OHCI
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: new USB bus registered, assigned bus number 2
Jan 1 00:00:24 rtl8652-ohci rtl8652-ohci.0: irq 10, io mem 0xb8020000
Jan 1 00:00:24 usb usb2: configuration #1 chosen from 1 choice
Nov 7 01:44:04 usb 1-1: new high speed USB device using rtl8652-ehci and address 2
Nov 7 01:44:04 usb 1-1: configuration #1 chosen from 1 choice
Nov 7 01:44:04 hub 1-1:1.0: USB hub found
Nov 7 01:44:04 hub 1-1:1.0: 4 ports detected
Nov 7 01:44:05 usb 1-1.4: new high speed USB device using rtl8652-ehci and address 3
Nov 7 01:44:05 usb 1-1.4: configuration #1 chosen from 1 choice
Nov 7 01:44:05 hub 1-1.4:1.0: USB hub found
Nov 7 01:44:05 hub 1-1.4:1.0: 4 ports detected
Nov 7 01:44:05 wimax LED off and change to wan LED
Nov 7 01:44:05 wimax LED off and change to wan LED
Nov 7 01:48:38 usb 1-1.4.2: new high speed USB device using rtl8652-ehci and address 4
Nov 7 01:48:38 usb 1-1.4.2: configuration #1 chosen from 2 choices
Nov 7 01:48:38 scsi0 : SCSI emulation for USB Mass Storage devices
Nov 7 01:48:38 usb-storage: device found at 4
Nov 7 01:48:38 usb-storage: waiting for device to settle before scanning
Nov 7 01:48:39 wimax LED off and change to wan LED
Nov 7 01:48:43 scsi 0:0:0:0: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:43 SCSI device sda: 15523840 512-byte hdwr sectors (7948 MB)
Nov 7 01:48:43 sda: Write Protect is off
Nov 7 01:48:43 sda: Mode Sense: 03 00 00 00
Nov 7 01:48:43 sda: assuming drive cache: write through
Nov 7 01:48:43 SCSI device sda: 15523840 512-byte hdwr sectors (7948 MB)
Nov 7 01:48:43 sda: Write Protect is off
Nov 7 01:48:43 sda: Mode Sense: 03 00 00 00
Nov 7 01:48:43 sda: assuming drive cache: write through
Nov 7 01:48:43 sda: sda1
Nov 7 01:48:44 sd 0:0:0:0: Attached scsi removable disk sda
Nov 7 01:48:44 sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 7 01:48:44 scsi 0:0:0:1: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:44 SCSI device sdb: 92160 512-byte hdwr sectors (47 MB)
Nov 7 01:48:44 sdb: Write Protect is on
Nov 7 01:48:44 sdb: Mode Sense: 03 00 80 00
Nov 7 01:48:44 sdb: assuming drive cache: write through
Nov 7 01:48:44 SCSI device sdb: 92160 512-byte hdwr sectors (47 MB)
Nov 7 01:48:44 sdb: Write Protect is on
Nov 7 01:48:44 sdb: Mode Sense: 03 00 80 00
Nov 7 01:48:44 sdb: assuming drive cache: write through
Nov 7 01:48:44 sdb: sdb1
Nov 7 01:48:44 sd 0:0:0:1: Attached scsi removable disk sdb
Nov 7 01:48:44 sd 0:0:0:1: Attached scsi generic sg1 type 0
Nov 7 01:48:44 scsi 0:0:0:2: Direct-Access Sony DSC 1.00 PQ: 0 ANSI: 0
Nov 7 01:48:44 SCSI device sdc: 28672 512-byte hdwr sectors (15 MB)
Nov 7 01:48:44 sdc: Write Protect is off
Nov 7 01:48:44 sdc: Mode Sense: 03 00 00 00
Nov 7 01:48:44 sdc: assuming drive cache: write through
Nov 7 01:48:44 SCSI device sdc: 28672 512-byte hdwr sectors (15 MB)
Nov 7 01:48:44 sdc: Write Protect is off
Nov 7 01:48:44 sdc: Mode Sense: 03 00 00 00
Nov 7 01:48:44 sdc: assuming drive cache: write through
Nov 7 01:48:44 sdc: sdc1
Nov 7 01:48:44 sd 0:0:0:2: Attached scsi removable disk sdc
Nov 7 01:48:44 sd 0:0:0:2: Attached scsi generic sg2 type 0
Nov 7 01:48:44 usb-storage: device scan complete
Nov 7 01:49:41 usb 1-1.4.2: USB disconnect, address 4
Nov 7 01:49:42 wimax LED off and change to wan LED

V/r,
Mike



If this runs on linux then its possible to run ddwrt on it....right??? Very Happy
conjur
DD-WRT Novice


Joined: 06 Nov 2010
Posts: 42
Location: Harlem, GA

PostPosted: Wed Nov 10, 2010 6:36    Post subject: Reply with quote
It should be possible; the issue is that I do not have the "root" password for this device; and I'm not skilled enough to think of how to crack it.

V/r,
Mike
cys0r
DD-WRT Novice


Joined: 19 Oct 2010
Posts: 4

PostPosted: Sat Nov 13, 2010 8:50    Post subject: Reply with quote
Some guys are trying to port a similar unit with OpenWRT

http://aliosa27.net/?p=26

Maybe useful Information...
conjur
DD-WRT Novice


Joined: 06 Nov 2010
Posts: 42
Location: Harlem, GA

PostPosted: Sun Nov 14, 2010 0:46    Post subject: Reply with quote
I've made a bit of progress; but I'm stuck.

Here is the factory firmware image:
http://eveigb.net/pix/RB-1132_EN_V1.0.14

I can't seem to extract the files from the squashfs-lzma:
http://eveigb.net/pix/squashfs.bin

Could I get some guidance on how to go about extracting this; to view the existing file system? I've tried just about every squashfs compilation I can think of; but they all end in errors =/


or perhaps some input on what I've gathered of the firmware structure:
0x0 8b 186n…. Firmware Identification:
0x8 8b TOTAL File Size…
0x80A6 32934b BZh9 BZ2 File System of some form; appears to be a Web Root.

0x15ABBE 5353476b sqsh SQUASHFS-based file system; uncracked!
0x675BC2 End of File

V/r,
Mike
conjur
DD-WRT Novice


Joined: 06 Nov 2010
Posts: 42
Location: Harlem, GA

PostPosted: Fri Nov 19, 2010 14:07    Post subject: Reply with quote
Great success!

I now have DD-WRT v24-sp2 Up and running on a Sapido RB-1132.


Problem is; the flash and bootloader are ... funny. and they require some heavy modifications to run DD-WRT:
1) Had to crack the default root password (it's "swetop", without the quotes as of version 1.0.14)
2) Had to manually re-compile the DD-WRT kernel; with Realtek 8196BU ASM Support (Lexra 4280@400MHz; also known as the Realtek RTL8196BU v1.4)
2) Had to manually DD the kernel into /dev/mtd
3) Had to manually DD the filesystem into /dev/mtdblock1
4) Had to use the SPI Recovery to re-copy the filesystem 8 times; at different positions; trying to "guess" the recompiled kernel ended....

And, in the final product; nothing works. No USB (the usb-storage used doesn't get along with the realtek controller); No WiFi (same same); and only eth1 works.



So; here is my current stopage point:
Does anyone have _ANY_ form of official reference for the Realtek RTL8196BU v1.4? Did Realtek actually make this chip, or is it a "Taiwan Special"?

V/r,
Mike
Goto page 1, 2, 3, 4, 5  Next Display posts from previous:    Page 1 of 5
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum