Re: Zyxel NAS326 - Debian / Boot from USB? May 08, 2017 05:55PM |
Registered: 8 years ago Posts: 46 |
> min receivefile size = 128k >>
Re: Zyxel NAS326 - Debian / Boot from USB? May 08, 2017 10:56PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 08, 2017 10:58PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 09, 2017 05:15AM |
Admin Registered: 13 years ago Posts: 18,821 |
fw_setenv curr_bootfrom 1 fw_setenv next_bootfrom 1 fw_setenv load_dtb_addr 0x1000000 fw_setenv load_initrd_addr 0x2900000 fw_setenv load_image_addr 0x02000000 fw_setenv usb_init 'mw.l f1018100 20420000; mw.l f1018140 003E8800; sleep 3; usb start' fw_setenv set_bootargs_stock 'setenv bootargs "console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2"' fw_setenv bootcmd_stock_1 'run set_bootargs_stock; echo Booting from NAND kernel 1 ...; nand read 0x2000000 0x00E00000 0xF00000 && bootz 0x2000000' fw_setenv bootcmd_stock_2 'run set_bootargs_stock; echo Booting from NAND kernel 2 ...; nand read 0x2000000 0x08700000 0xF00000 && bootz 0x2000000' fw_setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' fw_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' fw_setenv bootcmd_custom 'if run usb_bootcmd; then; else if run bootcmd_stock_1; then; else run bootcmd_stock_2; reset; fi; fi' fw_setenv kernel_addr_1 '0x00000000; run bootcmd_custom; ' fw_setenv change_boot_part 1
fw_setenv bootcmd_stock_1 'run set_bootargs_stock; echo Booting from NAND kernel 1 ...; nand read 0x2000000 0x00E00000 0xF00000 && bootz 0x2000000' fw_setenv bootcmd_stock_2 'run set_bootargs_stock; echo Booting from NAND kernel 2 ...; nand read 0x2000000 0x08700000 0xF00000 && bootz 0x2000000' fw_setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' fw_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'
Re: Zyxel NAS326 - Debian / Boot from USB? May 09, 2017 05:26AM |
Registered: 7 years ago Posts: 4 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 09, 2017 05:35AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 09, 2017 10:58AM |
Registered: 9 years ago Posts: 295 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 09, 2017 11:25AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 10, 2017 03:16PM |
Registered: 7 years ago Posts: 4 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 10, 2017 03:26PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 11, 2017 06:14PM |
Registered: 8 years ago Posts: 46 |
> min receivefile size = 128k >>
Re: Zyxel NAS326 - Debian / Boot from USB? May 11, 2017 11:33PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 12, 2017 07:12AM |
Registered: 8 years ago Posts: 46 |
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 read raw = yes write raw = yes max xmit = 65535 dead time = 15 getwd cache = yes
Re: Zyxel NAS326 - Debian / Boot from USB? May 12, 2017 07:34AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 15, 2017 04:01PM |
Registered: 7 years ago Posts: 4 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 16, 2017 12:46AM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Key daemon (button control)
Multimedia keyboard daemon for Linux
ethtool -s eth0 wol g
shutdown -h now
etherwake xxxxxxx
Re: Zyxel NAS326 - Debian / Boot from USB? May 18, 2017 03:36AM |
Registered: 9 years ago Posts: 295 |
Re: Zyxel NAS326 - Debian / Boot from USB? May 18, 2017 03:51AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? July 07, 2017 11:16AM |
Registered: 7 years ago Posts: 1 |
Re: Zyxel NAS326 - Debian / Boot from USB? July 07, 2017 04:15PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? August 06, 2017 02:38AM |
Registered: 8 years ago Posts: 8 |
Re: Zyxel NAS326 - Debian / Boot from USB? August 06, 2017 02:46AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Zyxel NAS326 - Debian / Boot from USB? August 17, 2017 01:42AM |
Registered: 9 years ago Posts: 17 |
Re: Zyxel NAS326 - Debian / Boot from USB? August 17, 2017 06:22PM |
Admin Registered: 13 years ago Posts: 18,821 |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? September 09, 2017 08:09AM |
+ internal-regs { + ethernet@70000 { + pinctrl-0 = <&ge0_rgmii_pins>; + pinctrl-names = "default"; + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + mac-address = [ 11 22 33 44 55 66 ];
CFLAGS="-Ofast -march=armv7-a -mtune=cortex-a9 -mfpu=neon-fp16 -mtls-dialect=gnu -mfloat-abi=hard -pipe -fomit-frame-pointer -fstack-protector-strong" CXXFLAGS="${CFLAGS}" CHOST=armv7a-hardfloat-linux-gnueabi
Sep 09 07:24:12 nas kernel: zswap: loaded using pool lzo/zbud Sep 09 07:24:12 nas kernel: v5.0-sata0: supplied by pwr_en_sata0 Sep 09 07:24:12 nas kernel: v12.0-sata0: supplied by pwr_en_sata0 Sep 09 07:24:12 nas kernel: input: gpio-keys as /devices/platform/gpio-keys/input/input0 Sep 09 07:24:12 nas kernel: armada38x-rtc f10a3800.rtc: setting system clock to 2017-09-09 05:24:11 UTC (1504934651) Sep 09 07:24:12 nas kernel: OF: Duplicate name in testcase-data, renamed to "duplicate-name#1" Sep 09 07:24:12 nas kernel: ### dt-test ### start of unittest - you will see error messages Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1 Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1 Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: could not find phandle Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: could not find phandle Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property Sep 09 07:24:12 nas kernel: OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property Sep 09 07:24:12 nas kernel: irq: no irq domain found for /testcase-data/interrupts/intc0 ! Sep 09 07:24:12 nas kernel: OF: overlay: overlay_is_topmost: #5 clashes #6 @/testcase-data/overlay-node/test-bus/test-unittest8 Sep 09 07:24:12 nas kernel: OF: overlay: overlay #5 is not topmost Sep 09 07:24:12 nas kernel: ### dt-test ### FAIL of_unittest_overlay_high_level():2234 Adding overlay 'overlay_bad_phandle' failed Sep 09 07:24:12 nas kernel: ### dt-test ### end of unittest - 149 passed, 1 failed Sep 09 07:24:12 nas kernel: v5.0-sata1: supplied by pwr_en_sata1 Sep 09 07:24:12 nas kernel: v12.0-sata1: supplied by pwr_en_sata1 Sep 09 07:24:12 nas kernel: v5.0-sata0: disabling Sep 09 07:24:12 nas kernel: v12.0-sata0: disabling Sep 09 07:24:12 nas kernel: v5.0-sata1: disabling Sep 09 07:24:12 nas kernel: v12.0-sata1: disabling
musv
Re: Zyxel NAS326 - Debian / Boot from USB? September 09, 2017 10:30AM |
Sep 09 17:18:08 nas kernel: sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z) Sep 09 17:18:08 nas kernel: sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z) Sep 09 17:17:59 nas kernel: sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z)
Re: Zyxel NAS326 - Debian / Boot from USB? September 09, 2017 05:06PM |
Admin Registered: 13 years ago Posts: 18,821 |
musv
Re: Zyxel NAS326 - Debian / Boot from USB? September 27, 2017 03:39PM |
Sep 27 17:35:37 nas kernel: rpc-srv/tcp: nfsd: sent only 36488 when sending 65644 bytes - shutting down socket
ethernet@70000 { pinctrl-0 = <&ge0_rgmii_pins>; pinctrl-names = "default"; status = "okay"; phy = <&phy1>; phy-mode = "rgmii-id"; };
fixed-link { speed = <1000>; full-duplex; };What was the reason to remove this section?
Re: Zyxel NAS326 - Debian / Boot from USB? September 27, 2017 09:21PM |
Admin Registered: 13 years ago Posts: 18,821 |
musv
Re: Debian on Zyxel NAS326 September 28, 2017 09:11AM |