OpenWrt Forum Archive

Topic: RTL8652 SoC...?

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

Has been advised by Gabor Juhos that this little device (Sapido RB-1132), despite the outer appearance to this, actually utilizes the RTL8652 SoC instead of Star/Cavium's CNX11xx/STR91xx.

A quick Google search didn't turn out much information. The most informative one seems to be this.

Could it be a successor of the RTL8651...?

I also don't seem to find the Linux kernel source for this SoC available, isn't Realtek under GPL obligation to release them...?


Got something via the obama.asp hack...


<5>Linux version 2.6.19 (root@localhost.localdomain) (gcc version 3.4.6-1.3.6) #1 Fri Feb 19 22:21:14 CST 2010
<4>CPU revision is: 0000ff00
<4>Determined physical RAM map:
<4> memory: 02000000 @ 00000000 (usable)
<4>User-defined physical RAM map:
<4> memory: 02000000 @ 00000000 (usable)
<7>On node 0 totalpages: 8192
<7>  DMA zone: 64 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 8128 pages, LIFO batch:0
<7>  Normal zone: 0 pages used for memmap
<4>Built 1 zonelists.  Total pages: 8128
<5>Kernel command line: root=/dev/mtdblock1 console=ttyS0,38400 single mem=32M
<4>Primary instruction cache 16kB, linesize 16 bytes.
<4>Primary data cache 8kB, linesize 16 bytes.
<6>Synthesized TLB refill handler (17 instructions).
<6>Synthesized TLB load handler fastpath (31 instructions).
<6>Synthesized TLB store handler fastpath (31 instructions).
<6>Synthesized TLB modify handler fastpath (25 instructions).
<4>PID hash table entries: 128 (order: 7, 512 bytes)
<4>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 24516k/32768k available (3501k kernel code, 8252k reserved, 523k data, 136k init, 0k highmem)
<7>Calibrating delay loop... 389.12 BogoMIPS (lpj=1945600)
<4>Mount-cache hash table entries: 512
<4>Checking for 'wait' instruction...  available.
<6>NET: Registered protocol family 16
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 256 (order: -2, 1024 bytes)
<4>TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP bind hash table entries: 512 (order: -1, 2048 bytes)
<6>TCP: Hash tables configured (established 1024 bind 512)
<6>TCP reno registered
<6>Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
<6>Squashfs 2.2 includes LZMA decompression support
<6>NTFS driver 2.1.27 [Flags: R/O].
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<4>Realtek GPIO Driver for Flash Reload Default
<6>Serial: 8250/16550 driver $Revision: $ 1 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at MMIO 0x0 (irq = 12) is a 16550A
<4>Probing RTL8186 10/100 NIC...
<4>eth0 added. vid=9 Member port 0x10...
<4>eth1 added. vid=8 Member port 0x1...
<4>eth2 added. vid=10 Member port 0x8...
<4>eth3 added. vid=11 Member port 0x4...
<4>eth4 added. vid=12 Member port 0x2...
<6>PPP generic driver version 2.4.2
<3>PPP_sync: error -22 registering line disc.
<6>MPPE/MPPC encryption/compression module registered
<6>NET: Registered protocol family 24
<5>flash device: 0x400000 at 0xbfe00000
<4>SPI 1
<4>MXIC matched!!get SPI chip driver!
<6>Physically mapped flash: Found an alies 0x800000 for the chip at 0x0, spi_probe device detect.
<5>Creating 2 MTD partitions on "Physically mapped flash":
<5>0x00000000-0x00210000 : "boot+cfg+linux"
<5>0x00210000-0x007f0000 : "root fs"
<6>rtl8652-ehci rtl8652-ehci.0: RTL8652 On-Chip EHCI Host Controller
<6>rtl8652-ehci rtl8652-ehci.0: new USB bus registered, assigned bus number 1
<4>read synopsys=0
<4>read synopsys2=0
<6>rtl8652-ehci rtl8652-ehci.0: irq 10, io base 0xb8021000
<6>rtl8652-ehci rtl8652-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>rtl8652-ohci rtl8652-ohci.0: RTL8652 OHCI
<6>rtl8652-ohci rtl8652-ohci.0: new USB bus registered, assigned bus number 2
<6>rtl8652-ohci rtl8652-ohci.0: irq 10, io mem 0xb8020000
<6>usb usb2: configuration #1 chosen from 1 choice
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 2 ports detected
<6>usbcore: registered new interface driver cdc_acm
<6>drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<4>Netfilter messages via NETLINK v0.30.
<4>ip_conntrack version 2.4 (256 buckets, 2048 max) - 240 bytes per conntrack
<4>ip_conntrack_pptp version 3.1 loaded
<4>ip_nat_pptp version 3.0 loaded
<4>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>TCP cubic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<4>VFS: Mounted root (squashfs filesystem) readonly.
<6>Freeing unused kernel memory: 136k freed
<4>mount /proc file system ok!
<4>mount /var  file system ok!
<4>initial reset Led
<4>wimax LED off and change to wan LED 
<6>device eth0 entered promiscuous mode
<6>device wlan0 entered promiscuous mode
<6>device wlan0-vxd entered promiscuous mode
<6>br0: port 3(wlan0-vxd) entering learning state
<6>br0: port 2(wlan0) entering learning state
<6>br0: port 1(eth0) entering learning state
<6>br0: topology change detected, propagating
<6>br0: port 3(wlan0-vxd) entering forwarding state
<6>br0: topology change detected, propagating
<6>br0: port 2(wlan0) entering forwarding state
<6>br0: topology change detected, propagating
<6>br0: port 1(eth0) entering forwarding state

cat /proc/cpuinfo

system type        : RTL8652
processor        : 0
cpu model        : R3000 V0.0
BogoMIPS        : 389.12
wait instruction    : yes
microsecond timers    : no
tlb_entries        : 32
extra interrupt vector    : no
hardware watchpoint    : no
ASEs implemented    :
VCED exceptions        : not available
VCEI exceptions        : not available

cat /proc/meminfo

MemTotal:        24652 kB
MemFree:         10020 kB
Buffers:           800 kB
Cached:           7376 kB
SwapCached:          0 kB
Active:           3164 kB
Inactive:         6216 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:        1216 kB
Mapped:            936 kB
Slab:             4784 kB
SReclaimable:      832 kB
SUnreclaim:       3952 kB
PageTables:        284 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     12324 kB
Committed_AS:     4060 kB
VmallocTotal:  1048404 kB
VmallocUsed:        28 kB
VmallocChunk:  1048376 kB

cat /proc/cmdline

root=/dev/mtdblock1 console=ttyS0,38400 single mem=32M

cat /proc/diskstats

  31    0 mtdblock0 1007 1502 20072 6710 3 12 120 120 0 6230 6820
  31    1 mtdblock1 54 722 1552 470 0 0 0 0 0 470 470

cat /proc/gpio

CNR 0xfffbdbe0  0xffff77fe
DIR 0x12404  0x0
DAT 0x1c0407  0x0
ISR 0x0  0x0
IMR 0x0 0x0   0x0 0x0
USB 0x0  0x0 0x0

cat /proc/iomem

00000000-01ffffff : System RAM
  00000000-0036b416 : Kernel code
  0036b417-003ee0bf : Kernel data
b8020000-b8020000 : rtl8652-ohci.0
  b8020000-b8020000 : ohci_hcd
b8021000-b8021000 : rtl8652-ehci.0
  b8021000-b8021000 : ehci_hcd

cat /proc/mtd

dev:    size   erasesize  name
mtd0: 00210000 00010000 "boot+cfg+linux"
mtd1: 005e0000 00010000 "root fs"

cat /proc/partitions

major minor  #blocks  name

  31     0       2112 mtdblock0
  31     1       6016 mtdblock1

(Last edited by loyukfai on 12 Aug 2010, 20:26)

More development here:

(Last edited by loyukfai on 16 Oct 2010, 18:25)

Ooops... Looks like the photos have been removed. It did show RB8196BU on one of the chips.

And the DD-WRT gentlemen claimed he's only got a (quite) unreliable flashing success rate for the RB-1132.


Somehow I've broken my router when upgrading the firmware. Is there a TFTP/LAN recovery method for these Realtek devices...?


The inside of mine...

There's the UART connector between the USB and RJ45 connectors...?


The discussion might have continued from here.