D-Link DIR-860L A1: Known defects

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Wed Jun 24, 2015 18:38    Post subject: D-Link DIR-860L A1: Known defects Reply with quote
Hi everyone

Listed below is some known defects with respect to D-Link DIR-860L A1.
Write in this thread every time you have either tested a new beta build of DD-WRT and mention whether some of the listed defects below are corrected or not.
Also if you have found new defects please write and I will update this post so we have an up-to-date list. Be sure to post the specific build that you are using so your post will make sense and be useful.

Hopefully someone will pick up this list and put the defects on their way to get fixed since it is currently impossible to register at http://svn.dd-wrt.com/register (you are likely going to get a trac/captcha error so that you are not able to e.g. post defects/bugs.)

Should someone know how to create a trac account on http://svn.dd-wrt.com/ I would also like to hear more about that!


*UPDATE 3*
WAN and Power LEDs as well as the USB port now works!
Build: ftp://ftp.dd-wrt.com/betas/2015/07-06-2015-r27490/dlink-dir860l-a1/
This means 1. and 3. have been fixed!


*UPDATE 2*
1. and 3. BrainSlayer has applied this patch http://svn.dd-wrt.com/changeset/27480 that should fix the issues concerning the USB port as well as the Power and WAN LEDs of DIR-860L A1. The fix is available in the next upcoming beta. Stay tuned...

2. BrainSlayer has confirmed that DIR-860L A1 / BCM47081A0 is single core:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=973455#973455


*UPDATE*
Fix just waiting to be patched into DD-WRT
To fix the known defects about missing LED and USB functionality concerning points 1 and 3 below the following will most likely fix it:
Code:
case ROUTER_DLINK_DIR860:
        power_gpio = 0x101;         // power led green
        diag_gpio = 0x100;          // power led orange
        diag_gpio_disabled = 0x101; // power led green
        connected_gpio = 0x104;     // wan led green
        disconnected_gpio = 0x103;  // wan led orange
        usb_power = 0x00a;          // usb power
        break;

, in src/router/libutils/utils.c in the led_control function above line 5980:
http://svn.dd-wrt.com/browser/src/router/libutils/utils.c#L5980
Code:
5980           case ROUTER_DLINK_DIR868:
5981           case ROUTER_DLINK_DIR868C:


Read more here https://www.dd-wrt.com/phpBB2/viewtopic.php?p=972453#972453

KrypteX has said to make a ticket on http://svn.dd-wrt.com so it hopefully and eventually will get fixed.

Concerning point 2 maybe BrainSlayer can confirm if the CPU of DIR-860L A1 is only single core or not.

Known defects

1) LEDs
Power LED:
Both orange LED and green LED are on after boot making it hard to see the green LED as well as to interpret the state.

WAN/Internet LED:
Both orange and green LEDs are off all the time so it is not possible to see if the Internet connection (or connection to the next gateway) is established.

It has not worked on any of the dd-wrt builds I have tried to date (last time it was build 27396 from 06/20/2015 https://www.dd-wrt.com/phpBB2/viewtopic.php?p=971434 )
, but I have found the GPIOs to switch on and off the LEDs!

For the DIR-860L A1:
gpio disable => LED is on
gpio enable => LED is off

Power LED:
Orange gpio: 0
Green gpio: 1

WAN/Internet LED:
Orange gpio: 3
Green gpio: 4


2) Only 1 CPU core is running although 2 are found

There is a lot of confusion whether the CPU of the DIR-860L A1 is dual core or not:
https://www.dd-wrt.com/phpBB2/viewtopic.php?p=972434#972434
It seems it is only single core then again there is a little doubt.

It all started with the dd-wrt user Edr created this post https://www.dd-wrt.com/phpBB2/viewtopic.php?t=283786
where it is described only one of the two cpu cores are running.
So I decided to check that (last time it was build 27396 from 06/20/2015 https://www.dd-wrt.com/phpBB2/viewtopic.php?p=971434 ).

The dd-wrt Status - Router page shows under section "CPU": CPU Cores 1

From dmesg I have copy pasted this:
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Calibrating local timer... 399.73MHz.
2 cores has been found
Setting up static identity map for 0xc00126c0 - 0xc00126f4
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x7a530000, Cache size: 262144 B
CPU1: failed to boot: -38
Brought up 1 CPUs
SMP: Total of 1 processors activated (1594.16 BogoMIPS).

It would be nice to have both of the 2 cores running as it has been seen on other dd-wrt routers.

3) USB does not work.
Seems power is off to the usb port.
Reported by Edr here:
https://www.dd-wrt.com/phpBB2/viewtopic.php?p=972022#972022
and
https://www.dd-wrt.com/phpBB2/viewtopic.php?p=972389#972389


Last edited by a_l on Mon Jul 06, 2015 18:23; edited 3 times in total
Sponsor
Edr
DD-WRT Novice


Joined: 20 Jun 2015
Posts: 20

PostPosted: Thu Jun 25, 2015 0:26    Post subject: D-Link 860L rev A1 running dd-wrt Build 27435 Reply with quote
Not working properly:

Only one core of the dual core CPU is running.
Leds-Both Orange and Green on at the same time.
USB - not working

Working:
OpenVpn - (using a bash! script) didn't test with gui interface yet.
Wireless 2.4 working.
Wireless 5Ghz working.

Here is my complete dmesg:
==========================================================

___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/

DD-WRT v3.0
http://www.dd-wrt.com

==========================================================


BusyBox v1.23.2 (2015-06-24 07:20:12 CEST) built-in shell (ash)

root@Uranus:~# dmesg
Booting Linux on physical CPU 0x0
Linux version 3.10.81 (root@dd-wrt) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45269) ) #4332 SMP Wed Jun 24 07:18:45 CEST 2015
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Northstar Prototype
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writealloc
map io
MPCORE found at 19020000 (VIRT d9020000) 18000000 d8000000
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c0402940, node_mem_map c047b000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32768 pages, LIFO batch:7
PERCPU: Embedded 7 pages/cpu @c057e000 s6400 r8192 d14080 u32768
pcpu-alloc: s6400 r8192 d14080 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 panic=10 root=/dev/mtdblock3 earlyprintk=1 rootfstype=squashfs,jffs2 noinitrd init=/bin/sh
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125276k/125276k available, 5796k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc03abda4 (3728 kB)
.init : 0xc03ac000 - 0xc03e6900 ( 235 kB)
.data : 0xc03e8000 - 0xc041aa60 ( 203 kB)
.bss : 0xc041aa60 - 0xc047aee4 ( 386 kB)
Hierarchical RCU implementation.
CONFIG_RCU_FANOUT set to non-default value of 2
NR_IRQS:256
MPCORE GIC init
External imprecise Data abort at addr=0x0, fsr=0x1c06 ignored.
MPCORE Global Timer Clock 400000000Hz on IRQ 27
sched_clock: 32 bits at 400MHz, resolution 2ns, wraps every 10737ms
register local timer
smp_twd: clock not found -2
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Calibrating local timer... 399.74MHz.
2 cores has been found
Setting up static identity map for 0xc00126d0 - 0xc0012704
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x7a530000, Cache size: 262144 B
CPU1: failed to boot: -38
Brought up 1 CPUs
SMP: Total of 1 processors activated (1594.16 BogoMIPS).
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Found a ST compatible (Marconix) serial flash with 64 64KB blocks; total size 4MB
found remapped nvram on sflash
CCA UART Clock Config: Sel=1 Ovr=1 Div=48
CCA UART Clock rate 100000000Hz
bio: create slab <bio-0> at 0
Switching to clocksource mpcore_gtimer
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 64
init gpio code
PCI: no core
PCI: no core
PCI: scanning bus 0
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffffffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [14e4:0800] type 00 class 0x050100
pci 0000:00:00.0: reg 10: [mem 0x18000000-0x18000fff]
pci 0000:00:00.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:01.0: [14e4:050b] type 00 class 0xffffff
pci 0000:00:01.0: reg 10: [mem 0x18001000-0x18001fff]
pci 0000:00:01.0: reg 14: [mem 0x18002000-0x18002fff]
pci 0000:00:01.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:02.0: [14e4:0502] type 00 class 0xffffff
pci 0000:00:02.0: reg 10: [mem 0x1802c000-0x1802cfff]
pci 0000:00:02.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:03.0: [14e4:4715] type 00 class 0x020000
pci 0000:00:03.0: reg 10: [mem 0x18024000-0x18024fff]
pci 0000:00:03.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:04.0: [14e4:4715] type 00 class 0x020000
pci 0000:00:04.0: reg 10: [mem 0x18025000-0x18025fff]
pci 0000:00:04.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:05.0: [14e4:4715] type 00 class 0x020000
pci 0000:00:05.0: reg 10: [mem 0x18026000-0x18026fff]
pci 0000:00:05.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:06.0: [14e4:4715] type 00 class 0x020000
pci 0000:00:06.0: reg 10: [mem 0x18027000-0x18027fff]
pci 0000:00:06.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:07.0: [14e4:0501] type 00 class 0xffffff
pci 0000:00:07.0: reg 10: [mem 0x18012000-0x18012fff]
pci 0000:00:07.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:08.0: [14e4:0501] type 00 class 0xffffff
pci 0000:00:08.0: reg 10: [mem 0x18013000-0x18013fff]
pci 0000:00:08.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:09.0: [14e4:0510] type 00 class 0xffffff
pci 0000:00:09.0: reg 10: [mem 0x1800b000-0x1800bfff]
pci 0000:00:09.0: reg 14: [mem 0x1800c000-0x1800cfff]
pci 0000:00:09.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0a.0: [14e4:471a] type 00 class 0x0c0310
pci 0000:00:0a.0: reg 10: [mem 0x18022000-0x18022fff]
pci 0000:00:0a.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0a.1: [14e4:471a] type 00 class 0x0c0320
pci 0000:00:0a.1: reg 10: [mem 0x18021000-0x18021fff]
pci 0000:00:0a.1: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0b.0: [14e4:472a] type 00 class 0x0c0330
pci 0000:00:0b.0: reg 10: [mem 0x18023000-0x18023fff]
pci 0000:00:0b.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0c.0: [14e4:0503] type 00 class 0xffffff
pci 0000:00:0c.0: reg 10: [mem 0x18020000-0x18020fff]
pci 0000:00:0c.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0d.0: [14e4:0506] type 00 class 0xffffff
pci 0000:00:0d.0: reg 10: [mem 0x18210000-0x1821ffff]
pci 0000:00:0d.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0e.0: [14e4:0507] type 00 class 0xffffff
pci 0000:00:0e.0: reg 10: [mem 0x18010000-0x18010fff]
pci 0000:00:0e.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:0f.0: [14e4:0508] type 00 class 0xffffff
pci 0000:00:0f.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:10.0: [14e4:0509] type 00 class 0xffffff
pci 0000:00:10.0: reg 10: [mem 0x18028000-0x18028fff]
pci 0000:00:10.0: reg 30: [mem 0x00000000-0x000007ff pref]
pci 0000:00:11.0: [14e4:050a] type 00 class 0xffffff
pci 0000:00:11.0: reg 10: [mem 0x18029000-0x18029fff]
pci 0000:00:11.0: reg 30: [mem 0x00000000-0x000007ff pref]
PCI: Fixing up bus 0
PCIE1 link=1
PCIE1 switching to GEN2
PCIE1 link=1
PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [mem 0x08000000-0x0fffffff]
pci_bus 0001:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0001:00:00.0: [14e4:8011] type 01 class 0x060400
pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
PCI: Fixing up bus 0
PCI: bus0: Fast back to back transfers disabled
pci 0001:01:00.0: [14e4:a8db] type 00 class 0x028000
pci 0001:01:00.0: reg 10: [mem 0x00000000-0x00007fff 64bit]
pci 0001:01:00.0: supports D1 D2
PCI: Fixing up bus 1
PCI: bus1: Fast back to back transfers disabled
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 01
pci 0001:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
pci 0001:01:00.0: BAR 0: assigned [mem 0x08000000-0x08007fff 64bit]
pci 0001:00:00.0: PCI bridge to [bus 01]
pci 0001:00:00.0: bridge window [mem 0x08000000-0x080fffff]
PCIE2 link=1
PCIE2 switching to GEN2
PCIE2 link=1
PCI host bridge to bus 0002:00
pci_bus 0002:00: root bus resource [mem 0x40000000-0x47ffffff]
pci_bus 0002:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0002:00:00.0: [14e4:8011] type 01 class 0x060400
pci 0002:00:00.0: PME# supported from D0 D3hot D3cold
PCI: Fixing up bus 0
PCI: bus0: Fast back to back transfers disabled
pci 0002:01:00.0: [14e4:4360] type 00 class 0x028000
pci 0002:01:00.0: reg 10: [mem 0x40000000-0x40007fff 64bit]
pci 0002:01:00.0: supports D1 D2
PCI: Fixing up bus 1
PCI: bus1: Fast back to back transfers disabled
pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 01
pci 0002:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
pci 0002:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
pci 0002:00:00.0: PCI bridge to [bus 01]
pci 0002:00:00.0: bridge window [mem 0x40000000-0x400fffff]
PCIE3 link=0
Error creating gpio class
squashfs: version 3.0 (2006/03/15) Phillip Lougher
msgmni has been set to 244
io scheduler noop registered (default)
io scheduler cfq registered
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18000300 (irq = 117) is a 16550
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x18000400 (irq = 117) is a 16550
brd: module loaded
loop: module loaded
Boot partition size = 2097152(0x200000)
Creating 3 MTD partitions on "bcmsflash":
0x000000000000-0x000000200000 : "boot"
0x0000003f0000-0x000000400000 : "nvram_cfe"
0x0000003e0000-0x0000003f0000 : "nvram"
Found a AMD NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8 (8-bit)
Device ID: 0x 1 0xf1 0x 0 0x1d 0x 1 0xf1
DIR-660L Hack for detecting filesystems
lookup_nflash_rootfs_offset: offset = 0x0 size = 0x2000000, 0x10000
nflash: squash filesystem with lzma found at block 23
Creating 2 MTD partitions on "nflash":
0x000000000000-0x000002000000 : "linux"
0x000000170060-0x000002000000 : "rootfs"
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
GACT probability NOT on
Mirror/redirect action on
Failed to load ipt action
Simple TC action Loaded
netem: version 1.3
u32 classifier
Performance counters on
input device check on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
nf_conntrack_rtsp v0.6.21 loading
xt_time: kernel timezone is -0000
ip_set: protocol 6
gre: GRE over IPv4 demultiplexor driver
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
TCP: cubic registered
TCP: westwood registered
TCP: highspeed registered
TCP: hybla registered
TCP: htcp registered
TCP: vegas registered
TCP: veno registered
TCP: scalable registered
TCP: lp registered
TCP: yeah registered
TCP: illinois registered
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
found cfe nvram
Key type encrypted registered
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
Spare area=64 eccbytes 56, ecc bytes located at:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19 20 21 22 23 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Available 7 bytes at (off,len):
(1,1) (16,2) (32,2) (48,2) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (0,0)
Driver must set ecc.strength when using hardware ECC
Scanning device for bad blocks
Bad eraseblock 13 at 0x0000001a0000
Bad eraseblock 855 at 0x000006ae0000
Bad eraseblock 866 at 0x000006c40000
Options: NO_SUBPAGE_WRITE,
Creating 1 MTD partitions on "brcmnand":
0x000002000000-0x000008000000 : "ddwrt"
VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 232K (c03ac000 - c03e6000)
et: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
et_module_init: passivemode set to 0x0
et_module_init: txworkq set to 0x1
et_module_init: et_txq_thresh set to 0x400
et_module_init: et_rxlazy_timeout set to 0x3e8
et_module_init: et_rxlazy_framecnt set to 0x20
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.89.21 (r524987)
roboswitch: Probing device 'eth0'
roboswitch: trying a 53011! at eth0
roboswitch: found a 53011! at eth0
PCI: Enabling device 0001:01:00.0 (0140 -> 0142)
eth0: mixed HW and IP checksum settings.
device br0 entered promiscuous mode
device vlan1 entered promiscuous mode
device eth0 entered promiscuous mode
device eth1 entered promiscuous mode
device eth2 entered promiscuous mode
br0: port 3(eth2) entered forwarding state
br0: port 3(eth2) entered forwarding state
br0: port 2(eth1) entered forwarding state
br0: port 2(eth1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
device br0 left promiscuous mode
device br0 entered promiscuous mode
device br0 left promiscuous mode
device vlan2 entered promiscuous mode
xt_CT: No such helper "ddtb"
xt_CT: No such helper "ddtb"
device vlan2 left promiscuous mode
xt_CT: No such helper "ddtb"
xt_CT: No such helper "ddtb"
br0: port 3(eth2) entered forwarding state
br0: port 2(eth1) entered forwarding state
br0: port 1(vlan1) entered forwarding state
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0000:00:0a.1: EHCI Host Controller
ehci-pci 0000:00:0a.1: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:0a.1: irq 111, io mem 0x18021000
ehci-pci 0000:00:0a.1: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0a.0: OHCI Host Controller
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0a.0: irq 111, io mem 0x18022000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
xhci_hcd 0000:00:0b.0: xHCI Host Controller
xhci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 3
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 3-0:1.0: USB hub found
hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
xhci_hcd 0000:00:0b.0: xHCI Host Controller
xhci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
SCSI subsystem initialized
usbcore: registered new interface driver usb-storage
usbcore: deregistering interface driver usb-storage
cdrom: Uniform CD-ROM driver unloaded
xhci_hcd 0000:00:0b.0: remove, state 1
usb usb4: USB disconnect, device number 1
xHCI xhci_drop_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
xhci_hcd 0000:00:0b.0: USB bus 4 deregistered
xhci_hcd 0000:00:0b.0: remove, state 1
usb usb3: USB disconnect, device number 1
xHCI xhci_drop_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
xhci_hcd 0000:00:0b.0: USB bus 3 deregistered
ohci_hcd 0000:00:0a.0: remove, state 1
usb usb2: USB disconnect, device number 1
ohci_hcd 0000:00:0a.0: USB bus 2 deregistered
ehci-pci 0000:00:0a.1: remove, state 1
usb usb1: USB disconnect, device number 1
ehci-pci 0000:00:0a.1: USB bus 1 deregistered
root@Uranus:~#
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Thu Jun 25, 2015 18:54    Post subject: Re: D-Link 860L rev A1 running dd-wrt Build 27435 Reply with quote
Hi Edr

Thanks for the report!
When I get your answer to the following questions I will add your observations for DD-WRT build 27435 to the list above:

Edr wrote:
Not working properly:
Only one core of the dual core CPU is running.
Leds-Both Orange and Green on at the same time.

1. So the Power LEDs were lighting up in both orange and green at the same time, right?

2. What about the WAN/Internet LEDs. Were the orange and green LEDs off at all time?

Edr wrote:

USB - not working

3. I assume you have activated USB from within the GUI of DD-WRT, right?

4. What did not work, both USB 2.0 and USB 3.0 or only USB 3.0?

5. What sort of USB devices did you test?
g5265170
DD-WRT Novice


Joined: 14 Jun 2015
Posts: 13

PostPosted: Fri Jun 26, 2015 8:33    Post subject: Reply with quote
is the DIR-860L A1 Broadcom BCM47081@800
better than the B1 Mediatek MT7621AT@880?

I know that the B1 is the first to get ddwrt support(and clocked at higher speed), but I thought Broadcom had better support?

back to the topic, I searched everywhere and I can't seemed to find the official data for this BCM47081. Some place even assuming it to be the single core version of BCM4708. It will be nice if we could find out that and prove it to be ddwrt problem

_________________
Atheros:
D-Link DIR-615 I1 ........ DD-WRT 27396
Broadcom:
Linksys WRT54G V6 ...... DD-WRT 14929
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Fri Jun 26, 2015 10:07    Post subject: Reply with quote
g5265170 wrote:
is the DIR-860L A1 Broadcom BCM47081@800
better than the B1 Mediatek MT7621AT@880?

You can't really say which is better, but I'd go with the Broadcom model, because Mediatek/Ralink still can't Autoselect the Host AP's channel in Repeater mode: http://svn.dd-wrt.com/ticket/3809
That's right there a deal breaker for me.

_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Edr
DD-WRT Novice


Joined: 20 Jun 2015
Posts: 20

PostPosted: Fri Jun 26, 2015 15:03    Post subject: According to the specs Broadcom BCM47081A0 Reply with quote
KrypteX

Broadcom BCM47081A0 is a dual core 800mhz processor.

https://wikidevi.com/wiki/D-Link_DIR-860L_rev_A1

I wonder if it is a DD-WRT issue or a D-Link issue. Does anyone know if two cores are running in the stock firmware ?

Maybe its a problem similar to this one that was going on with Netgear: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=900268

If this is the case, the router should not be advertised as a dual core unless it it running both cores.
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Fri Jun 26, 2015 21:16    Post subject: Please patch src/router/libutils/utils.c Reply with quote
Regarding the LEDs I guess we need to add this as a patch to utils.c in src/router/libutils/
in the led_control function to get working LEDs:

Code:
case ROUTER_DLINK_DIR860:
        power_gpio = 0x101;         // power led green
        diag_gpio = 0x100;          // power led orange
        diag_gpio_disabled = 0x101; // power led green
        connected_gpio = 0x104;     // wan led green
        disconnected_gpio = 0x103;  // wan led orange
        break;


, however I have no cross compile environment set up to test it, but maybe some kind soul would add it as a feature request to http://svn.dd-wrt.com/ , because it is my best judgement that it should work.

Of course there is no guarantee that it works, but it is the right place to add and it is the GPIOs to use and they are negated as needed (0x1##) meaning disable to switch on the LEDs and vice versa.

Also I do not know if the problem Edr mentions above about USB is because usb_power and/or usb_power1 are not set. (Edr has not yet answered and confirmed with regards to my questions above.) Maybe someone knows that?
Although there are no LEDs for USB on DIR860L it may be the case that usb_power and/or usb_power1 control USB power as hinted in the led_control function since it is specified for
"case ROUTER_DLINK_DIR868:" as "usb_power = 0x00a;"
(D-Link DIR-868L does also not have USB LEDs - that is why!)

Concerning the dual core cpu problem. Could it e.g. be that the boot loader (or the kernel) does not initialize the CPU correctly?
(Totally unrelated, but just an example about a failed initialization of an arm CPU http://www.spinics.net/lists/arm-kernel/msg351208.html - I know nothing about how to initialize arm CPUs. Smile )

Happy hacker greetings go to:
BrainSlayer, <Kong> and KrypteX
Edr
DD-WRT Novice


Joined: 20 Jun 2015
Posts: 20

PostPosted: Sat Jun 27, 2015 0:16    Post subject: Answers to A I's questions Re:USB and LEDs Reply with quote
1. So the Power LEDs were lighting up in both orange and green at the same time, right?

Yes

2. What about the WAN/Internet LEDs. Were the orange and green LEDs off at all time?

Yes, no lights at all for WAN.

Edr wrote:

USB - not working

3. I assume you have activated USB from within the GUI of DD-WRT, right?

Yes

4. What did not work, both USB 2.0 and USB 3.0 or only USB 3.0?

No power output to the USB port.

5. What sort of USB devices did you test?

Several USB thumb drives /ext, ntfs and fat format. Also tested a self powered hard drive.
g5265170
DD-WRT Novice


Joined: 14 Jun 2015
Posts: 13

PostPosted: Sat Jun 27, 2015 3:18    Post subject: Re: According to the specs Broadcom BCM47081A0 Reply with quote
Edr wrote:
KrypteX

Broadcom BCM47081A0 is a dual core 800mhz processor.

https://wikidevi.com/wiki/D-Link_DIR-860L_rev_A1

I wonder if it is a DD-WRT issue or a D-Link issue. Does anyone know if two cores are running in the stock firmware ?

Maybe its a problem similar to this one that was going on with Netgear: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=900268

If this is the case, the router should not be advertised as a dual core unless it it running both cores.

it says Dual-Band not dual core!

_________________
Atheros:
D-Link DIR-615 I1 ........ DD-WRT 27396
Broadcom:
Linksys WRT54G V6 ...... DD-WRT 14929
ddaniel51
DD-WRT Guru


Joined: 19 Feb 2013
Posts: 1464

PostPosted: Sat Jun 27, 2015 6:10    Post subject: Re: According to the specs Broadcom BCM47081A0 Reply with quote
g5265170 wrote:
Edr wrote:
KrypteX

Broadcom BCM47081A0 is a dual core 800mhz processor.

https://wikidevi.com/wiki/D-Link_DIR-860L_rev_A1

I wonder if it is a DD-WRT issue or a D-Link issue. Does anyone know if two cores are running in the stock firmware ?

Maybe its a problem similar to this one that was going on with Netgear: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=900268

If this is the case, the router should not be advertised as a dual core unless it it running both cores.

it says Dual-Band not dual core!


The chip itself is dual core and capable of running two radios. Whether or not Dlink chose to implement both cores is another story.



stratagx_bcm4708_pressppt_final (1)_575px.png
 Description:
 Filesize:  106.28 KB
 Viewed:  52554 Time(s)

stratagx_bcm4708_pressppt_final (1)_575px.png



_________________
Segment 1 XR700 10Gb LAN, 1Gb WAN ISP BS
Wired AP 1 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 2 Unifi Wifi 6 LR US 1Gb LAN
Wired AP 3 Unifi Wifi 6 LR US 1Gb LAN
Syslog Services Asustor 7110T NAS 10GB
NetGear XS716T 10GB Switch
download1.dd-wrt.com/dd-wrtv2/downloads/betas/ (Brain Slayer)
YAMon https://usage-monitoring.com/index.php
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Sat Jun 27, 2015 8:08    Post subject: USB and dual-core Reply with quote
1) Dual core!

According to the Swedish D-Link DIR-860L spec page on the D-Link site it is indeed dual core!
http://www.dlink.com/se/sv/home-solutions/connect_us/routers/dir-860l-wireless-ac1200-dual-band-gigabit-router#
, and click the 'Specifications' tab then it can be seen:
...
4 x Gigabit LAN-portar, 1 x Gigabit WAN-port
Processor 1 GHz ARM® Cortex™-A9 dual-core
128MB DDR2 arbetsminne
128MB NAND Flashminne
1 x USB 3.0 port
...

2) USB
Edr concerning USB I guess one can try to call:
gpio disable #
and maybe gpio enable #
where # is some of the other gpio numbers and then try to call lsusb or see if something happens when calling dmesg etc.

WARNING
The only problem is that you might brick your router like I just did Smile
It was about when I wrote:
gpio disable 10 or gpio disable 11 (likely 11)
, then the router started to flash the power LED (The yellow LED switched on and off and the green lighted constantly)
So I guess I have to unbrick it this way: http://forums.dlink.com/index.php?topic=44909.0
g5265170
DD-WRT Novice


Joined: 14 Jun 2015
Posts: 13

PostPosted: Sat Jun 27, 2015 8:39    Post subject: Re: According to the specs Broadcom BCM47081A0 Reply with quote
ddaniel51 wrote:

The chip itself is dual core and capable of running two radios. Whether or not Dlink chose to implement both cores is another story.

that was BCM4708 not BCM47081 or BCM47081A0

https://wikidevi.com/wiki/Broadcom
Quote:
BCM47081 presumed to be quite similar
to BCM4708 (perhaps single-core only)

what we need is the solid prove of that BCM47081, maybe someone could hack into the oem firmware to see...(and even if that is single core,was the other core been physically removed or disabled via software)

a_l wrote:
1) Dual core!

...
4 x Gigabit LAN-portar, 1 x Gigabit WAN-port
Processor 1 GHz ARM® Cortex™-A9 dual-core
128MB DDR2 arbetsminne
128MB NAND Flashminne
1 x USB 3.0 port
...


DIR-860L B1 Mediatek MT7621AT is dual core....

_________________
Atheros:
D-Link DIR-615 I1 ........ DD-WRT 27396
Broadcom:
Linksys WRT54G V6 ...... DD-WRT 14929
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Sat Jun 27, 2015 9:16    Post subject: Re: According to the specs Broadcom BCM47081A0 Reply with quote
g5265170 wrote:
ddaniel51 wrote:

The chip itself is dual core and capable of running two radios. Whether or not Dlink chose to implement both cores is another story.

that was BCM4708 not BCM47081 or BCM47081A0

https://wikidevi.com/wiki/Broadcom
Quote:
BCM47081 presumed to be quite similar
to BCM4708 (perhaps single-core only)

what we need is the solid prove of that BCM47081, maybe someone could hack into the oem firmware to see...(and even if that is single core,was the other core been physically removed or disabled via software)

a_l wrote:
1) Dual core!

...
4 x Gigabit LAN-portar, 1 x Gigabit WAN-port
Processor 1 GHz ARM® Cortex™-A9 dual-core
128MB DDR2 arbetsminne
128MB NAND Flashminne
1 x USB 3.0 port
...


DIR-860L B1 Mediatek MT7621AT is dual core....


I donated a DIR-860L A1 to BrainSlayer. He might be able to answer if it is single core.
However you might be right that it is only single core according to:
http://www.linksysinfo.org/index.php?threads/asus-rt-n18u-really-nice-router.70178/#post-248770
http://www.linksysinfo.org/index.php?threads/asus-rt-n18u-really-nice-router.70178/#post-249009
because RT-N18U uses BCM47081(A0)
And using google translate of
http://www.techbang.com/posts/18041-updated-version-of-rt-n16-using-the-dual-core-processor-asus-rt-n18u

, yields:
Quote:
▲ network SoC Broadcom BCM47081, BCM4708 single-core version of, 800MHz.

On the same page just above this text the image shows that BCM47081 might be the same as BCM47081A0 depending on how many letters that is read.

I guess the only thing left is to get USB fixed then. I have yet to de-brick my router so maybe someone else can figure out how to get USB working, because I'll be busy this weekend.
g5265170
DD-WRT Novice


Joined: 14 Jun 2015
Posts: 13

PostPosted: Sat Jun 27, 2015 9:27    Post subject: Re: According to the specs Broadcom BCM47081A0 Reply with quote
a_l wrote:
g5265170 wrote:
ddaniel51 wrote:

The chip itself is dual core and capable of running two radios. Whether or not Dlink chose to implement both cores is another story.

that was BCM4708 not BCM47081 or BCM47081A0

https://wikidevi.com/wiki/Broadcom
Quote:
BCM47081 presumed to be quite similar
to BCM4708 (perhaps single-core only)

what we need is the solid prove of that BCM47081, maybe someone could hack into the oem firmware to see...(and even if that is single core,was the other core been physically removed or disabled via software)

a_l wrote:
1) Dual core!

...
4 x Gigabit LAN-portar, 1 x Gigabit WAN-port
Processor 1 GHz ARM® Cortex™-A9 dual-core
128MB DDR2 arbetsminne
128MB NAND Flashminne
1 x USB 3.0 port
...


DIR-860L B1 Mediatek MT7621AT is dual core....


I donated a DIR-860L A1 to BrainSlayer. He might be able to answer if it is single core.
However you might be right that it is only single core according to:
http://www.linksysinfo.org/index.php?threads/asus-rt-n18u-really-nice-router.70178/#post-248770
http://www.linksysinfo.org/index.php?threads/asus-rt-n18u-really-nice-router.70178/#post-249009
because RT-N18U uses BCM47081(A0)
And using google translate of
http://www.techbang.com/posts/18041-updated-version-of-rt-n16-using-the-dual-core-processor-asus-rt-n18u

, yields:
Quote:
▲ network SoC Broadcom BCM47081, BCM4708 single-core version of, 800MHz.

On the same page just above this text the image shows that BCM47081 might be the same as BCM47081A0 depending on how many letters that is read.

I guess the only thing left is to get USB fixed then. I have yet to de-brick my router so maybe someone else can figure out how to get USB working, because I'll be busy this weekend.

You donated a DIR-860L A1 to BrainSlayer Smile No better support than doing that....hopely we could get a more stable version than the current beta in the future.

regarding the core, I wonder if there is any hardware hacker who will bother to figure out what really happened.

_________________
Atheros:
D-Link DIR-615 I1 ........ DD-WRT 27396
Broadcom:
Linksys WRT54G V6 ...... DD-WRT 14929
a_l
DD-WRT User


Joined: 25 Jun 2011
Posts: 63

PostPosted: Sat Jun 27, 2015 11:57    Post subject: Got USB to work! :-) Reply with quote
Hi people

I managed to unbrick the router easily.
I just had to do a normal reset of the router and that was enough to bring it back to a normal unconfigured dd-wrt state. Smile

But the best part!
I managed to get my USB port online (with power) and access to the content of an old USB stick!

The trick was to call:
gpio enable 10
(the same as 0x00a in hex - Just as for the DIR-868L A1)

Afterwards /tmp/mnt/sda was mounted with the content of my old USB 2 stick (fat32 formatted).

To unmount I pressed the WPS button (I have chosen so from the GUI: Services - USB - Use SES Button to remove drives)
Afterwards the stick was unmounted!

This all concludes that to get both LEDs and USB to work we need BrainSlayer or someone with commit access to add this (if they agree Smile )

Code:
case ROUTER_DLINK_DIR860:
        power_gpio = 0x101;         // power led green
        diag_gpio = 0x100;          // power led orange
        diag_gpio_disabled = 0x101; // power led green
        connected_gpio = 0x104;     // wan led green
        disconnected_gpio = 0x103;  // wan led orange
        usb_power = 0x00a;          // usb power
        break;


Maybe KrypteX can help us to get a bug report on svn.dd-wrt.com?
Smile Thanks in advance!
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next Display posts from previous:    Page 1 of 9
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware 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