Specs

Linkstation LS710D

CPU 6-Core Realtek RTD1619
Memory 2GB
Bays 1
Network 1x 2.5GbE RTL8168g
Sata 1
NAND Flash
SPI Flash
USB 2.0
USB 3.0
Fan
Power

Stock Firmware Installation

Device Notes

Root Access

java -jar acp_commander.jar -t 192.168.1.204 -c "sed -i 's/rbash/bash/g' /etc/passwd"
java -jar acp_commander.jar -t 192.168.1.204 -c "ln -s /bin/busybox /bin/su"
java -jar acp_commander.jar -t 192.168.1.204 -c 'echo "admin ALL=(ALL) ALL" >> /etc/sudoers'
java -jar acp_commander.jar -t 192.168.1.204 -c 'echo 127.0.0.1 $(hostname) >> /etc/hosts'
java -jar acp_commander.jar -t 192.168.1.204 -o

$ telnet 192.168.1.204
Trying 192.168.1.204...
Connected to 192.168.1.204.
Escape character is '^]'.

BUFFALO INC. LinkStation series 
LS710D-EM82D login: admin
Password: 
admin@LS710D-EM82D:~$ sudo su -
[sudo] password for admin: 
root@LS710D-EM82D:~# 

Pictures

Serial Console

To enable the serial header simply bridge R101 and R102

 

U-Boot Output

C1:80000000
C2h
hwsetting size: 000009fc

-------------------- Tx ODT Scan ----------------------
ODT40, Weight = 0x0000001e
ODT60, Weight = 0x00000026
Best Tx ODT = ODT60

------------------- DQS Calibration -------------------
DQS0 Map = [0x00000014, 0x0000001c], Width = 0x00000009
DQS0 Best PI = 0x00000018
DQS1 Map = [0x00000013, 0x0000001c], Width = 0x0000000a
DQS1 Best PI = 0x00000018
DQS2 Map = [0x00000013, 0x0000001c], Width = 0x0000000a
DQS2 Best PI = 0x00000018
DQS3 Map = [0x00000014, 0x0000001c], Width = 0x00000009
DQS3 Best PI = 0x00000018
BSTC verify: OK

DDR calibration done

REG32(VO_SW_SEC_1) = 0x01ce07fd
warmboot_indicator = 0x000820a1
C3
DTE_Bootcode Flash Addr = 0x00012600
DTE_Bootcode Flash Length = 0x00044a00
DTE_Bootcode target addr = 0x10120000
C4
C5
jump to FSBL_DDR: 0x10120000
FSBL_DDR: Jun 26 2019, 15:46:57
p_FW_Entry_DTE_FW_Certificate: type: 10, flash_addr: 0x20c00, length: 0x400, emmc_partition: 0
p_FW_Entry_DTE_BOOTCODE_RTK: type: 16, flash_addr: 0x180800, length: 0x180000, emmc_partition: 0
p_FW_Entry_BL31: type: 17, flash_addr: 0x28800, length: 0x10234, emmc_partition: 0
p_FW_Entry_TEEOS: type: 18, flash_addr: 0x38c00, length: 0x147a84, emmc_partition: 0
p_FW_Entry_PCPU_FW_Certificate: type: 2, flash_addr: 0x20800, length: 0x400, emmc_partition: 0
p_FW_Entry_PCPU_FW: type: 14, flash_addr: 0x21800, length: 0x7000, emmc_partition: 0
process_bl31: 0x0
process_dte_fw_certificate: 0x0
process_dte_bootcode_rtk: 0x0
jump to BL31: 0x80001000
VERBOSE: bl31_setup
INFO:    BL31: v1.2(debug):778a489
INFO:    BL31: Built : 10:44:49, Sep 19 2019
INFO:    SB2_DUBUG on
INFO:    Move a_entry
INFO:    Move exc_redirect
INFO:    Move exc_dispatch
INFO:    ACPU images done
INFO:    BL31: Initializing runtime services
INFO:    Start to init service std_svc 
INFO:    Finish to init service std_svc 
INFO:    Start to init service opteed_fast 
INFO:    Finish to init service opteed_fast 
INFO:    EXIT BL31
INFO:    bl31_to_kernel: kernel_resume_entry = 0x0
INFO:    bl31 jumps to EL2: LK entry 


U-Boot 2015.07-11efd3d  (Nov 18 2020 - 11:17:05 +0900)

CPU  : Cortex-A55 Quad Core - AARCH64
Board: Realtek QA Board
DRAM:  2 GiB
Watchdog: Disabled
mapping memory 0x20000000-0x40000000 non-cached
flushing dcache successfully.
MMC:   Initialize eMMC in fast flow

emmc:dummy_buffer=0x00200000, dummy_512B=0x00200008
switch frequency to 0x46
frequency divider is 0x80
switch frequency to 0x46
frequency divider is 0x4
switch to SDR 8 bit
switch bus width to 0x8 bits success
switch speed to 0x1 success
switch frequency to 0x57
frequency divider is 0x1
Factory: MMC
Factory: pp:1, seq#:0x29, size:0x20400
------------can't find tmp/factory/000BootParam.h
NOTICE:  [Thor B00] process_PCPU_FW 
NOTICE:  Load PCPU Certificate from Flash ok
NOTICE:  Load PCPU FW from Flash ok
INFO:    REG32(0x9800006c) = 0x1NOTICE:  Start to Load Cert by mailbox
NOTICE:  SEND_PCPU_OTP_DATA
NOTICE:  Load Cert by mailbox Done
NOTICE:  Load Cert by mailbox Done
NOTICE:  Start to verify Cert
NOTICE:  Start to Load PCPU FW by mailbox
NOTICE:  Load PCPU FW by mailbox Done
NOTICE:  Start to verify PCPU FW
NOTICE:  PCPU FW Start
In:    serial
Out:   serial
Err:   serial
HDMITx_HPD=False
------------can't find tmp/factory/hdmitx_format.bin
------------can't find tmp/factory/video_rpc.bin
tv_system=25 mode=1
Net:   check patch key = 5600
Realtek PCIe GBE Family Controller mcfg = 0024
dev->name=r8168#0
init control GPIO
set_type = 0 (0: high, 1: normal, 2: low, 3: stop)
set FAN -> high
Checking default environment
Hit Esc or Tab key to enter console mode or rescue linux:  0 
Power-Key stat:1
check_acpu_boot_notification, boot-reason : 0x00420000
check_rtc_expire:RTC not detected in factory
customize_check_normal_boot: power up by button
set_kernelargs_for_buffalo : set kernelargs -> BOOTVER=0.22 root=/dev/ram0 rw ramdisk_size=131072 initrd=0x05000000,32M init=/init boot=buffalofirm boot_device_type=eMMC ubootenv=0x621400,0x20000,0x4
,0x00@mmcblk0 ubootenv_redund=0x821400,0x20000,0x4,0x00@mmcblk0
[ENV] Writing to Factory... 
[FAC] factory_save: MMC
[FAC] Save to eMMC (blk#:0x3108, buf:0x07000000, len:0x20a00)
[FAC] Save to eMMC (seq#:0x2a, pp:0)
done
rtk_plat_do_bootb_u : Step 1 -> load kernelDT from 0x00078592 to 0x34603008 with size 0x02097152
rtk_plat_do_bootb_u : Step 2 -> load kernel from 0x00082688 to 0x35651584 with size 0x25165824
PCPU_FW_START
rtk_plat_do_bootb_u : Step 3-1 -> load initrd from 0x00266241 to 0x83886080 with size 0x16777216
rtk_plat_do_bootb_u : Step 3-2 -> load initrd from 0x00299009 to 0x100663296 with size 0x16777216
do booti -> booti $kernel_loadaddr - $fdt_loadaddr
Wrong Image Format for do_booti command
ERROR: can't get kernel image!
Not raw Image, Starting Decompress Image.gz...


## Flattened Device Tree blob at 02100000
   Booting using the fdt blob at 0x2100000
   reserving fdt memory region: addr=f900000 size=307000
   reserving fdt memory region: addr=0 size=100000
   reserving fdt memory region: addr=2f000 size=1000
   reserving fdt memory region: addr=1ffe000 size=4000
   reserving fdt memory region: addr=10000000 size=14000
   reserving fdt memory region: addr=3200000 size=c700000
   reserving fdt memory region: addr=2600000 size=c00000
   reserving fdt memory region: addr=16200000 size=15300000
   Using Device Tree in place at 0000000002100000, end 000000000210f56d
[FDT] mac = 00:10:20:30:40:50
[FDT] update MAC address
Bring UP slave CPUs
EVVVE
eb1VEESRBRBBtOOSREOBSSOE:S EE:::R bb lbB3Ol13l_a3S rseE1:t_sbtliu3p 
_N_1nltIg_su3p 1
   eFstKesIeupettrupN
uO
FI :ep
 : B :L  3  1B :   vF:O
BL1 .               O:  B
g82   L3 L21 f3BlLu(313:d1e1::  vbvu 1sv:1h1g.. 2.)(idnv2:e71b.(u2d7eg8)(adb4u:8g7e7 9
 7 c a7e7 88BabLua379::
7 :1 c:            448gI)8N99F:

   I8IahNBeN FuOFiO lB:t4 :   :8 9    L1s 3 
44: 9444NL4c3L1e:1F:O4 s3B1s9u:: : ,fB    uiBSue iBulipt L 3l:lt1 l l1::1 0t19  :yB :4 u4i2:01400l:9t,: 44:4  .S411
      I,: 
9[21 S190 49S9,Ne p, 1 1S9 Sep9eFp2  0129O:  2019 190 
9 1BI
 NI2
N
 FF_IINON:DFUFOO :O B  U :G   S o  n B
nDUSBN22B_F2D_DO: _:DU  UBBUU BGU GU G So Bo 2on_
 I
NIUNn
  iO LFI31OG:N :F oF OnI:n
it    :It  N iFO  : B   aL B lLBiz3Bin31g L1ruL3nt:3i:1:m  I1eni :tiIIal ni itzsianiliIizienngnr tvirgceius
  inIat NilFOam: rl  iuizezin  gnse Srvirictnesti
vStrrtNn tmFo  eintritOi  mes: sueersnvi ecer st  
s   arivt imtoIc ie iNceens
o nsinciiOs: :t  d  Se_ta rrt s sert vivocevi s ctd S_ctasirt v te
F  Nt    t
 sOIN eFO
itasho   :sIe:Nrr v vF  i Ocei  s ctd: _sF ve  ci FS in tisnsh 
        tItoid_r svNtc nF
iI itOton: Ni F tOs si:er nvie ce r si t   dtFiv_niFish i tssocer vviniceei sc tdn _s
sstesvtoIt itNnic tdse  rvFsic_Oe 
oc  dI_:NsrFOv :v   c Sv tacirt   t 
iO:e NF
ed_r  F   niSInitishsa tNto tFinr idsettrvO ic_:e  s  st oo  einvSitpc srtertvv iciae ecst
in_Nitof s t  o I
tO:       peFterIedav_fOsasN:t iF
e      c
   I  NI Fo OptNSeeSFd:O:_t  tf   aFia niarsrt hsto   it nit t t sF
eeid_rFOio:  n  vi  niFit iiseisrvcnicneeh o iptioee td_stfaphs  ttto o ins itee s
Ii    farvstnv 
  tiNicI eNFFsO:cO   e e o opt:Eeer d_pvfaXts eetId_i fa cstT  
 eBLI
: io  Fn 1NFO 
 e       isEIh OXtpITo: BN L3tF1
   F bt l3 asnNt:FO i:  
           1ise_Ir NFvtO:ni   i  obEXc_IskeTernl elh3:   keBor1ptnLeeted__ofa3tstl1  
I_oNF
     rOies:Ium_ e_nkenNitr FyeO:    t=  r EX nIT b sl3B01_eLtoel_kxrer30n:
eO: Nvk1i:ecF
os   Irk ner  nN beol3el1 FljupOmp_ts_ee rd_:tfar stee 
 0 nx0l  blse31Nu_tEFo__Lkm2:ee LOrK e:enn_trnty ry e =e

 0bre: yNFkXeI Tr O:ne=  BL  l3_0x1

2_:psk eum1FOeO:: j _eu  n t m b p rysb l3l3 1=to j1 _ 0ELuxmto0
K        LINtKorn eFeO El:nLt: 2r: ky  e  Lrn
s _t lel_3rn1 ejtsruumypm e
e   enot ErLy 2=:  0LKx0 
 ntIrNFyO :
    bl31 jumps to EL2: LK entry

DMESG output

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.119-0000000-generic ([email protected]) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) ) #1 SMP PREEMPT Tue Oct 27 10:22:47 UTC 2020
[    0.000000] Boot CPU: AArch64 Processor [411fd050]
[    0.000000] DT: logo_start_addr 0x30000000, size 0x900000
[    0.000000] DT: free_logo_reserved_region 0
[    0.000000] DT: saving_section_page_table 0
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000098007800 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] rsvmem_remap_setup 234, not remap common@0 now
[    0.000000] rsvmem_remap_setup 234, not remap ringbuf@0 now
[    0.000000] rsvmem_remap_setup 234, not remap rbus@0 now
[    0.000000] cma: size 0x0000000002000000, base 0x0000000000000000, fixed(0)
[    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu @ffffffc07df2e000 s52376 r8192 d29544 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 BOOTVER=0.22 root=/dev/ram0 rw ramdisk_size=131072 initrd=0x05000000,32M init=/init boot=buffalofirm boot_
device_type=eMMC ubootenv=0x621400,0x20000,0x4,0x00@mmcblk0 ubootenv_redund=0x821400,0x20000,0x4,0x00@mmcblk0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1432340K/2097152K available (8190K kernel code, 1096K rwdata, 2472K rodata, 3392K init, 1423K bss, 632044K reserved, 32768K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008280000 - 0xffffff8008a80000   (  8192 KB)
[    0.000000]     .rodata : 0xffffff8008a80000 - 0xffffff8008cf0000   (  2496 KB)
[    0.000000]       .init : 0xffffff8008cf0000 - 0xffffff8009040000   (  3392 KB)
[    0.000000]       .data : 0xffffff8009040000 - 0xffffff8009152008   (  1097 KB)
[    0.000000]        .bss : 0xffffff8009152008 - 0xffffff80092b5c54   (  1424 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf02000000   (    32 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc080000000   (  2048 MB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000ff140000
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 27.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[    0.000003] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[    0.009083] rmem_count: 3
[    0.012945] 
[    0.014586] rsvmem_remap 143, rmem->name common@0
[    0.020763] rsvmem_remap 151, type rsvmem-remap
[    0.026759] rsvmem_remap 163, ioremap(2f000,1000)
[    0.032948] rsvmem_remap 175, remap addr ffffff8008015000
[    0.039905] rsvmem_remap 184, save_remap_name common
[    0.046381] rsvmem_remap 203, save rpc_common_base
[    0.052661] rsvmem_remap 216, init common@0/common done
[    0.059420] 
[    0.061059] rsvmem_remap 143, rmem->name ringbuf@0
[    0.067330] rsvmem_remap 151, type rsvmem-remap
[    0.073318] rsvmem_remap 163, ioremap(1ffe000,4000)
[    0.079698] rsvmem_remap 175, remap addr ffffff8008018000
[    0.086654] rsvmem_remap 184, save_remap_name ringbuf
[    0.093219] rsvmem_remap 210, save rpc_ringbuf_base
[    0.099596] rsvmem_remap 216, init ringbuf@0/ringbuf done
[    0.106550] 
[    0.108190] rsvmem_remap 143, rmem->name rbus@0
[    0.114185] rsvmem_remap 151, type rsvmem-remap
[    0.120173] rsvmem_remap 163, ioremap(98000000,200000)
[    0.126838] rsvmem_remap 175, remap addr ffffff8009800000
[    0.133785] rsvmem_remap 184, save_remap_name rbus
[    0.140064] rsvmem_remap 188, save rbus_addr
[    0.145768] rsvmem_remap 195, set rtk_rbus_barrier_flag to 1
[    0.153017] rsvmem_remap 216, init rbus@0/rbus done
[    0.159698] Console: colour dummy device 80x25
[    0.164648] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=108000)
[    0.176139] pid_max: default: 32768 minimum: 301
[    0.181414] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.188865] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.197359] ftrace: allocating 29916 entries in 117 pages
[    0.249257] sched-energy: CPU device node has no sched-energy-costs
[    0.256247] Invalid sched_group_energy for CPU0
[    0.261281] CPU0: update cpu_capacity 1024
[    0.265862] ASID allocator initialised with 32768 entries
[    0.352137] Detected VIPT I-cache on CPU1
[    0.352164] GICv3: CPU1: found redistributor 100 region 0:0x00000000ff160000
[    0.352191] Invalid sched_group_energy for CPU1
[    0.352193] CPU1: update cpu_capacity 1024
[    0.352195] CPU1: Booted secondary processor [411fd050]
[    0.384181] Detected VIPT I-cache on CPU2
[    0.384202] GICv3: CPU2: found redistributor 200 region 0:0x00000000ff180000
[    0.384219] Invalid sched_group_energy for CPU2
[    0.384221] CPU2: update cpu_capacity 1024
[    0.384223] CPU2: Booted secondary processor [411fd050]
[    0.416238] Detected VIPT I-cache on CPU3
[    0.416256] GICv3: CPU3: found redistributor 300 region 0:0x00000000ff1a0000
[    0.416272] Invalid sched_group_energy for CPU3
[    0.416274] CPU3: update cpu_capacity 1024
[    0.416276] CPU3: Booted secondary processor [411fd050]
[    0.448300] Detected VIPT I-cache on CPU4
[    0.448318] GICv3: CPU4: found redistributor 400 region 0:0x00000000ff1c0000
[    0.448334] Invalid sched_group_energy for CPU4
[    0.448336] CPU4: update cpu_capacity 1024
[    0.448338] CPU4: Booted secondary processor [411fd050]
[    0.480366] Detected VIPT I-cache on CPU5
[    0.480382] GICv3: CPU5: found redistributor 500 region 0:0x00000000ff1e0000
[    0.480398] Invalid sched_group_energy for CPU5
[    0.480400] CPU5: update cpu_capacity 1024
[    0.480402] CPU5: Booted secondary processor [411fd050]
[    0.480475] Brought up 6 CPUs
[    0.622017] SMP: Total of 6 processors activated.
[    0.627246] CPU features: detected feature: GIC system register CPU interface
[    0.635177] CPU features: detected feature: Privileged Access Never
[    0.642129] CPU features: detected feature: User Access Override
[    0.648805] CPU features: detected feature: 32-bit EL0 Support
[    0.655287] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.666547] CPU: All CPU(s) started at EL2
[    0.671111] alternatives: patching kernel code
[    0.676810] Invalid sched_group_energy for CPU5
[    0.681849] Invalid sched_group_energy for Cluster5
[    0.687264] Invalid sched_group_energy for CPU4
[    0.692297] Invalid sched_group_energy for Cluster4
[    0.697711] Invalid sched_group_energy for CPU3
[    0.702744] Invalid sched_group_energy for Cluster3
[    0.708158] Invalid sched_group_energy for CPU2
[    0.713190] Invalid sched_group_energy for Cluster2
[    0.718613] Invalid sched_group_energy for CPU1
[    0.723645] Invalid sched_group_energy for Cluster1
[    0.729059] Invalid sched_group_energy for CPU0
[    0.734082] Invalid sched_group_energy for Cluster0
[    0.740113] devtmpfs: initialized
[    0.751341] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.762179] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.770167] xor: measuring software checksum speed
[    0.815538]    8regs     :  2274.000 MB/sec
[    0.860230]    8regs_prefetch:  2074.000 MB/sec
[    0.905306]    32regs    :  2896.000 MB/sec
[    0.949989]    32regs_prefetch:  2682.000 MB/sec
[    0.955120] xor: using function: 32regs (2896.000 MB/sec)
[    0.961166] pinctrl core: initialized pinctrl subsystem
[    0.967489] NET: Registered protocol family 16
[    0.988464] cpuidle: using governor ladder
[    1.009043] cpuidle: using governor menu
[    1.013597] vdso: 2 pages (1 code @ ffffff8008a86000, 1 data @ ffffff8009044000)
[    1.021821] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    1.029950] DMA: preallocated 256 KiB pool for atomic allocations
[    1.036946] [PINCTRL] driver init
[    1.041280] [PINCTRL] init done
[    1.045272] [RTK_SB2_DBG] sb2_dbg_probe
[    1.049586] [RTK_SB2_DBG] info 0x10000
[    1.053750] [RTK_SB2_DBG] use smc 1
[    1.057937] rtk-mmio 98000000.mmio: use secure config
[    1.063388] rtk-mmio 98000000.mmio: use hw semaphore
[    1.068984] rtk-rtd16xx-cc 98000000.clocks: use mmio regmap
[    1.075348] rtk-rtd16xx-cc 98000000.clocks: initialized
[    1.081352] rtk-cgc 98000050.clk-en: initialized
[    1.086694] rtk-cgc 98000054.clk-en: initialized
[    1.091996] rtk-cgc 98000058.clk-en: initialized
[    1.097327] rtk-cgc 9800005c.clk-en: initialized
[    1.102684] rtk-cgc 9800708c.clk-en: initialized
[    1.107973] rtk-rtd16xx-reset 98000000.soft-reset: io mem type is regmap
[    1.115525] rtk-rtd16xx-reset 98000000.soft-reset: initialized
[    1.122185] rtk-mmio 98007088.mmio: use hw semaphore
[    1.127780] rtk-reset 98007088.soft-reset: use mmio regmap
[    1.133956] rtk-reset 98007088.soft-reset: initialized
[    1.139817] rtk-reset 98007088.usb-async-soft-reset: use mmio regmap
[    1.146955] rtk-reset 98007088.usb-async-soft-reset: initialized
[    1.153897] rtk-rtd16xx-power 98007000.power-domain: initialized
[    1.163137] [RTD16xx_gpio-suspend] wakeup-gpio Cnt: en(2) act(2) list(2)
[    1.170672] [RTD16xx_gpio-suspend] wakeup-gpio[0] Successful registration! (en:1 act:0 gpio:2)
[    1.180398] [RTD16xx_gpio-suspend] wakeup-gpio[1] Successful registration! (en:1 act:0 gpio:45)
[    1.190197] [RTD16xx_gpio-suspend] gpio-output-change Cnt: en(0) act(0) list(-2)
[    1.288838] raid6: int64x1  gen()   390 MB/s
[    1.360844] raid6: int64x1  xor()   383 MB/s
[    1.432964] raid6: int64x2  gen()   653 MB/s
[    1.504998] raid6: int64x2  xor()   663 MB/s
[    1.577071] raid6: int64x4  gen()   924 MB/s
[    1.649112] raid6: int64x4  xor()   753 MB/s
[    1.721153] raid6: int64x8  gen()   783 MB/s
[    1.793236] raid6: int64x8  xor()   652 MB/s
[    1.865308] raid6: neonx1   gen()   708 MB/s
[    1.937330] raid6: neonx1   xor()   911 MB/s
[    2.009449] raid6: neonx2   gen()  1037 MB/s
[    2.081461] raid6: neonx2   xor()  1080 MB/s
[    2.153535] raid6: neonx4   gen()  1398 MB/s
[    2.225590] raid6: neonx4   xor()  1220 MB/s
[    2.297641] raid6: neonx8   gen()  1432 MB/s
[    2.369701] raid6: neonx8   xor()  1177 MB/s
[    2.374507] raid6: using algorithm neonx8 gen() 1432 MB/s
[    2.380581] raid6: .... xor() 1177 MB/s, rmw enabled
[    2.386157] raid6: using intx1 recovery algorithm
[    2.391504] ACPI: Interpreter disabled.
[    2.395852] [RTD16xx_PM] Initial Power Management
[    2.401207] [RTD16xx_PM] wakeup flags = 0x3d
[    2.406068] [rstctrl] addr 0xffffff8008095640
[    2.411098] rtk-usb-manager 98000000.rtk_usb_power_manager: ENTER rtk_usb_manager_probe
[    2.420161] rtk-usb-manager 98000000.rtk_usb_power_manager: parse_gpio_setting get power-gpio (id=57) OK
[    2.430838] rtk-usb-manager 98000000.rtk_usb_power_manager: parse_gpio_setting get power-gpio (id=48) OK
[    2.441529] rtk-usb-manager 98000000.rtk_usb_power_manager: parse_gpio_setting get power-gpio (id=49) OK
[    2.451776] mac_node: rtk_dwc3_drd status is okay
[    2.457087] rtk-usb-manager 98000000.rtk_usb_power_manager: __of_parse_port_gpio_mapping port0 mapping gpio_num=57
[    2.468760] mac_node: rtk_dwc3_u2host status is okay
[    2.474360] rtk-usb-manager 98000000.rtk_usb_power_manager: __of_parse_port_gpio_mapping port1 mapping gpio_num=48
[    2.486016] mac_node: rtk_dwc3_u3host status is okay
[    2.491616] rtk-usb-manager 98000000.rtk_usb_power_manager: __of_parse_port_gpio_mapping port2 mapping gpio_num=49
[    2.502745] rtk_usb_soc_init START (/build/F0024_buffalonas_kernel_src/drivers/soc/realtek/rtd16xx/rtk_usb.c)
[    2.513910] rtk_usb_soc_init END
[    2.518418] rtk-usb-manager 98000000.rtk_usb_power_manager: Realtek USB init OK
[    2.526676] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power off by gpio (id=57) OK
[    2.537855] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power (power_low_active) off by gpio (id=48) OK
[    2.550891] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power (power_low_active) off by gpio (id=49) OK
[    2.563914] rtk_usb_set_hw_l4icg_on_off set l4_icg port 0
[    2.569988] rtk_usb_set_hw_l4icg_on_off set l4_icg port 1
[    2.576069] rtk_usb_set_hw_l4icg_on_off set l4_icg port 2
[    2.582243] rtk-usb-manager 98000000.rtk_usb_power_manager: create_debug_files
[    2.590049] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_probe OK (take 180 ms)
[    2.600370] SCSI subsystem initialized
[    2.604683] usbcore: registered new interface driver usbfs
[    2.610633] usbcore: registered new interface driver hub
[    2.616700] usbcore: registered new device driver usb
[    2.622879] rtk-efuse 98017000.efuse: initialized
[    2.628097] Advanced Linux Sound Architecture Driver Initialized.
[    2.635354] cpu-volt-sel: dev_pm_opp_set_prop_name: name=tt
[    2.642033] clocksource: Switched to clocksource arch_sys_counter
[    2.677273] VFS: Disk quotas dquot_6.6.0
[    2.681770] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.689609] FS-Cache: Loaded
[    2.692912] pnp: PnP ACPI: disabled
[    2.703928] NET: Registered protocol family 2
[    2.709278] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.717168] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    2.724807] TCP: Hash tables configured (established 16384 bind 16384)
[    2.732225] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    2.739020] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    2.746449] NET: Registered protocol family 1
[    2.751482] RPC: Registered named UNIX socket transport module.
[    2.758156] RPC: Registered udp transport module.
[    2.763445] RPC: Registered tcp transport module.
[    2.768740] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.776156] Trying to unpack rootfs image as initramfs...
[    3.622359] Freeing initrd memory: 32768K
[    3.630559] Kernel event proc (C) BUFFALO INC. V.1.00 installed.
[    3.637340] MICON ctrl (C) BUFFALO INC. V.1.00 installed.
[    3.643165] UPSDRV (C) BUFFALO INC. V.1.10 installed.
[    3.648859] BUFFALO UPS Recover Function Initialized.
[    3.655782] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    3.663844] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.670859] NFS: Registering the id_resolver key type
[    3.676571] Key type id_resolver registered
[    3.681286] Key type id_legacy registered
[    3.685602] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.695165] NET: Registered protocol family 38
[    3.700237] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    3.708583] io scheduler noop registered
[    3.713009] io scheduler deadline registered
[    3.717858] io scheduler cfq registered (default)
[    3.723745] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(0) enable=(0) duty_rate=(5) clksrc_div=(1) clkout_div=(255)---  
[    3.735316] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    3.743467] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(1) enable=(1) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    3.755130] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    3.763661] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(2) enable=(0) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    3.775317] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    3.783840] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(3) enable=(0) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    3.795495] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    3.804750] [RTD16xx PCIE1] 98060000.pcie: PCIE host driver initial begin.
[    3.812503] [RTD16xx PCIE1] 98060000.pcie: Speed Mode: GEN2
[    3.825384] [RTD16xx PCIE1] 98060000.pcie: PCIE device has link up in slot 1
[    3.833326] OF: PCI: host bridge /pcie@98060000 ranges:
[    3.839219] OF: PCI:   MEM 0x98062000..0x9807ffff -> 0x98062000
[    3.845889] OF: PCI:    IO 0x00030000..0x0003ffff -> 0x00030000
[    3.852641] [RTD16xx PCIE1] 98060000.pcie: PCI host bridge to bus 0000:01
[    3.860296] pci_bus 0000:01: root bus resource [bus 00-ff]
[    3.866478] pci_bus 0000:01: root bus resource [mem 0x98062000-0x9807ffff]
[    3.874225] pci_bus 0000:01: root bus resource [io  0x0000-0xffff] (bus address [0x30000-0x3ffff])
[    3.886304] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    3.903541] pci 0000:01:00.0: BAR 2: assigned [mem 0x98070000-0x9807ffff 64bit]
[    3.912301] pci 0000:01:00.0: BAR 4: assigned [mem 0x98064000-0x98067fff 64bit]
[    3.920699] pci 0000:01:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    3.927738] [RTD16xx PCIE1] 98060000.pcie: PCIE host driver initial done.
[    3.936173] [RTK MCP] MCP driver initial begin.
[    3.941302] [RTK MCP] MCP Base: 0xffffff80080bd000
[    3.946701] [RTK MCP] TP Base: 0xffffff80080bf000
[    3.952106] [RTK MCP] MCP driver initial done.
[    3.957430] rtk-demod 9801e000.demod: initialized
[    3.962974] rtk-tp 98014000.tp: initialized
[    3.967910] rtk-r2rdsc 9800b000.r2rdsc: initialized
[    3.974744] [I2C0] Xfer fail - TXABORT (1/2), Reason=800001
[    3.981021] msg->addr  = 41
[    3.984166] msg->flags = 0001
[    3.987506] msg->len   = 1
[    3.990552] msg->buf   = ffffffc0796dfd80
[    3.995070] silergy-sy8827e 0-0041: failed to read chip_id: -13
[    4.001790] silergy-sy8827e: probe of 0-0041 failed with error -13
[    4.008884] reg-sel 0-0012: selector_probe
[    4.014942] reg-sel 0-0012: driver=apw8889
[    4.019569] reg-sel 0-0012: id=apw8889
[    4.023803] reg-sel 0-0012: device_node=apw8889
[    4.030799] reg-sel 0-0012: apw8889(5a) rev3
[    4.042867] apw8889-regulator apw8889-regulator: initialized
[    4.049238] reg-sel 0-0012: initialized
[    4.053643] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.061544] console [ttyS0] disabled
[    4.065610] 98007800.serial0: ttyS0 at MMIO 0x98007800 (irq = 10, base_baud = 1687500) is a 16550A
[    4.075296] console [ttyS0] enabled
[    4.075296] console [ttyS0] enabled
[    4.082663] bootconsole [uart8250] disabled
[    4.082663] bootconsole [uart8250] disabled
[    4.092087] Unable to detect cache hierarchy for CPU 0
[    4.101009] brd: module loaded
[    4.108289] loop: module loaded
[    4.112422] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x70000211
[    4.118603] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x70004211
[    4.124768] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x70008211
[    4.130941] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x336a0511
[    4.137106] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x336a4511
[    4.143277] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x336a8511
[    4.149440] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xa9040b11
[    4.155602] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xa9044b11
[    4.161763] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xa9048b11
[    4.167927] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x500b1411
[    4.174088] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x500b5411
[    4.180249] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x500b9411
[    4.186411] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x77771511
[    4.192572] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x77775511
[    4.198733] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x77779511
[    4.204894] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x231711
[    4.210878] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x235711
[    4.216862] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x239711
[    4.222845] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x632211
[    4.228828] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x636211
[    4.234813] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0x63a211
[    4.240797] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xab762311
[    4.246958] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xab766311
[    4.253119] phy-rtk-sata 9803ff00.sata_phy: phy0 para 0xab76a311
[    4.259280] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x40aa2011
[    4.265531] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x40a86011
[    4.271781] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x40a5a011
[    4.278038] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x88aa2111
[    4.284288] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x88aa6111
[    4.290539] phy-rtk-sata 9803ff00.sata_phy: phy0 txdrv 0x38aaa111
[    4.296790] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x42100911
[    4.303219] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x42104911
[    4.309648] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x42108911
[    4.316076] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x276a0311
[    4.322505] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x276a4311
[    4.328934] phy-rtk-sata 9803ff00.sata_phy: phy0 rxsense 0x27668311
[    4.335394] phy-rtk-sata 9803ff00.sata_phy: init phy0 OK
[    4.340850] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x70000211
[    4.347013] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x70004211
[    4.353174] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x70008211
[    4.359336] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x336a0511
[    4.365497] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x336a4511
[    4.371658] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x336a8511
[    4.377819] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xa9040b11
[    4.383980] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xa9044b11
[    4.390141] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xa9048b11
[    4.396302] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x500b1411
[    4.402463] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x500b5411
[    4.408624] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x500b9411
[    4.414785] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x77771511
[    4.420946] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x77775511
[    4.427107] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x77779511
[    4.433267] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x231711
[    4.439250] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x235711
[    4.445233] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x239711
[    4.451218] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x632211
[    4.457201] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x636211
[    4.463184] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0x63a211
[    4.469167] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xab762311
[    4.475329] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xab766311
[    4.481490] phy-rtk-sata 9803ff00.sata_phy: phy1 para 0xab76a311
[    4.487653] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0x40a52011
[    4.493905] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0x40a46011
[    4.500156] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0x40a5a011
[    4.506406] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0x484a2111
[    4.512658] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0x484a6111
[    4.518910] phy-rtk-sata 9803ff00.sata_phy: phy1 txdrv 0xa8aaa111
[    4.525161] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x42100911
[    4.531599] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x42104911
[    4.538035] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x42108911
[    4.544466] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x276a0311
[    4.550895] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x276a4311
[    4.557325] phy-rtk-sata 9803ff00.sata_phy: phy1 rxsense 0x27668311
[    4.563786] phy-rtk-sata 9803ff00.sata_phy: init phy1 OK
[    4.569338] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    4.577264] r8125 2.5Gigabit Ethernet driver 9.003.rc7+1-NAPI loaded
[    4.584017] r8125 0000:01:00.0: enabling device (0000 -> 0003)
[    4.591865] r8125 0000:01:00.0: no MSI. Back to INTx.
[    4.949582] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    4.963289] r8125  Copyright (C) 2019  Realtek NIC software team <[email protected]> 
[    4.963289]  This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
[    4.963289]  This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[    4.995113] r8169 Gigabit Ethernet driver 2.6.0LK-NAPI loaded
[    5.001088] get phy_irq from device tree: 220, 221, 222
[    5.007546] wait all ACP access finished...[    5.011667] done.
[    5.013642] ARM ACP off
.[    5.042296] wait 24 ms for PHY interrupt. UMSK_ISR = 0x18181000
[    5.050070] wait 1 ms for PHY ready, current = 0x23
[    5.059944] wait 1 ms for GPHY patch_rdy. reg = 0xc0
[    5.065037] patch_rdy is asserted!!
[    5.068997] check patch key = 5600
[    5.085944] wait 0 ms for GPHY patch_rdy. reg = 0x80
[    5.091037] 
[    5.091037] patch_rdy is de-asserted!!
[    5.096397] GPHY uC code patched.
[    5.114749] r8169 98016000.gmac eth1: RTL8168g/8111g at 0xffffff8008137000, XID 10900800 IRQ 11
[    5.123675] r8169 98016000.gmac eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    5.132608] [Ethernet] Watch link status change.
[    5.132616] eth1: request eth_phy0 IRQ 220 successfully, ret = 0x0
[    5.132627] eth1: request eth_phy1 IRQ 221 successfully, ret = 0x0
[    5.132637] eth1: request eth_phy2 IRQ 222 successfully, ret = 0x0
[    5.132991] rtk-uio 98000000.rbus: initialized
[    5.133165] rtk-uio 9801b000.refclk: initialized
[    5.133454] rtk-se 9800c000.se: irq=22
[    5.133461] rtk-se 9800c000.se: phys:0x000000009800c000 virt:0xffffff800813b000 size:0x0000000000001000 type:1 name:SE reg space
[    5.133466] rtk-se 9800c000.se: phys:0x000000007e041000 virt:0xffffff800813d000 size:0x0000000000001000 type:1 name:SE driver data
[    5.133472] rtk-se 9800c000.se: phys:0x000000007e044000 virt:0xffffff800813f000 size:0x0000000000004000 type:1 name:SE command queue
[    5.133671] rtk-se 9800c000.se: [SE] Engine[0] Ctrl:00000001 Base:7e044000 ReadPtr:7e044000 WritePtr:7e044000 Limit:7e048000
[    5.133676] rtk-se 9800c000.se: shared mode
[    5.133680] rtk-se 9800c000.se: initialized
[    5.133902] rtk-md 9800b000.md: irq=21
[    5.133909] rtk-md 9800b000.md: phys:0x000000009800b000 virt:0xffffff8008144000 size:0x0000000000001000 type:1 name:MD reg space
[    5.133914] rtk-md 9800b000.md: phys:0x000000007e042000 virt:0xffffff8008146000 size:0x0000000000001000 type:1 name:MD driver data
[    5.133919] rtk-md 9800b000.md: phys:0x000000007e048000 virt:0xffffff8008148000 size:0x0000000000004000 type:1 name:MD command queue
[    5.134143] rtk-md 9800b000.md: [MD] Engine[0] Ctrl:00000005 Base:7e048000 ReadPtr:7e048000 WritePtr:7e048000 Limit:7e04c000
[    5.134147] rtk-md 9800b000.md: shared mode
[    5.134151] rtk-md 9800b000.md: initialized
[    5.134437] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2phy_probe: Chip 1619 revision is a01
[    5.134483] rtk-usb2phy 98028280.dwc3_drd_usb2phy: /build/F0024_buffalonas_kernel_src/drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    5.134521] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: rtk_usb2phy_probe: Chip 1619 revision is a01
[    5.134562] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: /build/F0024_buffalonas_kernel_src/drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    5.134597] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: rtk_usb2phy_probe: Chip 1619 revision is a01
[    5.134634] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: /build/F0024_buffalonas_kernel_src/drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    5.134782] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb3phy_probe: Chip 1619 revision is a01
[    5.134798] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb3phy_probe load phy_data_revA parameter
[    5.134816] rtk-usb3phy 98013210.dwc3_drd_usb3phy: /build/F0024_buffalonas_kernel_src/drivers/usb/phy/phy-rtk-usb3.c Probe RTK USB 3.0 PHY
[    5.134851] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb3phy_probe: Chip 1619 revision is a01
[    5.134869] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb3phy_probe load phy_data_revA parameter
[    5.134890] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: /build/F0024_buffalonas_kernel_src/drivers/usb/phy/phy-rtk-usb3.c Probe RTK USB 3.0 PHY
[    5.135296] rtk-dwc3 98013200.rtk_dwc3_drd: Probe Realtek-SoC USB DWC3 Host Controller
[    5.135562] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013200.rtk_dwc3_drd
[    5.135579] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe ok! (take 0 ms)
[    5.135586] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe_work Start ...
[    5.135611] rtk-dwc3 98013c00.rtk_dwc3_u2host: Probe Realtek-SoC USB DWC3 Host Controller
[    5.135857] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013c00.rtk_dwc3_u2host
[    5.135860] dwc3 98020000.dwc3_drd: rtk dwc3 fixed dwc3 globals register start address 0xffffff8008178100
[    5.135870] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe ok! (take 0 ms)
[    5.135922] rtk-dwc3 98013e00.rtk_dwc3_u3host: Probe Realtek-SoC USB DWC3 Host Controller
[    5.136036] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    5.136041] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    5.136076] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    5.136170] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013e00.rtk_dwc3_u3host
[    5.136183] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe ok! (take 0 ms)
[    5.136615] usbcore: registered new interface driver uas
[    5.136650] usbcore: registered new interface driver usb-storage
[    5.136676] usbcore: registered new interface driver ums-realtek
[    5.136757] [RTK_RTC] 9801b600.rtc: rtk_base_year = 2018
[    5.136903] [RTK_RTC] 9801b600.rtc: rtk_rtc rtcacr = 0x80
[    5.136908] [RTK_RTC] 9801b600.rtc: rtk_rtc already enabled 
[    5.136914] [RTK_RTC] 9801b600.rtc: enable REG_SEC = 0x29
[    5.136918] [RTK_RTC] 9801b600.rtc: enable REG_MIN = 0x2
[    5.136921] [RTK_RTC] 9801b600.rtc: enable REG_HR = 0x0
[    5.136924] [RTK_RTC] 9801b600.rtc: enable REG_DATA_LOW = 0x0
[    5.136928] [RTK_RTC] 9801b600.rtc: enable REG_DATE_HIGH = 0x0
[    5.137087] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    5.137091] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY (take 0ms)
[    5.137095] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Init RTK USB 3.0 PHY
[    5.137099] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb_phy_init Init RTK USB 3.0 PHY phy#0
[    5.137108] [RTK_RTC] 9801b600.rtc: rtc core: registered rtc as rtc0
[    5.137112] [RTK_RTC] 9801b600.rtc: initialized
[    5.137164] i2c /dev entries driver
[    5.142930] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## to toggle PHY addr 0x09 BIT(9)
[    5.144237] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## PHY addr 0x1f = 0xa8741f10
[    5.144241] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Initialized RTK USB 3.0 PHY (take 8ms)
[    5.144269] dwc3 98020000.dwc3_drd: dwc3_host_init
[    5.144391] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[    5.144405] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 1
[    5.144626] xhci-hcd xhci-hcd.6.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00010010
[    5.144660] xhci-hcd xhci-hcd.6.auto: irq 27, io mem 0x98020000
[    5.145148] hub 1-0:1.0: USB hub found
[    5.145169] hub 1-0:1.0: 1 port detected
[    5.145398] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[    5.145408] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 2
[    5.145460] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.145842] hub 2-0:1.0: USB hub found
[    5.145862] hub 2-0:1.0: 1 port detected
[    5.146237] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_port_power_on for 98013200.rtk_dwc3_drd
[    5.146244] rtk-usb-manager 98000000.rtk_usb_power_manager: __usb_port_power_on_off port0 power=on enable=0x1 enable_mask=0x1
[    5.146268] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power on by gpio (id=57) OK
[    5.146276] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe_work End ... ok! (take 8 ms)
[    5.146284] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe_work Start ...
[    5.146467] dwc3 98029000.dwc3_u2host: rtk dwc3 fixed dwc3 globals register start address 0xffffff80081a8100
[    5.146590] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    5.146595] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    5.146630] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    5.147641] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    5.147645] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY (take 0ms)
[    5.147670] dwc3 98029000.dwc3_u2host: dwc3_host_init
[    5.147781] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[    5.147793] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 3
[    5.147985] xhci-hcd xhci-hcd.7.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00010010
[    5.148000] xhci-hcd xhci-hcd.7.auto: irq 27, io mem 0x98029000
[    5.148449] hub 3-0:1.0: USB hub found
[    5.148468] hub 3-0:1.0: 1 port detected
[    5.148644] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[    5.148654] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 4
[    5.148698] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.149071] hub 4-0:1.0: USB hub found
[    5.149090] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    5.149360] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_port_power_on for 98013c00.rtk_dwc3_u2host
[    5.149367] rtk-usb-manager 98000000.rtk_usb_power_manager: __usb_port_power_on_off port1 power=on enable=0x1 enable_mask=0x1
[    5.149390] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power (power_low_active) on by gpio (id=48) OK
[    5.149398] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe_work End ... ok! (take 4 ms)
[    5.149405] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe_work Start ...
[    5.149581] dwc3 98050000.dwc3_u3host: rtk dwc3 fixed dwc3 globals register start address 0xffffff80081c8100
[    5.149721] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    5.149726] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    5.149761] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    5.150773] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    5.150777] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY (take 4ms)
[    5.150782] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb_phy_init Init RTK USB 3.0 PHY
[    5.150786] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb_phy_init Init RTK USB 3.0 PHY phy#0
[    5.156617] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb3_phy_toggle ########## to toggle PHY addr 0x09 BIT(9)
[    5.157924] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb3_phy_toggle ########## PHY addr 0x1f = 0xa0001f10
[    5.157928] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb_phy_init Initialized RTK USB 3.0 PHY (take 4ms)
[    5.157956] dwc3 98050000.dwc3_u3host: dwc3_host_init
[    5.158066] rtk-thermal-sensor 9801db00.thermal-sensor: initialized
[    5.158088] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[    5.158107] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 5
[    5.158283] md: linear personality registered for level -1
[    5.158286] md: raid0 personality registered for level 0
[    5.158289] md: raid1 personality registered for level 1
[    5.158291] md: raid10 personality registered for level 10
[    5.158328] xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00010010
[    5.158346] xhci-hcd xhci-hcd.8.auto: irq 27, io mem 0x98050000
[    5.158430] md: raid6 personality registered for level 6
[    5.158432] md: raid5 personality registered for level 5
[    5.158434] md: raid4 personality registered for level 4
[    5.158437] md: multipath personality registered for level -4
[    5.158810] hub 5-0:1.0: USB hub found
[    5.158830] hub 5-0:1.0: 1 port detected
[    5.159006] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[    5.159015] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 6
[    5.159075] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.159444] hub 6-0:1.0: USB hub found
[    5.159462] hub 6-0:1.0: 1 port detected
[    5.159793] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_port_power_on for 98013e00.rtk_dwc3_u3host
[    5.159801] rtk-usb-manager 98000000.rtk_usb_power_manager: __usb_port_power_on_off port2 power=on enable=0x1 enable_mask=0x1
[    5.159823] rtk-usb-manager 98000000.rtk_usb_power_manager: __gpio_on_off to set power (power_low_active) on by gpio (id=49) OK
[    5.159831] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe_work End ... ok! (take 12 ms)
[    5.161072] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: [email protected]
[    5.161481] EMMC : emmc of_node found
[    5.161550] [rtkemmc_probe] get speed-step : 3 
[    5.161557] [rtkemmc_probe] get driving s3 : 0x1
[    5.161559] [rtkemmc_probe] get driving s3 : 0x4
[    5.161560] [rtkemmc_probe] get driving s3 : 0x4
[    5.161562] [rtkemmc_probe] get driving s3 : 0x4
[    5.161564] [rtkemmc_probe] get driving s3 : 0x0
[    5.161566] [rtkemmc_probe] get tx tuning switch : 0
[    5.161568] [rtkemmc_probe] get rx tuning switch : 1
[    5.161570] [rtkemmc_probe] get dqs tuning switch : 1
[    5.161573] [rtkemmc_probe] get User defined tx reference phase: 9
[    5.161576] [rtkemmc_probe] MBR format: emmc tuning offset start from 0x9a0e00
[    5.161576] 
[    5.161671] EMMC: set to 0x00000000, EMMC_CTYPE=00000000
[    5.161677] EMMC: set_wrapper_div to 0x00000000
[    5.161680] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.161899] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.161979] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.161982] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.178147] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.178149] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.198070] mmc0: EMMC driver initialized
[    5.198090] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.198092] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.201026] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.201029] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.202048] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.202051] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.207151] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.207154] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.207164] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.207166] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.209389] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.209392] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.217253] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.217256] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.217943] rtkemmc_set_rspparam : cmd7 arg : 0x00010000
[    5.217945] rtkemmc_set_rspparam : cmd7 with rsp
[    5.232755] before cmd8, read dqs_data from emmc first for later usage: hs400_header=0x33aa, hs400_TX=0x9, hs400_RX=0x8, hs400_dqs=0x28
[    5.232757] tx_user_defined has been set, we still use user define value for usage
[    5.246096] xhci-hcd xhci-hcd.6.auto: RTK_phy_toggle to call RTK_dwc3_usb2_phy_toggle (wValue=10 port=0 status=202a0)
[    5.246105] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    5.247115] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    5.254375] card->mmc_avail_type = 0x00000057 
[    5.255188] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    5.255190] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    5.255191] set bus width 8
[    5.255195] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.262086] xhci-hcd xhci-hcd.8.auto: RTK_phy_toggle to call RTK_dwc3_usb2_phy_toggle (wValue=10 port=0 status=202a0)
[    5.262093] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    5.263103] rtk-usb2phy 98058280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    5.266197] EMMC: set_freq to 0xa6, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00a64388, PLL_EMMC4=00000007
[    5.266205] EMMC: set div to 0x00, EMMC_CLKDIV=00000000
[    5.266206] set bus width 8
[    5.266209] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.266220] EMMC: set_freq to 0xa6, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00a64388, PLL_EMMC4=00000007
[    5.266222] EMMC, set_ip_div = cur_div(0x00000000), ignored. 
[    5.266223] set bus width 8
[    5.266226] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.266228] Prepare HS400 mode...
[    5.266230] emmc card manid = 0x00000070
[    5.266232] EMMC: set_wrapper_div to 0x00000000
[    5.266242] EMMC: set_freq to 0x70, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00704388, PLL_EMMC4=00000007
[    5.266244] EMMC, set_ip_div = cur_div(0x00000000), ignored. 
[    5.266456] Inherit bootcode tuning phase: TX=0x9, RX=0x8
[    5.276460] HS400 first stage: final phase=0x84b
[    5.276471] EMMC: set_freq to 0x57, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=0000084b, PLL_EMMC2=04517893, PLL_EMMC3=00574388, PLL_EMMC4=00000007
[    5.276478] EMMC: set div to 0x01, EMMC_CLKDIV=00000001
[    5.276479] set bus width 8
[    5.276482] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.276492] EMMC: set_freq to 0x57, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=0000084b, PLL_EMMC2=04517893, PLL_EMMC3=00574388, PLL_EMMC4=00000007
[    5.276493] EMMC, set_ip_div = cur_div(0x00000001), ignored. 
[    5.276494] set bus width 8
[    5.276497] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.276624] mmc_select_hs400: card->ext_csd.raw_driver_strength=1f
[    5.277322] EMMC: set_freq to 0x57, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=0000084b, PLL_EMMC2=04517893, PLL_EMMC3=00574388, PLL_EMMC4=00000007
[    5.277324] EMMC, set_ip_div = cur_div(0x00000001), ignored. 
[    5.277325] set bus width 8
[    5.277328] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.277339] EMMC: set_freq to 0x70, EMMC_CKGEN_CTL=0x00000000, PLL_EMMC1=0000084b, PLL_EMMC2=04517893, PLL_EMMC3=00704388, PLL_EMMC4=00000007
[    5.277345] EMMC: set div to 0x00, EMMC_CLKDIV=00000000
[    5.277348] rtkemmc_set_ios - enable HS400, DDR_REG:0x80000000
[    5.277349] set bus width 8
[    5.277352] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    5.279361] Inherit bootcode dqs: DQS=0x28
[    5.279363] read/write test for inherit hs400 parameter...
[    5.302050] read/write test success for hs400 parameter!!!
[    5.307568] mmc0: new HS400 MMC card at address 0001
[    5.308045] mmcblk0: mmc0:0001 M62704 3.53 GiB 
[    5.308283] mmcblk0boot0: mmc0:0001 M62704 partition 1 2.00 MiB
[    5.308509] mmcblk0boot1: mmc0:0001 M62704 partition 2 2.00 MiB
[    5.308725] mmcblk0rpmb: mmc0:0001 M62704 partition 3 512 KiB
[    5.317818]  mmcblk0: p1 p2 p3 p4 p5 p6
[    5.326066] mmc0: retry_left=43, block_dev=[16 -> 26], time=126ms
[    5.326482] rtk-sdmmc: build at : #1 SMP PREEMPT Tue Oct 27 10:22:47 UTC 2020 
[    5.326484] rtk-sdmmc: CONFIG_MMC_BLOCK_BOUNCE enable
[    5.333787] SD CD irq=259
[    5.333789] SD WP irq=258
[    5.378085] rtk_sdmmc_get_cd: SD card does not exist, card_exist = 0xfe13bf0c
[    5.382836] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    5.383916] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    5.389106] SD card does not exist and sd clk is disabled...
[    5.422421] NET: Registered protocol family 10
[    5.440199] NET: Registered protocol family 17
[    5.440249] 8021q: 802.1Q VLAN Support v1.8
[    5.440271] Key type dns_resolver registered
[    5.447120] Registered cp15_barrier emulation handler
[    5.447129] Registered setend emulation handler
[    5.447556] registered taskstats version 1
[    5.450643] scpu wrappee irq 12, scpu_wrap_addr 0xffffff800827b000
[    5.450643] 
[    5.450681] [SCPU_WRAPPER] initialized
[    5.450683] [SCPU_WRAPPER][scpu_wrapper_init] memory monitor 0x98013b00 - 0x98013c00
[    5.451021] rtk-uctrl rtk-uctrl.0: initialized
[    5.455523] [RTK_RTC] 9801b600.rtc: setting system clock to 2018-01-01 00:02:21 UTC (1514764941)
[    5.456053] clk_mmio_gate_disable_unused: sc1
[    5.456062] clk_mmio_gate_disable_unused: nf
[    5.456065] clk_mmio_gate_disable_unused: rsa
[    5.456073] pll_dif: clk_pll_dif_disable_unused
[    5.456106] pctrl_hdmirx: rtk_sram_power_off_unused
[    5.456113] pctrl_ve3: rtk_sram_power_off_unused
[    5.456116] pctrl_ve2: rtk_sram_power_off_unused
[    5.456118] pctrl_ve1: rtk_sram_power_off_unused
[    5.456128] ALSA device list:
[    5.456130]   No soundcards found.
[    7.086709] ttyS0 - failed to request DMA
[    7.093898] Freeing unused kernel memory: 3392K
Loading, please wait...
starting version 237
[    8.010193] ahci_rtk 9803f000.sata: masking port_map 0x3 -> 0x3
[    8.016665] ahci_rtk 9803f000.sata: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    8.027397] ahci_rtk 9803f000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc apst 
[    8.061716] scsi host0: ahci_rtk
[    8.074893] scsi host1: ahci_rtk
[    8.078543] ata1: SATA max UDMA/133 mmio [mem 0x9803f000-0x9803ffff] port 0x100 irq 28
[    8.089663] ata2: SATA max UDMA/133 mmio [mem 0x9803f000-0x9803ffff] port 0x180 irq 28
[    8.306127] phy-rtk-sata 9803ff00.sata_phy: power on phy0
[    8.311887] phy-rtk-sata 9803ff00.sata_phy: power on phy1
[    8.416782] ata1: SATA link down (SStatus 0 SControl 300)
[    8.422430] ata2: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/nfs-top ... done.
Begin: Running /scripts/nfs-premount ... done.
Begin: Entering buffalo boot script ... Begin: Entering buffaloinit ... 0 /proc/sys/kernel/printk
waiting for NVRAM device ... OK
libsys: PID=0x0000002F by dumpnf
/usr/local/sbin/hwaccess.sh: line 862: /etc/nas_feature: No such file or directory
libsys: nas_feature : using /root/.nas_features/US/0x0000002F
GPIO pin 72 open!
GPIO pin 78 open!
[   10.093902] random: fast init done
#[miconapl.boot_flash_ok; ]
====== Entering initramfs(/scripts/buffaloinit) ======
libbuffalo: /dev/disk1 not found (disconnected?)
CANDIDATE_NUM=0 : CANDIDATE_LIST=
Selecting disk with not considering signature
CANDIDATE_NUM=0 : CANDIDATE_LIST=
DISK=
#[miconapl.boot_start; ]
libsys: PID=0x0000002F by dumpnf
libsys: nas_feature : using /root/.nas_features/US/0x0000002F
Checking the existance of micon ... 
#[miconapl.mcon_get_version; ]
TS-M LS700 nomicon ver.2.11
libsys: PID=0x0000002F by dumpnf
perl: warning: Setting locale fa[   11.001370] random: fw_ver_cmp.pl: uninitialized urandom read (4 bytes read)
iled.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
libsys: /dev/rtc was updated : /dev/rtc 253 0
2018-01-01 09:02:26.978869+0900
Mon Jan  1 09:02:28 JST 2018
libsys: PID=0x0000002F by dumpnf
#[miconapl.fan_set_speed; ]
#[miconapl.led_set_on_off; ]
Create /var/tmp/devlink from /dev/disk?
earlycon
console
BOOTVER
root
ramdisk_size
initrd
init
boot
boot_device_type
ubootenv
ubootenv_redund
-- CopyFromSfsToInitramfs --
CopyFromSfsToInitramfs: copy 'usr/bin/pgrep' from rootfs image
CopyFromSfsToInitramfs: copy 'usr/sbin/memtester' from rootfs image
CopyFromSfsToInitramfs: 'usr/sbin/memtester' depends on '/lib/aarch64-linux-gnu/libc.so.6'
CopyFromSfsToInitramfs: 'usr/sbin/memtester' depends on '/lib/ld-linux-aarch64.so.1'
CopyFromSfsToInitramfs: copy 'usr/local/bin/agingtest.sh' from rootfs image
CopyFromSfsToInitramfs: copy 'usr/local/bin/agingtest_sub.sh' from rootfs image
CopyFromSfsToInitramfs: copy 'usr/sbin/xfs_quota' from rootfs image
CopyFromSfsToInitramfs: copy 'usr/sbin/smartctl' from rootfs image
CopyFromSfsToInitramfs: copy 'etc/raidkeeper.conf' from rootfs image
linuxrc:choose operation (timeout 4[s])
 1:RamRoot 2:NfsRoot 3:sda1 4:sda2 n:NandRoot h:HddRoot other:HddRoot  ? -HddRoot-
SUPPORT_ENCLOSURE is not 1
-- rebuild mdadm.conf for BOOT, ROOTFS with Intelligent routine --
GPIO pin 67 open!
GPIO pin 41 open!
checkDiskStatus : disk1 unplugged
checkDiskLinkSpeed : disk1 unplugged
checkDiskPerformance : disk1 unplugged
libmd: GetMdBaseDisk : Selected 0
mdadm: cannot open /dev/disk?_1: No such file or directory
mdadm: cannot open /dev/disk?_2: No such file or directory
mdadm: cannot open /dev/disk?_5: No such file or directory
mdadm: No devices listed in conf file were found.
-- setup max error counts --
skip md0 (not found in /sys/block)
skip md1 (not found in /sys/block)
skip md2 (not found in /sys/block)
dev.raid.speed_limit_max = 500000
Starting :fsck_disk1(md0) ...          [Failed. ]
fsck_disk1: fsck.ext4 /dev/md0 returns 8.
Starting :fsck_disk1(md1) ...          [Failed. ]
fsck_disk1: fsck.ext4 /dev/md1 returns 8.
Starting :mount(boot) ...              [Failed. ]
Starting :mount(boot) ...              [Failed. ]
enclosure_all_disks_are_not_mine: disk1 is unplugged or blank disk (ignored)
All disk_signature are different from NAS enclosure.
enclosure_all_disks_are_not_mine: not mine
cannot get disk_signature from /dev/disk1
mount: mounting /dev/md1 on /mnt failed: No such file or directory
/scripts/buffaloinit: line 1593: [: too many arguments
CompareFirmware ... done.
-- TestRootfs --
mount: mounting /dev/md1 on /mnt failed: No such file or directory
mount: mounting /dev/md1 on /mnt failed: No such file or directory
Failed to mount root partition /dev/md1
-RamdiskRoot-
 * Starting fanctld ...    [ ok ]
--- rcStart (initrd) ---
Cannot get device ring settings: Operation not supported
Cannot get device ring settings: Operation not supported
Cannot get device ring settings: Operation not supported
Cannot get device ring settings: Operation not supported
=== checkroot.sh ===
Create /var/tmp/devlink from /dev/disk?
create dir : /var/cache/man
create dir : /var/spool/lpd
create dir : /var/mail
create dir : /var/spool/news
create dir : /var/spool/uucp
create dir : /var/www
create dir : /var/backups
create dir : /var/list
create dir : /var/run/ircd
create dir : /var/lib/gnats
create dir : /var/run/sshd
create dir : /home/ntp
create dir : /var/run/dbus
create dir : /var/lib/avahi-autoipd
create dir : /var/run/lldpd
create dir : /run/proftpd
create dir : /var/lib/snmp
create dir : /var/run/avahi-daemon
create dir : /var/lib/puppet
create dir : /var/lib/ldap
create dir : /var/lib/misc
create dir : /var/lib/libvirt
create dir : /var/lib/libvirt/dnsmasq
create dir : /run/systemd/netif
create dir : /run/systemd/resolve
create dir : /run/uuidd
=== create_devlink.sh ===
Create /var/tmp/devlink from /dev/disk?
=== startSysMd.sh ===
-- rebuild mdadm.conf for BOOT, ROOTFS with Intelligent routine --
checkDiskStatus : disk1 unplugged
checkDiskLinkSpeed : disk1 unplugged
checkDiskPerformance : disk1 unplugged
mdadm: cannot open /dev/disk?_1: No such file or directory
mdadm: cannot open /dev/disk?_2: No such file or directory
mdadm: cannot open /dev/disk?_5: No such file or directory
mdadm: No devices listed in conf file were found.
-- setup max error counts --
skip md0 (not found in /sys/block)
skip md1 (not found in /sys/block)
skip md2 (not found in /sys/block)
dev.raid.speed_limit_max = 500000
mkdir: can't create directory '/boot': File exists
mount: mounting /dev/md0 on /boot/ failed: No such file or directory
=== fwupdate.sh ===
[   21.980550] random: fw_ver_cmp.pl: uninitialized urandom read (4 bytes read)
fwupdate.sh: FW not updated
=== closeSysMd.sh ===
=== sethostname.sh ===
[   22.475905] random: fw_ver_cmp.pl: uninitialized urandom read (4 bytes read)
configure /etc/hosts based on Buffalo parameters.
=== restore_config.sh ===
-- rebuild mdadm.conf for BOOT --
mdadm: cannot open /dev/disk?_1: No such file or directory
mdadm: No devices listed in conf file were found.
-- setup max error counts --
skip md0 (not found in /sys/block)
mount: mounting /dev/md0 on /boot failed: No such file or directory
/usr/local/bin/libbuffalo: line 931: truncate: command not found
/tmp/etc/localtime -> 
umount: can't unmount /boot: Invalid argument
rootfs on / type rootfs (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=716168k,nr_inodes=179042,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=150128k,mode=755)
PID   USER     COMMAND
    1 root     init
    2 root     [kthreadd]
    3 root     [ksoftirqd/0]
    4 root     [kworker/0:0]
    5 root     [kworker/0:0H]
    6 root     [kworker/u12:0]
    7 root     [rcu_preempt]
    8 root     [rcu_sched]
    9 root     [rcu_bh]
   10 root     [migration/0]
   11 root     [lru-add-drain]
   12 root     [watchdog/0]
   13 root     [cpuhp/0]
   14 root     [cpuhp/1]
   15 root     [watchdog/1]
   16 root     [migration/1]
   17 root     [ksoftirqd/1]
   18 root     [kworker/1:0]
   19 root     [kworker/1:0H]
   20 root     [cpuhp/2]
   21 root     [watchdog/2]
   22 root     [migration/2]
   23 root     [ksoftirqd/2]
   24 root     [kworker/2:0]
   25 root     [kworker/2:0H]
   26 root     [cpuhp/3]
   27 root     [watchdog/3]
   28 root     [migration/3]
   29 root     [ksoftirqd/3]
   30 root     [kworker/3:0]
   31 root     [kworker/3:0H]
   32 root     [cpuhp/4]
   33 root     [watchdog/4]
   34 root     [migration/4]
   35 root     [ksoftirqd/4]
   36 root     [kworker/4:0]
   37 root     [kworker/4:0H]
   38 root     [cpuhp/5]
   39 root     [watchdog/5]
   40 root     [migration/5]
   41 root     [ksoftirqd/5]
   42 root     [kworker/5:0]
   43 root     [kworker/5:0H]
   44 root     [kdevtmpfs]
   45 root     [netns]
   46 root     [oom_reaper]
   47 root     [writeback]
   48 root     [kworker/2:1]
   49 root     [crypto]
   50 root     [bioset]
   51 root     [kblockd]
   52 root     [rtk_usb_manager]
   53 root     [md]
   54 root     [devfreq_wq]
   55 root     [watchdogd]
   56 root     [kworker/4:1]
   57 root     [kworker/u12:1]
   58 root     [rpciod]
   59 root     [xprtiod]
   60 root     [kworker/1:1]
   61 root     [kworker/3:1]
   62 root     [kworker/5:1]
   87 root     [kswapd0]
   88 root     [vmstat]
   89 root     [SquashFS read w]
   90 root     [ecryptfs-kthrea]
   91 root     [nfsiod]
   92 root     [cifsiod]
   93 root     [cifsoplockd]
  103 root     [pencrypt]
  104 root     [pdecrypt]
  112 root     [bioset]
  113 root     [bioset]
  114 root     [bioset]
  115 root     [bioset]
  116 root     [bioset]
  117 root     [bioset]
  118 root     [bioset]
  119 root     [bioset]
  120 root     [bioset]
  121 root     [bioset]
  122 root     [bioset]
  123 root     [bioset]
  124 root     [bioset]
  125 root     [bioset]
  126 root     [bioset]
  127 root     [bioset]
  128 root     [rtk sata dev ha]
  129 root     [bond0]
  130 root     [kworker/4:2]
  131 root     [eth1-linkstatus]
  132 root     [irq/16-9801b600]
  133 root     [kworker/0:1]
  134 root     [kworker/u12:2]
  135 root     [kworker/u12:3]
  136 root     [raid5wq]
  137 root     [cfinteractive]
  138 root     [bioset]
  139 root     [mmcqd/0]
  140 root     [bioset]
  141 root     [mmcqd/0boot0]
  142 root     [bioset]
  143 root     [mmcqd/0boot1]
  144 root     [bioset]
  145 root     [mmcqd/0rpmb]
  147 root     [kpktgend_0]
  148 root     [kpktgend_1]
  149 root     [kworker/3:2]
  150 root     [kpktgend_2]
  151 root     [kpktgend_3]
  152 root     [kpktgend_4]
  153 root     [kpktgend_5]
  154 root     [ipv6_addrconf]
  174 root     /lib/systemd/systemd-udevd --daemon --resolve-names=never
 1218 root     [kworker/4:3]
 1223 root     [scsi_eh_0]
 1234 root     [scsi_tmf_0]
 1249 root     [scsi_eh_1]
 1255 root     [scsi_tmf_1]
 1781 root     [kworker/1:1H]
 1934 root     [kworker/0:1H]
 1959 root     [kworker/2:1H]
 3920 root     [kworker/3:1H]
 3921 root     [kworker/5:1H]
 3922 root     [kworker/5:2]
 3923 root     [kworker/0:2]
 3924 root     [kworker/1:2]
 3925 root     [kworker/2:2]
 4338 root     {fanctld.sh} /bin/bash /usr/local/sbin/fanctld.sh
 4342 root     {buttond.sh} /bin/bash /usr/local/sbin/buttond.sh EM-start
 4355 root     {rcS} /bin/bash /etc/init.d/rcS
 5310 root     sleep 30
 6826 root     {restore_config.} /bin/bash /etc/init.d/restore_config.sh start
 6962 root     [kworker/4:1H]
 7026 root     ps axwww
=== EnablingAutoip.sh ===
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf
=== networking.sh ===
[   24.662990] eth0: 0xffffff8008120000, c4:3c:ea:31:18:2d, IRQ 30
[   25.326943] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
configuring network interfaces.
LAN1: eth0 IPaddr=[dhcp], netmask=[], mtu=1518, wait_time=8
priority_order=eth0
default_gateway=[], dns1=[], dns2=[]
primary_interface=[eth0]
NetDevStart eth0
[   25.754132] eth0: 0xffffff8008120000, c4:3c:ea:31:18:2d, IRQ 30
[   26.312108] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
eee unmodified, ignoring
checking & resolving IPaddress confliction.
arping notify new IPaddress 
setting up default_gateway
configuring route
configuring DNS
[   34.693412] random: fw_ver_cmp.pl: uninitialized urandom read (4 bytes read)
configure /etc/hosts based on Buffalo parameters.
=== syslog.sh ===
/etc/init.d/kernelmon.sh: line 14: 12947 Terminated              busybox timeout -t 1 cat /proc/buffalo/kernevnt > /dev/null
kernelmon: Reset kernel event queue.
=== kernelmon.sh ===
Starting kernelmon:
done.
=== miconmon.sh ===
#[miconapl.system_set_watchdog; ]
=== usb.sh ===
#[miconapl.usb_set_power; ]
Creating node for USB device /sys/bus/usb/devices/usb1 BUS_NUM=1 DEV_NUM=1 MAJOR=189 MINOR=0
Creating node for USB device /sys/bus/usb/devices/usb2 BUS_NUM=2 DEV_NUM=1 MAJOR=189 MINOR=128
Creating node for USB device /sys/bus/usb/devices/usb3 BUS_NUM=3 DEV_NUM=1 MAJOR=189 MINOR=256
Creating node for USB device /sys/bus/usb/devices/usb4 BUS_NUM=4 DEV_NUM=1 MAJOR=189 MINOR=384
Creating node for USB device /sys/bus/usb/devices/usb5 BUS_NUM=5 DEV_NUM=1 MAJOR=189 MINOR=512
Creating node for USB device /sys/bus/usb/devices/usb6 BUS_NUM=6 DEV_NUM=1 MAJOR=189 MINOR=640
=== clientUtil_servd.sh ===
Starting clientUtil_server:
=== daemonwatch.sh ===
Starting daemonwatch:daemonwatch Ver.1.01
watch list file : /etc/daemonwatch.list
=== bootcomplete.sh ===
No need to run drivecheck.sh
#[miconapl.boot_end; ]
#[miconapl.system_set_watchdog; ]
cat: can't open '/tmp/error_status': No such file or directory
cat: can't open '/tmp/info_status': No such file or directory
cat: can't open '/tmp/error_status': No such file or directory
cat: can't open '/tmp/info_status': No such file or directory
dev.raid.speed_limit_max = 500000
dev.raid.speed_limit_max = 500000
hdd_raid_syncspeed.sh: Adding EDP md devices
hdd_raid_syncspeed.sh: USERLAND_MD=md101
=== micon_setup.sh ===
[   39.890356] random: fw_ver_cmp.pl: uninitialized urandom read (4 bytes read)
cat: can't open '/tmp/error_status': No such file or directory
cat: can't open '/tmp/info_status': No such file or directory
=== late_inspection_phase.sh ===
=== buffalo_rescue.sh ===
buffalo_rescue.sh: Its not a rescue environment.

BUFFALO INC. LinkStation series 
LS710D-EM82D login:

U-Boot env

Buffalo> env print
GTK_SerialNum=20581710319179
OdmSerialNo=20581710319179
SerialNo=10585310500169
audio_loadaddr=0x0f900000
baudrate=115200
blue_logo_loadaddr=0x30000000
bootcmd=boot_buffalo_uImage
bootdelay=0
dtbo_loadaddr=0x26400000
eth_drv_para=phy,bypass,noacp,swing0
ethact=r8168#0
ethaddr=00:10:20:30:40:50
fdt_high=0xffffffffffffffff
fdt_loadaddr=0x02100000
gatewayip=192.168.100.254
ipaddr=192.168.100.1
kernel_loadaddr=0x02200040
kernelargs=BOOTVER=0.22 root=/dev/ram0 rw ramdisk_size=131072 initrd=0x05000000,32M init=/init boot=buffalofirm boot_device_type=eMMC ubootenv=0x621400,0x20000,0x4,0x00@mmcblk0 ubootenv_redund=0x821400,0x20000,0x4,0x00@mmcblk0
mtd_part=mtdparts=rtk_nand:
netmask=255.255.255.0
rescue_audio=bluecore.audio
rescue_dtb=rescue.emmc.dtb
rescue_rootfs=rescue.root.emmc.cpio.gz_pad.img
rescue_rootfs_loadaddr=0x02200000
rescue_vmlinux=emmc.uImage
rootfs_loadaddr=0x05000000
serverip=192.168.100.2

Environment size: 966/131068 bytes

Buffalo Resources