Re: Zyxel NAS326 - Debian / Boot from USB? September 13, 2016 04:23PM |
Registered: 10 years ago Posts: 143 |
Re: Zyxel NAS326 - Debian / Boot from USB? September 13, 2016 07:06PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? September 13, 2016 07:18PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Updated 20 May 2016:
Kernel linux-4.6.0-kirkwood-tld-1 package has been uploaded. The following features were added/updated:
- Supports for Linksys EA4500. Use kirkwood-ea4500.dtb to boot this box. DSA (kirkwood-ea4500-dsa.dtb) is still a work-in-progress.
- HP T5325: Enable internal sound chip.
- Fix network issue with Zyxel NSA320S and NSA310S.
- New file system is enabled in the kernel: OrangeFS.
Re: Zyxel NAS326 - Debian / Boot from USB? September 18, 2016 12:43AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? September 18, 2016 05:12AM |
Registered: 10 years ago Posts: 143 |
Re: Zyxel NAS326 - Debian / Boot from USB? September 23, 2016 10:00AM |
Registered: 9 years ago Posts: 17 |
rr4m
Re: Zyxel NAS326 - Debian / Boot from USB? October 04, 2016 12:12PM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 07, 2016 02:44PM |
rr4m
Re: Zyxel NAS326 - Debian / Boot from USB? October 08, 2016 06:57AM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 11, 2016 02:06PM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 12, 2016 01:29AM |
rr4m
Re: Zyxel NAS326 - Debian / Boot from USB? October 14, 2016 07:48AM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 18, 2016 01:43PM |
--------- ------------------- | ? | ? | | ? |TX|RX| - |GND| --------- -------------------
SYS, HDD1, HDD2, USB, COPY
screen /dev/ttyUSB0 115200 8N1
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 22, 2016 07:50AM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 23, 2016 01:40PM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 24, 2016 08:58AM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 24, 2016 03:44PM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 24, 2016 04:55PM |
make stg328_defconfig make zImage make armada-380-zyxel-nas-326.dtb cat arch/arm/boot/zImage arch/arm/boot/dts/armada-380-zyxel-nas-326.dtb > zImage_dtb
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 24, 2016 05:11PM |
Marvell>> md.l f1018100 1 f1018140: 00420000 Marvell>> md.l f1018140 1 f1018140: 003c8000
Marwell>> mw.l f1018100 20420000 Marwell>> mw.l f1018140 003E8800
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 25, 2016 02:01AM |
> Marwell>> mw.l f1018100 20420000 > Marwell>> mw.l f1018140 003E8800 >
HDD1 HDD2 USB = ? ? 0010 0000 0100 0010 0000 0000 0000 0000
HDD1 HDD2 USB ? ? ? 0000 0000 0011 1100 1000 0000 0000 0000
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 25, 2016 02:39AM |
GPIO0: 0000 0000 0100 0010 0000 0000 0000 0000 0010 0000 0100 0010 0000 0000 0000 0000 ^ HDD1 GPIO1: 0000 0000 0011 1100 1000 0000 0000 0000 0000 0000 0011 1110 1000 1000 0000 0000 ^ ^ HDD2 USB
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 25, 2016 03:33PM |
Marvell>> setenv bootargs "console=ttyS0,115200 root=LABEL=USB_GENTOO" Marvell>> mw.l f1018140 003c8800 Marvell>> usb reset (Re)start USB... USB0: Port (usbActive) : 0 Interface (usbType = 2) : USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Marvell>> ext4load usb 0:1 0x02000000 /boot/zImage_dtb 4566967 bytes read in 337 ms (12.9 MiB/s) Marvell>> bootz 0x02000000 * kernel: cmdline image address = 0x02000000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.7.2-gentoo (root@armv7a-hardfloat-linux-gnueabi) (gcc version 5.4.0 (Gentoo 5.4.0 p1.0, pie-0.6.5) ) #2 SMP Tue Oct 25 22:06:55 CEST 2016 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
unsigned int regvalue = 0; // power on HDD1 putstr("Power on HDD1 ...\n"); regvalue = MEMIO32_READ(REG_GPIO_DATA_OUT(GPIO_POWER_ON_HDD1)); // get original reg value MEMIO32_WRITE(REG_GPIO_DATA_OUT(GPIO_POWER_ON_HDD1), regvalue|VALUE_POWER_ON_HDD1); sleep1(6); // power on HDD2 putstr("Power on HDD2 ...\n"); regvalue = MEMIO32_READ(REG_GPIO_DATA_OUT(GPIO_POWER_ON_HDD2)); // get original reg value MEMIO32_WRITE(REG_GPIO_DATA_OUT(GPIO_POWER_ON_HDD2), regvalue|VALUE_POWER_ON_HDD2); sleep1(6); // power on USB putstr("Power on USB ...\n\n"); ... arch_decomp_setup(); putstr("Uncompressing Linux...");Neither I see the "Uncompressing Linux" message nor the "Power on ...". Did I forget to select something in the menuconfig? On my x86 machine I can see "Uncompressing Linux", when I start the computer. Any idea?
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 25, 2016 05:12PM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 26, 2016 03:53PM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 27, 2016 08:05AM |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 27, 2016 08:09AM |
Re: Zyxel NAS326 - Debian / Boot from USB? October 27, 2016 03:47PM |
Admin Registered: 13 years ago Posts: 18,821 |
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 28, 2016 01:25AM |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? October 31, 2016 02:01PM |
Okt 30 23:45:27 nas kernel: m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ffMaybe there's still something missing in the dts file.
CONFIG_SECCOMP=yOtherwise journald fails to start.
Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie %CPU0 : 0,0 us, 95,0 sy, 0,0 ni, 5,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st KiB Spch: 511008 total, 445124 free, 15260 used, 50624 buff/cache KiB Swap: 2097148 total, 2097148 free, 0 used. 484112 avail Spch PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL 233 root 20 0 0 0 0 R 95,0 0,0 9:35.55 kworker/0:1I have between 60% and 95% cpu last on this worker thread.
hean01
Re: Zyxel NAS326 - Debian / Boot from USB? October 31, 2016 02:31PM |