[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on Dlink DNS-320



Le 28/09/2015 21:54, Andrew McGlashan a écrit :
Hi,

On 28/09/2015 7:32 PM, Alexandre GRIVEAUX wrote:
I want to install debian on DNS-320, i can start debian installer but at
the end i'm stuck at installing the kernel.
I'm missing a partition scheme, i guess the file system is on sda(sata
or usb) and the kernel on nand but the last is not show on screen.
This Dlink DNS-320 having a broken firmware (unable to upgrade from 
dlink or debian).
If you have a working Debian on Dlink DNS-320 with denx uboot please
send me the printenv values.
IIRC, Debian won't work on these older devices any longer; there was
something in release notes about it.  I could be wrong though, not about
to search out the reference.

The problem, from memory, was that the installation needed more space
than which is available on that very old device.

I was running funplug on some old DNS-343 units, actually one is still
running; but I haven't done any update for a long time on it.

Kind Regards
AndrewM

Hello,

Yes, i know it doesn't have enough space on NAND (128Mib~) but enough for /boot and / on external (SATA, USB, NFS ...).
The funplug script not work because the NAS have a bad firmware in my case.
At this time:

wget http://jamie.lentin.co.uk/devices/dlink-dns325/replacing-firmware/dns-320.kwb <- save into a usb key
printenv <- to show MAC for exemple
usb reset ; ext2load usb 0:1 0x1000000 /dns-320.kwb
nand erase.chip
nand write 0x1000000 0x000000 0xe0000
reset

setenv ethaddr "xx:xx:xx:xx:xx:xx" <- to set mac
setenv mtdparts "mtdparts=orion_nand:896k(u-boot),128k(u-boot-env),-(rootfs)" <- to set partitioning
saveenv
reset

on other machine
wget http://ftp.nl.debian.org/debian/dists/jessie/main/installer-armel/current/images/kirkwood/network-console/d-link/dns-320/netboot.img
apt-get install dns323-firmware-tools && splitdns323fw -k ukernel -i uImage netboot.img <- save uImage & uKernel into a usb key
usb reset ; ext2load usb 0:1 0x2000000 /uKernel ; ext2load usb 0:1 0x3000000 /uRamdisk ; bootm 0x2000000 0x3000000

After that, the debian installer boot and show only my usb key: SCSI3 (0,0,0) (sda) - 3.9 GB  USB DISK
At the end it can't install the kernel
I'm stuck here.


Reply to: