Re: Zyxel NAS326 - Debian / Boot from USB? February 19, 2017 03:45PM |
Admin Registered: 13 years ago Posts: 19,102 |
if [ -d /sys/class/leds/nsa326:white:sys ]; then echo default-on > /sys/class/leds/nsa326:white:sys/trigger echo none > /sys/class/leds/nsa326:red:sys/trigger echo ide-disk1 > /sys/class/leds/nsa326:white:sata1/trigger echo ide-disk2 > /sys/class/leds/nsa326:white:sata2/trigger echo usb-host > /sys/class/leds/nsa326:white:usb/trigger fi
echo heartbeat > /sys/class/leds/nsa326:white:sys/trigger
nano326
Re: Zyxel NAS326 - Debian / Boot from USB? February 23, 2017 04:40AM |
Re: Zyxel NAS326 - Debian / Boot from USB? February 23, 2017 05:08AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? February 24, 2017 04:05PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? February 26, 2017 12:29AM |
Admin Registered: 13 years ago Posts: 19,102 |
Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: No Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: g Link detected: yes
Re: Zyxel NAS326 - Debian / Boot from USB? February 28, 2017 09:38AM |
Registered: 9 years ago Posts: 46 |
Re: Zyxel NAS326 - Debian / Boot from USB? February 28, 2017 03:37PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 03:48AM |
Registered: 13 years ago Posts: 20 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 03:58AM |
Admin Registered: 13 years ago Posts: 19,102 |
uname -a
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 10:49AM |
Registered: 13 years ago Posts: 20 |
> uname -a >
Linux nas.workgroup 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l GNU/LinuxThanks for clearing up the USB 3.0 support in uboot.
musv
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 01:53PM |
bootargs=console=ttyS0,115200 root=/dev/sda2 init=/usr/lib/systemd/systemd bootcmd=echo Booting Gentoo from sda1; setenv fdt_skip_update yes; \ mw.l f1018100 20420000; mw.l f1018140 003ca800; scsi init; \ ext2load scsi 0:1 0x02000000 /zImage_dtb; bootz 0x02000000
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 03:57PM |
Admin Registered: 13 years ago Posts: 19,102 |
setenv curr_bootfrom 1 setenv next_bootfrom 1 setenv load_dtb_addr 0x1000000 setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv usb_init 'mw.l f1018100 20420000; mw.l f1018140 003E8800; sleep 3; usb start' setenv set_bootargs_stock 'setenv bootargs "console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2"' setenv bootcmd_stock_1 'run set_bootargs_stock; echo Booting from NAND kernel 1 ...; nand read 0x2000000 0x00E00000 0xF00000 && bootz 0x2000000' setenv bootcmd_stock_2 'run set_bootargs_stock; echo Booting from NAND kernel 2 ...; nand read 0x2000000 0x08700000 0xF00000 && bootz 0x2000000' setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; run usb_init; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/armada-380-zyxel-nas326.dtb; ext2load usb 0:1 $load_initrd_addr /boot/uInitrd; run usb_set_bootargs; bootz $load_image_addr $load_initrd_addr $load_dtb_addr' setenv bootcmd_custom 'if run usb_bootcmd; then; else if run bootcmd_stock_1; then; else run bootcmd_stock_2; reset; fi; fi' setenv kernel_addr_1 '0x00000000; run bootcmd_custom; ' saveenv
Re: Zyxel NAS326 - Debian / Boot from USB? March 01, 2017 04:18PM |
Admin Registered: 13 years ago Posts: 19,102 |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? March 02, 2017 11:28AM |
Re: Zyxel NAS326 - Debian / Boot from USB? March 02, 2017 02:49PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 02, 2017 07:06PM |
Registered: 8 years ago Posts: 24 |
Quote
nielsek
I'm booting from USB stick plugged in the front USB port (2.0). Whenever I plug it into the back USB ports, it will boot into failsafe.
Re: Zyxel NAS326 - Debian / Boot from USB? March 03, 2017 05:49PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 04, 2017 01:28PM |
Registered: 7 years ago Posts: 2 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 04, 2017 03:44PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 04, 2017 09:18PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 05, 2017 07:01AM |
Registered: 9 years ago Posts: 46 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 05, 2017 07:11AM |
Registered: 7 years ago Posts: 2 |
Quote
• Wake on LAN (WoL) • Provides programmable lower power (S5) event/pattern and link change detection
Re: Zyxel NAS326 - Debian / Boot from USB? March 05, 2017 03:19PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 05, 2017 06:20PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 06, 2017 04:44AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 10, 2017 04:25AM |
Admin Registered: 13 years ago Posts: 19,102 |
Booting from SATA ... AHCI init for unit0 Target spinup took 0 ms. SATA link 1 timeout. Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found scanning bus for devices... Device 0: (0:0) Vendor: ATA Prod.: ST9250320AS Rev: BS04 Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Found 1 device(s).
Re: Zyxel NAS326 - Debian / Boot from USB? March 11, 2017 05:17PM |
Admin Registered: 13 years ago Posts: 19,102 |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? March 12, 2017 08:53AM |
Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found
NAND read: device 0 whole chip Attempt to read outside the flash area 0 bytes read: ERROR Booting Gentoo from sda1 AHCI init for unit0 Target spinup took 0 ms. Target spinup took 0 ms. Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found scanning bus for devices... Device 0: (0:0) Vendor: ATA Prod.: TS256GSSD370 Rev: N111 Type: Hard Disk Capacity: 244198.3 MB = 238.4 GB (500118192 x 512) Device 1: (1:0) Vendor: ATA Prod.: ST9500325AS Rev: 0001 Type: Hard Disk Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) Found 2 device(s). 4293698 bytes read in 111 ms (36.9 MiB/s) * kernel: cmdline image address = 0x02000000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.8-gentoo (root@nas) (gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) ) #3 SMP Wed Feb 8 18:39:45 CET 2017 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
Re: Zyxel NAS326 - Debian / Boot from USB? March 12, 2017 04:57PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Zyxel NAS326 - Debian / Boot from USB? March 14, 2017 03:26AM |
Admin Registered: 13 years ago Posts: 19,102 |