Welcome! Log In Create A New Profile

Advanced

Debian on Synology RS816 (Armada 385)

Posted by zifxify 
Debian on Synology RS816 (Armada 385)
January 13, 2019 05:32AM
Hello,

I would like to install Debian on my Synology NAS (RS816-inside) as a replacement for the current dsm software.
It's a 4 bay rack mountable system (1GB DDR3) with an additional esata and two usb ports at the back.
Furthermore I have no experience with uboot so I don't know if it's actually possible to boot debian with the stock u-boot from synology.
I do not have a dts file either for the device.

BootROM - 1.73

Booting from SPI flash



General initialization - Version: 1.0.0

AVS selection from EFUSE disabled (Skip reading EFUSE values)

Detected Device ID 6820

High speed PHY - Version: 2.0


Init Synology board board SerDes lanes topology details:

 | Lane # | Speed|    Type     |

 ------------------------------|

 |   0    |  0   |  SGMII0     |

 |   1    |  6   |  SATA0      |

 |   2    |  5   |  PCIe1      |

 |   3    |  0   |  SGMII2     |

 |   4    |  5   |  USB3 HOST0 |

 |   5    |  5   |  USB3 HOST1 |

 -------------------------------

High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver TIP-1.46.0

WARNING:Wrong configuration for pup #1 CS mask and CS mirroring for all pups should be the same

WARNING:Wrong configuration for pup #3 CS mask and CS mirroring for all pups should be the same

DDR3 Training Sequence - Switching XBAR Window to FastPath Window 

DDR3 Training Sequence - Ended Successfully

Not detected suspend to RAM indication

BootROM: Image checksum verification PASSED


 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01-g74a026b-dirty (Dec 30 2015 - 14:40:58) Marvell version: 2015_T1.0p16

Board: SYNO-RS816
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1866 [MHz]
       L2     @ 933 [MHz]
       TClock @ 200 [MHz]
       DDR3    @ 933 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
SF: Detected N25Q64 with page size 64 KiB, total 8 MiB
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:			0x3ff3b000:0x3ffc91bc
       BSS:			0x3ffef688
       Stack:			0x3fa2af20
       Heap:			0x3fa2b000:0x3ff3b000
       U-Boot Environment:	0x007e0000:0x007f0000 (SPI)

Board configuration detected:

Synology Model: RS816

Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   SGMII   |     0x01     |
| egiga2 |   SGMII   |     0x00     |
egiga0 [PRIME], egiga2
Press Ctrl+C to abort autoboot in 3 second

printenv

Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
ata_hdd_detect=syno_hdd_detect=39,39,39,39
ata_hdd_enable=syno_hdd_enable=37,37,37,37
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs= 
bootargs_dflt=$console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=mw 0xf10a2620 0x251;mw 0xf10a2e20 0x251;usb xhciinit; run bootspi
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end  video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel;  bootm $loadaddr; 
bootdelay=3
bootftp=run syno_bootargs;tftpboot $loadaddr_kernel $file_kernel;tftpboot $loadaddr_rootfs $file_rootfs;sf probe; sf read $loadaddr_dt $spi_pt_addr_dt $spi_pt_size_dt;fdt addr $loadaddr_dt;bootm $loadaddr_kernel $loadaddr_rootfs $loadaddr_dt;
bootspi=run syno_bootargs;sf probe 0 50000000;sf read $loadaddr_kernel $spi_pt_addr_kernel $spi_pt_size_kernel;sf read $loadaddr_rootfs $spi_pt_addr_rootfs $spi_pt_size_rootfs;sf read $loadaddr_dt $spi_pt_addr_dt $spi_pt_size_dt;bootm $loadaddr_kernel $loadaddr_rootfs $loadaddr_dt;
cacheShare=no
clean_env=sf probe; sf erase $spi_pt_addr_env $spi_pt_size_env; 
console=console=ttyS0,115200
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:13:27:4d
eth1mtu=1500
eth2addr=00:50:43:13:27:4d
eth2mtu=1500
eth3addr=00:50:43:27:27:13
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:27:27:4d
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x.dtb
file_flash=armada38x/flash.bin
file_kernel=armada38x/uImage
file_rootfs=armada38x/rd.bin
file_uboot=armada38x/uboot.bin
ide_path=/
image_name=uImage
initrd_high=8000000
initrd_name=uInitrd
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
limit_dram_size=yes
loadaddr=0x02000000
loadaddr_dt=0x1000000
loadaddr_kernel=0x2000000
loadaddr_rootfs=0x3000000
loads_echo=0
mtdids=spi0=spi_flash
mtdparts=mtdparts=spi0.0:4m(boot),-(spi-rootfs)
mtdparts_lgcy=mtdparts=spi_flash:4m(boot),-(spi-rootfs)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:4d:27:13
netbsd_en=no
netretry=no
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
run_script=no
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
sd_detection_dat3=no
spi_pt_addr_dt=0x0E0000
spi_pt_addr_env=0x7e0000
spi_pt_addr_kernel=0x0F0000
spi_pt_addr_rootfs=0x3C0000
spi_pt_size_dt=0x010000
spi_pt_size_env=0x010000
spi_pt_size_kernel=0x2D0000
spi_pt_size_rootfs=0x410000
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
syno_boot_dev=/dev/md0
syno_bootargs=setenv bootargs console=ttyS0,115200 ip=off initrd=$loadaddr_rootfs root=$syno_boot_dev rw $syno_extra_args syno_hw_version=$syno_hw_version hd_power_on_seq=$syno_hdd_powerup_seq ihd_num=$syno_hdd_powerup_seq netif_num=$syno_net_if_num $ata_hdd_detect $ata_hdd_enable flash_size=8
syno_extra_args=HddHotplug=4 sata_remap=0>4:4>0
syno_hdd_powerup_seq=4
syno_hw_version=RS816
syno_net_if_num=2
upd_flash=setenv tftpfile $file_flash; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then echo "This may take a while, please be patient..."; sf probe; sf erase 0 +$filesize; sf write $loadaddr 0 $filesize; echo "\
Flash Update Done"; fi; 
upd_kernel=setenv tftpfile $file_kernel; mw.b $loadaddr 0xFF $spi_pt_size_kernel; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase $spi_pt_addr_kernel $spi_pt_size_kernel; sf write $loadaddr $spi_pt_addr_kernel $spi_pt_size_kernel; echo "\
Kernel Update Done"; fi; 
upd_rootfs=setenv tftpfile $file_rootfs; mw.b $loadaddr 0xFF $spi_pt_size_rootfs; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase $spi_pt_addr_rootfs +$filesize; sf write $loadaddr $spi_pt_addr_rootfs $filesize; echo "\
Rootfs Update Done"; fi; 
upd_uboot=setenv tftpfile $file_uboot; tftpboot $loadaddr $tftpfile; if test $? -eq 0; then sf probe; sf erase 0 +$filesize; sf write $loadaddr 0 $filesize; echo "\
Uboot Update Done"; fi; 
usb0Mode=host
usbActive=0
usbType=2
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 5734/65532 bytes

bdinfo

Marvell>> bdinfo
arch_number = 0x00000210
boot_params = 0x00000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x40000000
DRAM bank   = 0x00000001
-> start    = 0x00000000
-> size     = 0x00000000
ethaddr     = 00:50:43:27:27:4d
ip_addr     = <NULL>
baudrate    = 115200 bps
TLB addr    = 0x3FFF0000
relocaddr   = 0x3FF3B000
reloc off   = 0x3FF3B000
irq_sp      = 0x3FA2AF30
sp start    = 0x3FA2AF20
FB base     = 0x00000000

flash_part_print

Marvell>> flash_part_print
SF: Detected N25Q64 with page size 64 KiB, total 8 MiB

Linux/vxWorks partitions on spi flash
--------------------------------------

Spi flash Address (rx)   : 0xf4000000
Spi flash size           : 8MB
u-boot               : offset=0x00000000, size=0x00200000 (2MB)
kernel/vxWorks-image : offset=0x00200000, size=0x00400000 (4MB)
Linux rootfs         : offset=0x00600000, size=0x00200000 (2MB)

Single Image         : offset=0x00200000, size=0x00600000 (6MB)

boot

Marvell>> boot
(Re)start USB controller...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
SF: Detected N25Q64 with page size 64 KiB, total 8 MiB
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.10.105
   Created:      2018-12-25  10:24:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2558456 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   synology_armada38x_rs816 23824
   Created:      2018-12-25  10:50:38 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    3632827 Bytes = 3.5 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 07c89000, end 07fffebb ... OK
   Loading Device Tree to 00ff9000, end 00fffa9b ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.105 (root@build4) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #23824 SMP Tue Dec 25 18:23:47 CST 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: Synology RS816
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] PERCPU: Embedded 7 pages/cpu @80eda000 s7168 r8192 d13312 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x3000000 root=/dev/md0 rw HddHotplug=4 sata_remap=0>4:4>0 syno_hw_version=RS816 hd_power_on_seq=4 ihd_num=4 netif_num=2 syno_hdd_detect=39,39,39,39 syno_hdd_enable=37,37,37,37 flash_size=8
[    0.000000] Support HDD Hotplug.
[    0.000000] SYNO: sata remap initialized
[    0.000000] Synology Hardware Version: RS816-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 2
[    0.000000] SYNO GPIO hdd detect pin: 39 39 39 39 
[    0.000000] SYNO GPIO hdd enable pin: 37 37 37 37 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 1026876k/1026876k available, 21700k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xfff00000   (1015 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x805f7078   (6077 kB)
[    0.000000]       .init : 0x805f8000 - 0x80631c00   ( 231 kB)
[    0.000000]       .data : 0x80632000 - 0x80668a40   ( 219 kB)
[    0.000000]        .bss : 0x80668a40 - 0x806cec84   ( 409 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] 
[    0.000000]   LSP version: linux-3.10.70-2015_T1.1p7
[    0.000000] 
[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
[    0.000333] Calibrating delay loop... 3719.16 BogoMIPS (lpj=18595840)
[    0.060016] pid_max: default: 32768 minimum: 301
[    0.060054] Security Framework initialized
[    0.060062] AppArmor: AppArmor initialized
[    0.060076] Mount-cache hash table entries: 512
[    0.060337] Initializing cgroup subsys memory
[    0.060350] Disabling memory control group subsystem
[    0.060353] Initializing cgroup subsys devices
[    0.060356] Initializing cgroup subsys freezer
[    0.060359] Initializing cgroup subsys blkio
[    0.060377] CPU: Testing write buffer coherency: ok
[    0.060464] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060467] Calibrating local timer... 933.17MHz.
[    0.120040] Setting up static identity map for 0x8047a190 - 0x8047a1e8
[    0.120142] mvebu-pmsu: Initializing Power Management Service Unit
[    0.120166] Initializing CPU Reset module
[    0.120651] CPU1: Booted secondary processor
[    0.180035] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.180079] Brought up 2 CPUs
[    0.180085] SMP: Total of 2 processors activated (7445.70 BogoMIPS).
[    0.180088] CPU: All CPU(s) started in SVC mode.
[    0.180306] devtmpfs: initialized
[    0.182059] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.182200] xor: measuring software checksum speed
[    0.279995]    arm4regs  :  3314.800 MB/sec
[    0.379978]    8regs     :  2284.400 MB/sec
[    0.479961]    32regs    :  2324.000 MB/sec
[    0.479963] xor: using function: arm4regs (3314.800 MB/sec)
[    0.479967] pinctrl core: initialized pinctrl subsystem
[    0.480180] regulator-dummy: no parameters
[    0.480301] NET: Registered protocol family 16
[    0.480737] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.482369] irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
[    0.482631] irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
[    0.484727] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.484731] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.490332] bio: create slab <bio-0> at 0
[    0.659950] raid6: int32x1  gen()   279 MB/s
[    0.830046] raid6: int32x1  xor()   231 MB/s
[    0.999893] raid6: int32x2  gen()   383 MB/s
[    1.169886] raid6: int32x2  xor()   260 MB/s
[    1.339819] raid6: int32x4  gen()   384 MB/s
[    1.509822] raid6: int32x4  xor()   276 MB/s
[    1.679822] raid6: int32x8  gen()   425 MB/s
[    1.849818] raid6: int32x8  xor()   272 MB/s
[    1.849821] raid6: using algorithm int32x8 gen() (425 MB/s)
[    1.849823] raid6: .... xor() 272 MB/s, rmw enabled
[    1.849825] raid6: using intx1 recovery algorithm
[    1.849960] mvebu-pcie pcie-controller.3: PCIe1.0: link up
[    1.850056] mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
[    1.850063] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.850067] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.850071] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.850178] PCI: bus0: Fast back to back transfers disabled
[    1.850183] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.850421] PCI: bus1: Fast back to back transfers disabled
[    1.850453] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    1.850458] pci 0000:00:02.0: BAR 7: assigned [io  0x10000-0x10fff]
[    1.850463] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    1.850468] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]
[    1.850473] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1001f]
[    1.850477] pci 0000:01:00.0: BAR 0: assigned [io  0x10020-0x10027]
[    1.850482] pci 0000:01:00.0: BAR 2: assigned [io  0x10028-0x1002f]
[    1.850486] pci 0000:01:00.0: BAR 1: assigned [io  0x10030-0x10033]
[    1.850491] pci 0000:01:00.0: BAR 3: assigned [io  0x10034-0x10037]
[    1.850495] pci 0000:00:02.0: PCI bridge to [bus 01]
[    1.850499] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    1.850510] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.850517] PCI: enabling device 0000:00:02.0 (0140 -> 0143)
[    1.850913] SCSI subsystem initialized
[    1.851748] Switching to clocksource armada_370_xp_clocksource
[    1.851893] AppArmor: AppArmor Filesystem Enabled
[    1.852703] NET: Registered protocol family 2
[    1.852966] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.853020] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.853072] TCP: Hash tables configured (established 8192 bind 8192)
[    1.853102] TCP: reno registered
[    1.853108] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.853123] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.853205] NET: Registered protocol family 1
[    1.853321] RPC: Registered named UNIX socket transport module.
[    1.853325] RPC: Registered udp transport module.
[    1.853327] RPC: Registered tcp transport module.
[    1.853329] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.853347] pci 0000:01:00.0: Apply mv9235 specific programming steps
[    1.853438] Trying to unpack rootfs image as initramfs...
[    2.746179] Freeing initrd memory: 3544K (87c89000 - 87fff000)
[    2.746362] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    2.747522] Initialise module verification
[    2.747555] audit: initializing netlink socket (disabled)
[    2.747585] type=2000 audit(2.740:1): initialized
[    2.748541] VFS: Disk quotas dquot_6.5.2
[    2.748583] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.748806] NFS: Registering the id_resolver key type
[    2.748819] Key type id_resolver registered
[    2.748822] Key type id_legacy registered
[    2.748838] msgmni has been set to 2012
[    2.749286] async_tx: api initialized (async)
[    2.749292] Key type asymmetric registered
[    2.749295] Asymmetric key parser 'x509' registered
[    2.749440] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.749445] io scheduler noop registered
[    2.749456] io scheduler cfq registered (default)
[    2.750112] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.750508] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.782009] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[    2.812031] mv_xor f1060800.xor: freeing 1 in use descriptors!
[    2.812039] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( intr crc32c )
[    2.812892] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.851994] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[    2.882016] mv_xor f1060900.xor: freeing 1 in use descriptors!
[    2.882024] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( intr crc32c )
[    2.883260] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.904760] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
[    3.785664] console [ttyS0] enabled
[    3.809589] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
[    3.823908] brd: module loaded
[    3.826977] Loading iSCSI transport class v2.0-870.
[    3.833505] Change defer qc mode on external port for compatibility
[    3.839796] Change defer qc mode on external port for compatibility
[    3.846097] Change defer qc mode on external port for compatibility
[    3.852395] Change defer qc mode on external port for compatibility
[    3.871871] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    3.879997] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.890991] scsi0 : ahci
[    3.893987] scsi1 : ahci
[    3.896866] scsi2 : ahci
[    3.899812] scsi3 : ahci
[    3.902716] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 65
[    3.910143] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 65
[    3.917580] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 65
[    3.925022] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 65
[    4.281776] ata1: SATA link down (SStatus 0 SControl 300)
[    4.287196] ata1: No present pin info for SATA link down event
[    4.641775] ata2: SATA link down (SStatus 0 SControl 300)
[    4.647194] ata2: Disk is not present for SATA link down event
[    5.001776] ata3: SATA link down (SStatus 0 SControl 300)
[    5.007195] ata3: Disk is not present for SATA link down event
[    5.361775] ata4: SATA link down (SStatus 0 SControl 300)
[    5.367194] ata4: Disk is not present for SATA link down event
[    5.373515] ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    5.382351] ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    5.392272] scsi4 : ahci_mv_platform
[    5.396254] scsi5 : ahci_mv_platform
[    5.400172] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
[    5.408144] ata6: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
[    5.761771] ata5: SATA link down (SStatus 0 SControl 300)
[    5.767191] ata5: Disk is not present for SATA link down event
[    6.121770] ata6: SATA link down (SStatus 0 SControl 300)
[    6.127189] ata6: No present pin info for SATA link down event
[    6.135392] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    6.140037] Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
[    6.243212] 6 RedBoot partitions found on MTD device spi0.0
[    6.248807] Creating 6 MTD partitions on "spi0.0":
[    6.253644] 0x000000000000-0x0000000f0000 : "RedBoot"
[    6.259574] 0x0000000f0000-0x0000003c0000 : "zImage"
[    6.265442] 0x0000003c0000-0x0000007d0000 : "rd.gz"
[    6.271109] 0x0000007d0000-0x0000007e0000 : "vendor"
[    6.276484] vender Mac0 address : 00:11:32:88:5d:cb
[    6.281382] vender Mac1 address : 00:11:32:88:5d:cc
[    6.286289] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[    6.292147] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[    6.298003] serial number='1810NWN991200'
[    6.302638] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[    6.309425] 0x0000007f0000-0x000000800000 : "FIS directory"
[    6.318236] SoC: model = 0x6820, revision = 0x4
[    6.322860] mvPncVirtBase = 0xc0c00000, pncTcamSize = 1024
[    6.328366]   o 3 Giga ports supported
[    6.332139]   o SKB recycle supported for SWF (Disabled)
[    6.337470]   o NETA acceleration mode 4
[    6.341405]   o BM supported for CPU: 4 BM pools
[    6.346042]   o PnC supported (Enabled)
[    6.349890]   o RX Queue support: 8 Queues * 512 Descriptors
[    6.355573]   o TX Queue support: 8 Queues * 1024 Descriptors
[    6.361338]   o GSO supported
[    6.364316]   o GRO supported
[    6.367292]   o Receive checksum offload supported
[    6.372102]   o Transmit checksum offload supported
[    6.376996]   o Driver ERROR statistics enabled
[    6.381542]   o Driver INFO statistics enabled
[    6.386003]   o Driver DEBUG statistics enabled
[    6.390548] 
[    6.392921] port #0: is_sgmii=1, is_rgmii=0, phy_addr=1
[    6.398192]   o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800
[    6.406510] 
[    6.408004]   o Port 0 is connected to Linux netdevice
[    6.416646]     o eth0, ifindex = 2, GbE port = 0
[    6.421382]     o eth0, phy chipid = 1410dd0, Support WOL = 32
[    6.430659] 	giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)
[    6.436799] 
[    6.438372] port #2: is_sgmii=1, is_rgmii=0, phy_addr=0
[    6.443626]   o Loading network interface(s) for port #2: cpu_mask=0x3, tx_csum_limit=2048
[    6.451939] 
[    6.453432]   o Port 2 is connected to Linux netdevice
[    6.461948]     o eth1, ifindex = 3, GbE port = 2
[    6.466683]     o eth1, phy chipid = 1410dd0, Support WOL = 32
[    6.475964] 	giga p=2: mtu=1500, mac=00:50:43:02:02:03 (platform)
[    6.482090] 
[    6.483987] libphy: orion_mdio_bus: probed
[    6.492109] mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    6.551910] i2c /dev entries driver
[    7.355542] Syno_HddMon: Initialization completed.
[    7.370416] armada_thermal f10e4078.thermal: Overheat threshold between 92..107
[    7.378375] md: linear personality registered for level -1
[    7.383895] md: raid0 personality registered for level 0
[    7.389228] md: raid1 personality registered for level 1
[    7.394567] md: raid10 personality registered for level 10
[    7.400239] md: raid6 personality registered for level 6
[    7.405582] md: raid5 personality registered for level 5
[    7.410913] md: raid4 personality registered for level 4
[    7.416428] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-devel@redhat.com
[    7.424912] cpuidle: using governor ladder
[    7.429231] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
[    7.438592] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
[    7.447051] mvCesaInit: channels=2, session=640, queue=256
[    7.460704] armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
[    7.470044] cesadev_init(80616ae0)
[    7.474039] TCP: cubic registered
[    7.477369] NET: Registered protocol family 17
[    7.481876] Key type dns_resolver registered
[    7.486223] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    7.493943] Registering suspend init for this board failed
[    7.501510] Loading module verification blacklist certificates
[    7.507400] Loading module verification certificates
[    7.512443] MODSIGN: Loaded cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329'
[    7.526613] MODSIGN: Loaded cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089'
[    7.537034] MODSIGN: Loaded cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28'
[    7.548931] MODSIGN: Loaded cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5'
[    7.559074] registered taskstats version 1
[    7.563236] regulator-dummy: disabling
[    7.567250] Freeing unused kernel memory: 228K (805f8000 - 80631000)
START /linuxrc.syno
Insert basic USB modules...
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore[    7.679472] usbcore: registered new interface driver usbfs
[    7.686002] usbcore: registered new interface driver hub
[    7.695190] usbcore: registered new device driver usb
 ... [  OK  ]
:: Loading module ehci-hcd[    7.724397] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 ... [  OK  ]
:: Loading module xhci-hcd[    7.757430] xhci-hcd f10f0000.usb3: USB2 Vbus gpio 58
[    7.762524] xhci-hcd f10f0000.usb3: power control enabled
[    7.767951] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    7.773304] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    7.780940] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
[    7.787221] hub 1-0:1.0: USB hub found
[    7.790997] hub 1-0:1.0: 1 port detected
[    7.795043] xhci-hcd f10f0000.usb3: USB3 Vbus gpio 58
[    7.800120] xhci-hcd f10f0000.usb3: power control enabled
[    7.805577] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    7.810924] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    7.820732] hub 2-0:1.0: USB hub found
[    7.824533] hub 2-0:1.0: 1 port detected
[    7.828659] xhci-hcd f10f8000.usb3: USB2 Vbus gpio 59
[    7.833751] xhci-hcd f10f8000.usb3: power control enabled
[    7.839178] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    7.844551] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    7.852242] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[    7.858537] hub 3-0:1.0: USB hub found
[    7.862331] hub 3-0:1.0: 1 port detected
[    7.866353] xhci-hcd f10f8000.usb3: USB3 Vbus gpio 59
[    7.871430] xhci-hcd f10f8000.usb3: power control enabled
[    7.876874] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    7.882226] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    7.890450] hub 4-0:1.0: USB hub found
[    7.894259] hub 4-0:1.0: 1 port detected
 ... [  OK  ]
:: Loading module ehci-orion[    7.937726] ehci-orion: EHCI orion driver
[    7.941882] orion-ehci f1058000.usb: failed to get Vbus gpio
[    7.947569] orion-ehci f1058000.usb: USB2 Vbus gpio -1
[    7.952739] orion-ehci f1058000.usb: power control disabled
[    7.958332] orion-ehci f1058000.usb: EHCI Host Controller
[    7.963763] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 5
[    7.971407] orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
[    7.991805] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    7.998238] hub 5-0:1.0: USB hub found
[    8.002060] hub 5-0:1.0: 1 port detected
 ... [  OK  ]
insmod: can't insert '/lib/modules/etxhci-hcd.ko': No such file or directory
Insert net driver([    8.045917] rs816_synobios: module license 'Synology Inc.' taints kernel.
Mindspeed only).[    8.054098] Disabling lock debugging due to kernel taint
..
[    8.061641] Synobios RS816 GPIO initialized
[    8.066051] 2019-1-13 11:29:19 UTC
[    8.069469] synobios: load, major number 201
[    8.073765] Brand: Synology
[    8.076587] Model: RS-816
[    8.079225] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[    8.087714] synobios cpu_arch proc entry initialized
[    8.092701] synobios crypto_hw proc entry initialized
[    8.097773] synobios syno_platform proc entry initialized
[    8.103253] synobios open /dev/ttyS1 success
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[    8.118224] synobios: unload
Exit on error [1] DISK NOT INSTALLED...
Sun Jan 13 11:29:19 UTC 2019
none /sys/kernel/debug debugfs rw,relatime 0 0
sys /sys sysfs rw,relatime 0 0
none /dev devtmpfs rw,relatime,size=513436k,nr_inodes=128359,mode=755 0 0
proc /proc proc rw,relatime 0 0

linuxrc.syno failed on 1

starting pid 901, tty '': '/etc/rc'
:: Starting /etc/rc
:: Mounting procfs ... [  OK  ]
:: Mounting tmpfs ... [  OK  ]
:: Mounting devtmpfs ... [  OK  ]
:: Mounting devpts ... [  OK  ]
:: Mounting sysfs ... [  OK  ]
mdadm: error opening /dev/md1: No such file or directory
rc: Use all internal disk as swap.
rc: No internal disk installed.
swapon: can't stat '/dev/md1': No such file or directory
:: Loading module fat ... [  OK  ]
:: Loading module vfat ... [  OK  ]
:: Loading module synobios[    8.593832] Synobios RS816 GPIO initialized
[    8.598228] 2019-1-13 11:29:19 UTC
[    8.601646] synobios: load, major number 201
[    8.605954] Brand: Synology
[    8.608776] Model: RS-816
[    8.611414] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[    8.619905] synobios cpu_arch proc entry initialized
[    8.624893] synobios crypto_hw proc entry initialized
[    8.629964] synobios syno_platform proc entry initialized
[    8.635441] synobios open /dev/ttyS1 success
 ... [  OK  ]
[    8.767885] eth0: mac address changed
[    8.786463] eth1: mac address changed
[    8.810378] pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[    8.817884] eth0: started
udhcpc (v1.16.1) started
[    9.876118] pool #2: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[    9.883635] eth1: started
udhcpc (v1.16.1) started
eth0      Link encap:Ethernet  HWaddr 00:11:32:88:5D:CB  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 

eth1      Link encap:Ethernet  HWaddr 00:11:32:88:5D:CC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

:: Starting syslogd ... [  OK  ]
/etc/rc: line 262: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
:: Starting services in background
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/bin/minissdpd -i eth0 -i eth1
eth0 not RUNNING
eth1 not RUNNING
Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh...
Starting synoagentregisterd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
cat: can't open '/sys/block/sd*/device//model': No such file or directory
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf
:: Loading module usb-storage[   18.236645] usbcore: registered new interface driver usb-storage
 ... [  OK  ]
============ Date ============
Sun Jan 13 11:2
Sun Jan 13 11:29:29 2019


RackStation login:

help

Marvell>> help
?       - alias for 'help'
Creset  - Creset	- Run 'reset' or boot command in a loop, while counting.

SatR    - Sample At Reset sub-system
WOLTest - WOLTest       - Wake On Lan u-boot testing

active_units- print active units on board
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
bootz   - boot Linux zImage image from memory
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
cpss_env- set cpss environment variables permanently

crc32   - checksum calculation
date    - get/set/reset date & time
ddrPhyRead- ddrPhyRead - Read DDR PHY register

ddrPhyWrite- ddrPhyWrite - Write DDR PHY register

dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- diskboot- boot from IDE device

dma     - dma	- Perform DMA using the XOR engine

echo    - echo args to console
editenv - edit environment variable
eeprom  - EEPROM sub-system
env     - environment handling commands
exit    - exit script
false   - do nothing, unsuccessfully
fdt     - flattened device tree utility commands
flash_part_print- flash_part_print  - print spi/nand FLASH memory information

go      - start application at address 'addr'
help    - print command description/usage
i2c     - I2C sub-system
ide     - ide     - IDE sub-system

iminfo  - print header information for application image
imxtract- extract a part of a multi-image
ir      - ir	- reading and changing MV internal register values.

itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
map     - map	- Display address decode windows

md      - memory display
me      - me	- PCIe master enable

mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mp      - mp	- map PCIe BAR

mtdburn - Burn a Linux image and Filesystem` on the NAND/SPI flash.

mtest   - simple RAM read/write test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
pciePhyRead- phyRead	- Read PCI-E Phy register

pciePhyWrite- pciePhyWrite	- Write PCI-E Phy register

phyRead - phyRead	- Read Phy register

phyWrite- phyWrite	- Write Phy register

ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe     - commands to get and boot from pxe files
qsgmii_sel-  Select SFP or QSGMII modes on bc2.

rcvr    - rcvr	- Start recovery process (with TFTP server)

reset   - Perform RESET of the CPU
resetenv- resetenv	- Erase environment sector to reset all variables to default.

run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
scsi    - SCSI sub-system
scsiboot- boot from SCSI device
se      - se	- PCIe Slave enable

setenv  - set environment variables
sf      - SPI flash sub-system
sg      - sg	- scanning the PHYs status

showvar - print local hushshell variables
sleep   - delay execution for some time
smiscan - smiscan - Scan for marvell smi devices.

source  - run script from memory
sp      - scan and detect all devices on PCI-e interface
sspi    - SPI utility command
switchCountersRead- switchCntPrint	- Read switch port counters.

switchPhyRegRead- - Read switch register

switchPhyRegWrite- - Write switch register

switchRegRead- switchRegRead	- Read switch register

switchRegWrite- switchRegWrite	- Write switch register

syno_pwoff- syno_pwoff    - bring the system down

syno_up - syno_up       - Send a character to microp

sysboot - command to get and boot from syslinux files
temp    - temp	- Display the device temperature.

tempCmd0- tempCmd - This command allocated for monitor extinction

tempCmd1- tempCmd - This command allocated for monitor extinction

tempCmd2- tempCmd - This command allocated for monitor extinction

tempCmd3- tempCmd - This command allocated for monitor extinction

test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
training- training	- prints the results of the DDR3 Training.

trainingStability- training	- prints the results of the DDR3 Training.

true    - do nothing, successfully
ts_report- ts_report	- report touch screen coordinate

ts_test - ts_test	- test touch screen

usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
whoAmI  - - reading CPU ID

Marvell>>
Re: Debian on Synology RS816 (Armada 385)
January 13, 2019 10:03AM
zifxify,

Most likely you can boot with the rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2. See my kernel and rootfs release thread:

https://forum.doozan.com/read.php?2,32146

You have the Armada 385. And this u-boot certainly can boot the rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 on Armada 385 boxes.

U-Boot 2013.01-g74a026b-dirty (Dec 30 2015 - 14:40:58) Marvell version: 2015_T1.0p16

Board: SYNO-RS816
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE

Quote

I do not have a dts file either for the device.

I need to look at the available DTS (from my patch, and mainline source) to see which one is the closest that you can use,

If the candidate DTS is not a close match, then it should be stripped down to what you can use for this Synology RS816 box. And then we'll fill in the rest with info that can be found from GPL source released by Synology. I think you can find GPL source from their website.

So the first thing you should start is to create the rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 on USB flash drive following the instruction in my release thread.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 13, 2019 11:02AM
I created the rootfs on a ESATA and USB compatible stick. Booting from Esata would also be nice if supported I guess :)

Could it be possible that this is already done when unpacking the rootfs as there is already an zImage ?

cp -a zImage-4.12.4-mvebu-tld-1 zImage

Next trying some env bootargs but ext2load seems not to be supported ("unknown command") or am I doing something wrong ?
Re: Debian on Synology RS816 (Armada 385)
January 13, 2019 11:06AM
output of USB start, (USB stick is plugged in)

Marvell>> usb start
(Re)start USB...
USB0:   
Error: requested 'usbActive' (0) is not connected on current board


         Supported Units:

        USB2.0: 1 ports: set usbType = 2 --> EHCI Stack will be used
        USB3.0: 2 ports: set usbType = 3 --> xHCI Stack will be used
lowlevel init failed
USB error: all controllers failed lowlevel init
Re: Debian on Synology RS816 (Armada 385)
January 13, 2019 10:11PM
zifxify,

Quote

Could it be possible that this is already done when unpacking the rootfs as there is already an zImage ?

cp -a zImage-4.12.4-mvebu-tld-1 zImage

No, the zImage is the Linux kernel image. It meant to be used with a DTB that is specific to this box. The /boot/dts in this rootfs contains several DTBs, each of those DTBs is specific to an Armada box.


Quote

Marvell>> usb start
(Re)start USB...
USB0:
Error: requested 'usbActive' (0) is not connected on current board


Supported Units:

USB2.0: 1 ports: set usbType = 2 --> EHCI Stack will be used
USB3.0: 2 ports: set usbType = 3 --> xHCI Stack will be used
lowlevel init failed
USB error: all controllers failed lowlevel init

At u-boot prompt, try

setenv usbActive 1
usb reset

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 13, 2019 11:28PM
Quote

spi_pt_addr_dt=0x0E0000


The stock DTB is stored at this location (we could extract that). However, I would prefer to see the GPL source for that blob.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 14, 2019 12:57PM
Hi Bodhi

Quote

At u-boot prompt, try

setenv usbActive 1
usb reset

Not much progress, still the same error as the above one.

Quote


spi_pt_addr_dt=0x0E0000


The stock DTB is stored at this location (we could extract that).

that's something good I suppose, let me know how to extract it and I will upload it to you

Do you have some advice about the right boot params for this device.
I'm looking at the Thecus N2350 forum thread, for the params, do they apply also to the rs816 armada device ?
Re: Debian on Synology RS816 (Armada 385)
January 14, 2019 01:07PM
Marvell>> setenv usb 'setenv usbActive 1; setenv usbType 3; usb start;'                
Marvell>> run usb                                                      
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 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

small progress :)



Edited 1 time(s). Last edit at 01/14/2019 01:30PM by zifxify.
Re: Debian on Synology RS816 (Armada 385)
January 14, 2019 08:36PM
Synology source code appears to be available at https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/.

Ray
Re: Debian on Synology RS816 (Armada 385)
January 14, 2019 09:53PM
zifxify,

> scanning usb for storage devices... 1
> Storage Device(s) found

Ok, so try to list the boot folder to verify.

ext2ls usb 0:1 /boot

Update:
It seems neither ext2ls or ext2load is available, but try it anyway.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/14/2019 09:55PM by bodhi.
Re: Debian on Synology RS816 (Armada 385)
January 14, 2019 09:57PM
> Synology source code appears to be available at
> https://sourceforge.net/projects/dsgpl/files/Synology
> NAS GPL Source/.

Thanks Ray!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 02:21AM
Quote

> https://sourceforge.net/projects/dsgpl/files/Synology
> NAS GPL Source/.

The GPL source folder is quite old (2107). While this box uses a later built kernel

Quote

[ 0.000000] Linux version 3.10.105 (root@build4) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #23824 SMP Tue Dec 25 18:23:47 CST 2018
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: Synology RS816

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 03:04AM
Quote

Ok, so try to list the boot folder to verify.

ext2ls usb 0:1 /boot

as stated by you: neither of the commands seems to be supported by this u-boot version

ext2load ext2ls fatload

should uploading another u-boot version with kwboot be possible ?
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 03:32AM
zifxify,


> should uploading another u-boot version with
> kwboot be possible ?

Yes. Try finding u-boot image at the Synology website for this box (probably in the DMS updates ) and kwboot that. It's very important to do anyway. Perhaps it is in here somewhere:

https://sourceforge.net/projects/dsgpl/files/DSM%206.1%20Tool%20Chains/Marvell%20Armada%2038x%20Linux%203.10.102/


If you can't find u-boot image then we would need to compile from source. This looks like the most recent u-boot source for a38x:
https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/22259branch/armada38x-source/u-boot-1.3.3.txz

Once you can kwboot a u-boot that is different from what in flash, you can be assured that there is a recovery mechamism if things go bad. And can modify the USB subsystem to allow loading from USB storage drive.

With that said, knowing Synology DMS is better than other NAS, I think possible there is a USB recovery process that you can use to load different u-boot too.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 10:46AM
I have found a uboot_RS816.bin image after extracting the dsm pat file but kwboot seems no success so I think it's not supported either.

sudo kwboot -t -B 115200 /dev/ttyS0 -b uboot_RS816.bin -s 0 -q 1

I'm using a debian 32bit laptop with serial port and kwboot from u-boot-tools.
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 11:22AM
zifxify Wrote:
-------------------------------------------------------
> I have found a uboot_RS816.bin image after
> extracting the dsm pat file but kwboot seems no
> success so I think it's not supported either.
>
>
> sudo kwboot -t -B 115200 /dev/ttyS0 -b
> uboot_RS816.bin -s 0 -q 1
>
>
> I'm using a debian 32bit laptop with serial port
> and kwboot from u-boot-tools.

Try kwboot with -p option. That image should be a flash-ready image (unless the documentation describes it as UART-bootable).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 11:33AM
Quote

Try kwboot with -p option. That image should be a flash-ready image (unless the documentation describes it as UART-bootable).

sudo kwboot -t -B 115200 /dev/ttyS0 -b uboot_RS816.bin -p -s 0 -q 1


nothing seems to happen
Re: Debian on Synology RS816 (Armada 385)
January 15, 2019 10:00PM
zifxify,

1. If your laptop is ARM 32, try this version:

https://forum.doozan.com/read.php?3,69499,72534#msg-72534

And don't use option -s -q

sudo kwboot -t -B 115200 /dev/ttyS0 -b uboot_RS816.bin -p


2. If it still fail to connect with the latest kwboot, try using the download serial script in my released tarball for updated Thecus N2350 u-boot:

https://forum.doozan.com/read.php?2,50829,73124#msg-73124

You would run it this way:
./download-serial.sh /dev/ttyUSB0 uboot_RS816.bin

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 01:46AM
Hey, while there’s no extload commands there is tftpboot, have you tried loading the kernel from a tftp server?

Once the kernel boots the USB controller may come up.
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 02:12AM
> Once the kernel boots the USB controller may come
> up.

Yes of course it will, with the right DTB. But one thing at a time :)

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 04:41AM
zifxify,

Back to USB issue.

At u-boot prompt

mw 0xf10a2620 0x251
mw 0xf10a2e20 0x251
usb xhciinit

And then if the USB drive is not initialized, go ahead and start it:

usb start

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 07:52AM
Quote

zifxify,

Back to USB issue.

At u-boot prompt

mw 0xf10a2620 0x251
mw 0xf10a2e20 0x251
usb xhciinit


And then if the USB drive is not initialized, go ahead and start it:

usb start

Marvell>> mw 0xf10a2620 0x251
Marvell>> mw 0xf10a2e20 0x251
Marvell>> usb xhciinit
(Re)start USB controller...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 08:32AM
Ok let’s keep the way you got it working for USB.

The stock kernel DTB mtds seems wrong. But I will be back with some preliminary boot envs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 09:38AM
Quote

Hey, while there’s no extload commands there is tftpboot, have you tried loading the kernel from a tftp server?

I'm getting following output

Marvell>> setenv ipaddr 172.16.10.150
Marvell>> setenv serverip 172.16.10.18
Marvell>> tftpboot 
*** Warning: no boot file name; using 'AC100A96.img'
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'AC100A96.img'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #############################################
         2.5 MiB/s
done
Bytes transferred = 2558520 (270a38 hex)

Marvell>> bootm
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.10.105
   Created:      2018-10-26  10:32:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2558456 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
no ATAGS support: can't continue
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 10:13AM
Marvell>> tftpboot 0x2000000 uImage-D
Using egiga0 device
TFTP from server 172.16.10.18; our IP address is 172.16.10.150
Filename 'uImage-D'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############
         5.1 MiB/s
done
Bytes transferred = 4021360 (3d5c70 hex)
Marvell>> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:09:57 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4021296 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000210).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Marvell Armada 39x (Device Tree)
ffffffff        Marvell Armada 380/385 (Device Tree)
ffffffff        Marvell Armada 375 (Device Tree)
ffffffff        Marvell Armada 370/XP (Device Tree)
ffffffff        Marvell Dove

Please check your kernel config and/or bootloader.
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 10:17AM
zifxify,

To run tftpboot, you need to place the kernel files in tftproot folder. This tftproot folder must be provided by tftpserver on another Linux box.

See this example:

https://forum.doozan.com/read.php?3,28772,29034#msg-29034

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 10:18AM
bodhi Wrote:

> But I will
> be back with some preliminary boot envs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Synology RS816 (Armada 385)
January 16, 2019 11:00PM
Here is the set of boot envs. Please try.

With the USB rootfs Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 plugged in. Power up. Interrupt serial console, and,

setenv usb_setup 'setenv usbActive 1; setenv usbType 3; usb start;'                
setenv load_dtb_addr 0x1000000
setenv load_initrd_addr 0x3000000
setenv load_image_addr 0x02000000
setenv load_image 'echo loading zImage ...; ext2load usb 0:1 $load_image_addr /boot/zImage'
setenv load_initrd 'echo loading uInitrd ...; ext2load usb 0:1 $load_initrd_addr /boot/uInitrd'
setenv load_dtb 'echo loading DTB from flash ...; sf probe 0 50000000; sf read $load_dtb_addr $spi_pt_addr_dt $spi_pt_size_dt'
setenv set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"'
setenv bootcmd_exec 'echo Booting Debian . . .; run usb_setup;  run set_bootargs; setenv fdt_skip_update yes; setenv initrd_high 0xffffffff; run load_image; run load_initrd; run load_dtb; bootz $load_image_addr $load_initrd_addr $load_dtb_addr'
setenv bootcmd 'mw 0xf10a2620 0x251;mw 0xf10a2e20 0x251;usb xhciinit; run bootcmd_exec; run bootspi'

And then

boot

Please post the entire serial console log.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 01/16/2019 11:16PM by bodhi.
Re: Debian on Synology RS816 (Armada 385)
January 17, 2019 10:37AM
I think, I did something wrong with the zImage but I just followed the instructions -> cp -a zImage-4.12.4-mvebu-tld-1 zImage

Marvell>> boot
(Re)start USB controller...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
USB1:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
Booting Debian . . .
(Re)start USB...
USB0:   Port (usbActive) : 1	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading zImage ...
Unknown command 'ext2load' - try 'help'
loading uInitrd ...
Unknown command 'ext2load' - try 'help'
loading DTB from flash ...
SF: Detected N25Q64 with page size 64 KiB, total 8 MiB
Bad Linux ARM zImage magic!
SF: Detected N25Q64 with page size 64 KiB, total 8 MiB
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.10.105
   Created:      2018-12-25  10:24:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2558456 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   synology_armada38x_rs816 23824
   Created:      2018-12-25  10:50:38 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    3632827 Bytes = 3.5 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   Loading Kernel Image ... OK
OK
   Loading Device Tree to 00ff9000, end 00fffa9b ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.105 (root@build4) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #23824 SMP Tue Dec 25 18:23:47 CST 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: Synology RS816
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] PERCPU: Embedded 7 pages/cpu @80eda000 s7168 r8192 d13312 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x3000000 root=/dev/md0 rw HddHotplug=4 sata_remap=0>4:4>0 syno_hw_version=RS816 hd_power_on_seq=4 ihd_num=4 netif_num=2 syno_hdd_detect=39,39,39,39 syno_hdd_enable=37,37,37,37 flash_size=8
[    0.000000] Support HDD Hotplug.
[    0.000000] SYNO: sata remap initialized
[    0.000000] Synology Hardware Version: RS816-j
[    0.000000] Internal HD num: 4
[    0.000000] Internal netif num: 2
[    0.000000] SYNO GPIO hdd detect pin: 39 39 39 39 
[    0.000000] SYNO GPIO hdd enable pin: 37 37 37 37 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 1026876k/1026876k available, 21700k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xfff00000   (1015 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x805f7078   (6077 kB)
[    0.000000]       .init : 0x805f8000 - 0x80631c00   ( 231 kB)
[    0.000000]       .data : 0x80632000 - 0x80668a40   ( 219 kB)
[    0.000000]        .bss : 0x80668a40 - 0x806cec84   ( 409 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] 
[    0.000000]   LSP version: linux-3.10.70-2015_T1.1p7
[    0.000000] 
[    0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
[    0.000334] Calibrating delay loop... 3719.16 BogoMIPS (lpj=18595840)
[    0.060016] pid_max: default: 32768 minimum: 301
[    0.060054] Security Framework initialized
[    0.060061] AppArmor: AppArmor initialized
[    0.060075] Mount-cache hash table entries: 512
[    0.060335] Initializing cgroup subsys memory
[    0.060347] Disabling memory control group subsystem
[    0.060350] Initializing cgroup subsys devices
[    0.060353] Initializing cgroup subsys freezer
[    0.060356] Initializing cgroup subsys blkio
[    0.060374] CPU: Testing write buffer coherency: ok
[    0.060462] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060465] Calibrating local timer... 933.17MHz.
[    0.120037] Setting up static identity map for 0x8047a190 - 0x8047a1e8
[    0.120138] mvebu-pmsu: Initializing Power Management Service Unit
[    0.120163] Initializing CPU Reset module
[    0.120649] CPU1: Booted secondary processor
[    0.180033] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.180077] Brought up 2 CPUs
[    0.180084] SMP: Total of 2 processors activated (7445.70 BogoMIPS).
[    0.180086] CPU: All CPU(s) started in SVC mode.
[    0.180307] devtmpfs: initialized
[    0.182061] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.182201] xor: measuring software checksum speed
[    0.279993]    arm4regs  :  3314.800 MB/sec
[    0.379976]    8regs     :  2284.400 MB/sec
[    0.479958]    32regs    :  2324.000 MB/sec
[    0.479961] xor: using function: arm4regs (3314.800 MB/sec)
[    0.479965] pinctrl core: initialized pinctrl subsystem
[    0.480177] regulator-dummy: no parameters
[    0.480297] NET: Registered protocol family 16
[    0.480732] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.482359] irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
[    0.482628] irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
[    0.484717] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.484721] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.490339] bio: create slab <bio-0> at 0
[    0.660024] raid6: int32x1  gen()   279 MB/s
[    0.830005] raid6: int32x1  xor()   229 MB/s
[    0.999936] raid6: int32x2  gen()   384 MB/s
[    1.169940] raid6: int32x2  xor()   260 MB/s
[    1.339821] raid6: int32x4  gen()   384 MB/s
[    1.509825] raid6: int32x4  xor()   276 MB/s
[    1.679811] raid6: int32x8  gen()   425 MB/s
[    1.849775] raid6: int32x8  xor()   272 MB/s
[    1.849777] raid6: using algorithm int32x8 gen() (425 MB/s)
[    1.849779] raid6: .... xor() 272 MB/s, rmw enabled
[    1.849781] raid6: using intx1 recovery algorithm
[    1.849916] mvebu-pcie pcie-controller.3: PCIe1.0: link up
[    1.850006] mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
[    1.850013] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.850018] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.850022] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.850129] PCI: bus0: Fast back to back transfers disabled
[    1.850135] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.850380] PCI: bus1: Fast back to back transfers disabled
[    1.850411] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    1.850415] pci 0000:00:02.0: BAR 7: assigned [io  0x10000-0x10fff]
[    1.850421] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    1.850425] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff]
[    1.850430] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1001f]
[    1.850435] pci 0000:01:00.0: BAR 0: assigned [io  0x10020-0x10027]
[    1.850439] pci 0000:01:00.0: BAR 2: assigned [io  0x10028-0x1002f]
[    1.850444] pci 0000:01:00.0: BAR 1: assigned [io  0x10030-0x10033]
[    1.850448] pci 0000:01:00.0: BAR 3: assigned [io  0x10034-0x10037]
[    1.850453] pci 0000:00:02.0: PCI bridge to [bus 01]
[    1.850457] pci 0000:00:02.0:   bridge window [io  0x10000-0x10fff]
[    1.850467] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.850474] PCI: enabling device 0000:00:02.0 (0140 -> 0143)
[    1.850883] SCSI subsystem initialized
[    1.851741] Switching to clocksource armada_370_xp_clocksource
[    1.851890] AppArmor: AppArmor Filesystem Enabled
[    1.852727] NET: Registered protocol family 2
[    1.852983] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    1.853039] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.853091] TCP: Hash tables configured (established 8192 bind 8192)
[    1.853122] TCP: reno registered
[    1.853128] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.853143] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.853226] NET: Registered protocol family 1
[    1.853350] RPC: Registered named UNIX socket transport module.
[    1.853354] RPC: Registered udp transport module.
[    1.853356] RPC: Registered tcp transport module.
[    1.853358] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.853376] pci 0000:01:00.0: Apply mv9235 specific programming steps
[    1.853470] Trying to unpack rootfs image as initramfs...
[    2.755942] Freeing initrd memory: 3540K (83001000 - 83376000)
[    2.756127] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    2.757277] Initialise module verification
[    2.757304] audit: initializing netlink socket (disabled)
[    2.757336] type=2000 audit(2.750:1): initialized
[    2.758285] VFS: Disk quotas dquot_6.5.2
[    2.758329] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.758553] NFS: Registering the id_resolver key type
[    2.758569] Key type id_resolver registered
[    2.758572] Key type id_legacy registered
[    2.758588] msgmni has been set to 2012
[    2.759028] async_tx: api initialized (async)
[    2.759033] Key type asymmetric registered
[    2.759036] Asymmetric key parser 'x509' registered
[    2.759180] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    2.759185] io scheduler noop registered
[    2.759197] io scheduler cfq registered (default)
[    2.759855] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.760253] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.792077] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[    2.821998] mv_xor f1060800.xor: freeing 1 in use descriptors!
[    2.822006] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( intr crc32c )
[    2.822861] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.861983] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr pq )
[    2.892022] mv_xor f1060900.xor: freeing 1 in use descriptors!
[    2.892030] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( intr crc32c )
[    2.893263] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.914786] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
[    3.795689] console [ttyS0] enabled
[    3.819607] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
[    3.833972] brd: module loaded
[    3.837041] Loading iSCSI transport class v2.0-870.
[    3.843573] Change defer qc mode on external port for compatibility
[    3.849864] Change defer qc mode on external port for compatibility
[    3.856167] Change defer qc mode on external port for compatibility
[    3.862468] Change defer qc mode on external port for compatibility
[    3.881861] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    3.889986] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.901017] scsi0 : ahci
[    3.904018] scsi1 : ahci
[    3.906901] scsi2 : ahci
[    3.909849] scsi3 : ahci
[    3.912759] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 65
[    3.920187] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 65
[    3.927624] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 65
[    3.935066] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 65
[    4.291769] ata1: SATA link down (SStatus 0 SControl 300)
[    4.297190] ata1: No present pin info for SATA link down event
[    4.651767] ata2: SATA link down (SStatus 0 SControl 300)
[    4.657186] ata2: Disk is not present for SATA link down event
[    5.011770] ata3: SATA link down (SStatus 0 SControl 300)
[    5.017190] ata3: Disk is not present for SATA link down event
[    5.371767] ata4: SATA link down (SStatus 0 SControl 300)
[    5.377186] ata4: Disk is not present for SATA link down event
[    5.383496] ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    5.392330] ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    5.402251] scsi4 : ahci_mv_platform
[    5.406255] scsi5 : ahci_mv_platform
[    5.410196] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
[    5.418156] ata6: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
[    5.771764] ata5: SATA link down (SStatus 0 SControl 300)
[    5.777184] ata5: Disk is not present for SATA link down event
[    6.131763] ata6: SATA link down (SStatus 0 SControl 300)
[    6.137182] ata6: No present pin info for SATA link down event
[    6.145393] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    6.150039] Searching for RedBoot partition table in spi0.0 at offset 0x7f0000
[    6.253217] 6 RedBoot partitions found on MTD device spi0.0
[    6.258811] Creating 6 MTD partitions on "spi0.0":
[    6.263648] 0x000000000000-0x0000000f0000 : "RedBoot"
[    6.269583] 0x0000000f0000-0x0000003c0000 : "zImage"
[    6.275424] 0x0000003c0000-0x0000007d0000 : "rd.gz"
[    6.281114] 0x0000007d0000-0x0000007e0000 : "vendor"
[    6.286487] vender Mac0 address : 00:11:32:88:5d:cb
[    6.291386] vender Mac1 address : 00:11:32:88:5d:cc
[    6.296293] vender Mac2 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[    6.302151] vender Mac3 doesn't set ucSum:0x00 Buf:0x00 Sum:0.
[    6.308006] serial number='1810NWN991200'
[    6.312633] 0x0000007e0000-0x0000007f0000 : "RedBoot Config"
[    6.319424] 0x0000007f0000-0x000000800000 : "FIS directory"
[    6.328262] SoC: model = 0x6820, revision = 0x4
[    6.332884] mvPncVirtBase = 0xc0c00000, pncTcamSize = 1024
[    6.338390]   o 3 Giga ports supported
[    6.342158]   o SKB recycle supported for SWF (Disabled)
[    6.347490]   o NETA acceleration mode 4
[    6.351425]   o BM supported for CPU: 4 BM pools
[    6.356062]   o PnC supported (Enabled)
[    6.359910]   o RX Queue support: 8 Queues * 512 Descriptors
[    6.365592]   o TX Queue support: 8 Queues * 1024 Descriptors
[    6.371359]   o GSO supported
[    6.374338]   o GRO supported
[    6.377314]   o Receive checksum offload supported
[    6.382123]   o Transmit checksum offload supported
[    6.387017]   o Driver ERROR statistics enabled
[    6.391562]   o Driver INFO statistics enabled
[    6.396022]   o Driver DEBUG statistics enabled
[    6.400567] 
[    6.402935] port #0: is_sgmii=1, is_rgmii=0, phy_addr=1
[    6.408205]   o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800
[    6.416524] 
[    6.418019]   o Port 0 is connected to Linux netdevice
[    6.426646]     o eth0, ifindex = 2, GbE port = 0
[    6.431383]     o eth0, phy chipid = 1410dd0, Support WOL = 32
[    6.440661] 	giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)
[    6.446799] 
[    6.448373] port #2: is_sgmii=1, is_rgmii=0, phy_addr=0
[    6.453626]   o Loading network interface(s) for port #2: cpu_mask=0x3, tx_csum_limit=2048
[    6.461936] 
[    6.463430]   o Port 2 is connected to Linux netdevice
[    6.472007]     o eth1, ifindex = 3, GbE port = 2
[    6.476743]     o eth1, phy chipid = 1410dd0, Support WOL = 32
[    6.486023] 	giga p=2: mtu=1500, mac=00:50:43:02:02:03 (platform)
[    6.492148] 
[    6.494055] libphy: orion_mdio_bus: probed
[    6.502191] mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    6.571904] i2c /dev entries driver
[    7.375560] Syno_HddMon: Initialization completed.
[    7.390436] armada_thermal f10e4078.thermal: Overheat threshold between 92..107
[    7.398263] md: linear personality registered for level -1
[    7.403785] md: raid0 personality registered for level 0
[    7.409118] md: raid1 personality registered for level 1
[    7.414457] md: raid10 personality registered for level 10
[    7.420129] md: raid6 personality registered for level 6
[    7.425471] md: raid5 personality registered for level 5
[    7.430803] md: raid4 personality registered for level 4
[    7.436315] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-devel@redhat.com
[    7.444798] cpuidle: using governor ladder
[    7.449116] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
[    7.458473] armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
[    7.466935] mvCesaInit: channels=2, session=640, queue=256
[    7.480565] armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
[    7.489902] cesadev_init(80616ae0)
[    7.493904] TCP: cubic registered
[    7.497234] NET: Registered protocol family 17
[    7.501736] Key type dns_resolver registered
[    7.506093] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    7.513814] Registering suspend init for this board failed
[    7.521420] Loading module verification blacklist certificates
[    7.527306] Loading module verification certificates
[    7.532343] MODSIGN: Loaded cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329'
[    7.546511] MODSIGN: Loaded cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089'
[    7.556931] MODSIGN: Loaded cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28'
[    7.568834] MODSIGN: Loaded cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5'
[    7.578976] registered taskstats version 1
[    7.583137] regulator-dummy: disabling
[    7.587139] Freeing unused kernel memory: 228K (805f8000 - 80631000)
START /linuxrc.syno
Insert basic USB modules...
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore[    7.699412] usbcore: registered new interface driver usbfs
[    7.706715] usbcore: registered new interface driver hub
[    7.715270] usbcore: registered new device driver usb
 ... [  OK  ]
:: Loading module ehci-hcd[    7.744541] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 ... [  OK  ]
:: Loading module xhci-hcd[    7.777788] xhci-hcd f10f0000.usb3: USB2 Vbus gpio 58
[    7.782904] xhci-hcd f10f0000.usb3: power control enabled
[    7.788327] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    7.793677] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    7.801356] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
[    7.807913] hub 1-0:1.0: USB hub found
[    7.811690] hub 1-0:1.0: 1 port detected
[    7.815755] xhci-hcd f10f0000.usb3: USB3 Vbus gpio 58
[    7.820833] xhci-hcd f10f0000.usb3: power control enabled
[    7.826281] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    7.831628] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    7.841361] hub 2-0:1.0: USB hub found
[    7.845178] hub 2-0:1.0: 1 port detected
[    7.849262] xhci-hcd f10f8000.usb3: USB2 Vbus gpio 59
[    7.854356] xhci-hcd f10f8000.usb3: power control enabled
[    7.859782] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    7.865144] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    7.872835] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[    7.879134] hub 3-0:1.0: USB hub found
[    7.882929] hub 3-0:1.0: 1 port detected
[    7.886965] xhci-hcd f10f8000.usb3: USB3 Vbus gpio 59
[    7.892051] xhci-hcd f10f8000.usb3: power control enabled
[    7.897480] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    7.902858] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    7.911103] hub 4-0:1.0: USB hub found
[    7.914921] hub 4-0:1.0: 1 port detected
 ... [  OK  ]
:: Loading module ehci-orion[    7.959771] ehci-orion: EHCI orion driver
[    7.963911] orion-ehci f1058000.usb: failed to get Vbus gpio
[    7.969597] orion-ehci f1058000.usb: USB2 Vbus gpio -1
[    7.974774] orion-ehci f1058000.usb: power control disabled
[    7.980368] orion-ehci f1058000.usb: EHCI Host Controller
[    7.985806] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 5
[    7.993452] orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
[    8.011786] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    8.018262] hub 5-0:1.0: USB hub found
[    8.022061] hub 5-0:1.0: 1 port detected
 ... [  OK  ]
insmod: can't insert '/lib/modules/etxhci-hcd.ko': No such file or directory
Insert net driver([    8.064489] rs816_synobios: module license 'Synology Inc.' taints kernel.
Mindspeed only).[    8.072668] Disabling lock debugging due to kernel taint
..
[    8.079916] Synobios RS816 GPIO initialized
[    8.084325] 2019-1-17 17:28:27 UTC
[    8.087743] synobios: load, major number 201
[    8.092049] Brand: Synology
[    8.094872] Model: RS-816
[    8.097509] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[    8.106004] synobios cpu_arch proc entry initialized
[    8.110987] synobios crypto_hw proc entry initialized
[    8.116064] synobios syno_platform proc entry initialized
[    8.121547] synobios open /dev/ttyS1 success
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[    8.136681] synobios: unload
Exit on error [1] DISK NOT INSTALLED...
Thr Jan 17 17:28:27 UTC 2019
none /sys/kernel/debug debugfs rw,relatime 0 0
sys /sys sysfs rw,relatime 0 0
none /dev devtmpfs rw,relatime,size=513436k,nr_inodes=128359,mode=755 0 0
proc /proc proc rw,relatime 0 0

linuxrc.syno failed on 1

starting pid 901, tty '': '/etc/rc'
:: Starting /etc/rc
:: Mounting procfs ... [  OK  ]
:: Mounting tmpfs ... [  OK  ]
:: Mounting devtmpfs ... [  OK  ]
:: Mounting devpts ... [  OK  ]
:: Mounting sysfs ... [  OK  ]
mdadm: error opening /dev/md1: No such file or directory
rc: Use all internal disk as swap.
rc: No internal disk installed.
swapon: can't stat '/dev/md1': No such file or directory
:: Loading module fat ... [  OK  ]
:: Loading module vfat ... [  OK  ]
:: Loading module synobios[    8.612394] Synobios RS816 GPIO initialized
[    8.616787] 2019-1-17 17:28:27 UTC
[    8.620206] synobios: load, major number 201
[    8.624516] Brand: Synology
[    8.627338] Model: RS-816
[    8.629975] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[    8.638470] synobios cpu_arch proc entry initialized
[    8.643458] synobios crypto_hw proc entry initialized
[    8.648529] synobios syno_platform proc entry initialized
[    8.654009] synobios open /dev/ttyS1 success
 ... [  OK  ]
[    8.785794] eth0: mac address changed
[    8.804356] eth1: mac address changed
[    8.827955] pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[    8.835429] eth0: link up
[    8.838109] eth0: started
udhcpc (v1.16.1) started
[    9.171770] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    9.916198] pool #2: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
[    9.923706] eth1: started
udhcpc (v1.16.1) started
eth0      Link encap:Ethernet  HWaddr 00:11:32:88:5D:CB  
          inet addr:172.16.10.22  Bcast:172.16.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:746 (746.0 B)  TX bytes:1480 (1.4 KiB)
          Interrupt:193 

eth1      Link encap:Ethernet  HWaddr 00:11:32:88:5D:CC  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

:: Starting syslogd ... [  OK  ]
/etc/rc: line 262: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
:: Starting services in background
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/bin/minissdpd -i eth0 -i eth1
(15): upnp:rootdevice
(51): uuid:upnp_SynologyNAS-001132885dcb::upnp:rootdevice
(56): Synology/synology_armada38x_rs816/6.2-23824/172.16.10.22
(45): http://172.16.10.22:5000/description-eth0.xml
Connected.
done.
/usr/syno/bin/reg_ssdp_service 172.16.10.22 001132885dcb 6.2-23824 synology_armada38x_rs816 eth0
eth1 not RUNNING
Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh...
Starting synoagentregisterd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
cat: can't open '/sys/block/sd*/device//model': No such file or directory
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf
:: Loading module usb-storage[   18.276890] usb-storage 1-1:1.0: USB Mass Storage device detected
[   18.283353] scsi6 : usb-storage 1-1:1.0
[   18.288891] usbcore: registered new interface driver usb-storage
 ... [  OK  ]
============ Date ============
Thr Jan 17 17:2[   19.431781] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
[   19.451914] xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep bc532a40
[   19.460392] xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep bc532a6c

Thu Jan 17 17:28:37 2019


RackStation login: [   19.482015] scsi 6:0:0:0: Direct-Access                                        Dev PQ: 0 ANSI: 0 CCS
[   19.493314] sd 6:0:0:0: [sdq] 63062016 512-byte logical blocks: (32.2 GB/30.0 GiB)
[   19.501933] sd 6:0:0:0: [sdq] Write Protect is off
[   19.507698] sd 6:0:0:0: [sdq] Asking for cache data failed
[   19.513252] sd 6:0:0:0: [sdq] Assuming drive cache: write through
[   19.520408] sd 6:0:0:0: [sdq] Asking for cache data failed
[   19.525941] sd 6:0:0:0: [sdq] Assuming drive cache: write through
[   19.532459]  sdq: sdq1
[   19.535962] sd 6:0:0:0: [sdq] Asking for cache data failed
[   19.541477] sd 6:0:0:0: [sdq] Assuming drive cache: write through
[   19.547644] sd 6:0:0:0: [sdq] Attached SCSI disk


RackStation login: 
Re: Debian on Synology RS816 (Armada 385)
January 17, 2019 10:56AM
This are all the commands I used to generate the rootfs system.

sudo parted --script /dev/sdX \ mklabel msdos \ mkpart primary ext3 1MiB 100%
sudo mkfs.ext3 -L rootfs /dev/sdX1

ROOTFSDIR=$(mktemp -d)
sudo mount /dev/sdX1 $ROOTFSDIR
sudo tar -C $ROOTFSDIR -jxvf Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

cp -a zImage-4.12.4-mvebu-tld-1 zImage
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: