Support for D-Link DIR842 (Rev C3)

Yes, I am very interested!

How do I get it to you? Post here, I do not seem to find a DM on this forum.

Click my profile name and you can see a message button...You can use post here all well

Thanks!

Maybe I am too recent a member, I see no message button.

Can you post it here or use paste bin? Thanks!


This is already a picture from the inside with my (badly) soldered serial connection.
White = TX, Green = RX, Black = GND.
The log will have to wait until my max has finished updating.

2 Likes


U-Boot 1.1.4 (Feb 14 2017 - 10:15:54)

SVN revision: 1372
ap152 - Dragonfly 1.0DRAM:  
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0x10, 0x10, 0x10, 0x10)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 236k for U-Boot at: 87fc4000
Reserving 192k for malloc() at: 87f94000
Reserving 44 Bytes for Board Info at: 87f93fd4
Reserving 36 Bytes for Global Data at: 87f93fb0
Reserving 128k for boot params() at: 87f73fb0
Stack Pointer at: 87f73f98
Now running in RAM - U-Boot at: 87fc4000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Power up PLL with outdiv = 0 then switch to 3
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200 
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x4b962100
Hit any key to stop autoboot:  2  1  0 
Reset button released
## Booting image at 9f080040 ...
   Image Name:   MIPS Seattle Linux-3.3.8
   Created:      2018-05-30   3:35:45 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1234707 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1234699 Bytes =  1.2 MB
   Verifying Checksum at 0x9f080080 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 3.3.8 (rolls@cdWSCMPL03) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Wed May 30 11:00:34 CST 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: board=AP152 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),64k(devdata),64k(devconf),64k(misc),15680k(upgrade),64k(art),64k(alpha_boarddata),16m@0(rootfs)ro root=/dev/mtdblock8 init=/sbin/init noinitrd crashkernel=10M@20M
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125736k/131072k available (2683k kernel code, 5336k reserved, 668k data, 208k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.060000] Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13
[    0.070000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is Qualcomm Atheros AP152 reference board
[    0.090000] 
[    0.090000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x87a00000- SUCCESS !!!
[    0.100000] registering PCI controller with io_map_base unset
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.330000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.340000] Switching to clocksource MIPS
[    0.340000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.360000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370000] TCP reno registered
[    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] NET: Registered protocol family 1
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.400000] msgmni has been set to 245
[    0.410000] io scheduler noop registered
[    0.410000] io scheduler deadline registered (default)
[    0.530000] HDLC line discipline maxframe=4096
[    0.530000] N_HDLC line discipline registered.
[    0.530000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
´Çr™≤ÇÇÇÇÍÅserial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.570000] console [ttyS0] enabled, bootconsole disabled
[    0.570000] console [ttyS0] enabled, bootconsole disabled
[    0.580000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.590000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.590000] 9 cmdlinepart partitions found on MTD device spi0.0
[    0.600000] spi0.0: the flash image has SEAMA header
[    0.600000] spi0.0: squashfs filesystem found at offset 0x001b0060
[    0.610000] Creating 10 MTD partitions on "spi0.0":
[    0.620000] 0x000000000000-0x000000040000 : "u-boot"
[    0.620000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.630000] 0x000000050000-0x000000060000 : "devdata"
[    0.640000] 0x000000060000-0x000000070000 : "devconf"
[    0.640000] 0x000000070000-0x000000080000 : "misc"
[    0.650000] 0x000000080000-0x000000fd0000 : "upgrade"
[    0.650000] 0x000000fd0000-0x000000fe0000 : "art"
[    0.660000] 0x000000fe0000-0x000000ff0000 : "alpha_boarddat"
[    0.670000] 0x0000001b0060-0x000000b21060 : "rootfs"
[    0.670000] mtd: partition "rootfs" set to be root filesystem
[    0.680000] 0x000000000000-0x000001000000 : "flash"
[    0.690000] m25p80 spi0.1: found pm25lv512, expected m25p80
[    0.690000] m25p80 spi0.1: pm25lv512 (64 Kbytes)
[    0.830000] ag71xx_mdio: probed
[    0.840000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.420000] eth0: Atheros AR8327 switch driver attached.
[    4.330000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    4.340000] PPP generic driver version 2.4.2
[    4.350000] PPP BSD Compression module registered
[    4.350000] PPP MPPE Compression module registered
[    4.360000] NET: Registered protocol family 24
[    4.360000] PPTP driver version 0.8.5
[    4.370000] u32 classifier
[    4.370000] Netfilter messages via NETLINK v0.30.
[    4.370000] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
[    4.380000] xt_time: kernel timezone is -0000
[    4.380000] GRE over IPv4 demultiplexor driver
[    4.390000] GRE over IPv4 tunneling driver
[    4.390000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.400000] TCP cubic registered
[    4.400000] NET: Registered protocol family 10
[    4.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    4.420000] IPv6 over IPv4 tunneling driver
[    4.420000] NET: Registered protocol family 17
[    4.430000] Ebtables v2.0 registered
[    4.430000] L2TP core driver, V2.0
[    4.430000] PPPoL2TP kernel driver, V2.0
[    4.440000] 8021q: 802.1Q VLAN Support v1.8
[    4.440000] ### of_selftest(): No testcase data in device tree; not running tests
[    4.460000] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[    4.460000] Freeing unused kernel memory: 208k freed

starting pid 845, tty '': '/etc/init.d/rcS'
[/etc/init.d/S10init.sh]
[/etc/init.d/S15udevd.sh]
[    5.270000] udevd (856): /proc/856/oom_adj is deprecated, please use /proc/856/oom_score_adj instead.
[/etc/init.d/S16ipv6.sh]
Set DEFAULT policy as DROP.
[/etc/init.d/S19init.sh]
[/etc/init.d/S20init.sh]
DEVCONF: no config data available (ret=-1) !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!     Uable to read device config.     !!
!! Setting is reset to factory default. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  DEFNODE[/etc/defnodes/S11devdata.xml]
  DEFNODE[/etc/defnodes/S12devdata.php]
  DEFNODE[/etc/defnodes/S13dfs.php]
  DEFNODE[/etc/defnodes/S14setchlist.php]
  DEFNODE[/etc/defnodes/S20device.xml]
  DEFNODE[/etc/defnodes/S22timezone.php]
[/etc/scripts/setdate.sh] 01/01/2000 ...
Sat Jan  1 00:00:08 UTC 2000
  DEFNODE[/etc/defnodes/S30device.php]
  DEFNODE[/etc/defnodes/S30device.xml]
  DEFNODE[/etc/defnodes/S31diagnostic.xml]
  DEFNODE[/etc/defnodes/S31locale.php]
  DEFNODE[/etc/defnodes/S33wifi.php]
  DEFNODE[/etc/defnodes/S40device.xml]
  DEFNODE[/etc/defnodes/S80mtfwu.php]
  DEFNODE[/etc/defnodes/S90opendns.php]
  DEFNODE[/etc/defnodes/S90sessions.php]
  DEFNODE[/etc/defnodes/S90sessions_privatekey.php]
  DEFNODE[/etc/defnodes/S90upnpigd.php]
  DEFNODE[/etc/defnodes/S90upnpwfa.php]
  DEFNODE[/etc/defnodes/S91upnpigd2.php]
  DEFNODE[/etc/defnodes/S94captcha.php]
SERVD: start service [LOGD]
[/etc/init.d/S20interfaces.sh]
[    9.080000] ssdk_plat_init start
[    9.090000] Register QCA PHY driver
[    9.100000] PHY ID is 0x4dd036
[    9.200000] qca probe f1 phy driver succeeded!
[    9.210000] qca-ssdk module init succeeded!
[    9.270000] fast-classifier: starting up
[    9.270000] fast-classifier: registered
net.netfilter.nf_conntrack_acct = 1

 SSDK Init OK![    9.400000] enable:1
[    9.400000] bg task init successfull!
[    9.400000] host_helper_init start
[    9.420000] /proc/qca_switch/nf_athrs17_hnat is created
[    9.420000] /proc/qca_switch/nf_athrs17_hnat_wan_type is created
[    9.430000] /proc/qca_switch/nf_athrs17_hnat_ppp_id is created
[    9.440000] /proc/qca_switch/nf_athrs17_hnat_udp_thresh is created
[    9.440000] /proc/qca_switch/nf_athrs17_hnat_wan_ip is created
[    9.450000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_ip is created
[    9.450000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
[    9.460000] /proc/qca_switch/nf_athrs17_hnat_wan_mac is created
[    9.470000] /proc/qca_switch/nf_athrs17_hnat_ppp_id2 is created
[    9.470000] /proc/qca_switch/nf_athrs17_hnat_ppp_peer_mac is created
[    9.480000] /proc/qca_switch/nf_athrs17_hnat_thres_base is created
[    9.490000] /proc/qca_switch/nf_athrs17_hnat_poll_msec is created
[    9.490000] /proc/qca_switch/nf_athrs17_hnat_aging_sec is created
[    9.500000] Registering IPv6 hooks... 
[    9.500000] Adding ACL rules 15 - upnp_ssdp_add_acl_rules
[    9.540000] ACL is not yet enabled. Enabling... 
[    9.540000] Adding ACL rules 7 - ipv6_snooping_solicted_node_add_acl_rules
[    9.610000] Adding ACL rules 11 - ipv6_snooping_sextuple0_group_add_acl_rules
[    9.670000] Adding ACL rules 13 - ipv6_snooping_quintruple0_1_group_add_acl_rules
[    9.740000] nat wan port is 20
[    9.740000] Hello, nat helper module for 1.1!

operate done.

[/etc/init.d/S23udevd.sh]
[/etc/init.d/S45gpiod.sh]
[/etc/init.d/rcS] done!
[/etc/init0.d/S21layout.sh]: start ...
SERVD: start service [LAYOUT]
cat: can't open '/etc/config/langpack': No such file or directory
[/etc/init0.d/S40event.sh]: start ...
[   10.520000] ADDRCONF(NETDEV_UP): eth0: link is not ready
SERVD: event [SEALPAC.LOAD/default]
[/etc/init0.d/S40gpioevent.sh]: start ...
SEAMA: need meta for searching image.
[/etc/init0.d/S40ttyevent.sh]: start ...
[/etc/init0.d/S41autowan.sh]: start ...
[/etc/init0.d/S41autowanv6.sh]: start ...
SERVD: event [AUTODETECT.REVERT/default]
[/etc/init0.d/S41event.sh]: start ...
[/etc/init0.d/S41factorydefault.sh]: start ...
sh: missing ]
[/etc/init0.d/S41inf.sh]: start ...
[/etc/init0.d/S41smart404.sh]: start ...

 SSDK Init OK!
operate done.


 SSDK Init OK!
operate done.

[   11.250000] device eth0 entered promiscuous mode
[   11.260000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   11.330000] ADDRCONF(NETDEV_UP): eth0.4094: link is not ready
[   11.390000] device eth0.1 entered promiscuous mode
[   11.410000] ADDRCONF(NETDEV_UP): br0: link is not ready
SERVD: start service [BRIDGE]
[/etc/init0.d/S42pthrough.sh]: start ...
[/etc/init0.d/S43checkfw.sh]: start ...
[ephp.c read_cond_list 1363] PHP operator precedence issue at: /etc/services/BRIDGE.php, cond_qty: 3, and_qty: 1, or_qty: 1
BRIDGE: The device is not in the bridge mode.
SERVD: start service [LAN]
[ephp.c read_cond_list 1363] PHP operator precedence issue at: /etc/services/LAN.php, cond_qty: 3, and_qty: 1, or_qty: 1
[/etc/init0.d/S44schreboot.sh]: start ...
[/etc/init0.d/S51wlan.sh]: start ...
377+0 records in
377+0 records out
[/etc/init0.d/S65ddnsd.sh]: start ...
main: creating usock for control : [/var/run/ddnsd.susock]
[/etc/init0.d/S65logd.sh]: start ...
SERVD: start service [WAN]
[/etc/init0.d/S65user.sh]: start ...
[ephp.c read_cond_list 1363] PHP operator precedence issue at: /etc/services/WAN.php, cond_qty: 3, and_qty: 1, or_qty: 1
[/etc/init0.d/S80mfcd.sh]: start ...
[   12.340000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.350000] eth0: link up (1000Mbps/Full duplex)
[   12.360000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   12.370000] br0: port 1(eth0.1) entered forwarding state
[   12.380000] br0: port 1(eth0.1) entered forwarding state
[   12.390000] ADDRCONF(NETDEV_CHANGE): eth0.4094: link becomes ready
[   12.400000] ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
[/etc/init0.d/S80vlan.sh]: start ...
[/etc/init0.d/S88arp.sh]: start ...
run arpmonitor again
[/etc/init0.d/S91proclink.sh]: start ...
[/etc/init0.d/S93cpuload.sh]: start ...
[/etc/init0.d/S95watchdog.sh]: start ...
[/etc/init0.d/rcS] done!

Please press Enter to activate this console. SERVD: start service [PHYINF.ETH-1]
SERVD: start service [PHYINF.ETH-2]
SERVD: start service [PHYINF.ETH-3]

 SSDK Init OK!
operate done.


 SSDK Init OK!
operate done.


 SSDK Init OK!
operate done.

SERVD: start service [DEVICE.PASSTHROUGH]
[   14.040000] device eth0.4094 entered promiscuous mode
[   14.050000] pppoe pass through (br0<->eth0.4094)
SERVD: start service [IPTABLES]
CONNTRACK_MAX=30000
CONNTRACK_MIN=15000
[   14.370000] br0: port 1(eth0.1) entered disabled state
SERVD: start service [IP6TABLES]
SERVD: start service [SCH_REBOOT]
SERVD: start service [WIFI.PHYINF]
SERVD: service [WIFI.PHYINF] return error 108.
SERVD: start service [IPTABLES]
SERVD: service [IPTABLES] is already started.
SERVD: start service [IP6TABLES]
SERVD: service [IP6TABLES] is already started.
SERVD: start service [INET.LAN-1]
[/var/servd/INET.LAN-1_start.sh]: starting LAN-1...
SERVD: event [LAN-1.UP/default]
/var/run/phpsh-1960.sh: line 8: can't create /proc/nf_accelerate_to_local: nonexistent directory
SERVD: event [DHCPS4.RESTART/default]
[/var/servd/INET.LAN-1_start.sh]: starting LAN-1 done !!!
SERVD: start service [INET.LAN-2]
[/var/servd/INET.LAN-2_start.sh]: starting LAN-2...
SERVD: event [LAN-2.UP/default]
SERVD: event [DHCPS4.RESTART/default]
[/var/servd/INET.LAN-2_start.sh]: starting LAN-2 done !!!
SERVD: start service [INET.LAN-4]
#!/bin/sh
# No inet profile!!
exit 9

SERVD: start service [INET.LAN-5]
#!/bin/sh
# No inet profile!!
exit 9

SERVD: start service [INET.LAN-6]
ifsetup: (LAN-6) not active.
SERVD: service [INET.LAN-6] return error 8.
SERVD: start service [INET.LAN-7]
ifsetup: (LAN-7) not active.
SERVD: service [INET.LAN-7] return error 8.
SERVD: start service [INET.LAN-8]
ifsetup: (LAN-8) not active.
SERVD: service [INET.LAN-8] return error 8.
SERVD: start service [IPTMACCTRL]
SERVD: start service [IPTURLCTRL]
SERVD: start service [ACCESSCTRL]
SERVD: start service [IPTPORTT]
SERVD: start service [IP6T.LAN-1]
SERVD: start service [IP6T.LAN-2]
SERVD: start service [IP6T.LAN-3]
SERVD: start service [IP6T.LAN-4]
SERVD: start service [IP6T.LAN-5]
SERVD: start service [PHYINF.WIFI]
SERVD: start service [IP6T.LAN-6]
SERVD: start service [IP6T.LAN-7]
SERVD: service [IP6T.LAN-7] return error 108.
SERVD: stop service [LOGD]
SERVD: start service [LOGD]
SERVD: start service [IP6T.LAN-8]
SERVD: service [IP6T.LAN-8] return error 108.
SERVD: start service [DEVICE.ACCOUNT]
SERVD: start service [IPTABLES]
SERVD: service [IPTABLES] is already started.
SERVD: start service [IP6TABLES]
SERVD: service [IP6TABLES] is already started.
SERVD: start service [INET.WAN-1]
[/var/servd/INET.WAN-1_start.sh]: starting WAN-1...

 SSDK Init OK!
operate done.

[/var/servd/INET.WAN-1_start.sh]: starting WAN-1 done !!!
SERVD: start service [INET.WAN-2]
ifsetup: (WAN-2) not active.
SERVD: service [INET.WAN-2] return error 8.
SERVD: start service [INET.WAN-3]
[/var/servd/INET.WAN-3_start.sh]: starting WAN-3...
WAN-3 a is link local interface.
SERVD: event [WAN-3.UP/default]
[/var/servd/INET.WAN-3_start.sh]: starting WAN-3 done !!!
SERVD: start service [INET.WAN-5]
ifsetup: (WAN-5) not active.
SERVD: service [INET.WAN-5] return error 8.
SERVD: start service [INET.WAN-6]
ifsetup: (WAN-6) not active.
SERVD: service [INET.WAN-6] return error 8.
SERVD: start service [INET.WAN-7]
ifsetup: (WAN-7) not active.
SERVD: service [INET.WAN-7] return error 8.
SERVD: start service [INET.WAN-8]
ifsetup: (WAN-8) not active.
SERVD: service [INET.WAN-8] return error 8.
SERVD: start service [IPTDEFCHAIN]
[ephp.c read_cond_list 1363] PHP operator precedence issue at: /etc/services/IPTDEFCHAIN.php, cond_qty: 3, and_qty: 1, or_qty: 1
[ephp.c read_cond_list 1363] PHP operator precedence issue at: /etc/services/IPTDEFCHAIN.php, cond_qty: 3, and_qty: 1, or_qty: 1
insmod: can't insert '/lib/modules/nf_conntrack_ipsec_pass.ko': No such file or directory
insmod: can't insert '/lib/modules/nf_conntrack_rtsp.ko': No such file or directory
insmod: can't insert '/lib/modules/nf_nat_rtsp.ko': No such file or directory
SERVD: start service [IPTMASQ]
SERVD: start service [IPTVSVR]
SERVD: start service [DEVICE.VLAN]
START.sh:VLAN is disabled
SERVD: start service [IPTPFWD]
SERVD: start service [IPTPORTT]
SERVD: service [IPTPORTT] is already started.
SERVD: start service [IPTDMZ]
SERVD: start service [IPT.WAN-1]
SERVD: start service [IP6T.WAN-1]
SERVD: start service [IPT.WAN-2]
SERVD: start service [IP6T.WAN-2]
SERVD: start service [IPT.WAN-3]
SERVD: start service [IP6T.WAN-3]
SERVD: start service [IPT.WAN-4]
SERVD: start service [IP6T.WAN-4]
SERVD: start service [IPT.WAN-5]
SERVD: service [IPT.WAN-5] return error 108.
SERVD: start service [IP6T.WAN-5]
SERVD: service [IP6T.WAN-5] return error 108.
SERVD: start service [IPT.WAN-6]
SERVD: service [IPT.WAN-6] return error 108.
SERVD: start service [IP6T.WAN-6]
SERVD: service [IP6T.WAN-6] return error 108.
SERVD: start service [IPT.WAN-7]
SERVD: start service [IP6T.WAN-7]
SERVD: service [IP6T.WAN-7] return error 108.
SERVD: start service [IPT.WAN-8]
SERVD: start service [IP6T.WAN-8]
SERVD: service [IP6T.WAN-8] return error 108.
SERVD: stop service [IPT.LAN-1]
SERVD: service [IPT.LAN-1] is already stopped.
SERVD: start service [IPT.LAN-1]
/var/servd/IPT.LAN-1_start.sh: line 4: can't create /proc/fastnat/forskipsupport: nonexistent directory
SERVD: stop service [IPT.LAN-2]
SERVD: service [IPT.LAN-2] is already stopped.
SERVD: start service [IPT.LAN-2]
/var/servd/IPT.LAN-2_start.sh: line 4: can't create /proc/fastnat/forskipsupport: nonexistent directory
2 Likes

Bootlog

I ran into a 3-post limit as I am a new member.

I browsed around the filesystem a bit, and found 2 files in /lib/firmware/QCA9888/alpha_hw.2, which in itself is a symlink to a folder under /tmp.
I managed to get them off the device. I don't know if they are of any use.
They are called boardData_2_0_QCA9888_5G_Y9582.bin and boarddata_0.bin.
If you are interested I could share them.

1 Like

@pmelange
@Hermanverschooten
@jackcolentern

My label:

P/N: EIR842MEU....C3E
H/W Ver.: C3 F/W Ver.: 3.12EU
S/N: SY6A2J400XXXX

Pastbin Logs:
hexdump -C /dev/mtd9
Kernel Dmesg Log
iw list

logread | grep err

root@OpenWrt:~# logread | grep err
root@OpenWrt:~#

cat /proc/mtd

dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "devdata"
mtd3: 00010000 00010000 "devconf"
mtd4: 00010000 00010000 "misc"
mtd5: 00f50000 00010000 "firmware"
mtd6: 001cffc0 00010000 "kernel"
mtd7: 00d80000 00010000 "rootfs"
mtd8: 00af0000 00010000 "rootfs_data"
mtd9: 00010000 00010000 "art"
mtd10: 00020000 00010000 "reserved"

I have OpenWrt SNAPSHOT r11175-700e7a2eb9 successfully installed With U-Boot safemode.
Too bad that there is only snapshot version for the router. And no 17 or 18 or 19 there.

With me almost everything works only the reception and the transmitting power are very weak in the 5GHz range! And a lot of interruptions

              **LED: Internet / WPS / WLAN do not work.**

The Complete WPS Function is not available :stuck_out_tongue:

Connection

***If someone needs something I should upload or perform Report!***strong text <---- Thx :slight_smile:

1 Like

I'm stepping in here, as I observed some interesting behavior. I don't have the C3 revision, but a C1 - still I guess that this might help (as I read that both are very similar):
I have had a DIR-842 C1 at my hands, where the AC WiFi booted up, but have had issues with MAC address assignments (which killed dhcpd - different story...) - so it was kind of a crippled QCA9888 initialization. I needed to replace that unit due to some reason and the replacement unit (also a DIR-842 C1) which does not initialize the QCA9888 at all. Also the MAC address assignment does not work (neither for b/g/n, nor for the ac chip). Furthermore I observed that when flashing the new device back to the factory firmware, all the setting I made prior flashing OpenWRT where back again - which was not the case with the very first device.
My assumption is that (as already estimated before) the flash layout was changed (for not only having SN, MAC and calibration data, but also having settings stored some kind of non-volatile for firmware-flashes) and thus the MAC and calibration data blocks moved.

I'm neither not very much into Linux, nor into HW initialization processes - so this question might sound stupid: but did the firmware binaries solve the issue?
Is there anything I could on the C1 unit to help solving that miracle of non-working QCA9888 chips on the C1/C2/C3 revisions?

All the best and Marry x-mas,
Mat

Sorry for spamming: What also just came across my mind...
Are the units affected by that issue are all brand-new, or are they replacement units?
What if the problem is related to an in-transparent block shift in case blocks are marked as bad?

I have H/W Ver.: C3 F/W Ver.: 3.12EU version but I only managed to u-boot recovery with global firmware not with EU(error).

I've seen the same behavior on a C1 I just got used off ebay. art partition at 0x5000 is all 0xFF to the end of the partition.

Do you still have the stock firmware and UART connected? I found an image for the C1 I could extract the sqashfs and dug into ath10k driver they use; they select the firmware in qca_ol.ko:ol_get_board_id() but I'm a bit confused by the parameter they are looking at to select the file; can you paste the full dmesg output after wireless is brought up? I'm looking for all the lines that start with ol_

1 Like

Hi there,

I am planning to purchase a DIR 842 (I think would be C3). You recommend it? It works well with OpenWrt? The problems with the ART partition are fixed?

Thanks.

Since flashing via the recovery can be annoying, I've added support for the 'new' image format that can be updated via the normal Web UI.

Actually, for DIR-842 C1, C2 and DIR-859 it is just the same image, encrypted with an AES-256 key that is found in the official GPL sources released by D-Link, xor'ed with SEAMA_SIGNATURE.
For DIR-842 C3, the signature for the new image has EU appended.

Feel free to test the 'new style' factory images, that can be updated directly from the D-Link Web UI, there's no more need for flashing via the emergency recovery :slight_smile:

openwrt-ath79-generic-dlink_dir-842-c1-squashfs-factory-webflash.bin
openwrt-ath79-generic-dlink_dir-842-c2-squashfs-factory-webflash.bin
openwrt-ath79-generic-dlink_dir-842-c3-squashfs-factory-webflash.bin

Before opening a pull request, I would still like to verify:

Has anyone actually encountered a 'non-EU' Revision of C3 out there?
I suppose the C3 is only available as the EU variant, i.e. we probably don't need to add yet another factory-webflash.bin image for the SEAMA_SIGNATURE that does not have the EU suffix appended?

@Cjcr: I've been running OpenWRT on many of these devices without encountering any problems (one of them is running a gluon / Freifunk firmware with an uptime of more than 10 months :slight_smile: ).

I could not reproduce any difficulties regarding the art partition, but I could check my devices again soon to see if there are any differences.

@s_2 Thanks for the excellent work. I have not encountered a Rev C3 which is not EU.

1 Like

Thanks, so I will only include the EU signature for C3.
Even if there were a non-EU C3 version, it could still be flashed via the recovery just like before.

Now I'm just waiting for someone to test DIR-859, since I do not own that device:

Hi, I only learned about OpenWRT a couple of weeks ago so it's been a pretty steep learning curve for me. Sadly I only started to research custom router firmware after I bought my new router, so it was a bit frustrating to find that my new DIR-842 wasn't supported in a stable release. I've been following this thread and the guidance on the device page to get my router happily running openwrt.

I just wanted to post here to say thanks to everyone who's already been working hard to provide support for this router, and to add my specific model to the list of tested devices. I particularly want to thank @s_2 for providing the encrypted stable binaries and to @blabla for the fix to the missing 5GHz radio problem!

I'm looking forward to getting involved with the communty!

S/N: EIR842MEU....C3E
H/W Ver.: C3 F/W Ver.: 3.13EU
S/N: SY6A2JA001XXX