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.

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


We have a version of Backfire that can work on your router. Do you want to try it?

Good job, Roman

...If you want to donate to Roman. He is trying to raise 1000 USD to send his poor Indian assistant to China and Taiwan for face to face interaction with Realtek them selves.

Would you know the donate link? I have also sent you a private email if it can not be posted public.

Tomate wrote:

I tried on an Edimax 3G-6200nL V2 with RTL8196C chipset and RTL8188CE for WIFI. I compiled how roman suggested in the first post. System boots up, but I have a similar problem like kwongwo. I can`t reach the deive via LAN. Pinging on the IP results mostly in "Destination Host Unreachable". Only on startup or if I restart the network a few packets get transmitted with times between 200ms and 2000ms. After that the host is unreachable. The only thing I notice is the flashing LED for the LAN port during ping and the increase of package counters in ifconfig.

I see thin one has only one ethernet port. What ip address do you have there? And which one do you ping?
It could be that you try to ping LAN while it's configured as WAN.

Tomate wrote:

In very few cases I also got the skb_over_panic and tried some patches to fix this, but none of it worked, I got this message anyway.

In general rtl8196c is pretty stable. I never saw this kind of error on our routers so I'm not sure what causes it.
I don't have any other hw to test so if you can donate the hw I can try to debug the error.

Roman, Thanks for your answer!

roman wrote:

I see thin one has only one ethernet port. What ip address do you have there? And which one do you ping?
It could be that you try to ping LAN while it's configured as WAN.

I have this one:
http://www.edimax.com/en/produce_detail … p;pl2_id=2
If needed, you can find product images in the download section.

It has one port labelled "WAN" and one labelled "LAN". The "WAN" is wired to Port X4 (Pins 28-31). "LAN" is wired to Port X3 (Pins 23-26). IP address is 192.168.2.1 for br-lan and I ping this address (ifconfig info shown below). Network cable is connected to LAN Port.

here some network information:

root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:12:34:56:78:90
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::212:34ff:fe56:7890/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1544 (1.5 KiB)  TX bytes:1744 (1.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:12:34:56:78:90
          inet6 addr: fe80::212:34ff:fe56:7890/64 Scope:Link
          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:12:34:56:78:91
          inet6 addr: fe80::212:34ff:fe56:7891/64 Scope:Link
          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

eth2      Link encap:Ethernet  HWaddr 00:12:34:56:78:92
          inet6 addr: fe80::212:34ff:fe56:7892/64 Scope:Link
          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

eth3      Link encap:Ethernet  HWaddr 00:12:34:56:78:93
          inet6 addr: fe80::212:34ff:fe56:7893/64 Scope:Link
          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

eth4      Link encap:Ethernet  HWaddr 00:12:34:56:78:94
          inet6 addr: fe80::212:34ff:fe56:7894/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52 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:9260 (9.0 KiB)  TX bytes:0 (0.0 B)
          Interrupt:12

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1241496 (1.1 MiB)  TX bytes:1241496 (1.1 MiB)

wlan0     Link encap:Ethernet  HWaddr 00:E0:4C:81:86:86
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:22875 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3371533 (3.2 MiB)  TX bytes:414 (414.0 B)
          Interrupt:11
root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0 eth2 eth3 eth4
network.lan.type=bridge
network.lan.proto=static
network.lan.ipaddr=192.168.2.1
network.lan.netmask=255.255.255.0
network.wan=interface
network.wan.ifname=eth1
network.wan.proto=dhcp
root@OpenWrt:/# brctl show
bridge name     bridge id               STP enabled     interfaces
br-lan          7fff.001234567890       no              eth0
                                                        eth2
                                                        eth3
                                                        eth4
                                                        wlan0
root@OpenWrt:/# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
64 bytes from 192.168.2.1: seq=0 ttl=64 time=0.000 ms
64 bytes from 192.168.2.1: seq=1 ttl=64 time=0.000 ms
64 bytes from 192.168.2.1: seq=2 ttl=64 time=0.000 ms
64 bytes from 192.168.2.1: seq=3 ttl=64 time=0.000 ms
64 bytes from 192.168.2.1: seq=4 ttl=64 time=0.000 ms
64 bytes from 192.168.2.1: seq=5 ttl=64 time=0.000 ms
^C
--- 192.168.2.1 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 0.000/0.000/0.000 ms

Perhaps this may help to find what is wrong.
For me the response time of 0.000ms is quite dubious.


roman wrote:

In general rtl8196c is pretty stable. I never saw this kind of error on our routers so I'm not sure what causes it.
I don't have any other hw to test so if you can donate the hw I can try to debug the error.

With my actual build I didn't get the panic yet. For building I started with the config available on http://downloads.nprove.in/snapshots/rt … 5-fonluci/.
Donating hardware may be an option if I get rid of it and don't get it working with the help here.



Some additional info:

Boot log:

<=== GPIOA6 off/on 9/1 2202079 times ===>
Jump to image start=0x80500000...


OpenWrt kernel loader for Realtek rtl819xx
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Copyright (C) 2013 Roman Yeryomin <roman@advem.lv>
Decompressing kernel to 80000000... done!
Seems kernel_entry address is different from load address, so...
Starting kernel from 80003530...

[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.010000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.030000] Memory: 26144k/32768k available (2849k kernel code, 6624k reserved, 764k data, 104k init, 0k highmem)
[    0.040000] Calibrating delay loop... 389.12 BogoMIPS (lpj=1945600)
[    0.260000] Mount-cache hash table entries: 512
[    1.270000] USB 2.0 PHY Patch Done.
[    1.310000] reg e0=99
[    1.350000] reg e1=a8
[    1.380000] reg e2=98
[    1.420000] reg e3=c1
[    1.460000] reg e4=1
[    1.500000] reg e5=91
[    1.530000] reg e6=98
[    1.570000] reg e7=34
[    1.610000] reg f0=fc
[    1.650000] reg f1=8c
[    1.680000] reg f2=0
[    1.720000] reg f3=11
[    1.760000] reg f4=e3
[    1.800000] reg f5=d2
[    1.830000] reg f6=0
[    1.840000] net_namespace: 780 bytes
[    1.850000] NET: Registered protocol family 16
[    1.900000] bio: create slab <bio-0> at 0
[    1.920000] usbcore: registered new interface driver usbfs
[    1.930000] usbcore: registered new interface driver hub
[    1.940000] usbcore: registered new device driver usb
[    1.960000] NET: Registered protocol family 2
[    1.980000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.990000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    2.000000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    2.010000] TCP: Hash tables configured (established 1024 bind 1024)
[    2.020000] TCP reno registered
[    2.030000] NET: Registered protocol family 1
[    2.050000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.060000] Registering mini_fo version $Id$
[    2.070000] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    2.080000] msgmni has been set to 51
[    2.100000] alg: No test for stdrng (krng)
[    2.110000] io scheduler noop registered
[    2.120000] io scheduler cfq registered (default)
[    2.130000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.150000] serial8250: ttyS0 at MMIO 0x18002000 (irq = 23) is a 16550A
[    2.160000] PPP generic driver version 2.4.2
[    2.180000] PPP Deflate Compression module registered
[    2.190000] PPP BSD Compression module registered
[    2.200000] MPPE/MPPC encryption/compression module registered
[    2.210000] NET: Registered protocol family 24
[    2.220000] tun: Universal TUN/TAP device driver, 1.6
[    2.230000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.240000] Realtek WLAN driver - version 1.6 (2013-02-21)
[    2.250000]  wlan_index:0  0, 134,0xb9000000,0xb8b10000,11
[    2.260000] =====>>INSIDE rtl8192cd_init_one <<=====
[    2.270000] sizeof(struct rtl8192cd_priv) = 161168
[    2.590000] 96C - 40MHz Clock Source
[    3.310000] vendor_deivce_id=819110ec
[    3.340000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.350000] =====>>INSIDE rtl8192cd_init_one <<=====
[    3.360000] sizeof(struct rtl8192cd_priv) = 161168
[    3.380000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.390000] =====>>INSIDE rtl8192cd_init_one <<=====
[    3.400000] sizeof(struct rtl8192cd_priv) = 161168
[    3.410000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.420000] =====>>INSIDE rtl8192cd_init_one <<=====
[    3.430000] sizeof(struct rtl8192cd_priv) = 161168
[    3.440000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.450000] =====>>INSIDE rtl8192cd_init_one <<=====
[    3.460000] sizeof(struct rtl8192cd_priv) = 161168
[    3.470000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.480000] =====>>INSIDE rtl8192cd_init_one <<=====
[    3.490000] sizeof(struct rtl8192cd_priv) = 161168
[    3.510000] =====>>EXIT rtl8192cd_init_one <<=====
[    3.520000]
[    3.520000]
[    3.520000]
[    3.520000] Probing RTL8186 10/100 NIC-kenel stack size order[3]...
[    3.530000] chip name: 8196C, chip revid: 0
[    3.550000]   Set 8196C PHY Patch OK
[    3.560000] NOT YET
[    3.580000] Set threshould idx 0
[    3.600000] eth0 added. vid=9 Member port 0x1...
[    3.610000] eth1 added. vid=8 Member port 0x10...
[    3.620000] eth2 added. vid=9 Member port 0x2...
[    3.630000] eth3 added. vid=9 Member port 0x4...
[    3.650000] eth4 added. vid=9 Member port 0x8...
[    3.660000] eth5 added. vid=9 Member port 0x0...
[    3.680000] [peth0] added, mapping to [eth1]...
[    3.700000] SPI INIT
[    3.700000]  ========================= Registed SPI Flash Model =========================
[    3.710000] |No chipID  Sft chipSize blkSize secSize pageSize sdCk opCk      chipName    |
[    3.720000] | 0 c22017h  0h  800000h  10000h   1000h     100h   50    0   MX6405D/05E/45E|
[    3.730000]  ============================================================================
[    3.740000] SPI flash(MX6405D/05E/45E) was found at CS0, size 0x800000
[    3.760000] Creating 4 MTD partitions on "flash_bank_1":
[    3.770000] 0x000000000000-0x000000010000 : "boot+cfg"
[    3.780000] 0x000000010000-0x000000130000 : "kernel"
[    3.790000] 0x000000130000-0x000000800000 : "rootfs"
[    3.810000] mtd: partition "rootfs" set to be root filesystem
[    3.820000] mtd: partition "rootfs_data" created automatically, ofs=4F9000, len=307000
[    3.830000] 0x0000004f9000-0x000000800000 : "rootfs_data"
[    3.840000] 0x000000010000-0x000000800000 : "firmware"
[    3.850000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.860000] rtl819x-ehci rtl819x-ehci: Realtek rtl819x On-Chip EHCI Host Controller
[    3.870000] rtl819x-ehci rtl819x-ehci: new USB bus registered, assigned bus number 1
[    3.920000] rtl819x-ehci rtl819x-ehci: irq 10, io mem 0x18021000
[    3.960000] rtl819x-ehci rtl819x-ehci: USB 2.0 started, EHCI 1.00
[    3.970000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.980000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.990000] usb usb1: Product: Realtek rtl819x On-Chip EHCI Host Controller
[    4.000000] usb usb1: Manufacturer: Linux 2.6.30.9 ehci_hcd
[    4.010000] usb usb1: SerialNumber: rtl819x-ehci
[    4.020000] usb usb1: configuration #1 chosen from 1 choice
[    4.030000] hub 1-0:1.0: USB hub found
[    4.040000] hub 1-0:1.0: 1 port detected
[    4.050000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.060000] rtl819x-ohci rtl819x-ohci: Realtek rtl819x built-in OHCI controller
[    4.070000] rtl819x-ohci rtl819x-ohci: new USB bus registered, assigned bus number 2
[    4.080000] rtl819x-ohci rtl819x-ohci: irq 10, io mem 0x18020000
[    4.160000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    4.170000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.180000] usb usb2: Product: Realtek rtl819x built-in OHCI controller
[    4.190000] usb usb2: Manufacturer: Linux 2.6.30.9 ohci_hcd
[    4.200000] usb usb2: SerialNumber: rtl819x-ohci
[    4.210000] usb usb2: configuration #1 chosen from 1 choice
[    4.220000] hub 2-0:1.0: USB hub found
[    4.230000] hub 2-0:1.0: 1 port detected
[    4.240000] nf_conntrack version 0.5.0 (512 buckets, 2048 max)
[    4.250000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    4.260000] nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
[    4.270000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    4.280000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.290000] TCP cubic registered
[    4.300000] NET: Registered protocol family 17
[    4.310000] Netlink[Kernel] create socket for igmp ok.
[    4.320000] Realtek FastPath:v1.03
[    4.350000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    4.360000] Freeing unused kernel memory: 104k freed
[    4.380000] Warning: unable to open an initial console.
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[   13.810000] SCSI subsystem initialized
[   14.570000] Driver 'sd' needs updating - please use bus_type methods
[   14.910000] Initializing USB Mass Storage driver...
[   14.930000] usbcore: registered new interface driver usb-storage
[   14.940000] USB Mass Storage support registered.
switching to jffs2
[   35.680000] mini_fo: using base directory: /
[   35.690000] mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. [   37.210000] compat: exports duplicate symbol schedule_delayed_work_on (owned by kernel)
[   37.600000] cfg80211: Unknown symbol compat_genl_unregister_family
[   37.610000] cfg80211: Unknown symbol backport_simple_open
[   37.620000] cfg80211: Unknown symbol compat_genl_register_family_with_ops
[   37.650000] cfg80211: Unknown symbol backport_netdev_set_default_ethtool_ops
[   37.680000] cfg80211: Unknown symbol backport_schedule_work
[   37.690000] cfg80211: Unknown symbol backport_work_busy
[   37.700000] cfg80211: Unknown symbol backport_dependency_symbol
[   38.680000] NET: Registered protocol family 10
[   38.690000] lo: Disabled Privacy Extensions
[   39.840000] mac80211: Unknown symbol cfg80211_send_assoc_timeout
[   39.850000] mac80211: Unknown symbol cfg80211_sched_scan_results
[   39.860000] mac80211: Unknown symbol backport_ewma_add
[   39.870000] mac80211: Unknown symbol cfg80211_rx_unexpected_4addr_frame
[   39.890000] mac80211: Unknown symbol cfg80211_scan_done
[   39.900000] mac80211: Unknown symbol cfg80211_sched_scan_stopped
[   39.910000] mac80211: Unknown symbol __dev_addr_unsync
[   39.920000] mac80211: Unknown symbol cfg80211_send_auth_timeout
[   39.930000] mac80211: Unknown symbol cfg80211_remain_on_channel_expired
[   39.940000] mac80211: Unknown symbol cfg80211_cac_event
[   39.960000] mac80211: Unknown symbol ieee80211_amsdu_to_8023s
[   39.970000] mac80211: Unknown symbol cfg80211_send_deauth
[   39.980000] mac80211: Unknown symbol cfg80211_ref_bss
[   40.000000] mac80211: Unknown symbol backport_simple_open
[   40.020000] mac80211: Unknown symbol __cfg80211_send_deauth
[   40.030000] mac80211: Unknown symbol cfg80211_chandef_valid
[   40.040000] mac80211: Unknown symbol cfg80211_new_sta
[   40.050000] mac80211: Unknown symbol backport_mac_pton
[   40.070000] mac80211: Unknown symbol cfg80211_send_unprot_deauth
[   40.080000] mac80211: Unknown symbol backport_atomic64_add_return
[   40.090000] mac80211: Unknown symbol cfg80211_calculate_bitrate
[   40.100000] mac80211: Unknown symbol _kstrtoul
[   40.110000] mac80211: Unknown symbol cfg80211_ready_on_channel
[   40.120000] mac80211: Unknown symbol backport_ewma_init
[   40.130000] mac80211: Unknown symbol cfg80211_classify8021d
[   40.140000] mac80211: Unknown symbol cfg80211_send_unprot_disassoc
[   40.150000] mac80211: Unknown symbol wiphy_register
[   40.160000] mac80211: Unknown symbol wiphy_new
[   40.180000] mac80211: Unknown symbol cfg80211_put_bss
[   40.200000] mac80211: Unknown symbol cfg80211_gtk_rekey_notify
[   40.210000] mac80211: Unknown symbol ieee80211_bss_get_ie
[   40.220000] mac80211: Unknown symbol cfg80211_rx_spurious_frame
[   40.230000] mac80211: Unknown symbol cfg80211_ibss_joined
[   40.240000] mac80211: Unknown symbol __cfg80211_send_disassoc
[   40.250000] mac80211: Unknown symbol cfg80211_chandef_compatible
[   40.260000] mac80211: Unknown symbol cfg80211_report_obss_beacon
[   40.280000] mac80211: Unknown symbol backport_time_to_tm
[   40.290000] mac80211: Unknown symbol cfg80211_michael_mic_failure
[   40.310000] mac80211: Unknown symbol cfg80211_cqm_pktloss_notify
[   40.320000] mac80211: Unknown symbol cfg80211_send_rx_auth
[   40.330000] mac80211: Unknown symbol ieee80211_operating_class_to_band
[   40.340000] mac80211: Unknown symbol wiphy_unregister
[   40.360000] mac80211: Unknown symbol cfg80211_send_disassoc
[   40.370000] mac80211: Unknown symbol ieee80211_radiotap_iterator_init
[   40.380000] mac80211: Unknown symbol cfg80211_notify_new_peer_candidate
[   40.390000] mac80211: Unknown symbol cfg80211_get_bss
[   40.400000] mac80211: Unknown symbol kstrtou8
[   40.420000] mac80211: Unknown symbol __ieee80211_get_channel
[   40.430000] mac80211: Unknown symbol kstrtoull
[   40.440000] mac80211: Unknown symbol cfg80211_chandef_usable
[   40.450000] mac80211: Unknown symbol rfc1042_header
[   40.460000] mac80211: Unknown symbol backport_atomic64_read
[   40.480000] mac80211: Unknown symbol cfg80211_mgmt_tx_status
[   40.500000] mac80211: Unknown symbol cfg80211_check_station_change
[   40.510000] mac80211: Unknown symbol cfg80211_reg_can_beacon
[   40.520000] mac80211: Unknown symbol cfg80211_find_ie
[   40.530000] mac80211: Unknown symbol cfg80211_unregister_wdev
[   40.540000] mac80211: Unknown symbol cfg80211_del_sta
[   40.550000] mac80211: Unknown symbol cfg80211_probe_status
[   40.560000] mac80211: Unknown symbol ieee80211_data_to_8023
[   40.570000] mac80211: Unknown symbol cfg80211_send_rx_assoc
[   40.580000] mac80211: Unknown symbol ieee80211_radiotap_iterator_next
[   40.590000] mac80211: Unknown symbol ieee80211_channel_to_frequency
[   40.600000] mac80211: Unknown symbol cfg80211_rx_mgmt
[   40.620000] mac80211: Unknown symbol ieee80211_hdrlen
[   40.640000] mac80211: Unknown symbol cfg80211_chandef_create
[   40.650000] mac80211: Unknown symbol backport_schedule_work
[   40.660000] mac80211: Unknown symbol cfg80211_inform_bss_frame
[   40.670000] mac80211: Unknown symbol ieee80211_get_mesh_hdrlen
[   40.680000] mac80211: Unknown symbol __dev_addr_sync
[   40.690000] mac80211: Unknown symbol cfg80211_get_p2p_attr
[   40.700000] mac80211: Unknown symbol ieee80211_frequency_to_channel
[   40.710000] mac80211: Unknown symbol cfg80211_radar_event
[   40.720000] mac80211: Unknown symbol bridge_tunnel_header
[   40.730000] mac80211: Unknown symbol backport_dependency_symbol
[   40.740000] mac80211: Unknown symbol cfg80211_unlink_bss
[   40.750000] mac80211: Unknown symbol wiphy_free
[   40.760000] mac80211: Unknown symbol cfg80211_cqm_rssi_notify
[   41.340000] rtl8187: Unknown symbol ieee80211_queue_stopped
[   41.360000] rtl8187: Unknown symbol ieee80211_free_hw
[   41.370000] rtl8187: Unknown symbol ieee80211_alloc_hw
[   41.380000] rtl8187: Unknown symbol ieee80211_register_hw
[   41.390000] rtl8187: Unknown symbol ieee80211_generic_frame_duration
[   41.400000] rtl8187: Unknown symbol ieee80211_tx_status_irqsafe
[   41.420000] rtl8187: Unknown symbol wiphy_rfkill_set_hw_state
[   41.440000] rtl8187: Unknown symbol ieee80211_queue_delayed_work
[   41.450000] rtl8187: Unknown symbol wiphy_rfkill_stop_polling
[   41.470000] rtl8187: Unknown symbol eeprom_93cx6_multiread
[   41.490000] rtl8187: Unknown symbol wiphy_rfkill_start_polling
[   41.500000] rtl8187: Unknown symbol ieee80211_unregister_hw
[   41.510000] rtl8187: Unknown symbol ieee80211_beacon_get_tim
[   41.520000] rtl8187: Unknown symbol backport_schedule_work
[   41.530000] rtl8187: Unknown symbol ieee80211_frequency_to_channel
[   41.540000] rtl8187: Unknown symbol backport_dependency_symbol
[   41.550000] rtl8187: Unknown symbol ieee80211_rx_irqsafe
[   41.560000] rtl8187: Unknown symbol eeprom_93cx6_read
[   41.570000] rtl8187: Unknown symbol ieee80211_rts_duration
[   45.560000] xt_time: kernel timezone is -0000
[   47.200000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   48.600000] usbcore: registered new interface driver snd-usb-audio
[   48.720000] usbcore: registered new interface driver usbserial
[   48.730000] usbserial: USB Serial Driver core
[   48.880000] USB Serial support registered for FTDI USB Serial Device
[   48.890000] usbcore: registered new interface driver ftdi_sio
[   48.900000] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
[   49.100000] USB Serial support registered for GSM modem (1-port)
[   49.110000] usbcore: registered new interface driver option
[   49.120000] option: v0.7.2:USB Driver for GSM modems
[   49.690000] u32 classifier
[   49.700000]     Actions configured
[   49.990000] Mirror/redirect action on
[   64.130000] set_mode = IW_MODE_MASTER
net_cfg=lan
[   67.120000] device eth0 entered promiscuous mode
[   67.140000] br-lan: port 1(eth0) entering learning state
[   67.240000] device eth2 entered promiscuous mode
[   67.250000] br-lan: port 2(eth2) entering learning state
[   67.310000] device eth3 entered promiscuous mode
[   67.320000] br-lan: port 3(eth3) entering learning state
[   67.420000] device eth4 entered promiscuous mode
[   67.430000] br-lan: port 4(eth4) entering learning state
bridge name     bridge id               STP enabled     interfaces
br-lan          7fff.001234567890       no              eth0
                                                        eth2
                                                        eth3
                                                        eth4
vif=cfg033579 bridge=br-lan
tree config_set cfg033579 bridge br-lan
house start_net wlan0 lan
CONFIG_APPEND=''
CONFIG_LIST_STATE=''
CONFIG_NUM_SECTIONS='2'
CONFIG_SECTION='cfg033579'
CONFIG_SECTIONS='wlan0 cfg033579'
CONFIG_cfg02e48a_TYPE='system'
CONFIG_cfg02e48a_hostname='OpenWrt'
CONFIG_cfg02e48a_timezone='UTC'
CONFIG_cfg033579_TYPE='wifi-iface'
CONFIG_cfg033579_bridge='br-lan'
CONFIG_cfg033579_device='wlan0'
CONFIG_cfg033579_encryption='none'
CONFIG_cfg033579_ifname='wlan0'
CONFIG_cfg033579_mode='ap'
CONFIG_cfg033579_network='lan'
CONFIG_cfg033579_ssid='OpenWrt'
CONFIG_ntp_TYPE='timeserver'
CONFIG_ntp_enable_server='0'
CONFIG_ntp_server=''
CONFIG_ntp_server_ITEM1='0.openwrt.pool.ntp.org'
CONFIG_ntp_server_ITEM2='1.openwrt.pool.ntp.org'
CONFIG_ntp_server_ITEM3='2.openwrt.pool.ntp.org'
CONFIG_ntp_server_ITEM4='3.openwrt.pool.ntp.org'
CONFIG_ntp_server_LENGTH=''
CONFIG_wlan0_TYPE='wifi-device'
CONFIG_wlan0_channel='11'
CONFIG_wlan0_ht_capab=''
CONFIG_wlan0_htmode='HT40-'
CONFIG_wlan0_macaddr='00:e0:4c:81:86:86'
CONFIG_wlan0_phy='wlan0'
CONFIG_wlan0_type='realtek'
CONFIG_wlan0_vifs='cfg033579 '
[   69.150000] br-lan: port 1(eth0) entering forwarding state
[   69.260000] br-lan: port 2(eth2) entering forwarding state
[   69.340000] br-lan: port 3(eth3) entering forwarding state
[   69.440000] br-lan: port 4(eth4) entering forwarding state
[   73.680000] [PHY_ConfigMACWithParaFile][MACPHY_REG_92C]
[   73.680000] ===> Load_92C_Firmware
[   73.680000] <=== Load_92C_Firmware
[   73.680000] 0x55d = 0xff
[   73.700000] device wlan0 entered promiscuous mode
[   73.720000] br-lan: port 5(wlan0) entering learning state
bridge name     bridge id               STP enabled     interfaces
br-lan          7fff.001234567890       no              eth0
                                                        eth2
                                                        eth3
                                                        eth4
                                                        wlan0
[   75.730000] br-lan: port 5(wlan0) entering forwarding state
[   78.430000] br-lan: port 5(wlan0) entering disabled state
[   78.460000] rtl_net80211_setparam +++
[   78.460000] rtl8192cd_net80211_ioctl, param = 13, value =0
[   78.460000] rtl_net80211_setparam ---
[   78.480000] rtl_hapd_config +++
[   78.480000] rtl_hapd_config ---
[   78.500000] rtl_net80211_setparam +++
[   78.500000] rtl8192cd_net80211_ioctl, param = 9, value =0
[   78.500000] rtl_net80211_setparam ---
[   78.520000] rtl_net80211_setparam +++
[   78.520000] rtl8192cd_net80211_ioctl, param = 3, value =1
[   78.520000] rtl_net80311_authmode +++
[   78.520000] authtype=0, encmode=0, pskenable=0, dot11802_1x=0
[   78.520000] rtl_net80211_setparam ---
[   78.540000] rtl_net80211_setparam +++
[   78.540000] rtl8192cd_net80211_ioctl, param = 13, value =0
[   78.540000] rtl_net80211_setparam ---
[   78.560000]
[   78.560000] Fail: interface not opened
[   78.580000]
[   78.580000] Fail: interface not opened
[   78.600000]
[   78.600000] Fail: interface not opened
[   78.620000]
[   78.620000] Fail: interface not opened
[   78.640000] rtl_net80211_setappiebuf +++
[   78.640000] frametype =0, iebuflen=0
[   78.640000] WSC: set beacon IE
[   78.640000] rtl_net80211_setappiebuf ---
[   78.670000] rtl_net80211_setappiebuf +++
[   78.670000] frametype =2, iebuflen=0
[   78.670000] WSC: set probe response IE
[   78.670000] rtl_net80211_setappiebuf ---
[   78.690000] Undefined state... using AP mode as default
[   78.710000] [PHY_ConfigMACWithParaFile][MACPHY_REG_92C]
[   78.710000] ===> Load_92C_Firmware
[   78.710000] <=== Load_92C_Firmware
[   78.710000] 0x55d = 0xff
[   78.750000] br-lan: port 5(wlan0) entering learning state
[   80.760000] br-lan: port 5(wlan0) entering forwarding state



BusyBox v1.19.4 (2013-11-15 18:34:58 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r36713)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/

Maybe useful at any time:

Top layer of PCB:
http://i42.tinypic.com/25tjhie.jpg

Bottom Layer of PCB:
http://i44.tinypic.com/5klqnp.jpg

And if somebody needs a copy of the original flash content, I could upload it as well wink

Been watch this thread with interest. I have a dlink dir615 rev M with rlt8196c soc, happy to be a tester if there is a firmware I can play around with?

Could you build one for the Trendnet TEW-652BRP v3.2R?

is the any support for the D-link Dir-820L been looking around for a while now im a newb to all of this so if i can help test all i need is some instructions and ill give a shot would be more then happy to be a tester for you guys

Simba7 wrote:

Could you build one for the Trendnet TEW-652BRP v3.2R?

What is the SOC, Flash, Ram? Also always make sure to make a copy of your MIB. The MIB is the portion of data in your flash that contains the hardware variables, Without that your wifi will feel like crap.

Nvthedemon wrote:

is the any support for the D-link Dir-820L been looking around for a while now im a newb to all of this so if i can help test all i need is some instructions and ill give a shot would be more then happy to be a tester for you guys

As long as we can support the SOC and the memory is adequate.

I'm very interested in the development for these SOCs, so may I ask what the current status is?

Re: "We have a version of Backfire that can work on your router. Do you want to try it?"

Will this be available somewhere? Or is the "take care of every little bit of hardware details per box" yet missing?
What can be done to help all this going forward?

ps2chiper wrote:
Simba7 wrote:

Could you build one for the Trendnet TEW-652BRP v3.2R?

What is the SOC, Flash, Ram? Also always make sure to make a copy of your MIB. The MIB is the portion of data in your flash that contains the hardware variables, Without that your wifi will feel like crap.

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

How do I get the MIB?

Hello everyone!
I have D-Link DIR-300 rev D1 on Realtek RTL8196E and a great desire to launch openwrt can you help me ?

Hello freedom fighters!

I am using Edimax LT-6408n it's a fork of Edimax 3G-6408n made only for Polish ISP "CyfrowyPolsat". It is based on RTL8196C with 4MB flash & 16MB ram same like 3G version but also supports LTE modems. I wanted to switch to OpenWRT since I have that router. I also tried several 'stock' versions of firmware some where better some worse but all of them had the same issues from the begining with no fix at all: e.x. unnesesary resets, connections lost, settings lost.

And ever since I am watching this topic. I am a bit advanced linux user but not a developer. I want to help. I can test new kernels, give you logs, etc. i tried to compile my own firmware but no succes.

I post some code that might help

http://www.edimax.com/images/Image/OpenSourceCode/Wireless/Router/3G-6408n/3G-6408n.rar

I purchased some NProve  U150M and it claims that it comes with OpenWRT OpenWrt Barrier Breaker r36713 however the opkg conf that comes with it is wrong:

 
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/realtek/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

Also there's no information on how the manufacturer compiled the Barrier Breaker r36713 in it. I mean, when using make menuconfig you don't see any Realtek options yet.

Picture of the device
http://s17.postimg.org/7gsgabtyz/2014_01_30_12_09_59.jpg

Hello
I recently obtained a router Edimax BR-6478Gn, which specs are:
4MB flash
32MB RAM
rtl8198 - lan chip
rtl8192ce - radio
Is there a way to put OpenWrt on this router?

ppj wrote:

I purchased some NProve  U150M and it claims that it comes with OpenWRT OpenWrt Barrier Breaker r36713 however the opkg conf that comes with it is wrong:

 
src/gz barrier_breaker http://downloads.openwrt.org/snapshots/trunk/realtek/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

Also there's no information on how the manufacturer compiled the Barrier Breaker r36713 in it. I mean, when using make menuconfig you don't see any Realtek options yet.

Picture of the device
http://s17.postimg.org/7gsgabtyz/2014_01_30_12_09_59.jpg


I am back from vacation. PPJ, just PM me and I will help you out personally.

The NProve is a very good hardware and they have an amazing support. Thanks Roman and ps2chiper

Any idea if this could work on an Asus RT--N12E
Bought a new router, thought it was the N12 but I got the N12E that has the RTL8196C cpu. Really wish to get OpenWRT on it. I will be more than happy trying out firmwares on it if needed!

danell wrote:

Any idea if this could work on an Asus RT--N12E
Bought a new router, thought it was the N12 but I got the N12E that has the RTL8196C cpu. Really wish to get OpenWRT on it. I will be more than happy trying out firmwares on it if needed!


What is the Ram and Flash size? We should be able to support you.

CPU1: Realtek RTL8196C
FLA1: 4 MB (Brand? Model?)
RAM1: 16 MB (Brand? Model?)

info from here: https://wikidevi.com/wiki/ASUS_RT-N12E
Really hope it's enough and that you could help me! God I hate the Asus GUI. Well... at least it's better than D-Links, but nothing beats the power of OpenWRT!

(Last edited by danell on 9 Mar 2014, 22:43)

danell wrote:

CPU1: Realtek RTL8196C
FLA1: 4 MB (Brand? Model?)
RAM1: 16 MB (Brand? Model?)

info from here: https://wikidevi.com/wiki/ASUS_RT-N12E
Really hope it's enough and that you could help me! God I hate the Asus GUI. Well... at least it's better than D-Links, but nothing beats the power of OpenWRT!

You can do it if you only want to use command line. There is not enough ram and flash for Luci to function properly.

Hm... Damn =/ Not even for just the UI? I won't need to install any extra than what comes with Luci normaly. The only thing I will do is open some ports and that's all.

Edit: idk about the other guis out threre (x-wrt or what the name now was) but maybe they uses less ram and flash.

(Last edited by danell on 9 Mar 2014, 23:53)