This are read only contents of the former OpenWrt wiki system. The pages are provided for archival purposes only. Refer to https://openwrt.org/ for up-to-date information.
  • skip to content

Old OpenWrt Wiki

User Tools

  • Admin
  • Register
  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: Old OpenWrt Wiki » Table of Hardware » D-Link » D-Link DIR-510L
  • flags
  • Deutsch (German)
  • English
  • Español (Spanish, Mexico)
  • Français (French)
  • flags
  • flags
  • Poliski (Polish)
  • Português brasileiro (Portuguese, Brasil)
  • Русский (Russsian)
  • Tϋrkçe (Turkish)
  • flags
  • flags

toh:d-link:d-link_dir-510l_a1

Table of Contents

  • Supported Versions
  • Hardware Highlights
  • Installation
  • Original Flash Layout
    • OEM easy installation
    • OEM installation using the TFTP method
      • Specific values needed for tftp
  • Upgrading OpenWrt
    • LuCI Web Upgrade Process
    • Terminal Upgrade Process
      • sysupgrade
      • mtd
  • Debricking
  • Failsafe mode
  • Basic configuration
  • Specific Configuration
    • Network interfaces
    • Buttons
    • LEDs
  • Hardware
    • Info
    • Photos
    • Opening the case
    • Serial
  • Hardware mods
  • Bootloader Mods
  • Bootlogs
    • OEM bootlog
    • /proc/version
    • /proc/mtd
    • mount
    • df -h
    • /proc/cpuinfo
    • /proc/devices
    • /proc/modules
    • /proc/meminfo
    • OpenWrt bootlog
  • Notes
  • Tags

D-Link DIR-510L

The DIR-510L Travel Router is based on the MT7620A SoC. It has two wireless radios, an 802.11b/g/n radio integrated into the MT7620A and a 802.11a/b/g/n/ac radio on another IC. It has two USB 2.0 Type A ports and one micro-USB port for power/charging. It also has an internal 4000mAH Li-Ion battery pack.

D-Link DIR510L

Supported Versions

BrandModelVersionCurrent ReleaseOEM InfoForum TopicTechnical Data
D-LinkDIR-510LA1http://us.dlink.com/products/connect/wi-fi-ac750-portable-router-and-charger-3/https://forum.openwrt.org/viewtopic.php?id=58921View/Edit data

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
DIR-510LA1MediaTek MT7620A58016128MediaTek MT7620A, MT7610ENb/g/na/n/ac1-No2x 2.0, 1x µUSB (charging)

Installation

  1. → Obtain firmware
  2. → Install OpenWrt
  3. → Latest OpenWrt release
ModelVersionSupported Current RelFirmware OpenWrt Install URLFirmware OpenWrt Upgrade URLFirmware OEM Stock URL
DIR-510LA1http://support.dlink.com/ProductInfo.aspx?m=DIR-510L

Original Flash Layout

D-Link DIR-510L Flash Layout stock firmware
Layer0 spi0.0: 16384KiB
Layer1 mtd0 Whole 16384KiB
Layer2 mtd1 mtd2 mtd3 mtd4 mtd5 mtd6 mtd7
Size in KiB 64KiB 1472KiB 10688KiB 512KiB 512KiB 1024KiB 64KiB
Name Bootloader Kernel RootFS MyDLink Storage UI Config
mountpoint none none / /usr/mydlink none /usr/www none
filesystem none none SquashFS SquashFS none SquashFS none

OEM easy installation

WIP

OEM installation using the TFTP method

→ generic.flashing.tftp

Specific values needed for tftp

FIXME Enter values for "FILL-IN" below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

→ generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

→ generic.debrick

Failsafe mode

→ generic.failsafe

Basic configuration

→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br0 LAN & WiFi 192.168.0.1/24
eth2 LAN port
eth2.1 VLAN 1
eth2.2 VLAN 2
ra0 WiFi (2.4GHz) SSID 'DIR510L'
rai0 WiFi (5.0GHz) SSID 'DIR510L_5GHZ'

Buttons

→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The D-Link DIR-510L has the following buttons and their original function:

Button GPIO Internal Name Default Function
Reset Button 2 ? Reset
WPS Button 1 ? WPS
Sliding Switch N/A N/A On/Off/Charger

LEDs

The DIR-510L has two, bi-color LEDs (Red/Green). The LEDs are arranged such that such that they can output 3 colors - Green (Green = On, Red = Off), Red (Green = Off, Red = On), and Orange (Green = On, Red = On). The 'Power/Status' LED is configurable, but the 'Battery' LED seems to be locked to only report battery status.

LED Name Color GPIO Polarity Internal Name Trigger LED Print
Power/Status Red 11 Active High ? ? Power Symbol
Power/Status Green 14 Active High ? ? Power Symbol
Battery Status Red N/A N/A N/A N/A Battery Symbol
Battery Status Green N/A N/A N/A N/A Battery Symbol

Hardware

Info

Photos

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

Main PCB:

My DIR-510L dies at the first firmware update (dead LEDs, no activity), so I opened it and documented before starting to solder.

Serial

→ port.serial general information about the serial port, serial port cable, etc.

The Serial Port can be found under the copper foil covering the top of the PCB.
Serial Parameters: 57600, 8N1

Hardware mods

None so far.

Bootloader Mods

None so far.

Bootlogs

Firmware v1.06.B02

OEM bootlog

CDM56CDL_U03 Jboot B796 JRecovery Version R1.2 2013/10/04 18:32 SPI FLASH: MX25l12805d 16M . .Boot addr = 0x80400000 ................. Starting kernel @80000000... LINUX started... THIS IS ASIC Linux version 2.6.36 (tja@dot7) (gcc version 3.4.2) #737 Wed Aug 12 10:42:49 CST 2015 CMD_LINE:console=ttyS1,57600n8 root=/dev/mtdblock3 The CPU feqenuce set to 580 MHz PCIE: bypass PCIe DLL. PCIE: Elastic buffer control: Addr:0x68 -> 0xB4 disable all power about PCIe CPU revision is: 00019650 (MIPS 24Kc) Determined physical RAM map: memory: 08000000 @ 00000000 (usable) Zone PFN ranges: Normal 0x00000000 -> 0x00008000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00008000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock3 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) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes Writing ErrCtl register=0005f71f Readback ErrCtl register=0005f71f Memory: 125748k/131072k available (3126k kernel code, 5324k reserved, 793k data, 168k init, 0k highmem) Hierarchical RCU implementation. Verbose stalled-CPUs detection is disabled. NR_IRQS:128 Console: colour dummy device 80x25 console [ttyS1] enabled Calibrating delay loop... 386.04 BogoMIPS (lpj=772096) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 RALINK_GPIOMODE = 9d RALINK_GPIOMODE = 9d PPLL_CFG1=0xe74000 MT7620 PPLL lock PPLL_DRV =0x80080504 start PCIe register access RALINK_PCI_PCICFG_ADDR = 1000f0 *************** MT7620 PCIe RC mode ************* bio: create slab <bio-0> at 0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x20200000-0x2020ffff] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff] pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff] (PCI address [0x20000000-0x200fffff] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff] pci 0000:01:00.1: BAR 0: set to [mem 0x20100000-0x201fffff] (PCI address [0x20100000-0x201fffff] pci 0000:00:00.0: PCI bridge to [bus 01-01] pci 0000:00:00.0: bridge window [io disabled] pci 0000:00:00.0: bridge window [mem 0x20000000-0x201fffff] pci 0000:00:00.0: bridge window [mem pref disabled] BAR0 at slot 0 = 0 bus=0x0, slot = 0x0 res[0]->start = 0 res[0]->end = 0 res[1]->start = 20200000 res[1]->end = 2020ffff res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0 res[0]->start = 20000000 res[0]->end = 200fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 bus=0x1, slot = 0x0 res[0]->start = 20100000 res[0]->end = 201fffff res[1]->start = 0 res[1]->end = 0 res[2]->start = 0 res[2]->end = 0 res[3]->start = 0 res[3]->end = 0 res[4]->start = 0 res[4]->end = 0 res[5]->start = 0 res[5]->end = 0 Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RT3xxx EHCI/OHCI init. squashfs: version 4.0 (2009/01/31) Phillip Lougher JFFS2 version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc. msgmni has been set to 245 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 Ralink gpio driver initialized Enable Ralink GDMA Controller Module GDMA IP Version=3 ====================================== SPI driver, modified by Jason ====================================== <----- 0x60: 0x0000009d ----- spidrv_major = 217 Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A brd: module loaded deice id : c2 20 18 c2 20 (2018c220) MX25L12805D(c2 2018c220) (16384 Kbytes) mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 4096 Creating 8 MTD partitions on "raspi": 0x000000000000-0x000001000000 : "Whole" 0x000000000000-0x000000010000 : "Bootloader" 0x000000210000-0x000000380000 : "Kernel" 0x000000380000-0x000000df0000 : "RootFS" 0x000000df0000-0x000000e70000 : "MyDLink" 0x000000e70000-0x000000ef0000 : "Storage" 0x000000ef0010-0x000000ff0010 : "UI" mtd: partition "UI" doesn't start on an erase block boundary -- force read-only 0x000000ff0000-0x000001000000 : "Config" rdm_major = 253 SMACCR1 -- : 0x0000000c SMACCR0 -- : 0x432880f8 Ralink APSoC Ethernet Driver Initilization. v3.0 256 rx/tx descriptors allocated, mtu = 1500! SMACCR1 -- : 0x0000000c SMACCR0 -- : 0x432880f1 PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered NET: Registered protocol family 24 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. u32 classifier Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (1964 buckets, 7856 max) ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 17 Bridge firewalling registered 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly on device 31:3. Freeing unused kernel memory: 168k freed Algorithmics/MIPS FPU Emulator v1.5 Inter-| Receive Raeth v3.0 ( Tasklet ,SkbRecycle ) phy_tx_ring = 0x07fb3000, tx_ring = 0xa7fb3000 phy_rx_ring0 = 0x07fb4000, rx_ring0 = 0xa7fb4000 SMACCR1 -- : 0x0000000c SMACCR0 -- : 0x432880f1 CDMA_CSG_CFG = 81000000 GDMA1_FWD_CFG = 20710000 | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 eth2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 flash_open: flash_fd=3 Mount D Section. mount: /dev/mtdblock6 is write-protected, mounting read-only Mount MyDlink Section. flash_open: flash_fd=10 phy 0, reg 0, val 0x3900 Set: phy[0].reg[0] = 3900 phy 0, reg 0, val 0x3900 Set: phy[0].reg[0] = 3900 switch register base addr to system register 0xb0000000 write offset 0x60, value 0x695 phy 1, reg 0, val 0x3900 Set: phy[1].reg[0] = 3900 phy 2, reg 0, val 0x3900 Set: phy[2].reg[0] = 3900 phy 3, reg 0, val 0x3900 Set: phy[3].reg[0] = 3900 phy 4, reg 0, val 0x3900 Set: phy[4].reg[0] = 3900 phy 0, reg 0, val 0x3300 Set: phy[0].reg[0] = 3300 phy 0, reg 0, val 0x3300 Set: phy[0].reg[0] = 3300 device eth2 entered promiscuous mode NET: Registered protocol family 10 device eth2.1 entered promiscuous mode Init handler: lan br0: port 1(eth2.1) entering learning state br0: port 1(eth2.1) entering learning state Init handler: internet_check Init handler: dynamic_lanip Init handler: dhcpsrv Failure parsing line 12 of /etc/udhcpd_CDM562DL_U03.conf server_config.pool_check = 1 server_config.pool_check = 1 start = 192.168.0.100, end = 192.168.0.199, lan_ip = 192.168.0.1, interface=br0, ifindex=0 start = 192.168.0.100, end = 192.168.0.199, lan_ip = 192.168.0.1, interface=br0, ifindex=0 0 Unable to open /var/run/udhcpd.leases for reading udhcpd (v0.9.9-pre) started Unable to open /var/run/udhcpd.leases for reading Init handler: stp Init handler: reset_btn Init handler: wlanap rt2860v2_ap: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint addrconf_dad_completed 7 addrconf_dad_completed 7 addrconf_dad_completed 7 addrconf_dad_completed 7 Length of MAC:6 mac:78:54:2e:9d:c:3b: ---- === pAd = c0602000, size = 1146080 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 AP Driver version-2.7.1.6 Length of MAC:6 mac:78:54:2e:9d:c:3c: ---- === pAd = c0c02000, size = 1633312 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 device_id =0x7650 ==>MT76x0_WLAN_ChipOnOff(): OnOff:1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002 MACVersion = 0x76502000 load fw spent 16ms RX DESC a6b9a000 size = 2048 RX1 DESC a6b9b000 size = 2048 cfg_mode=14 cfg_mode=14 wmode_band_equal(): Band Not Equal! 2a:55:44:e4:05:1a:cb:eb:01:93:83:88:b2:c3:4f:8f: 50:b2:65:62:c1:a3:cb:f9:52:8e:b0:b1:79:c9:b6:97: 1. Phy Mode = 49 2. Phy Mode = 49 ext_pa_current_setting = 1 3. Phy Mode = 49 AntCfgInit: primary/secondary ant 0/1 ChipStructAssign(): RALINK6590 hook ! MCS Set = ff 00 00 00 01 MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42 APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2) @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== Main bssid = 78:54:2e:9d:0c:3c <==== rt28xx_init, Status=0 @@@ ed_monitor_exit : ===> @@@ ed_monitor_exit : <=== MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=149, HT-CentCh=151, VHT-CentCh=155 APStartUp(): AP Set CentralFreq at 155(Prim=149, HT-CentCh=151, VHT-CentCh=155, BBP_BW=2) @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== 0x1300 = 00064300 RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! device rai0 entered promiscuous mode br0: port 2(rai0) entering learning state br0: port 2(rai0) entering learning state Ralink DOT1X daemon, version = '2.4.0.0' prefix_name = 'rai, argv[1] = rai' killall: check_status2: no process killed route: SIOC[ADD|DEL]RT: No such device /usr/bin/wpsv2-action2: /usr/bin/wpsv2-action2: 543: wscd: not found Invalid command : ledstart Interface doesn't accept private ioctl... set (8BE2): Network is down addrconf_dad_completed 7 RX DESC a6825000 size = 2048 RTMP_TimerListAdd: add timer obj c069a738! RTMP_TimerListAdd: add timer obj c0665870! RTMP_TimerListAdd: add timer obj c0665844! RTMP_TimerListAdd: add timer obj c0665818! RTMP_TimerListAdd: add timer obj c060a2dc! RTMP_TimerListAdd: add timer obj c0609ed0! RTMP_TimerListAdd: add timer obj c060a2ac! RTMP_TimerListAdd: add timer obj c060a654! RTMP_TimerListAdd: add timer obj c060a3a4! RTMP_TimerListAdd: add timer obj c060a3d4! RTMP_TimerListAdd: add timer obj c060a594! RTMP_TimerListAdd: add timer obj c060a5c4! RTMP_TimerListAdd: add timer obj c060d798! RTMP_TimerListAdd: add timer obj c060d38c! RTMP_TimerListAdd: add timer obj c060d768! RTMP_TimerListAdd: add timer obj c060db10! RTMP_TimerListAdd: add timer obj c060d860! RTMP_TimerListAdd: add timer obj c060d890! RTMP_TimerListAdd: add timer obj c060da50! RTMP_TimerListAdd: add timer obj c060da80! RTMP_TimerListAdd: add timer obj c0610c54! RTMP_TimerListAdd: add timer obj c0610848! RTMP_TimerListAdd: add timer obj c0610c24! RTMP_TimerListAdd: add timer obj c0610fcc! RTMP_TimerListAdd: add timer obj c0610d1c! RTMP_TimerListAdd: add timer obj c0610d4c! RTMP_TimerListAdd: add timer obj c0610f0c! RTMP_TimerListAdd: add timer obj c0610f3c! RTMP_TimerListAdd: add timer obj c0614110! RTMP_TimerListAdd: add timer obj c0613d04! RTMP_TimerListAdd: add timer obj c06140e0! RTMP_TimerListAdd: add timer obj c0614488! RTMP_TimerListAdd: add timer obj c06141d8! RTMP_TimerListAdd: add timer obj c0614208! RTMP_TimerListAdd: add timer obj c06143c8! RTMP_TimerListAdd: add timer obj c06143f8! RTMP_TimerListAdd: add timer obj c06175cc! RTMP_TimerListAdd: add timer obj c06171c0! RTMP_TimerListAdd: add timer obj c061759c! RTMP_TimerListAdd: add timer obj c0617944! RTMP_TimerListAdd: add timer obj c0617694! RTMP_TimerListAdd: add timer obj c06176c4! RTMP_TimerListAdd: add timer obj c0617884! RTMP_TimerListAdd: add timer obj c06178b4! RTMP_TimerListAdd: add timer obj c061aa88! RTMP_TimerListAdd: add timer obj c061a67c! RTMP_TimerListAdd: add timer obj c061aa58! RTMP_TimerListAdd: add timer obj c061ae00! RTMP_TimerListAdd: add timer obj c061ab50! RTMP_TimerListAdd: add timer obj c061ab80! RTMP_TimerListAdd: add timer obj c061ad40! RTMP_TimerListAdd: add timer obj c061ad70! RTMP_TimerListAdd: add timer obj c061df44! RTMP_TimerListAdd: add timer obj c061db38! RTMP_TimerListAdd: add timer obj c061df14! RTMP_TimerListAdd: add timer obj c061e2bc! RTMP_TimerListAdd: add timer obj c061e00c! RTMP_TimerListAdd: add timer obj c061e03c! RTMP_TimerListAdd: add timer obj c061e1fc! RTMP_TimerListAdd: add timer obj c061e22c! RTMP_TimerListAdd: add timer obj c0621400! RTMP_TimerListAdd: add timer obj c0620ff4! RTMP_TimerListAdd: add timer obj c06213d0! RTMP_TimerListAdd: add timer obj c0621778! RTMP_TimerListAdd: add timer obj c06214c8! RTMP_TimerListAdd: add timer obj c06214f8! RTMP_TimerListAdd: add timer obj c06216b8! RTMP_TimerListAdd: add timer obj c06216e8! RTMP_TimerListAdd: add timer obj c0667c74! RTMP_TimerListAdd: add timer obj c0667868! RTMP_TimerListAdd: add timer obj c0667c44! RTMP_TimerListAdd: add timer obj c0667fec! RTMP_TimerListAdd: add timer obj c0667d3c! RTMP_TimerListAdd: add timer obj c0667d6c! RTMP_TimerListAdd: add timer obj c0667ca4! RTMP_TimerListAdd: add timer obj c0667cd4! RTMP_TimerListAdd: add timer obj c0667d04! RTMP_TimerListAdd: add timer obj c0668020! RTMP_TimerListAdd: add timer obj c06710a4! RTMP_TimerListAdd: add timer obj c06711c0! RTMP_TimerListAdd: add timer obj c06710d0! RTMP_TimerListAdd: add timer obj c06683dc! RTMP_TimerListAdd: add timer obj c060756c! RTMP_TimerListAdd: add timer obj c060aa28! RTMP_TimerListAdd: add timer obj c060dee4! RTMP_TimerListAdd: add timer obj c06113a0! RTMP_TimerListAdd: add timer obj c061485c! RTMP_TimerListAdd: add timer obj c0617d18! RTMP_TimerListAdd: add timer obj c061b1d4! RTMP_TimerListAdd: add timer obj c061e690! RTMP_TimerListAdd: add timer obj c06680ec! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 default ApCliAPSDCapable[0]=0 2a:55:44:e4:05:1a:cb:eb:01:93:83:88:b2:c3:4f:8f: 50:b2:65:62:c1:a3:cb:f9:52:8e:b0:b1:79:c9:b6:97: 1. Phy Mode = 9 2. Phy Mode = 9 E2PROM: D0 target power=0xff20 E2PROM: 40 MW Power Delta= 0 3. Phy Mode = 9 RTMP_TimerListAdd: add timer obj c060712c! AntCfgInit: primary/secondary ant 0/1 Initialize RF Central Registers for E2 !!! Initialize RF Central Registers for E3 !!! Initialize RF Channel Registers for E2 !!! Initialize RF Channel Registers for E3 !!! Initialize RF DCCal Registers for E2 !!! Initialize RF DCCal Registers for E3 !!! D1 = -3, D2 = 9, CalCode = 28 !!! RT6352_Temperature_Init : BBPR49 = 0xfffffffd RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff3 Current Temperature from BBP_R49=0xfffffff5 TX BW Filter Calibration !!! RX BW Filter Calibration !!! LOFT Calibration Done! IQCalibration Start! IQCalibration Done! CH = 0, (gain= d, phase= 1) IQCalibration Start! IQCalibration Done! CH = 1, (gain= 1, phase=3c) TX IQ Calibration Done! RTMPSetPhyMode: channel is out of range, use first channel=0 MCS Set = ff ff 00 00 01 SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l br0: port 1(eth2.1) entering forwarding state SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l SYNC - BBP R4 to 20MHz.l RTMP_TimerListAdd: add timer obj c0668980! The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== Main bssid = 78:54:2e:9d:0c:3b <==== rt28xx_init, Status=0 0x1300 = 00064380 @@@ ed_monitor_init : ===> @@@ ed_monitor_init : <=== device ra0 entered promiscuous mode br0: port 3(ra0) entering learning state br0: port 3(ra0) entering learning state Ralink DOT1X daemon, version = '2.4.0.0' prefix_name = 'ra, argv[1] = ra' addrconf_dad_completed 7 killall: check_status: no process killed /usr/bin/wpsv2-action: /usr/bin/wpsv2-action: 526: wscd: not found ra0 ledstart: Init handler: wan Init handler: ondemand Init handler: profile_alter Init handler: ipv6 Init handler: ipv6-filter Init handler: mydlink killall: mydlink-watch-dog.sh: no process killed killall: signalc: no process killed killall: tsa: no process killed opt.local stop ok. opt.local start ok. Init handler: nat Ralink HW NAT Module Enabled ==== NAT START (WAN:ALL Func:ALL) ==== br0: port 2(rai0) entering forwarding state Bad argument `0.0.0.0' Try `iptables -h' or 'iptables --help' for more information. /var/nat//nat-draft.uyg: /var/nat//nat-draft.uyg: 1: ebtables: not found /var/nat//nat-draft.uyg: /var/nat//nat-draft.uyg: 1: ebtables: not found Init handler: dnsrelay initial loops = 256 Mac Address IP-Address HOSTNAME Expires in lease count is 0 now Init handler: time timezone:0 dsttime:0 Init handler: schedule Init handler: telnet Init handler: wps_btn Init handler: mupnpd Init handler: hotplug Init handler: igmp Init handler: user Init handler: dlna Init handler: ftp_alg Init handler: sip_alg Init handler: fwquery http://wrpd.dlink.com/router/firmware/query.aspx?model=DIR-510L_Ax_Default_FW_0106_78542E9D0C3B Init handler: led_cdm562dl_u03 Init handler: shareport Init handler: host_resolution Init handler: bonjour Init handler: bps_record Init handler: guestzone device ra1 is not a slave of br0 ra0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s ra1 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s udhcod-stop rai0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s interface ra1 does not exist! ifconfig: SIOCGIFFLAGS: No such device bridge br1 doesn't exist; can't delete it device rai1 is not a slave of br0 udhcod-stop interface rai1 does not exist! ifconfig: SIOCGIFFLAGS: No such device bridge br1 doesn't exist; can't delete it Init handler: wps_status Init handler: webcam_status Init handler: storage_status Copied 524288 bytes from address 0x00000000 in flash to /tmp/mtd5.img Init handler: mcu_info Init handler: watchdog Init handler: recent Init handler: reboot sh: lltd-action: not found flash_open: flash_fd=7 /usr/bin/telnetd-action: Starting telnetd... flash_open: flash_fd=7 ra0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s ra1 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s rai0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s /usr/bin/telnetd-action start ok [Fri Jan 1 00:00:29 UTC 2010] Duplicate signalc ... killall: tsa: no process killed opt.local stop ok. opt.local start ok. ra0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s ra1 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s rai0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s flash_open: flash_fd=7 ra0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s ra1 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s rai0 tx_bps = 0 Kb/s, rx_bps = 0 Kb/s # br0: port 3(ra0) entering forwarding state ip6_tables: (C) 2000-2006 Netfilter Core Team Ralink APSoC Hardware Watchdog Timer Started WatchDog Timer. Started WatchDog Timer. LoadVlaue: 36600 sysclk: 145000000 TIMEOUT: 60 Stopped WatchDog Timer. Disable Kernel Mode Watchdog Started WatchDog Timer. Started WatchDog Timer. LoadVlaue: 36600 sysclk: 145000000 TIMEOUT: 60 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1 rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000 rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2 rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usb 1-1: new high speed USB device using rt3xxx-ehci and address 2 hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected


/proc/version

# cat /proc/version
Linux version 2.6.36 (tja@dot7) (gcc version 3.4.2) #737 Wed Aug 12 10:42:49 CST 2015

/proc/mtd

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00001000 "Whole"
mtd1: 00010000 00001000 "Bootloader"
mtd2: 00170000 00001000 "Kernel"
mtd3: 00a70000 00001000 "RootFS"
mtd4: 00080000 00001000 "MyDLink"
mtd5: 00080000 00001000 "Storage"
mtd6: 00100000 00001000 "UI"
mtd7: 00010000 00001000 "Config"

mount

/dev/root on / type squashfs (ro,relatime)
none on /proc type proc (rw,relatime)
none on /ram type tmpfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
none on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock6 on /usr/www type squashfs (ro,relatime)
/dev/mtdblock4 on /usr/mydlink type squashfs (ro,relatime)

df -h

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock3            8.8M      8.8M         0 100% /
none                     61.5M      1.7M     59.7M   3% /ram
/dev/mtdblock6            1.0M      1.0M         0 100% /usr/www
/dev/mtdblock4          256.0K    256.0K         0 100% /usr/mydlink

/proc/cpuinfo

# cat /proc/cpuinfo
system type             : Ralink SoC
processor               : 0
cpu model               : MIPS 24Kc V5.0
BogoMIPS                : 386.04
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0004, 0x07dc, 0x0ff8, 0x0e3b]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

/proc/devices

# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 21 sg
 90 mtd
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
217 spiS0
220 hwnat0
252 gpio
253 rdm0
254 bsg

Block devices:
  1 ramdisk
259 blkext
  8 sd
 11 sr
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

/proc/modules

# cat /proc/modules
ohci_hcd 19792 0 - Live 0xc1649000
ehci_hcd 38512 0 - Live 0xc162c000
ralink_wdt 3306 0 - Live 0xc1612000
ip6table_filter 704 1 - Live 0xc15fe000
ip6_tables 12460 1 ip6table_filter, Live 0xc15f1000
hw_nat 29009 0 - Live 0xc0dca000 (P)
MT7610_ap 1504604 1 - Live 0xc0961000
rt2860v2_ap 1922967 1 - Live 0xc0401000 (P)
ipv6 256647 52 - Live 0xc00f1000

/proc/meminfo

# cat meminfo
MemTotal:         125916 kB
MemFree:           79116 kB
Buffers:            6100 kB
Cached:            16636 kB
SwapCached:            0 kB
Active:             8720 kB
Inactive:          17084 kB
Active(anon):       3428 kB
Inactive(anon):     1392 kB
Active(file):       5292 kB
Inactive(file):    15692 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          3104 kB
Mapped:             2588 kB
Shmem:              1752 kB
Slab:              12356 kB
SReclaimable:       1396 kB
SUnreclaim:        10960 kB
KernelStack:         544 kB
PageTables:          500 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       62956 kB
Committed_AS:      11700 kB
VmallocTotal:    1048372 kB
VmallocUsed:        8108 kB
VmallocChunk:    1025528 kB

OpenWrt bootlog

COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Notes

Space for additional notes, links to forum threads or other resources.

  • …

Tags

How to add tags

MT7620A, 16flash, 128ram, 2USB, USB2.0
toh/d-link/d-link_dir-510l_a1.txt · Last modified: 2016/04/19 11:18 by hnyman

Page Tools

  • Show pagesource
  • Old revisions
  • Backlinks
  • Rename Page
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki