Re: Debian on Synology RS816 (Armada 385) May 13, 2019 04:46AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 13, 2019 05:12AM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 13, 2019 02:34PM |
Registered: 5 years ago Posts: 257 |
root@debian:~# echo none > /sys/class/leds/rs816:green:sata1/trigger root@debian:~# echo ide-disk1 > /sys/class/leds/rs816:green:sata1/trigger
Re: Debian on Synology RS816 (Armada 385) May 13, 2019 06:12PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 12:00AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 12:18AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 01:42AM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 03:39AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 04:30AM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 04:38AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 04:49AM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 04:50AM |
Admin Registered: 13 years ago Posts: 19,102 |
/sys/class/hwmon/hwmon1/fan1_target
ls -l /sys/class/hwmon/hwmon*
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 04:54AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 05:13AM |
Registered: 5 years ago Posts: 257 |
ls -l /sys/class/hwmon/hwmon* lrwxrwxrwx 1 root root 0 May 14 18:04 /sys/class/hwmon/hwmon0 -> ../../devices/platform/soc/soc:internal-regs/f1072004.mdio/mdio_bus/f1072004.mdio-mii/f1072004.mdio-mii:01/hwmon/hwmon0 lrwxrwxrwx 1 root root 0 May 14 18:04 /sys/class/hwmon/hwmon1 -> ../../devices/platform/gpio-fan/hwmon/hwmon1 lrwxrwxrwx 1 root root 0 May 14 18:04 /sys/class/hwmon/hwmon2 -> ../../devices/virtual/thermal/thermal_zone0/hwmon2
echo 1 > /sys/class/hwmon/hwmon1/fan1_target
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 05:47AM |
Registered: 5 years ago Posts: 257 |
printf "\\x34" > /dev/ttyS1
printf "\\x38" > /dev/ttyS1
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 05:49PM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 06:44PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:05PM |
Admin Registered: 13 years ago Posts: 19,102 |
shutdown -h now
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:07PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:10PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:14PM |
Admin Registered: 13 years ago Posts: 19,102 |
cat /proc/mtd cat /etc/fw_env.config fw_printenv
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:28PM |
Registered: 5 years ago Posts: 257 |
The system is going down for system halt NOW! INIT: Switching to run[info] Using makefile-style concurrent boot in runlevel 0. [ ok ] Stopping hotplug events dispatcher: systemd-udevd. [....] Stopping busybox' klogd implementation: klogd2780 (klogd) Stopped klogd (pid 2780). . ok [info] Saving the system clock. [info] Hardware Clock updated to Wed May 15 08:23:46 AWST 2019. [ ok ] Stopping MD monitoring service: mdadm --monitor. [....] Stopping busybox' syslogd implementation: syslogd2753 (syslogd) . ok [ ok ] Asking all remaining processes to terminate...done. [ ok ] All processes ended within 1 seconds...done. [....] Deconfiguring network interfaces...Removed stale PID file Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:50:43:1c:24:27 Sending on LPF/eth0/00:50:43:1c:24:27 Sending on Socket/fallback DHCPRELEASE of 192.168.1.33 on eth0 to 192.168.1.2 port 67 invoke-rc.d: ----------------------------------------------------- invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------- [ 90.740166] mvneta f1070000.ethernet eth0: Link is Down done. [ ok ] Saving random seed...done. [....] Will now unmount temporary filesystems:umount: /tmp unmounted . ok [....] Will now deactivate swap:swapoff /dev/md1 . ok [....] Will now unmount local filesystems:umount: /files (/dev/md2) unmounted . ok [....] Mounting root filesystem read-only...[ 91.522327] EXT4-fs (md0): re-mounted. Opts: (null) done. [ ok ] Waiting for MD arrays to become idle...done. [info] Will now halt. [ 92.792409] sd 2:0:0:0: [sdd] Synchronizing SCSI cache [ 92.797783] sd 2:0:0:0: [sdd] Stopping disk [ 93.525534] sd 3:0:0:0: [sdc] Synchronizing SCSI cache [ 93.530885] sd 3:0:0:0: [sdc] Stopping disk [ 94.245769] sd 4:0:0:0: [sdb] Synchronizing SCSI cache [ 94.251124] sd 4:0:0:0: [sdb] Stopping disk [ 94.980048] sd 1:0:0:0: [sda] Synchronizing SCSI cache [ 94.985409] sd 1:0:0:0: [sda] Stopping disk [ 95.710746] reboot: System halted
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 07:35PM |
Registered: 5 years ago Posts: 257 |
dev: size erasesize name mtd0: 00400000 00001000 "boot" mtd1: 00400000 00001000 "spi-rootfs"
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd1 0x0000 0x80000 0x20000 4
Warning: Bad CRC, using default environment bootcmd=run distro_bootcmd bootdelay=2 baudrate=115200 stdin=serial,cros-ec-keyb,usbkbd stdout=serial,vidconsole stderr=serial,vidconsole ethaddr=00:00:11:22:33:44 eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ipaddr=1.2.3.4 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi boot_prefixes=/ /boot/ boot_scripts=boot.scr.uimg boot.scr boot_script_dhcp=boot.scr.uimg boot_targets=host1 host0 boot_syslinux_conf=extlinux/extlinux.conf boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done bootcmd_host1=setenv devnum 1; run host_boot bootcmd_host0=setenv devnum 0; run host_boot distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done bootm_size=0x10000000 kernel_addr_r=0x1000000 fdt_addr_r=0xc00000 ramdisk_addr_r=0x2000000 scriptaddr=0x1000 pxefile_addr_r=0x2000
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 08:20PM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 09:27PM |
Admin Registered: 13 years ago Posts: 19,102 |
shutdown -h now
Quote
Fans running
Disks running but not sure if all (I will recheck this later once flash process complete)
HDD led's no activity
Power led on
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 09:44PM |
Registered: 5 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 10:14PM |
Admin Registered: 13 years ago Posts: 19,102 |
shutdown -h now
Quote
Fans running
Disks running but not sure if all (I will recheck this later once flash process complete)
HDD led's no activity
Power led on
poweroff@12100 { compatible = "synology,power-off"; reg = <0x12100 0x100>; clocks = <&coreclk 0>; };
printf "\\x31" > /dev/ttyS1
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 10:40PM |
Registered: 5 years ago Posts: 257 |
# CONFIG_POWER_AVS is not set CONFIG_POWER_RESET=y # CONFIG_POWER_RESET_BRCMKONA is not set # CONFIG_POWER_RESET_BRCMSTB is not set CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_RESET_GPIO_RESTART=y # CONFIG_POWER_RESET_LTC2952 is not set # CONFIG_POWER_RESET_QNAP is not set # CONFIG_POWER_RESET_RESTART is not set # CONFIG_POWER_RESET_VERSATILE is not set # CONFIG_POWER_RESET_SYSCON is not set # CONFIG_POWER_RESET_SYSCON_POWEROFF is not set # CONFIG_SYSCON_REBOOT_MODE is not set CONFIG_POWER_SUPPLY=y
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 10:50PM |
Admin Registered: 13 years ago Posts: 19,102 |
CONFIG_POWER_RESET_QNAP
Quote
* QNAP Turbo NAS Board power off. Can also be used on Synology devices.
*
* Copyright (C) 2012 Andrew Lunn .......
Re: Debian on Synology RS816 (Armada 385) May 14, 2019 10:59PM |
Registered: 5 years ago Posts: 257 |