Re: Debian on Synology RS816 (Armada 385) May 20, 2019 06:46PM |
Registered: 4 years ago Posts: 257 |
Marvell>> ide reset no IDE devices available
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 07:39PM |
Admin Registered: 12 years ago Posts: 17,937 |
> Marvell>> ide reset > no IDE devices available >
scsi resetor
scsi init
Quote
The command you provided didn't power up drive 1 (viewed front panel from left) but did power up drive 2, from memory drive bay 2 was reported by Debian as /dev/sda
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 07:53PM |
Registered: 4 years ago Posts: 257 |
mw.l f1018100 00080000Does bring up drive 1 and drive 2 but I have to pull the drive and reinsert to see it or issue scsi reset does the same. ide reset does nothing.
Marvell>> scsi reset Reset SCSI AHCI init for unit0 Target spinup took 0 ms. SATA link 1 timeout. SATA link 0 timeout. SATA link 1 timeout. SATA link 2 timeout. SATA link 3 timeout. AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode flags: 64bit ncq led only pmp fbss pio slum part sxs scanning bus for devices... Device 0: (0:0) Vendor: ATA Prod.: ST2000VN004-2E41 Rev: SC60 Type: Hard Disk Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512) Found 1 device(s).
no IDE devices available
Marvell>> help scsi scsi - SCSI sub-system Usage: scsi reset - reset SCSI controller scsi info - show available SCSI devices scsi scan - (re-)scan SCSI bus scsi device [dev] - show or set current device scsi part [dev] - print partition table of one or all SCSI devices scsi read addr blk# cnt - read `cnt' blocks starting at block `blk#' to memory address `addr' scsi write addr blk# cnt - write `cnt' blocks starting at block `blk#' from memory address `addr'
Marvell>> scsi read 0x40000 0x5000 0x2000 SCSI read: device 0 block # 20480, count 8192 ... 8192 blocks read: OK
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 08:24PM |
Registered: 4 years ago Posts: 125 |
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 08:46PM |
Admin Registered: 12 years ago Posts: 17,937 |
> Marvell>> scsi read 0x40000 0x5000 0x2000 > > SCSI read: device 0 block # 20480, count 8192 ... > 8192 blocks read: OK > >
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 08:51PM |
Registered: 4 years ago Posts: 257 |
Marvell>> iminfo ## Checking Image at 02000000 ... Unknown image format!
dd if=zImage of=/dev/sda bs=1M seek=10
-rw-r--r-- 1 richard richard 4.7M May 19 14:35 zImage
-rw-r--r-- 1 richard richard 4841504 May 19 14:35 zImage
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 10:51PM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 20, 2019 11:50PM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 12:22AM |
Registered: 4 years ago Posts: 125 |
/kernels# dd if=uImage of=/dev/sda bs=1MiB seek=10 3+1 records in 3+1 records out 4171272 bytes (4.2 MB, 4.0 MiB) copied, 3.1455 s, 1.3 MB/s /kernels# dd if=uInitrd of=/dev/sda bs=1MiB seek=20 9+1 records in 9+1 records out 9762728 bytes (9.8 MB, 9.3 MiB) copied, 0.196305 s, 49.7 MB/s
Marvell>> scsi device 1; scsi device 1; scsi read 0x40000 0x5000 0x2000; scsi read 0x2100000 0xA000 0x4F00 IDE device 1: Model: ST1000DM003-9YN162 Firm: CC9D Ser#: Z1D0F6TF Type: Hard Disk Supports 48-bit addressing Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512) ... is now current device IDE read: device 1 block # 40960, count 20224 ... 20224 blocks read: OK Marvell>> imi 0x2100000
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 12:29AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 12:32AM |
Admin Registered: 12 years ago Posts: 17,937 |
dd if=/dev/mtd0 of=mtd0.stock.rs816 bs=4096k conv=sync dd if=/dev/mtd1 of=mtd1.stock.rs816 bs=4096k conv=sync
ls -lh mtd*
kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.stock.rs816 -p
setenv mtdparts 'mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)'
boot
dmesg cat /proc/mtd fw_printenv
# MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd3 0x0 0x10000 0x00001000
fw_printenv
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 01:00AM |
Registered: 4 years ago Posts: 257 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.stock.rs816 -p mtd0.stock.rs816: Invalid image.
rw-r--r-- 1 richard richard 4.0M May 21 13:46 mtd0.stock.rs816 -rw-r--r-- 1 richard richard 4.0M May 21 13:47 mtd1.stock.rs816
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 01:21AM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 01:26AM |
Admin Registered: 12 years ago Posts: 17,937 |
kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0.stock.rs816 -p
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 01:29AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 01:51AM |
Registered: 4 years ago Posts: 257 |
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 Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> setenv mtdparts 'mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)' Marvell>> boot Booting Debian . . . loading zImage from tftpserver ... Using egiga0 device TFTP from server 192.168.1.2; our IP address is 192.168.1.250 Filename 'zImage'. Load address: 0x2000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ##### 6.8 MiB/s done Bytes transferred = 4841504 (49e020 hex) loading DTB from tftpserver ... Using egiga0 device TFTP from server 192.168.1.2; our IP address is 192.168.1.250 Filename 'armada-385-synology-rs816-v12.dtb'. Load address: 0x1000000 Loading: ## 5.8 MiB/s done Bytes transferred = 18265 (4759 hex) ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x01000000 Loading Device Tree to 00ff8000, end 00fff758 ... 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] Linux version 5.1.2-rj (root@debian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Sun May 19 12:13:42 AWST 2019 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Synology RS116 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] random: get_random_bytes called from start_kernel+0x78/0x4dc with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu s41932 r8192 d23604 u73728 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=20 mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env) earlyprintk=serial [ 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] Memory: 1024864K/1048576K available (9216K kernel code, 836K rwdata, 2496K rodata, 1024K init, 330K bss, 23712K reserved, 0K cma-reserved, 262144K highmem) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000005] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 4398046511103ns [ 0.007975] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1ae5b571769, max_idle_ns: 881590513431 ns [ 0.019059] Switching to timer-based delay loop, resolution 1ns [ 0.025104] Ignoring duplicate/late registration of read_current_timer delay [ 0.032121] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.043336] Console: colour dummy device 80x30 [ 0.047773] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.00 BogoMIPS (lpj=9330000) [ 0.058336] pid_max: default: 32768 minimum: 301 [ 0.063014] LSM: Security Framework initializing [ 0.067654] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.074237] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.081533] *** VALIDATE proc *** [ 0.084907] *** VALIDATE cgroup1 *** [ 0.088470] *** VALIDATE cgroup2 *** [ 0.092051] CPU: Testing write buffer coherency: ok [ 0.096915] CPU0: Spectre v2: using BPIALL workaround [ 0.102043] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.165011] Setting up static identity map for 0x100000 - 0x100060 [ 0.171225] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.176428] mvebu-pmsu: Initializing Power Management Service Unit [ 0.194992] rcu: Hierarchical SRCU implementation. [ 0.234991] smp: Bringing up secondary CPUs ... [ 0.295047] Booting CPU 1 [ 0.297789] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.297792] CPU1: Spectre v2: using BPIALL workaround [ 0.308508] smp: Brought up 1 node, 2 CPUs [ 0.312583] SMP: Total of 2 processors activated (3732.00 BogoMIPS). [ 0.318922] CPU: All CPU(s) started in SVC mode. [ 0.324003] devtmpfs: initialized [ 0.329014] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.336884] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.346678] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.352837] xor: measuring software checksum speed [ 0.454986] arm4regs : 2937.600 MB/sec [ 0.554988] 8regs : 2220.400 MB/sec [ 0.654986] 32regs : 2348.800 MB/sec [ 0.659146] xor: using function: arm4regs (2937.600 MB/sec) [ 0.664691] prandom: seed boundary self test passed [ 0.670661] prandom: 100 self tests passed [ 0.674735] pinctrl core: initialized pinctrl subsystem [ 0.680602] NET: Registered protocol family 16 [ 0.685493] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.692654] audit: initializing netlink subsys (disabled) [ 0.698101] audit: type=2000 audit(0.670:1): state=initialized audit_enabled=0 res=1 [ 0.715016] cpuidle: using governor ladder [ 0.719103] cpuidle: using governor menu [ 0.723115] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.731135] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.737043] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.745113] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.935121] raid6: int32x8 gen() 311 MB/s [ 1.105077] raid6: int32x8 xor() 243 MB/s [ 1.275025] raid6: int32x4 gen() 303 MB/s [ 1.445086] raid6: int32x4 xor() 253 MB/s [ 1.615149] raid6: int32x2 gen() 338 MB/s [ 1.784997] raid6: int32x2 xor() 336 MB/s [ 1.955112] raid6: int32x1 gen() 295 MB/s [ 2.125035] raid6: int32x1 xor() 303 MB/s [ 2.129282] raid6: using algorithm int32x2 gen() 338 MB/s [ 2.134651] raid6: .... xor() 336 MB/s, rmw enabled [ 2.139508] raid6: using intx1 recovery algorithm [ 2.145496] vgaarb: loaded [ 2.148414] SCSI subsystem initialized [ 2.152540] usbcore: registered new interface driver usbfs [ 2.158061] usbcore: registered new interface driver hub [ 2.163398] usbcore: registered new device driver usb [ 2.168824] media: Linux media interface: v0.10 [ 2.173370] videodev: Linux video capture interface: v2.00 [ 2.178999] pps_core: LinuxPPS API ver. 1 registered [ 2.183939] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.193070] PTP clock support registered [ 2.197753] clocksource: Switched to clocksource arm_global_timer [ 2.545653] VFS: Disk quotas dquot_6.6.0 [ 2.549609] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.562563] NET: Registered protocol family 2 [ 2.567209] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 2.574854] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 2.581903] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 2.588367] TCP: Hash tables configured (established 8192 bind 8192) [ 2.594741] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 2.600660] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 2.607109] NET: Registered protocol family 1 [ 2.611698] RPC: Registered named UNIX socket transport module. [ 2.617588] RPC: Registered udp transport module. [ 2.622278] RPC: Registered tcp transport module. [ 2.626956] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.633537] NetWinder Floating Point Emulator V0.97 (double precision) [ 2.640173] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 2.649461] Initialise system trusted keyrings [ 2.653898] Key type blacklist registered [ 2.658099] workingset: timestamp_bits=30 max_order=18 bucket_order=0 [ 2.664564] zbud: loaded [ 2.667507] NFS: Registering the id_resolver key type [ 2.672564] Key type id_resolver registered [ 2.676725] Key type id_legacy registered [ 2.680726] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.687394] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 2.693826] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 2.701113] orangefs_debugfs_init: called with debug mask: :none: :0: [ 2.707589] orangefs_init: module version upstream loaded [ 2.716567] async_tx: api initialized (async) [ 2.720919] Key type asymmetric registered [ 2.724993] Asymmetric key parser 'x509' registered [ 2.729875] bounce: pool size: 64 pages [ 2.733749] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 2.741158] io scheduler bfq registered [ 2.746462] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 2.755201] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00 [ 2.761113] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.766572] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff] [ 2.773502] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 2.780926] PCI: bus0: Fast back to back transfers disabled [ 2.786477] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.794460] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.802439] pci 0000:00:04.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.810769] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring [ 2.848456] PCI: bus1: Fast back to back transfers disabled [ 2.854771] PCI: bus2: Fast back to back transfers enabled [ 2.861007] PCI: bus3: Fast back to back transfers enabled [ 2.866496] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 2.873348] pci 0000:00:02.0: BAR 13: assigned [io 0x10000-0x10fff] [ 2.879677] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref] [ 2.886865] pci 0000:00:03.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref] [ 2.894058] pci 0000:00:04.0: BAR 6: assigned [mem 0xe0300000-0xe03007ff pref] [ 2.901252] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 2.908444] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff] [ 2.915201] pci 0000:01:00.0: BAR 4: assigned [io 0x10000-0x1001f] [ 2.921443] pci 0000:01:00.0: BAR 0: assigned [io 0x10020-0x10027] [ 2.927681] pci 0000:01:00.0: BAR 2: assigned [io 0x10028-0x1002f] [ 2.933923] pci 0000:01:00.0: BAR 1: assigned [io 0x10030-0x10033] [ 2.940165] pci 0000:01:00.0: BAR 3: assigned [io 0x10034-0x10037] [ 2.946403] pci 0000:00:02.0: PCI bridge to [bus 01] [ 2.951347] pci 0000:00:02.0: bridge window [io 0x10000-0x10fff] [ 2.957585] pci 0000:00:02.0: bridge window [mem 0xe0000000-0xe00fffff] [ 2.964345] pci 0000:00:03.0: PCI bridge to [bus 02] [ 2.969291] pci 0000:00:04.0: PCI bridge to [bus 03] [ 2.974278] pcieport 0000:00:02.0: enabling device (0140 -> 0143) [ 2.980834] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.038090] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.046384] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.108093] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.152120] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.159672] printk: console [ttyS0] disabled [ 3.183992] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A [ 3.192944] printk: console [ttyS0] enabled [ 3.192944] printk: console [ttyS0] enabled [ 3.201351] printk: bootconsole [earlycon0] disabled [ 3.201351] printk: bootconsole [earlycon0] disabled [ 3.232027] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A [ 3.252067] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode [ 3.260210] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 3.269511] scsi host0: ahci [ 3.272709] scsi host1: ahci [ 3.275853] scsi host2: ahci [ 3.279013] scsi host3: ahci [ 3.282089] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 48 [ 3.289530] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 48 [ 3.296959] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 48 [ 3.304393] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 48 [ 3.313111] m25p80 spi0.0: found n25q064, expected mx25l6405d [ 3.319015] m25p80 spi0.0: n25q064 (8192 Kbytes) [ 3.323658] 4 cmdlinepart partitions found on MTD device spi0.0 [ 3.329611] Creating 4 MTD partitions on "spi0.0": [ 3.334424] 0x000000000000-0x0000000e0000 : "u-boot" [ 3.339953] 0x0000000e0000-0x0000000f0000 : "dtb" [ 3.345157] 0x0000000f0000-0x0000007e0000 : "kernel" [ 3.350619] 0x0000007e0000-0x000000800000 : "env" [ 3.356475] libphy: Fixed MDIO Bus: probed [ 3.360991] libphy: orion_mdio_bus: probed [ 3.365786] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 3.374391] mvneta f1070000.ethernet eth0: Using hardware mac address 00:50:43:1c:24:27 [ 3.382647] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.389224] ehci-pci: EHCI PCI platform driver [ 3.393718] ehci-orion: EHCI orion driver [ 3.398193] usbcore: registered new interface driver usblp [ 3.403726] usbcore: registered new interface driver usb-storage [ 3.409923] mousedev: PS/2 mouse device common for all mice [ 3.416144] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 3.421826] i2c /dev entries driver [ 3.450517] gpio-fan gpio-fan: GPIO fan initialized [ 3.456973] orion_wdt: Initial timeout 171 sec [ 3.473505] marvell-cesa f1090000.crypto: CESA device successfully registered [ 3.480819] hidraw: raw HID events driver (C) Jiri Kosina [ 3.486392] usbcore: registered new interface driver usbhid [ 3.492002] usbhid: USB HID core driver [ 3.496038] drop_monitor: Initializing network drop monitor service [ 3.502562] NET: Registered protocol family 10 [ 3.507480] Segment Routing with IPv6 [ 3.511243] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.517763] NET: Registered protocol family 17 [ 3.522296] 8021q: 802.1Q VLAN Support v1.8 [ 3.526520] Key type dns_resolver registered [ 3.530901] ThumbEE CPU extension supported. [ 3.535194] Registering SWP/SWPB emulation handler [ 3.540294] registered taskstats version 1 [ 3.544408] Loading compiled-in X.509 certificates [ 3.549266] zswap: loaded using pool lzo/zbud [ 3.554475] Key type big_key registered [ 3.558620] Key type encrypted registered [ 3.564174] v5.0-sata0: supplied by pwr_en_sata0 [ 3.568857] v12.0-sata0: supplied by pwr_en_sata0 [ 3.573987] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x1 [ 3.580151] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x1 impl platform mode [ 3.589247] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 3.598491] scsi host4: ahci-mvebu [ 3.602155] scsi host5: ahci-mvebu [ 3.605697] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41 [ 3.613664] ata6: DUMMY [ 3.616332] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 3.621711] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1 [ 3.629291] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 3.638578] xhci-hcd f10f0000.usb3: irq 42, io mem 0xf10f0000 [ 3.639012] ata1: SATA link down (SStatus 0 SControl 300) [ 3.644509] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 [ 3.649836] ata2: SATA link down (SStatus 0 SControl 300) [ 3.658099] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.658102] usb usb1: Product: xHCI Host Controller [ 3.658105] usb usb1: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.658107] usb usb1: SerialNumber: f10f0000.usb3 [ 3.663596] ata3: SATA link down (SStatus 0 SControl 300) [ 3.691532] ata4: SATA link down (SStatus 0 SControl 300) [ 3.691668] hub 1-0:1.0: USB hub found [ 3.700746] hub 1-0:1.0: 1 port detected [ 3.704831] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 3.710185] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 3.717716] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 3.724234] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.732422] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01 [ 3.740729] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.747988] usb usb2: Product: xHCI Host Controller [ 3.752886] usb usb2: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.758486] usb usb2: SerialNumber: f10f0000.usb3 [ 3.763411] hub 2-0:1.0: USB hub found [ 3.767191] hub 2-0:1.0: 1 port detected [ 3.771449] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 3.776792] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3 [ 3.784370] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 3.793660] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000 [ 3.799582] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 [ 3.807898] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.815152] usb usb3: Product: xHCI Host Controller [ 3.820056] usb usb3: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.825653] usb usb3: SerialNumber: f10f8000.usb3 [ 3.830593] hub 3-0:1.0: USB hub found [ 3.834372] hub 3-0:1.0: 1 port detected [ 3.838456] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 3.843798] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 3.851331] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 3.857833] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.866009] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01 [ 3.874319] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.881578] usb usb4: Product: xHCI Host Controller [ 3.886477] usb usb4: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.892078] usb usb4: SerialNumber: f10f8000.usb3 [ 3.896998] hub 4-0:1.0: USB hub found [ 3.900786] hub 4-0:1.0: 1 port detected [ 3.905226] armada38x-rtc f10a3800.rtc: setting system clock to 2019-05-21T06:38:05 UTC (1558420685) [ 3.914653] v5.0-sata1: supplied by pwr_en_sata1 [ 3.919337] v12.0-sata0: supplied by pwr_en_sata1 [ 3.924099] v12.0-sata0: disabling [ 3.927514] v5.0-sata1: disabling [ 3.930861] v12.0-sata0: disabling [ 3.934574] Waiting 20 sec before mounting root device... [ 4.107810] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 4.114758] ata5.00: ATA-9: ST2000VN004-2E4164, SC60, max UDMA/133 [ 4.120976] ata5.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32) [ 4.128519] ata5.00: configured for UDMA/133 [ 4.143079] scsi 4:0:0:0: Direct-Access ATA ST2000VN004-2E41 SC60 PQ: 0 ANSI: 5 [ 4.151663] sd 4:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 4.159684] sd 4:0:0:0: [sda] 4096-byte physical blocks [ 4.164964] sd 4:0:0:0: [sda] Write Protect is off [ 4.169829] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.252229] sda: sda1 [ 4.255215] sd 4:0:0:0: [sda] Attached SCSI removable disk [ 24.177785] md: Waiting for all devices to be available before autodetect [ 24.184604] md: If you don't use raid, use raid=noautodetect [ 24.190704] md: Autodetecting RAID arrays. [ 24.194818] md: autorun ... [ 24.197622] md: ... autorun DONE. [ 24.256738] random: fast init done [ 24.507743] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 24.515493] VFS: Mounted root (ext4 filesystem) readonly on device 8:1. [ 24.568862] devtmpfs: mounted [ 24.573107] Freeing unused kernel memory: 1024K [ 24.577949] Checked W+X mappings: passed, no W+X pages found [ 24.583633] Run /sbin/init as init process INIT: version 2.93 booting [info] Using makefile-style concurrent boot in runlevel S. ERROR: could not open /proc/stat: No such file or directory findfs: unable to resolve 'LABEL=rootfs' [warn] Files under mount point '/run' will be hidden. ... (warning). [ ok ] Starting hotplug events dispatcher: systemd-udevd. [ ok ] Synthesizing the initial hotplug events (subsystems)...done. [ ok ] Synthesizing the initial hotplug events (devices)...done. [....] Waiting for /dev to be fully populated...[ 26.598918] systemd-udevd[1705]: Using default interface naming scheme 'v240'. [ 26.672724] systemd-udevd[1705]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.757212] systemd-udevd[1704]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.760460] systemd-udevd[1706]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.768864] systemd-udevd[1716]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.782232] systemd-udevd[1704]: Could not generate persistent MAC address for ip6tnl0: No such file or directory [ 26.807539] sd 4:0:0:0: Attached scsi generic sg0 type 0 done. [ ok ] Setting hostname to 'debian'...done. [ ok ] Activating swap:. [ 28.085062] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Will now check root file system:fsck from util-linux 2.33.1 [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -y -C0 /dev/sda1 e2fsck 1.44.5 (15-Dec-2018) rootfs: clean, 44696/122093568 files, 8143787/488347392 blocks . ok [ 30.260652] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [info] Will now check all file systems. fsck from util-linux 2.33.1 Checking all file systems. LABEL=rootfs is mounted [ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable.. [ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done. [ ok . [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Starting Setting kernel variables: sysctl. [....] Initializing random number generator...[ 31.265304] random: dd: uninitialized urandom read (512 bytes read) done. [....] Configuring network interfaces...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/ [ 31.550199] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510] [ 31.559079] mvneta f1070000.ethernet eth0: configuring for phy/sgmii link mode Listening on LPF/eth0/00:50:43:1c:24:27 Sending on LPF/eth0/00:50:43:1c:24:27 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 [ 35.698017] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 35.705897] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPOFFER of 192.168.1.243 from 192.168.1.2 DHCPREQUEST for 192.168.1.243 on eth0 to 255.255.255.255 port 67 DHCPACK of 192.168.1.243 from 192.168.1.2 [ 42.747434] random: mktemp: uninitialized urandom read (6 bytes read) invoke-rc.d: could not determine current runlevel bound to 192.168.1.243 -- renewal in 1779 seconds. done. [ ok ] Cleaning up temporary files.... [ 42.958519] random: crng init done INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [ ok ] Starting periodic command scheduler: cron. [ ok ] Starting system message bus: dbus. [ ok ] Starting fan speed regulator: fancontrol. [ ok ] Starting MD monitoring service: mdadm --monitor. [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Tue May 21 13:42:31 AWST 2019 on ttyS0 Linux debian 5.1.2-rj #1 SMP PREEMPT Sun May 19 12:13:42 AWST 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
root@debian:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.1.2-rj (root@debian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Sun May 19 12:13:42 AWST 2019 [ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Synology RS116 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] Normal zone: 1536 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:63 [ 0.000000] HighMem zone: 65536 pages, LIFO batch:15 [ 0.000000] random: get_random_bytes called from start_kernel+0x78/0x4dc with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu s41932 r8192 d23604 u73728 [ 0.000000] pcpu-alloc: s41932 r8192 d23604 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=20 mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env) earlyprintk=serial [ 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] Memory: 1024864K/1048576K available (9216K kernel code, 836K rwdata, 2496K rodata, 1024K init, 330K bss, 23712K reserved, 0K cma-reserved, 262144K highmem) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9 [ 0.000000] L2C-310 D prefetch enabled, offset 1 lines [ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled [ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB [ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001 [ 0.000005] sched_clock: 64 bits at 933MHz, resolution 1ns, wraps every 4398046511103ns [ 0.007975] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1ae5b571769, max_idle_ns: 881590513431 ns [ 0.019059] Switching to timer-based delay loop, resolution 1ns [ 0.025104] Ignoring duplicate/late registration of read_current_timer delay [ 0.032121] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns [ 0.043336] Console: colour dummy device 80x30 [ 0.047773] Calibrating delay loop (skipped), value calculated using timer frequency.. 1866.00 BogoMIPS (lpj=9330000) [ 0.058336] pid_max: default: 32768 minimum: 301 [ 0.063014] LSM: Security Framework initializing [ 0.067654] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.074237] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.081533] *** VALIDATE proc *** [ 0.084907] *** VALIDATE cgroup1 *** [ 0.088470] *** VALIDATE cgroup2 *** [ 0.092051] CPU: Testing write buffer coherency: ok [ 0.096915] CPU0: Spectre v2: using BPIALL workaround [ 0.102043] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.165011] Setting up static identity map for 0x100000 - 0x100060 [ 0.171225] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4 [ 0.176428] mvebu-pmsu: Initializing Power Management Service Unit [ 0.194992] rcu: Hierarchical SRCU implementation. [ 0.234991] smp: Bringing up secondary CPUs ... [ 0.295047] Booting CPU 1 [ 0.297789] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.297792] CPU1: Spectre v2: using BPIALL workaround [ 0.308508] smp: Brought up 1 node, 2 CPUs [ 0.312583] SMP: Total of 2 processors activated (3732.00 BogoMIPS). [ 0.318922] CPU: All CPU(s) started in SVC mode. [ 0.324003] devtmpfs: initialized [ 0.329014] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.336884] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.346678] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.352837] xor: measuring software checksum speed [ 0.454986] arm4regs : 2937.600 MB/sec [ 0.554988] 8regs : 2220.400 MB/sec [ 0.654986] 32regs : 2348.800 MB/sec [ 0.659146] xor: using function: arm4regs (2937.600 MB/sec) [ 0.664691] prandom: seed boundary self test passed [ 0.670661] prandom: 100 self tests passed [ 0.674735] pinctrl core: initialized pinctrl subsystem [ 0.680602] NET: Registered protocol family 16 [ 0.685493] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.692654] audit: initializing netlink subsys (disabled) [ 0.698101] audit: type=2000 audit(0.670:1): state=initialized audit_enabled=0 res=1 [ 0.715016] cpuidle: using governor ladder [ 0.719103] cpuidle: using governor menu [ 0.723115] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.731135] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.737043] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling [ 0.745113] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling [ 0.935121] raid6: int32x8 gen() 311 MB/s [ 1.105077] raid6: int32x8 xor() 243 MB/s [ 1.275025] raid6: int32x4 gen() 303 MB/s [ 1.445086] raid6: int32x4 xor() 253 MB/s [ 1.615149] raid6: int32x2 gen() 338 MB/s [ 1.784997] raid6: int32x2 xor() 336 MB/s [ 1.955112] raid6: int32x1 gen() 295 MB/s [ 2.125035] raid6: int32x1 xor() 303 MB/s [ 2.129282] raid6: using algorithm int32x2 gen() 338 MB/s [ 2.134651] raid6: .... xor() 336 MB/s, rmw enabled [ 2.139508] raid6: using intx1 recovery algorithm [ 2.145496] vgaarb: loaded [ 2.148414] SCSI subsystem initialized [ 2.152293] libata version 3.00 loaded. [ 2.152540] usbcore: registered new interface driver usbfs [ 2.158061] usbcore: registered new interface driver hub [ 2.163398] usbcore: registered new device driver usb [ 2.168824] media: Linux media interface: v0.10 [ 2.173370] videodev: Linux video capture interface: v2.00 [ 2.178999] pps_core: LinuxPPS API ver. 1 registered [ 2.183939] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.193070] PTP clock support registered [ 2.197753] clocksource: Switched to clocksource arm_global_timer [ 2.545653] VFS: Disk quotas dquot_6.6.0 [ 2.549609] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.562563] NET: Registered protocol family 2 [ 2.567209] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [ 2.574854] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 2.581903] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 2.588367] TCP: Hash tables configured (established 8192 bind 8192) [ 2.594741] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 2.600660] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 2.607109] NET: Registered protocol family 1 [ 2.611698] RPC: Registered named UNIX socket transport module. [ 2.617588] RPC: Registered udp transport module. [ 2.622278] RPC: Registered tcp transport module. [ 2.626956] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.633371] PCI: CLS 0 bytes, default 64 [ 2.633537] NetWinder Floating Point Emulator V0.97 (double precision) [ 2.640173] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 2.649461] Initialise system trusted keyrings [ 2.653898] Key type blacklist registered [ 2.658099] workingset: timestamp_bits=30 max_order=18 bucket_order=0 [ 2.664564] zbud: loaded [ 2.667507] NFS: Registering the id_resolver key type [ 2.672564] Key type id_resolver registered [ 2.676725] Key type id_legacy registered [ 2.680726] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.687394] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 2.693826] jffs2: version 2.2. (NAND) (SUMMARY) \xc2\xa9 2001-2006 Red Hat, Inc. [ 2.701113] orangefs_debugfs_init: called with debug mask: :none: :0: [ 2.707589] orangefs_init: module version upstream loaded [ 2.716567] async_tx: api initialized (async) [ 2.720919] Key type asymmetric registered [ 2.724993] Asymmetric key parser 'x509' registered [ 2.729875] bounce: pool size: 64 pages [ 2.733749] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 2.741158] io scheduler bfq registered [ 2.746462] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver [ 2.755201] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00 [ 2.761113] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.766572] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff] [ 2.773502] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 2.779745] pci_bus 0000:00: scanning bus [ 2.779834] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400 [ 2.779848] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 2.780033] pci 0000:00:03.0: [11ab:6820] type 01 class 0x060400 [ 2.780045] pci 0000:00:03.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 2.780200] pci 0000:00:04.0: [11ab:6820] type 01 class 0x060400 [ 2.780211] pci 0000:00:04.0: reg 0x38: [mem 0x00000000-0x000007ff pref] [ 2.780918] pci_bus 0000:00: fixups for bus [ 2.780926] PCI: bus0: Fast back to back transfers disabled [ 2.786473] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0 [ 2.786477] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.794457] pci 0000:00:03.0: scanning [bus 00-00] behind bridge, pass 0 [ 2.794460] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.802436] pci 0000:00:04.0: scanning [bus 00-00] behind bridge, pass 0 [ 2.802439] pci 0000:00:04.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.810411] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1 [ 2.810492] pci_bus 0000:01: scanning bus [ 2.810511] pci 0000:01:00.0: [1b4b:9215] type 00 class 0x010601 [ 2.810530] pci 0000:01:00.0: reg 0x10: [io 0xfffffff8-0xffffffff] [ 2.810538] pci 0000:01:00.0: reg 0x14: [io 0xfffffffc-0xffffffff] [ 2.810546] pci 0000:01:00.0: reg 0x18: [io 0xfffffff8-0xffffffff] [ 2.810553] pci 0000:01:00.0: reg 0x1c: [io 0xfffffffc-0xffffffff] [ 2.810560] pci 0000:01:00.0: reg 0x20: [io 0xffffffe0-0xffffffff] [ 2.810568] pci 0000:01:00.0: reg 0x24: [mem 0x42000000-0x420007ff] [ 2.810576] pci 0000:01:00.0: reg 0x30: [mem 0xd0000000-0xd000ffff pref] [ 2.810625] pci 0000:01:00.0: PME# supported from D3hot [ 2.810630] pci 0000:01:00.0: PME# disabled [ 2.810769] pci 0000:00:02.0: ASPM: current common clock configuration is broken, reconfiguring [ 2.848450] pci_bus 0000:01: fixups for bus [ 2.848456] PCI: bus1: Fast back to back transfers disabled [ 2.854001] pci_bus 0000:01: bus scan returning with max=01 [ 2.854006] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 2.854012] pci 0000:00:03.0: scanning [bus 00-00] behind bridge, pass 1 [ 2.854090] pci_bus 0000:02: scanning bus [ 2.854769] pci_bus 0000:02: fixups for bus [ 2.854771] PCI: bus2: Fast back to back transfers enabled [ 2.860241] pci_bus 0000:02: bus scan returning with max=02 [ 2.860246] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 2.860252] pci 0000:00:04.0: scanning [bus 00-00] behind bridge, pass 1 [ 2.860330] pci_bus 0000:03: scanning bus [ 2.861004] pci_bus 0000:03: fixups for bus [ 2.861007] PCI: bus3: Fast back to back transfers enabled [ 2.866465] pci_bus 0000:03: bus scan returning with max=03 [ 2.866469] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03 [ 2.866473] pci_bus 0000:00: bus scan returning with max=03 [ 2.866496] pci 0000:00:02.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 2.873348] pci 0000:00:02.0: BAR 13: assigned [io 0x10000-0x10fff] [ 2.879677] pci 0000:00:02.0: BAR 6: assigned [mem 0xe0100000-0xe01007ff pref] [ 2.886865] pci 0000:00:03.0: BAR 6: assigned [mem 0xe0200000-0xe02007ff pref] [ 2.894058] pci 0000:00:04.0: BAR 6: assigned [mem 0xe0300000-0xe03007ff pref] [ 2.901252] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref] [ 2.908444] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0010000-0xe00107ff] [ 2.915201] pci 0000:01:00.0: BAR 4: assigned [io 0x10000-0x1001f] [ 2.921443] pci 0000:01:00.0: BAR 0: assigned [io 0x10020-0x10027] [ 2.927681] pci 0000:01:00.0: BAR 2: assigned [io 0x10028-0x1002f] [ 2.933923] pci 0000:01:00.0: BAR 1: assigned [io 0x10030-0x10033] [ 2.940165] pci 0000:01:00.0: BAR 3: assigned [io 0x10034-0x10037] [ 2.946403] pci 0000:00:02.0: PCI bridge to [bus 01] [ 2.951347] pci 0000:00:02.0: bridge window [io 0x10000-0x10fff] [ 2.957585] pci 0000:00:02.0: bridge window [mem 0xe0000000-0xe00fffff] [ 2.964345] pci 0000:00:03.0: PCI bridge to [bus 02] [ 2.969291] pci 0000:00:04.0: PCI bridge to [bus 03] [ 2.974269] pcieport 0000:00:02.0: assign IRQ: got 0 [ 2.974278] pcieport 0000:00:02.0: enabling device (0140 -> 0143) [ 2.980361] pcieport 0000:00:02.0: enabling bus mastering [ 2.980395] pcieport 0000:00:03.0: assign IRQ: got 0 [ 2.980401] pcieport 0000:00:03.0: enabling bus mastering [ 2.980426] pcieport 0000:00:04.0: assign IRQ: got 0 [ 2.980432] pcieport 0000:00:04.0: enabling bus mastering [ 2.980834] mv_xor f1060800.xor: Marvell shared XOR driver [ 3.038090] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.046384] mv_xor f1060900.xor: Marvell shared XOR driver [ 3.108093] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr ) [ 3.152120] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.159672] printk: console [ttyS0] disabled [ 3.183992] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A [ 3.192944] printk: console [ttyS0] enabled [ 3.201351] printk: bootconsole [earlycon0] disabled [ 3.232027] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A [ 3.241864] ahci 0000:01:00.0: assign IRQ: got 47 [ 3.241874] ahci 0000:01:00.0: version 3.0 [ 3.241884] pci 0000:00:02.0: enabling bus mastering [ 3.252067] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode [ 3.260210] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 3.269511] scsi host0: ahci [ 3.272709] scsi host1: ahci [ 3.275853] scsi host2: ahci [ 3.279013] scsi host3: ahci [ 3.282089] ata1: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010100 irq 48 [ 3.289530] ata2: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010180 irq 48 [ 3.296959] ata3: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010200 irq 48 [ 3.304393] ata4: SATA max UDMA/133 abar m2048@0xe0010000 port 0xe0010280 irq 48 [ 3.313111] m25p80 spi0.0: found n25q064, expected mx25l6405d [ 3.319015] m25p80 spi0.0: n25q064 (8192 Kbytes) [ 3.323658] 4 cmdlinepart partitions found on MTD device spi0.0 [ 3.329611] Creating 4 MTD partitions on "spi0.0": [ 3.334424] 0x000000000000-0x0000000e0000 : "u-boot" [ 3.339953] 0x0000000e0000-0x0000000f0000 : "dtb" [ 3.345157] 0x0000000f0000-0x0000007e0000 : "kernel" [ 3.350619] 0x0000007e0000-0x000000800000 : "env" [ 3.356475] libphy: Fixed MDIO Bus: probed [ 3.360991] libphy: orion_mdio_bus: probed [ 3.365786] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled [ 3.374391] mvneta f1070000.ethernet eth0: Using hardware mac address 00:50:43:1c:24:27 [ 3.382647] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.389224] ehci-pci: EHCI PCI platform driver [ 3.393718] ehci-orion: EHCI orion driver [ 3.398193] usbcore: registered new interface driver usblp [ 3.403726] usbcore: registered new interface driver usb-storage [ 3.409923] mousedev: PS/2 mouse device common for all mice [ 3.416144] armada38x-rtc f10a3800.rtc: registered as rtc0 [ 3.421826] i2c /dev entries driver [ 3.450517] gpio-fan gpio-fan: GPIO fan initialized [ 3.456973] orion_wdt: Initial timeout 171 sec [ 3.473505] marvell-cesa f1090000.crypto: CESA device successfully registered [ 3.480819] hidraw: raw HID events driver (C) Jiri Kosina [ 3.486392] usbcore: registered new interface driver usbhid [ 3.492002] usbhid: USB HID core driver [ 3.496038] drop_monitor: Initializing network drop monitor service [ 3.502562] NET: Registered protocol family 10 [ 3.507480] Segment Routing with IPv6 [ 3.511243] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.517763] NET: Registered protocol family 17 [ 3.522296] 8021q: 802.1Q VLAN Support v1.8 [ 3.526520] Key type dns_resolver registered [ 3.530901] ThumbEE CPU extension supported. [ 3.535194] Registering SWP/SWPB emulation handler [ 3.540294] registered taskstats version 1 [ 3.544408] Loading compiled-in X.509 certificates [ 3.549266] zswap: loaded using pool lzo/zbud [ 3.554475] Key type big_key registered [ 3.558620] Key type encrypted registered [ 3.564174] v5.0-sata0: supplied by pwr_en_sata0 [ 3.568857] v12.0-sata0: supplied by pwr_en_sata0 [ 3.573987] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x1 [ 3.580151] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x1 impl platform mode [ 3.589247] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 3.598491] scsi host4: ahci-mvebu [ 3.602155] scsi host5: ahci-mvebu [ 3.605697] ata5: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41 [ 3.613664] ata6: DUMMY [ 3.616332] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 3.621711] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1 [ 3.629291] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 3.638578] xhci-hcd f10f0000.usb3: irq 42, io mem 0xf10f0000 [ 3.639012] ata1: SATA link down (SStatus 0 SControl 300) [ 3.644509] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 [ 3.649836] ata2: SATA link down (SStatus 0 SControl 300) [ 3.658099] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.658102] usb usb1: Product: xHCI Host Controller [ 3.658105] usb usb1: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.658107] usb usb1: SerialNumber: f10f0000.usb3 [ 3.663596] ata3: SATA link down (SStatus 0 SControl 300) [ 3.691532] ata4: SATA link down (SStatus 0 SControl 300) [ 3.691668] hub 1-0:1.0: USB hub found [ 3.700746] hub 1-0:1.0: 1 port detected [ 3.704831] xhci-hcd f10f0000.usb3: xHCI Host Controller [ 3.710185] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2 [ 3.717716] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed [ 3.724234] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.732422] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01 [ 3.740729] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.747988] usb usb2: Product: xHCI Host Controller [ 3.752886] usb usb2: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.758486] usb usb2: SerialNumber: f10f0000.usb3 [ 3.763411] hub 2-0:1.0: USB hub found [ 3.767191] hub 2-0:1.0: 1 port detected [ 3.771449] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 3.776792] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3 [ 3.784370] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010 [ 3.793660] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000 [ 3.799582] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.01 [ 3.807898] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.815152] usb usb3: Product: xHCI Host Controller [ 3.820056] usb usb3: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.825653] usb usb3: SerialNumber: f10f8000.usb3 [ 3.830593] hub 3-0:1.0: USB hub found [ 3.834372] hub 3-0:1.0: 1 port detected [ 3.838456] xhci-hcd f10f8000.usb3: xHCI Host Controller [ 3.843798] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4 [ 3.851331] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed [ 3.857833] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.866009] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.01 [ 3.874319] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.881578] usb usb4: Product: xHCI Host Controller [ 3.886477] usb usb4: Manufacturer: Linux 5.1.2-rj xhci-hcd [ 3.892078] usb usb4: SerialNumber: f10f8000.usb3 [ 3.896998] hub 4-0:1.0: USB hub found [ 3.900786] hub 4-0:1.0: 1 port detected [ 3.905226] armada38x-rtc f10a3800.rtc: setting system clock to 2019-05-21T06:38:05 UTC (1558420685) [ 3.914653] v5.0-sata1: supplied by pwr_en_sata1 [ 3.919337] v12.0-sata0: supplied by pwr_en_sata1 [ 3.924099] v12.0-sata0: disabling [ 3.927514] v5.0-sata1: disabling [ 3.930861] v12.0-sata0: disabling [ 3.934574] Waiting 20 sec before mounting root device... [ 4.107810] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 4.114758] ata5.00: ATA-9: ST2000VN004-2E4164, SC60, max UDMA/133 [ 4.120976] ata5.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 32) [ 4.128519] ata5.00: configured for UDMA/133 [ 4.143079] scsi 4:0:0:0: Direct-Access ATA ST2000VN004-2E41 SC60 PQ: 0 ANSI: 5 [ 4.151663] sd 4:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 4.159684] sd 4:0:0:0: [sda] 4096-byte physical blocks [ 4.164964] sd 4:0:0:0: [sda] Write Protect is off [ 4.169790] sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.169829] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.252229] sda: sda1 [ 4.255215] sd 4:0:0:0: [sda] Attached SCSI removable disk [ 24.177785] md: Waiting for all devices to be available before autodetect [ 24.184604] md: If you don't use raid, use raid=noautodetect [ 24.190704] md: Autodetecting RAID arrays. [ 24.194818] md: autorun ... [ 24.197622] md: ... autorun DONE. [ 24.256738] random: fast init done [ 24.507743] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 24.515493] VFS: Mounted root (ext4 filesystem) readonly on device 8:1. [ 24.568862] devtmpfs: mounted [ 24.573107] Freeing unused kernel memory: 1024K [ 24.577949] Checked W+X mappings: passed, no W+X pages found [ 24.583633] Run /sbin/init as init process [ 26.598918] systemd-udevd[1705]: Using default interface naming scheme 'v240'. [ 26.672724] systemd-udevd[1705]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.757212] systemd-udevd[1704]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.760460] systemd-udevd[1706]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.768864] systemd-udevd[1716]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable. [ 26.782232] systemd-udevd[1704]: Could not generate persistent MAC address for ip6tnl0: No such file or directory [ 26.807539] sd 4:0:0:0: Attached scsi generic sg0 type 0 [ 28.085062] EXT4-fs (sda1): re-mounted. Opts: (null) [ 30.260652] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 31.265304] random: dd: uninitialized urandom read (512 bytes read) [ 31.550199] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510] [ 31.559079] mvneta f1070000.ethernet eth0: configuring for phy/sgmii link mode [ 35.698017] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 35.705897] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 42.747434] random: mktemp: uninitialized urandom read (6 bytes read) [ 42.958519] random: crng init done
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 000e0000 00001000 "u-boot" mtd1: 00010000 00001000 "dtb" mtd2: 006f0000 00001000 "kernel" mtd3: 00020000 00001000 "env"
Read error on /dev/mtd1: Success root@debian:~# vi /etc/fw_env.config root@debian:~# fw_printenv 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
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=run bootcmd_exec; run bootspi bootcmd_auto=stage_boot $boot_order bootcmd_exec=echo Booting Debian . . .; run set_bootargs; setenv fdt_skip_update yes; setenv initrd_high 0xffffffff; run load_image; run load_dtb; bootz $load_image_addr - $load_dtb_addr 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:1c:24:27 eth1mtu=1500 eth2addr=00:50:43:1c:1c:27 eth2mtu=1500 eth3addr=00:50:43:24:1c:1c eth3mtu=1500 ethact=egiga0 ethaddr=00:50:43:1c:24:27 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 ipaddr=192.168.1.250 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 limit_dram_size=yes load_dtb=echo loading DTB from tftpserver ...; tftpboot $load_dtb_addr armada-385-synology-rs816-v12.dtb load_dtb_addr=0x1000000 load_image=echo loading zImage from tftpserver ...; tftpboot $load_image_addr zImage load_image_addr=0x02000000 load_initrd=echo loading uInitrd from tftpserver ...; tftpboot $load_initrd_addr uInitrd load_initrd_addr=0x3000000 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:27:1c:1c 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 serverip=192.168.1.2 set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=20 $mtdparts earlyprintk=serial" 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 usb_setup=setenv usbActive 1; setenv usbType 3; usb start; vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81
Read error on /dev/mtd1: Success
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:08AM |
Admin Registered: 12 years ago Posts: 17,937 |
[ 3.313111] m25p80 spi0.0: found n25q064, expected mx25l6405d [ 3.319015] m25p80 spi0.0: n25q064 (8192 Kbytes) [ 3.323658] 4 cmdlinepart partitions found on MTD device spi0.0 [ 3.329611] Creating 4 MTD partitions on "spi0.0": [ 3.334424] 0x000000000000-0x0000000e0000 : "u-boot" [ 3.339953] 0x0000000e0000-0x0000000f0000 : "dtb" [ 3.345157] 0x0000000f0000-0x0000007e0000 : "kernel" [ 3.350619] 0x0000007e0000-0x000000800000 : "env" [ 3.356475] libphy: Fixed MDIO Bus: probed
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 000e0000 00001000 "u-boot" -- 896k mtd1: 00010000 00001000 "dtb" -- 64k mtd2: 006f0000 00001000 "kernel" -- 7104k mtd3: 00020000 00001000 "env" -- 128k
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:24AM |
Admin Registered: 12 years ago Posts: 17,937 |
dd if=zImage of=rs816.zImage.mtd2.kwb bs=7104k conv=sync dd if=armada-385-synology-rs816.dtb of=rs816.dtb.mtd1.kwb bs=64k conv=sync
ls -lh rs816*
dd if=/dev/mtd0 of=rs816.stock.uboot.kwb bs=896k conv=sync
ls -lh rs816.stock.uboot.kwb
./kwboot -t -B 115200 /dev/ttyUSB0 -b rs816.stock.uboot.kwb -p
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:44AM |
Registered: 4 years ago Posts: 257 |
root@debian:~# ls -lh rs816* -rw-r--r-- 1 root root 64K May 21 15:34 rs816.dtb.mtd1.kwb -rw-r--r-- 1 root root 896K May 21 15:31 rs816.stock.uboot.kwb -rw-r--r-- 1 root root 7.0M May 21 15:35 rs816.zImage.mtd2.kwb
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:50AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:52AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:53AM |
Registered: 4 years ago Posts: 257 |
[richard@Linux Downloads]$ ./kwboot -t -B 115200 /dev/ttyUSB0 -b rs816.stock.uboot.kwb -p Sending boot message. Please reboot the target...- Sending boot image... BootROM - 1.73 (Boot) 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 0 % [+xmodem: Protocol error
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 02:56AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 03:05AM |
Admin Registered: 12 years ago Posts: 17,937 |
cat /proc/mtdExpected Output:
dev: size erasesize name mtd0: 000e0000 00001000 "u-boot" mtd1: 00010000 00001000 "dtb" mtd2: 006f0000 00001000 "kernel" mtd3: 00020000 00001000 "env"
flash_unlock /dev/mtd1 flashcp -v rs816.dtb.mtd1.kwb /dev/mtd1
flash_unlock /dev/mtd2 flashcp -v rs816.zImage.mtd2.kwb /dev/mtd2
fw_printenv
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 03:06AM |
Admin Registered: 12 years ago Posts: 17,937 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 03:18AM |
Registered: 4 years ago Posts: 257 |
setenv mtdparts 'mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)'
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00001000 "boot" mtd1: 00400000 00001000 "spi-rootfs"
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 03:42AM |
Admin Registered: 12 years ago Posts: 17,937 |
> setenv mtdparts > 'mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)' >>
> root@debian:~# cat /proc/mtd > dev: size erasesize name > mtd0: 00400000 00001000 "boot" > mtd1: 00400000 00001000 "spi-rootfs" >>
setenv mtdparts 'mtdparts=spi0.0:896k(u-boot),64k(dtb),7104k(kernel),-(env)'
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 03:59AM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 04:04AM |
Registered: 4 years ago Posts: 257 |
root@debian:~# fw_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=run bootcmd_exec; run bootspi bootcmd_auto=stage_boot $boot_order bootcmd_exec=echo Booting Debian . . .; run set_bootargs; setenv fdt_skip_update yes; setenv initrd_high 0xffffffff; run load_image; run load_dtb; bootz $load_image_addr - $load_dtb_addr 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:1c:24:27 eth1mtu=1500 eth2addr=00:50:43:1c:1c:27 eth2mtu=1500 eth3addr=00:50:43:24:1c:1c eth3mtu=1500 ethact=egiga0 ethaddr=00:50:43:1c:24:27 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 ipaddr=192.168.1.250 kernel_addr_r=2080000 lcd0_enable=0 lcd0_params=640x480-16@60 lcd_panel=0 limit_dram_size=yes load_dtb=echo loading DTB from tftpserver ...; tftpboot $load_dtb_addr armada-385-synology-rs816-v12.dtb load_dtb_addr=0x1000000 load_image=echo loading zImage from tftpserver ...; tftpboot $load_image_addr zImage load_image_addr=0x02000000 load_initrd=echo loading uInitrd from tftpserver ...; tftpboot $load_initrd_addr uInitrd load_initrd_addr=0x3000000 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:27:1c:1c 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 serverip=192.168.1.2 set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=20 $mtdparts earlyprintk=serial" 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 usb_setup=setenv usbActive 1; setenv usbType 3; usb start; vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81
root@debian:~# flash_unlock /dev/mtd1 root@debian:~# flashcp -v rs816.dtb.mtd1.kwb /dev/mtd1 Erasing blocks: 16/16 (100%) Writing data: 64k/64k (100%) Verifying data: 64k/64k (100%) root@debian:~# flash_unlock /dev/mtd2 root@debian:~# flashcp -v rs816.zImage.mtd2.kwb /dev/mtd2 Erasing blocks: 1776/1776 (100%) Writing data: 7104k/7104k (100%) Verifying data: 7104k/7104k (100%)
Re: Debian on Synology RS816 (Armada 385) May 21, 2019 04:16AM |
Admin Registered: 12 years ago Posts: 17,937 |