LAN-blog

LAN-blog

Linux på DNS320

Linux and StuffPosted by Harleyman Thu, August 06, 2015 01:21:37
Så fik jeg endelig tid til at smide en ARM6-Linux på min DNS-320 NAS box.
Sådan en laban: http://sharecenter.dlink.com/products/DNS-320

Jeg har valgt at bruge en distro der hedder ALT-F ( http://sourceforge.net/projects/alt-f/ )
Webinterfacet på DNS 320 efter flashing...

Det er faktisk super simple.... Hent den firmware der passer til din box (rev. A eller rev.B )
Upload den som du vil gøre med en "normal" firmware. Der er INGEN CRC-beskyttelse på smiley
Via en Putty med root login siger den:
[root@dns320]# dmesg

Booting Linux on physical CPU 0x0

Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 xxxxxx :xx:xx WET 201x

CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977

CPU: VIVT data cache, VIVT instruction cache

Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-320 NAS (Re v A1/A2)

Memory policy: ECC disabled, Data cache writeback

On node 0 totalpages: 32768

free_area_init_node: node 0, pgdat c04c1b88, node_mem_map c04d8000

Normal zone: 256 pages used for memmap

Normal zone: 0 pages reserved

Normal zone: 32768 pages, LIFO batch:7

pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

pcpu-alloc: [0] 0

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512

Kernel command line: console=ttyS0,115200 root=/dev/ram0 init=/init

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: 121932k/121932k available, 9140k 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)

modules : 0xbf000000 - 0xc0000000 ( 16 MB)

.text : 0xc0008000 - 0xc0467fac (4480 kB)

.init : 0xc0468000 - 0xc0493354 ( 173 kB)

.data : 0xc0494000 - 0xc04c22a0 ( 185 kB)

.bss : 0xc04c22a0 - 0xc04d7fe4 ( 88 kB)

NR_IRQS:114

sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms

Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)

pid_max: default: 4096 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

Setting up static identity map for 0xc03cb4c8 - 0xc03cb504

xor: measuring software checksum speed

arm4regs : 724.400 MB/sec

8regs : 537.200 MB/sec

32regs : 587.200 MB/sec

xor: using function: arm4regs (724.400 MB/sec)

pinctrl core: initialized pinctrl subsystem

regulator-dummy: no parameters

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

Kirkwood: MV88F6281-A1, TCLK=166666667.

Feroceon L2: Enabling L2

Feroceon L2: Cache support initialised.

dnskw: Failed to register dnskw:power:recover

-- cut-----

[root@dns320]# cat cpuinfo

processor : 0

model name : Feroceon 88FR131 rev 1 (v5l)

BogoMIPS : 795.44

Features : swp half fastmult edsp

CPU implementer : 0x56

CPU architecture: 5TE

CPU variant : 0x2

CPU part : 0x131

CPU revision : 1

Hardware : Marvell Kirkwood (Flattened Device Tree)

Revision : 0000

Serial : 0000000000000000

[root@dns320]#cat version

Linux version 3.10.32 (jcard@silver) (gcc version 4.3.3 (GCC) ) #1 Fri Jan 30 16:37:58 WET 2015



  • Comments(0)//blog.deadmeat.dk/#post302