Le 28/09/2015 21:54, Andrew McGlashan a écrit :
Hello,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
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 write 0x1000000 0x000000 0xe0000
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
on other machine
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.