====== DNS-343 ====== Here we share information about the DNS-343, a.k.a. "The one with the fancy OLED screen" http://images.dlink.com/new/products/DNS-343-4TB/DNS-343-4TB_front.png ===== Serial PIN Headers ===== There are two on the underside of the board that protrudes through the middle of the unit, between the top two and bottom two slots - frustratingly enough the one you want is not JP2 at the front of the board, but instead JP4, which is also conveniently obscured by a rail. [[hardware:serial]] has a the guide on how you hook up to JP4, and also to JP2 (which is the serial port for the OLED controller). Once you've found yourself a convenient picoblade wire, it seems that as the front comes off you've got plenty of space to hide the TTL cable out of site - I've spliced the end of a picoblade cable to an old soundcard-CD-ROM 4 pin cable, which mates with my USB-TTL adapter perfectly, but only using the tx/rx/ground pins, and hidden it within the panel of the 343. Once you have a connection, the space + 1 trick gets you into uboot, and the magical busybox code 5784468 will activate busybox for you. ===== Sysinfo ===== == /proc/cpuinfo == Processor : ARM926EJ-S rev 0 (v5l) BogoMIPS : 498.07 Features : swp half thumb fastmult edsp CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 0 Cache type : write-back Cache clean : cp15 c7 ops Cache lockdown : format C Cache format : Harvard I size : 32768 I assoc : 1 I line length : 32 I sets : 1024 D size : 32768 D assoc : 4 D line length : 32 D sets : 256 Hardware : Feroceon Revision : 0000 Serial : 0000000000000000 == /proc/meminfo == MemTotal: 126836 kB MemFree: 73700 kB Buffers: 28108 kB Cached: 11668 kB SwapCached: 0 kB Active: 9248 kB Inactive: 35364 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 20 kB Writeback: 0 kB AnonPages: 4864 kB Mapped: 1540 kB Slab: 7140 kB SReclaimable: 848 kB SUnreclaim: 6292 kB PageTables: 140 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 63416 kB Committed_AS: 12168 kB VmallocTotal: 385024 kB VmallocUsed: 18016 kB VmallocChunk: 360444 kB == DMESG Output == Linux version 2.6.22.7 (jack@SWTEST1) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #4 Fri Jan 22 11:02:54 CST 2010 CPU: ARM926EJ-S [41069260] revision 0 (ARMv5TEJ), cr=00053177 Machine: Feroceon Using UBoot passing parameters structure Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 32768 DMA zone: 256 pages used for memmap DMA zone: 0 pages reserved DMA zone: 32512 pages, LIFO batch:7 Normal zone: 0 pages used for memmap CPU0: D VIVT write-back cache CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets Built 1 zonelists. Total pages: 32512 Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB 0MB 0MB 0MB = 128MB total Memory: 117248KB available (2876K code, 193K data, 120K init) Calibrating delay loop... 498.07 BogoMIPS (lpj=2490368) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Sys Clk = 166666667, Tclk = 166666667 CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 128MB SDRAM_CS1 ....base 10000000, size 256MB SDRAM_CS2 ....base 20000000, size 256MB SDRAM_CS3 ....base 30000000, size 256MB PEX0_MEM ....base e0000000, size 128MB PEX0_IO ....base f2000000, size 1MB PCI0_MEM ....base e8000000, size 128MB PCI0_IO ....base f2100000, size 1MB INTER_REGS ....base f1000000, size 1MB DEVICE_CS0 ....no such DEVICE_CS1 ....no such DEVICE_CS2 ....no such DEV_BOOCS ....base ff000000, size 16MB Marvell Development Board (LSP Version 3.0.5_NAS_GDP_p9)-- DB-88F5X81-DDR1-A Soc: 88F5281 D0 Detected Tclk 166666667 and SysClk 166666667 Marvell USB EHCI Host controller #0: c112c600 PCI: bus0: Fast back to back transfers disabled SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 Time: orion_clocksource clocksource has been installed. 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 checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 9328K RTC registered Use IDMA channels 2 and 3 for enhancing the following function: o Copy From/To user space operations. o memcpy() and memmove() operations. o memzero() operations. VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 3.3 (2007/10/31) Phillip Lougher squashfs: LZMA suppport for slax.org by jro io scheduler noop registered io scheduler anticipatory registered (default) Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A RAMDISK driver initialized: 16 RAM disks of 25600K size 1024 blocksize loop: module loaded Marvell Ethernet Driver 'mv_ethernet': o Uncached descriptors in DRAM o DRAM SW cache-coherency o TCP segmentation offload enabled o Checksum offload enabled o Marvell ethtool proc enabled o Rx desc: 128 o Tx desc: 256 o Loading network interface 'egiga0' PCI: enabling device 0000:00:01.0 (0140 -> 0143) scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter scsi2 : Marvell SCSI to SATA adapter scsi3 : Marvell SCSI to SATA adapter flash VppMin = "0" , VppMax = "0" cfi_flash_0: Found 1 x16 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 cfi_flash_0: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available Creating 5 MTD partitions on "cfi_flash_0": 0x00000000-0x00020000 : "MTD1" 0x00020000-0x00040000 : "MTD2" 0x00040000-0x001c0000 : "Linux Kernel" 0x001c0000-0x00f80000 : "File System" 0x00f80000-0x01000000 : "u-boot" ehci_marvell ehci_marvell.4523: Marvell Orion EHCI ehci_marvell ehci_marvell.4523: new USB bus registered, assigned bus number 1 ehci_marvell ehci_marvell.4523: irq 17, io base 0xf1050100 ehci_marvell ehci_marvell.4523: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected mice: PS/2 mouse device common for all mice md: linear personality registered for level -1 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 raid6: int32x1 30 MB/s raid6: int32x2 48 MB/s raid6: int32x4 53 MB/s raid6: int32x8 48 MB/s raid6: using algorithm int32x4 (53 MB/s) md: raid6 personality registered for level 6 md: raid5 personality registered for level 5 md: raid4 personality registered for level 4 raid5: measuring checksumming speed arm4regs : 429.600 MB/sec 8regs : 330.000 MB/sec 32regs : 513.600 MB/sec raid5: using function: 32regs (513.600 MB/sec) device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 EXT2-fs warning: maximal mount count reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Freeing init memory: 120K ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver usbcore: registered new interface driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver egiga0: mac address changed egiga0: Ilegal MTU value 9000, rounding MTU to: 9004 egiga0: change mtu 1500 (buffer-size 1520) to 9004 (buffer-size 9024) egiga0: link down egiga0: link up, full duplex, speed 1 Gbps usbcore: deregistering interface driver usblp No found HD == U-Boot == ** LOADER ** ** MARVELL BOARD: DB-88F5X81-DDR1-A LE U-Boot 1.1.1 (Apr 1 2009 - 18:02:07) Marvell version: 2.2.2.Gandolf.02 U-Boot code: 00200000 -> 0026FFF0 BSS: -> 0027BC8C Soc: 88F5281 D0 (DDR1) CPU running @ 500Mhz SysClock = 166Mhz , TClock = 166Mhz DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB [16384kB@ff000000] Flash: 16 MB Addresses 4M - 0M are saved for the U-Boot usage. Mem malloc Initialization (4M - 3M): Done CPU : ARM926 (Rev 0) Streaming disabled VFP initialized to Run Fast Mode. USB 0: host mode CPU: Write allocate enabled Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv bootargs=root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none bootcmd=bootm FF040000 FF1C0000 baudrate=115200 loads_echo=0 ipaddr=2.66.66.1 serverip=2.66.66.32 rootpath=/mnt/ARM_FS/ stdin=serial stdout=serial stderr=serial cpuName=926 CASset=min enaMonExt=no enaFlashBuf=yes enaCpuStream=no enaVFP=yes enaWrAllo=yes enaICPref=yes enaDCPref=yes MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/nfs rw bootargs_end=:::DB88FXX81:egiga0:none image_name=uImage standalone=fsload 0x400000 $(image_name);setenv bootargs $(bootargs) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x400000; bootdelay=3 disaMvPnp=no ethaddr=00:00:00:00:51:81 eth1addr=00:00:00:00:51:82 mvNetConfig=mv_net_config=(eth0,00:aa:bb:cc:dd:ee,0)(eth1,00:11:22:33:44:55,1:2:3:4) overEthAddr=no pciMode=host usb0Mode=host ethact=egiga0 Environment size: 835/4092 bytes Marvell>>