Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 903

Debian on Freecom Silverstore 2 NAS (3 replies)

$
0
0
Hi,

Quite recently I have acquired two NAS units "SiverStore 2" manufactured by Freecom. The units are EOL, so no updates on the software side since 2012. However, I have received the root password from the technical support at freecom and via ssh successfully installed Optware-ng and a chrooted debian wheezy. The units itself has a custom-made operating system with kernel 2.6.31, which is quite outdated and does not have many modules, only the bare minimum that is needed to operate that NAS. I have tried to research online if the operating system on those units could be replaced with a Debian for example, however, it seems those units were not very popular so not much luck. Some info could be found here:

https://wikidevi.com/wiki/Freecom_SilverStore
and
http://www.ezplanet.net/xwiki/bin/view/KnowledgeBase/SilverstoreNAS

As far as I understand the unit is similar to NSA325, however, apparently the stock bootloader is locked to boot only Stock OS. I am not sure if that's the case, hence I wanted to hear your opinion on the matter and maybe an advice. I hope I could either use the stock uboot with a new kernel and Debian or maybe the stock uboot could be replaced with another one. I have two of those NAS units, so I could sacrifice one of them for that project :) I should receive a UART cable on Monday or Tuesday hopefully. Until then I can provide with the following information:

/etc # cat fw_env.config
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.

# MTD device name Device offset Env. size  Flash sector size
/dev/mtd1    0x0   0x20000     0x20000

~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000a0000 00020000 "uboot"
mtd1: 00040000 00020000 "param"
mtd2: 00280000 00020000 "preroot"
mtd3: 00380000 00020000 "uimage"
mtd4: 076e0000 00020000 "rootfs"
mtd5: 00240000 00020000 "misc"
mtd6: 08000000 00020000 "flash"

/tmp # fw_printenv
baudrate=115200
loads_echo=0
ipaddr=10.4.52.165
serverip=10.4.52.7
rootpath=/srv/ubuntu
netmask=255.255.255.0
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/ram0 rootfstype=cramfs init=/etc/rc.preroot initrd=0x800000,0x1000000
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000;
lcd0_enable=0
lcd0_params=640x480-16@60
ethmtu=1500
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
image_multi=yes
mfgmodel=HNC-N2
uboot_ver=v0.0.9
preroot_ver=0.1.0
serial_number=5563U01001G247001D5J0D1
opid=Z11101935
ethaddr=00:01:DB:1E:24:F2
serialNo=560722483400721
modelname=56072
runintime=10000
ftpserver=10.41.34.121
testfile=100M
mfgtest_state=final_tested_ok
mkraid5=preok
ftpserver_ip=10.41.87.42
ftpserver_user=admin
ftpserver_passwd=admin
ftpserver_path=/log/mfg_autotest.tgz
ntpserver_ip=pool.ntp.org
ethact=egiga0
fw_ver=2001.4110
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
console=console=ttyS0,115200 mtdparts=nand_mtd:0x000a0000@0x0(uboot),0x00040000@0x000a0000(param),0x00280000@0x000e0000(preroot),0x00380000@0x00360000(uimage),0x076e0000@0x006e0000(rootfs),0x00240000@0x07dc0000(misc),128m@0x0(flash) 
bootcmd_f=nand reset; nand read.e 0x800000 0x00100000 0x00199800; check_crc32 PrEr; 
bootcmd=nand reset; nand read.e 0x800000 0x00100000 0x00199800; check_crc32 PrEr; nand reset; nand read.e 0x40000 0x00380000 0x0027d400; check_crc32 KrNl; setenv bootargs $(console) $(bootargs_root);  bootm 0x40000; 
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
pcieTune1=no


If you need any other information, please let me know. Your help would be appreciated, as I would like to give those devices some new life.


Regards

garagoyun

Viewing all articles
Browse latest Browse all 903