This is what i forget. I read it befor but when i'm do the update i forget to do the env upgrade. Now my nas working, i upgrade the kernel to latest. Thanks for your help!by bttd - Debian
Her is the printenv output: NSA310> printenv arcNumber=4022 baudrate=115200 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_recovery; bootcmd_exec=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uInitrd; bootm 0x800000 0x1100000 bootcmd_recovery=run set_recovery_bootargs; nand read 0x800000 nand0,7 ; bootm 0by bttd - Debian
Here it is: U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:59:20 -0700) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A0 DRAM: 256 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanninby bttd - Debian
OK i finished with uboot upgrade and hdd install. Now rootfs partition on sda1 and home on sda2 but my system still boot from usb. If i unplug the usb the nas won't boot.by bttd - Debian
I have some problem with fw_printenv root@debian:~# fw_printenv ethaddr Warning: Bad CRC, using default environment ## Error: "ethaddr" not defined root@debian:~# fw_printenv Warning: Bad CRC, using default environment bootargs= bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootmby bttd - Debian
My first question: Quote- And your mtd partitions should be: cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data" My mtd partitions look like: root@HomeNas:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 0002by bttd - Debian
Ok, now the system booted from usb, and i copy everything to my hdd. I make an fstab for my partitions: # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda1 /boot ext3 noatime,errors=remount-ro 0 1 /dev/sda2 / ext4 noatime,errors=remount-ro 0 1 /dev/sda6 /home ext4by bttd - Debian
Sorry for nick change, but i find i have registred account... Here is the requested part: http://pastebin.com/JPasXMQy I don't care about the current rootfs so option two is the best for me.by bttd - Debian