Jump to content

Proof of concept - Realtek 1295


Staars

Recommended Posts

Hi,

 

after reading the very entertaining thread regarding the BPI-W2 and the following opening of the bsp-kernel on github, I became curious and when prices dropped for the Lake-1-TV-Box, I decided to play around with it.

 

Without very much documentation there was a bunch of trial and error and still many things are not absolutely clear to me, but finally I could boot an armbian build today:

 _          _          _ 
| |    __ _| | _____  / |
| |   / _` | |/ / _ \ | |
| |__| (_| |   <  __/ | |
|_____\__,_|_|\_\___| |_|
                         

Welcome to ARMBIAN 5.68 user-built Ubuntu 18.04.1 LTS 4.9.119-rtd1295   
System load:   1.49 0.74 0.31   Up time:       3 min
Memory usage:  4 % of 1631MB    IP:            
CPU temp:      46°C             
Usage of /:    11% of 7.2G      

[ General system configuration (beta): armbian-config ]

New to Armbian? Check the documentation first: https://docs.armbian.com


Thank you for choosing Armbian! Support: www.armbian.com

 

This is still connected over the serial port and completely untested. I had to use the strange chained double-u-boot and load kernel and dtb manually (from raw sd card sectors), so it is not even close to alpha. But it seems, that this can be improved. 

 

I plan to make a repeatable build config, but do not expect some really usable stuff anytime soon.  The situation with the lack of mainline support was already discussed in the other thread and the future does not look very bright here.

This is more or less a personal playground at the moment. But if anyone is interested, you can leave comments or questions here.

 

Sticky part (updated 03-03-2019):

 

RTD1295-Devices:

      Tested: Lake 1 Home Cloud TV Box

      Untested: Beelink SEA 1, Zidoo X9s, Zidoo X8, Zidoo X10,  Probox2 AVA, WD My Cloud Home, ...

 

All development and tests thus far have been done on the Lake-1-TV-Box. It can not be ruled out, that the other boxes have other u-boot-versions/-configurations.

 

Prerequisites:

Mandatory:

Serial connection soldered to the PCB (to reach the u-boot-shell) and a suitable terminal software. Further information here: https://en.opensuse.org/HCL:Lake1 (I can not confirm that „SD rescan“ does not work. Only „fatls“ and „fatload“ never worked for me, that’s why raw sector reads are used.)

 

Easy serial connection without soldering

 

Recommended:

Access to a Windows-PC, a USB-male-to-male-cable and the knowledge to re-flash the device by yourself.

If you are not comfortable in doing this, DON’T DO IT!!! YOU CAN BRICK YOUR DEVICE FOREVER !!

 

Current installation process (booting from SD-Card):

  1. Build a full-OS-image with armbian selecting „lake1“ from this fork: https://github.com/Staars/build. This will create an image with kernel image and dtb written to sectors before the root partition. The u-boot-build of armbian is not used.
  2. Write the image (using etcher) to an SD-card. For the moment we will not touch the eMMC of the target device and therefore will work as non-destructive as possible. This might change in the future and it should be no problem to implement a eMMC-only solution, but at the moment there is no solution in sight, that would let you dual-boot Android and Linux.
  3. Create a terminal connection to the serial pins of your target device and intercept the boot process immediately after power up to reach the first u-boot-shell. Now we have to edit the BOOTCMD the following way:
  • env edit bootcmd
  • sd read $kernel_loadaddr 800 954a; sd read $fdt_loadaddr a440 5d; env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4  init=/sbin/init; b2ndbc; bootr
  • env save

 

           This is a relatively harmless operation and can be reversed with the insertion of 'bootr' in step 2.

           The Android-installation on the eMMC stays untouched.

 

   4. Now at every boot the device will initialize the SD (which can fail!!), load the image and dtb, change the bootargs and call the second u-boot, which then will (hopefully) boot the kernel. 

 

U-boot:

At the moment u-boot will be build, but not used. Because of bootloader encryption this will likely stay that way. We can build the fsbl-parts, but without the proper encryption the boot stops, when the first part (hw_setting) is loaded. 

A separated u-boot-fork at https://github.com/Staars/u-boot-rtd is used for the armbian build, but that does not really matter. We must use the vendor-u-boot and we can not do real scripting (no RUN-command) but only chaining of commands.

 

Kernel:

The starting point from Sinovoip was labeled 4.9.119, but this is very likely not the whole story. Some parts are even newer and some are probably older, given the fact that git-cherry-picking showed possible updates when used with the stable linux-4.9-branch below tag:4.9.119.

The additional phoenix drivers were partly integrated in the kernel-fork on https://github.com/Staars/linux-kernel-rtd/tree/latest_patched as an extra folder to keep them in one place.

If there should be really an adoption of this platform in the future, it might be a good idea to go the other way around and merge the soc-specific parts into a generic linux-4.9.-fork. This is a bit of work, but it should be possible.

The fork is currently patched to 4.9.174

New kernel fork started at https://github.com/Staars/linux-stable/tree/linux-4.19.y (not 4.20 because of LTS) and armbian build config updated.

 

DTS/DTB:

This is a minimal changed version for the banana-pi w2. 

 

Bluecore.audio:

I do not really know if this (audio firmware?) is useful outside of Android. It is written to the SD-Image (directly behind the DTB), but not loaded.

 

What works:

-SATA-port (incl. booting with /root on SSD with bootarg 'root=/dev/sataa1')

-WLAN (onboard 8821AU), but there are very short freezes every few seconds

-simple software install (i.e. OMV)

-reboot/restart works, but can take some time

-bluetooth

 

What does NOT work:

-bluetooth

-halt/restart

 

Things to do:

-waiting for someone, who confirms, that this is repeatable on other setups

-working on the DTS/DTB

-test Ethernet, USB

-HDMI-in/-out or graphics in general (very low priority for me)

-eMMC-only-install (must check first, where it is safe to write data)

-test 4.19 (functional regression expected)

 

Board_Pics:

Spoiler

IMG_0093.thumb.jpeg.8d59718033d20af68dd4af8e19d7ac32.jpegIMG_0094.thumb.jpeg.01a512821a4688b27af0c42d6ab176d6.jpegIMG_0095.thumb.jpeg.917bf7cb8a581c86ed69fac6a7e94835.jpegIMG_0096.thumb.jpeg.c0d124a4a2ff45ea8d0451f5bd479801.jpeg

 

Link to comment
Share on other sites

Pretty interesting device! I see from the Internet it has an embedded SATA slot, RTC, 802.11ac wifi, HDMI IN and it has Mali-T860 GPU on a 4-core A53 design, where all other chinese propose outdated GPUs

Also the "legacy" kernel looks recent enough, which is nice to start with.

 

Congratulations and keep it up :thumbup:

 

edit:

bringing u-boot to boot is one of the most difficult tasks, I faced it when I had to deal with it and Chiptrip Q8 RK3288 (xt-q8l-v10) tv box because I had to use the vendor bootloader and chaining it to u-boot SPL which, in turn, boot the real u-boot.

Link to comment
Share on other sites

Just some additional infos:

 

Starting points were https://en.opensuse.org/HCL:Zidoo_X9S and the "new" repo from the bananapi side.

After soldering some wires directly to the PCB I tried to gain some info on the machine itself,  which has some sort of dual boot to android and a "rescue linux" with kernel 4.1.x.

The chained boot process was already described by afaerber and at least we can save the u-boot-environment on the device, which I only tested with the bootdelay so far, because I do not want to brick anything at the moment.

Then I played with the banana build system, which I am not used too. In parallel I created 2 repos with the kernel and u-boot in order to build it with the armbian build system and I could compile it rather soon. But I could not boot anything at that time.

 

After that came the trial-and-error part, which will continue for some time.

In short:

After trying out the awfully slow ymodem for kernel load, I ended in writing kernel and dtb to the start of a sd card and load it by hand in the "first" u-boot. I adapted the arminian build process to write both things to the image instead of the usual u-boot.

 

So things works like that:

1. Power-on with serial connected, interrupt  first u-boot with ESC.

2. Use the following commands:

sd read $kernel_loadaddr 800 954a
sd read $fdt_loadaddr a440 5d

fdt addr $fdt_loadaddr
fdt resize
b2ndbc

3. The last line continues the boot process, which must be interrupted again with a key press, then:

setenv bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4  init=/sbin/init

bootr

 

That's basically all I know at the moment and the quest continues. If I do not brick/destroy the box (which could happen), I plan to upgrade the kernel repo to 4.9.150 and if this works out, I hope to find a way to create an easier boot process.

Link to comment
Share on other sites

 _          _          _ 
| |    __ _| | _____  / |
| |   / _` | |/ / _ \ | |
| |__| (_| |   <  __/ | |
|_____\__,_|_|\_\___| |_|
                         

Welcome to ARMBIAN 5.72 user-built Ubuntu 18.04.1 LTS 4.9.151-rtd1295   
System load:   2.25 1.47 0.79   Up time:       9 min
Memory usage:  5 % of 1631MB    IP:            192.168.0.102
CPU temp:      46°C             
Usage of /:    13% of 7.2G      


pi@lake1:~$ iwconfig
wlan1     IEEE 802.11  ESSID:"xxxxxxxxxx"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 80:EA:96:F1:84:7A   
          Bit Rate=72.2 Mb/s   Tx-Power=12 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=48/70  Signal level=-62 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

wlxa02c36ec6d34  IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=12 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          
pi@lake1:~$ 

 

Well,  brave little box ;) (yes, it is 4.9.151 now and integrated wifi)

 

But now comes the ugly part ... how to boot automatically?

 

 

Link to comment
Share on other sites

So, a few days later .....

 

After spending several hours with my box including multiple head-banging on my desk, I found a surprisingly simple solution for an automated boot. But first some infos:

 

1. Many of the RT1295-Boxes seem to have encrypted bootloaders (and kernel images) which makes it close to impossible to build new ones. One notable exception is (according to the firmware images) the Zidoo-line. If I understand correctly, it should be very dangerous to flash a Zidoo-box with another firmware (Lake, Beeling, Probox), because if the filenames containing words like "efuse" have a deeper meaning, then you can never again flash the Zidoo-Firmware. If someone knows more about this topic, I would be very interested to hear about.

 

2. The GitHub-repo from BPI is bizarre, to say the least. They included a bunch of software to build encrypted firmware, which should not be needed for the BPI-W2. I could not get it to work, but maybe some others are able to do it. If someone can succeed, then point 1 shines in another light. At least you can build the dvrboot.bin and dvrboot.exe.bin yourself and I do not understand, why they (the bananapi-guys) describe cumbersome ways in their forum to download all that stuff from somewhere as a binary. I could not test these files on my Lake-1-box because of point 1, so it could be that they do not really work.

 

3. In the end it was relatively simple. In the first u-boot, you can modify and (!!) save the bootcmd and (!!) you can pass multiple commands to it. You have to:

env edit bootcmd

then You will be asked for the new value and have to insert:

sd read $kernel_loadaddr 800 954a; sd read $fdt_loadaddr a440 5d; env set bootargs earlycon=uart8250,mmio32,0x98007800 console=ttyS0,115200 noinitrd root=/dev/mmcblk0p1 rootfs=ext4  init=/sbin/init; b2ndbc; bootr

Please keep in mind that you have to use my "special" SD-card, where the kernel image and the dtb a written to the blocks 0x800 and 0xa440.

That's it for the moment.

 

If I find something new, I will update this thread. Feel free to ask.

Link to comment
Share on other sites

Just a tiny update. Booting from SSD works as expected:

Spoiler

 


Bring UP slave CPUs
Jump to BL31 entrypoint
VERBOSE: bl31_setup
NOTICE:  BL31: v1.2(debug):1522ab7
NOTICE:  BL31: Built : 16:33:46, Oct 13 2016
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:    BL31: Initializing BL32
INFO:    TEE-CORE: TEE OS v2.1
INFO:    TEE-CORE: TA RAM slim vesion.
INFO:    TEE-CORE: tee os version : 1
INFO:    TEE-CORE: OTP tee os version : 0
INFO:    TEE-CORE: chip_rev_id : 10000
INFO:    TEE-CORE: check golden fw : 0
INFO:    TEE-CORE: Do not supoort check tee os version in this chip.
INFO:    TEE-CORE: Initializing (4ca6d97-dev #1 Wed Apr 12 17:52:09 CST 2017 aarch64)
MESSAGE: [0x0] TEE-CORE:tee_otp_get_hw_unique_key:49: ************************     tee_otp_get_hw_unique_key chip id: 10000
INFO:    TEE-CORE: teecore inits done
INFO:    Core_0 TEESMC_OPTEED_RETURN_ENTRY_DONE 
INFO:    Core_0 got optee_vectors (0x1020093c)
INFO:    BL31: Initialized BL32
INFO:    EXIT BL31
INFO:    bl31_to_kernel: kernel_resume_entry = 0x1e000
INFO:    bl31 jumps to EL2: kerenl entry 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.151-rtd1295 (root@ubuntu-bionic) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #16 SMP PREEMPT Sat Jan 19 09:58:51 UTC 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] DT: logo_start_addr 0x0, size 0x0
[    0.000000] DT: of_cma_info.region_enable 1
[    0.000000] DT: saving_section_page_table 0
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000098007800 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    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: fdt region 0
[    0.000000] cma: size 0x0000000002000000, base 0x0000000020000000, fixed(1)
[    0.000000] cma: Reserved 32 MiB at 0x0000000020000000
[    0.000000] percpu: Embedded 22 pages/cpu @ffffffc07ff62000 s53144 r8192 d28776 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    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 noinitrd root=/dev/sataa1 rootfs=ext4 init=/sbin/init
[    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: 1637508K/2097152K available (12540K kernel code, 1688K rwdata, 3624K rodata, 1152K init, 491K bss, 426876K 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 - 0xffffff8008ec0000   ( 12544 KB)
[    0.000000]     .rodata : 0xffffff8008ec0000 - 0xffffff8009250000   (  3648 KB)
[    0.000000]       .init : 0xffffff8009250000 - 0xffffff8009370000   (  1152 KB)
[    0.000000]       .data : 0xffffff8009370000 - 0xffffff8009516200   (  1689 KB)
[    0.000000]        .bss : 0xffffff8009516200 - 0xffffff8009590f14   (   492 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]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    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.000006] sched_clock: 56 bits at 27MHz, resolution 37ns, wraps every 4398046511093ns
[    0.009121] [RTK-TIMER0] set mode: shutdown
[    0.013834] [RTK-TIMER0] clocksource 0 register HZ
[    0.019228] clocksource: rtk_timer0_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 70787423951 ns
[    0.030842] [RTK-TIMER1] clocksource 1 register HZ
[    0.036236] clocksource: rtk_timer1_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 70787423951 ns
[    0.048050] rmem_count: 3
[    0.051973] 
[    0.053647] rsvmem_remap 143, rmem->name common@0
[    0.059924] rsvmem_remap 151, type rsvmem-remap
[    0.066002] rsvmem_remap 163, ioremap(1f000,1000)
[    0.072281] rsvmem_remap 175, remap addr ffffff800800c000
[    0.079338] rsvmem_remap 184, save_remap_name common
[    0.085905] rsvmem_remap 203, save rpc_common_base
[    0.092276] rsvmem_remap 216, init common@0/common done
[    0.099134] 
[    0.100806] rsvmem_remap 143, rmem->name ringbuf@0
[    0.107178] rsvmem_remap 151, type rsvmem-remap
[    0.113255] rsvmem_remap 163, ioremap(1ffe000,4000)
[    0.119733] rsvmem_remap 175, remap addr ffffff8008010000
[    0.126792] rsvmem_remap 184, save_remap_name ringbuf
[    0.133457] rsvmem_remap 210, save rpc_ringbuf_base
[    0.139925] rsvmem_remap 216, init ringbuf@0/ringbuf done
[    0.146978] 
[    0.148651] rsvmem_remap 143, rmem->name rbus@0
[    0.154728] rsvmem_remap 151, type rsvmem-remap
[    0.160807] rsvmem_remap 163, ioremap(98000000,200000)
[    0.167574] rsvmem_remap 175, remap addr ffffff8009600000
[    0.174632] rsvmem_remap 184, save_remap_name rbus
[    0.181004] rsvmem_remap 188, save rbus_addr
[    0.186791] rsvmem_remap 195, set rtk_rbus_barrier_flag to 1
[    0.194141] rsvmem_remap 216, init rbus@0/rbus done
[    0.201103] Console: colour dummy device 80x25
[    0.206147] Calibrating delay loop (skipped), value calculated using timer frequency.. 54.00 BogoMIPS (lpj=108000)
[    0.217840] pid_max: default: 32768 minimum: 301
[    0.223255] Security Framework initialized
[    0.227889] SELinux:  Initializing.
[    0.232001] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.239576] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.248602] ftrace: allocating 40142 entries in 157 pages
[    0.372735] sched-energy: CPU device node has no sched-energy-costs
[    0.379855] Invalid sched_group_energy for CPU0
[    0.384983] CPU0: update cpu_capacity 1024
tu[EVEERRBRBBOOSOESS:EE ::b lb l331b_s1_l3e1tsu_esept
  pNupO
T
 NNIOOTCTEIC:I  E:CEBL 3 :B  1:L3BL 13v1:: 1.v v21(d1e..2b2u((dgde)be:ubg)15ug:)125:21522a2b27aa
7bN7OT
I
6NCNOEO: TITI CBCEL3E:: 1:   B BLB31L3u1i:l:  tBBu u: ilitl1 6t ::: 3 1136:64::33363,::4 646,O cO, ctt O1c t3 1 3123  220010161
 6

IIINNNFFOO:: F     O  :BL  31B L 3B:1L :In 3i1tI:iani tIlinaiitlziaiiznignli rzign gruunn ttriiumnmeet  ssiemrveei rvsceirceses

  IvFNFicOeO:s:
   I  S N  FtOSat:artr   tt o S  tionit tair niste rtvis tecorev i icnset dit_s ssvertcdv_ i
 sFOc eN
 i  t:I d_N s FvO cF:i  n 
   sIFihN nFtOo isi:h   t o  nFiiitnn iissteh rs veirvtiocce ei s snitttd_ dsse_srvvvc ic
I 
 tSaF NOFs:Otd  _s : vc    S
petetrIat NFtoOr: i  n it Stt a serttro v itico eniitn i steo rsptevirecedv_ifec asoet p ot
    ede_df_asfIatsNFt  O
:I N 
     F O IN:F O F:i  n i F isn ihs Fihton i tos hin iitnto  siietnr sitevr isveirccvee i coep optoepetdet_efeded__fafassatstt   


 LIINNFFFOO::O :          BL 3BLB13:1L : 3I1Inin:t iItiainlailziiitnigazl iinBLzg32i ngB
O B3LIN32F2
 
OI NI FO  : N FC Oo: r C o re _Ce3_ o1T rEeE_T2ES MTCE_EOSEMSMPCC_T_OPOETPEETEDEDE_D__RERRTEUETRNUR_TNENUTR_REYNN__TDOERNYNT_DREY 
O_NEIDNO F
 O :IE N F
i   BI N LF3 O :B 1 L:  3 I1B:ni LI3tniiat1li:i zIeand liBizteLia3d2l 
N LzI3e2d
XIFIONB:L F O  3E2
XO:T   BINL 3 1EF
  I:IN  F O :TE XBI TL  B  3Lb3l131
1
=1_NIFtNOo:_F keOr: n  e  lb:l k  3er1b_netol_3lk_e1rnr_eetosl_u:ke rkmenreen_lele: n_rkeesrturmneeyl _=_ r0eesntxumry1e_ =ee0n 0t0r0y x
O1Ie0N 00x0F
N F O0 I 0
     bINl3: 1  j  FubmlO3: p1  sj utm pos  Et obl 3E1L L22::ju  kkmepreesrnle ne lt netrno trEyy L 2
:
  kerenl entry 
    0.389676] ASID allocator initialised with 32768 entries
[    0.580406] EFI services will not be available.
[    0.622010] Detected VIPT I-cache on CPU1
[    0.622071] Invalid sched_group_energy for CPU1
[    0.622075] CPU1: update cpu_capacity 1024
[    0.622079] CPU1: Booted secondary processor [410fd034]
[    0.650101] Detected VIPT I-cache on CPU2
[    0.650143] Invalid sched_group_energy for CPU2
[    0.650147] CPU2: update cpu_capacity 1024
[    0.650152] CPU2: Booted secondary processor [410fd034]
[    0.678237] Detected VIPT I-cache on CPU3
[    0.678279] Invalid sched_group_energy for CPU3
[    0.678283] CPU3: update cpu_capacity 1024
[    0.678288] CPU3: Booted secondary processor [410fd034]
[    0.678405] Brought up 4 CPUs
[    0.742256] SMP: Total of 4 processors activated.
[    0.747581] CPU features: detected feature: 32-bit EL0 Support
[    0.754177] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.767291] CPU: All CPU(s) started at EL2
[    0.771952] alternatives: patching kernel code
[    0.777253] Invalid sched_group_energy for CPU3
[    0.782386] CPU3: update max cpu_capacity 1024
[    0.787415] Invalid sched_group_energy for Cluster3
[    0.792931] Invalid sched_group_energy for CPU2
[    0.798057] Invalid sched_group_energy for Cluster2
[    0.803573] Invalid sched_group_energy for CPU1
[    0.808699] Invalid sched_group_energy for Cluster1
[    0.814215] Invalid sched_group_energy for CPU0
[    0.819341] Invalid sched_group_energy for Cluster0
[    0.825234] CPU1: update max cpu_capacity 1024
[    0.830894] devtmpfs: initialized
[    0.854613] DMI not present or invalid.
[    0.859340] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.870366] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.879158] pinctrl core: initialized pinctrl subsystem
[    0.886576] NET: Registered protocol family 16
[    0.911697] cpuidle: using governor ladder
[    0.936410] cpuidle: using governor menu
[    0.941150] vdso: 2 pages (1 code @ ffffff8008ec7000, 1 data @ ffffff8009374000)
[    0.949529] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.959012] DMA: preallocated 256 KiB pool for atomic allocations
[    0.966391] rst-control : base ffffff800805e600, offset 0xb4
[    0.972818] ****** rtk_lockapi_init 620, chip: id=0x00000000, revision=0x00010000
[    0.982822] rtk-cgc 9800000c.clk-en: [CLK] rtk_cgc_probe
[    0.988891] mmio: use sb2_sem
[    0.992260] rtk-cgc 9800000c.clk-en: use mmio regmap
[    0.998385] rtk-cgc 98000010.clk-en: [CLK] rtk_cgc_probe
[    1.004441] rtk-cgc 98000010.clk-en: use mmio regmap
[    1.010538] rtk-cgc 98000450.clk-en: [CLK] rtk_cgc_probe
[    1.016862] rtk-cgc 9800708c.clk-en: [CLK] rtk_cgc_probe
[    1.022941] mmio: use sb2_sem
[    1.026303] rtk-cgc 9800708c.clk-en: use mmio regmap
[    1.032356] rtk-cc 98000000.clock-controller: [CLK] rtk_cc_probe
[    1.039197] rtk-cc 98000000.clock-controller: use mmio regmap
[    1.045706] rtk-cc 98000000.clock-controller: cc_init_hw: pll_scpu
[    1.052723] rtk-cc 98000000.clock-controller: cc_init_hw: pll_bus
[    1.059637] rtk-cc 98000000.clock-controller: cc_init_hw: pll_bus_div2
[    1.067050] rtk-cc 98000000.clock-controller: cc_init_hw: clk_sys
[    1.073977] rtk-cc 98000000.clock-controller: cc_init_hw: clk_sys_sb2
[    1.081297] rtk-cc 98000000.clock-controller: cc_init_hw: pll_bus_h
[    1.088407] rtk-cc 98000000.clock-controller: cc_init_hw: clk_sysh
[    1.095427] rtk-cc 98000000.clock-controller: cc_init_hw: pll_ddsa
[    1.102440] rtk-cc 98000000.clock-controller: cc_init_hw: pll_ddsb
[    1.109450] rtk-cc 98000000.clock-controller: cc_init_hw: pll_gpu
[    1.116363] rtk-cc 98000000.clock-controller: cc_init_hw: pll_ve1
[    1.123275] rtk-cc 98000000.clock-controller: cc_init_hw: pll_ve2
[    1.130194] rtk-cc 98000000.clock-controller: cc_init_composite_clk: clk_gpu
[    1.138193] rtk-cc 98000000.clock-controller: cc_init_composite_clk: clk_ve1
[    1.146189] rtk-cc 98000000.clock-controller: cc_init_composite_clk: clk_ve2
[    1.154185] rtk-cc 98000000.clock-controller: cc_init_composite_clk: clk_ve3
[    1.162478] rtk-reset 98000000.soft-reset: rtk_reset_probe
[    1.168717] rtk-reset 98000000.soft-reset: use mmio regmap
[    1.175208] rtk-reset 98000000.shadow-soft-reset: rtk_reset_probe
[    1.182136] rtk-reset 98000000.shadow-soft-reset: use mmio regmap
[    1.189307] rtk-reset 98000004.soft-reset: rtk_reset_probe
[    1.195556] rtk-reset 98000004.soft-reset: use mmio regmap
[    1.202035] rtk-reset 98000008.soft-reset: rtk_reset_probe
[    1.208279] rtk-reset 98000008.soft-reset: use mmio regmap
[    1.214771] rtk-reset 98000050.soft-reset: rtk_reset_probe
[    1.221021] rtk-reset 98000050.soft-reset: use mmio regmap
[    1.227502] rtk-reset 98007088.soft-reset: rtk_reset_probe
[    1.233741] rtk-reset 98007088.soft-reset: use mmio regmap
[    1.240228] rtk-reset 98000000.async-soft-reset: rtk_reset_probe
[    1.247065] rtk-reset 98000000.async-soft-reset: use mmio regmap
[    1.254135] rtk-reset 98000004.async-soft-reset: rtk_reset_probe
[    1.260972] rtk-reset 98000004.async-soft-reset: use mmio regmap
[    1.268013] rtk-rcp rcp: deprecated API OK
[    1.272948] rtd129x-pc 98000000.power-controller: power_controller_probe
[    1.280610] ve1_pd: pwrctrl_pd_init: no genpd /as control pctrl_ve1
[    1.287747] ve2_pd: pwrctrl_pd_init: no genpd /as control pctrl_ve2
[    1.294870] gpu_pd: pwrctrl_pd_init: no genpd /as control pctrl_gpu
[    1.302009] ve3_pd: pwrctrl_pd_init: no genpd /as control pctrl_ve3
[    1.309819] [PINCTRL] driver init
[    1.317245] [PINCTRL] init done
[    1.326346] [RTK_DCSYS_DBG] DC_EC_CTRL(0x98008300) = 70c0000
[    1.332792] [RTK_DCSYS_DBG] initialized
[    1.347859] [GPIO] No default gpio need to set
[    1.360755] [RTK_SB2_DBG] Info 0x10000
[    1.365015] [RTK_SB2_DBG] memory monitor 0x98013b00 - 0x98013c00
[    1.371816] [RTK_SB2_DBG] initialized
[    1.433635] ACPI: Interpreter disabled.
[    1.438082] [RTD129x_PM] Initial Power Management Driver
[    1.444758] [RTD129x_PM] wakeup-gpio Cnt: en(2) act(2) list(2)
[    1.451390] [RTD129x_PM] wakeup-gpio[0] States is disable![    1.457400]  (en:0 act:1 gpio:115)
[    1.461303] [RTD129x_PM] wakeup-gpio[1] Successful registration![    1.467909]  (en:1 act:0 gpio:134)
[    1.471754] [RTD129x_PM] gpio-output-change Cnt: en(0) act(0) list(-2)
[    1.479138] [RTD129x_PM] Wakeup Flags Set Default : 0x2e
[    1.485158] [RTD129x_PM] as system-power-controller
[    1.491121] vgaarb: loaded
[    1.494597] SCSI subsystem initialized
[    1.499544] usbcore: registered new interface driver usbfs
[    1.505851] usbcore: registered new interface driver hub
[    1.512006] usbcore: registered new device driver usb
[    1.517923] rtk-usb-manager 98000000.rtk_usb_power_manager: ENTER rtk_usb_manager_probe
[    1.527103] rtk-usb-manager 98000000.rtk_usb_power_manager: Error switch_ctrl-gpio no found
[    1.536613] rtk-usb-manager 98000000.rtk_usb_power_manager: Port 0 rtk_dwc3_drd status is okay
[    1.546386] rtk-usb-manager 98000000.rtk_usb_power_manager: Port 1 rtk_dwc3_u2host status is okay
[    1.556430] rtk-usb-manager 98000000.rtk_usb_power_manager: Port 2 ehci status is okay
[    1.565394] rtk-usb-manager 98000000.rtk_usb_power_manager: Port 2 ohci status is okay
[    1.574352] rtk-usb-manager 98000000.rtk_usb_power_manager: Port 3 rtk_dwc3_u3host status is okay
[    1.584488] rtk_usb_iso_power_ctrl power_on ([0x98007fb0=0x0f000073)
[    1.591692] set power_domain on ([0x98007fb0]=0x0f000073)
[    1.604280] rtk-usb-manager 98000000.rtk_usb_power_manager: Realtek USB init OK
[    1.612566] rtk-usb-manager 98000000.rtk_usb_power_manager: __port0_gpio_on_off to set port0 power off by gpio (id=102) OK
[    1.625079] rtk-usb-manager 98000000.rtk_usb_power_manager: __port1_gpio_on_off to set port1 power off by gpio (id=132) OK
[    1.637585] rtk-usb-manager 98000000.rtk_usb_power_manager: __port2_gpio_on_off to set port2 power off by gpio (id=19) OK
[    1.649999] rtk-usb-manager 98000000.rtk_usb_power_manager: __port3_gpio_on_off to set port3 power off by gpio (id=133) OK
[    1.662637] rtk-usb-manager 98000000.rtk_usb_power_manager: create_debug_files
[    1.670917] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_probe OK (take 64 ms)
[    1.681820] Failed to device reset: -2
[    1.686595] Failed to device reset: -2
[    1.691183] Failed to device reset: -2
[    1.695767] Failed to device reset: -2
[    1.700451] Failed to device reset: -2
[    1.705028] Failed to device reset: -2
[    1.709770] media: Linux media interface: v0.10
[    1.714974] Linux video capture interface: v2.00
[    1.720657] dmi: Firmware registration failed.
[    1.726056] rtk-efuse 98017000.efuse: rtk_efuse_probe
[    1.732388] Advanced Linux Sound Architecture Driver Initialized.
[    1.740153] NET: Registered protocol family 23
[    1.745288] Bluetooth: Core ver 2.22
[    1.749408] NET: Registered protocol family 31
[    1.754442] Bluetooth: HCI device and connection manager initialized
[    1.761638] Bluetooth: HCI socket layer initialized
[    1.767177] Bluetooth: L2CAP socket layer initialized
[    1.772951] Bluetooth: SCO socket layer initialized
[    1.779997] clocksource: Switched to clocksource arch_sys_counter
[    1.884330] VFS: Disk quotas dquot_6.6.0
[    1.888901] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.897568] pnp: PnP ACPI: disabled
[    1.901897] drivers/soc/realtek/common/rtk_ion_of.c rtk_ion_probe
[    1.909814] drivers/soc/realtek/common/rtk_ion_of.c rtk_ion_probe nr_heaps:5
[    1.924585] rtk_ion_probe: adding heap Audio of type 8 with 2600000@c00000 (type:GEN_POOL)
[    2.077004] rtk_ion_probe: adding heap Media of type 7 with 20000000@2000000 (type:CMA_POOL)
[    2.087543] rtk_ion_probe: adding heap Media of type 7 with 14200000@9200000 (type:GEN_POOL)
[    2.098076] rtk_ion_probe: adding heap Media of type 7 with 3200000@b800000 (type:GEN_POOL)
[    2.124663] NET: Registered protocol family 2
[    2.130464] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    2.138849] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    2.146694] TCP: Hash tables configured (established 16384 bind 16384)
[    2.154154] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    2.161024] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    2.168741] NET: Registered protocol family 1
[    2.174269] RPC: Registered named UNIX socket transport module.
[    2.180978] RPC: Registered udp transport module.
[    2.186300] RPC: Registered tcp transport module.
[    2.191623] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.199279] Trying to unpack rootfs image as initramfs...
[    2.205746] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[    2.227724] Freeing initrd memory: 4096K
[    2.233228] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    2.245368] audit: initializing netlink subsys (disabled)
[    2.251542] audit: type=2000 audit(1.435:1): initialized
[    2.259154] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    2.268148] NFS: Registering the id_resolver key type
[    2.273950] Key type id_resolver registered
[    2.278690] Key type id_legacy registered
[    2.283245] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.291380] fuse init (API version 7.26)
[    2.302178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    2.310553] io scheduler noop registered
[    2.314999] io scheduler deadline registered
[    2.319889] io scheduler cfq registered (default)
[    2.326486] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(0) enable=(0) duty_rate=(5) clksrc_div=(1) clkout_div=(255)---  
[    2.338091] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    2.346672] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(1) enable=(1) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    2.358368] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    2.366943] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(2) enable=(0) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    2.378638] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    2.387213] [RTK_PWM] rtd1295_pwm_probe - hwpwm=(3) enable=(0) duty_rate=(50) clksrc_div=(1) clkout_div=(255)---  
[    2.398909] [RTK_PWM] rtd1295_pwm_probe - defualt output frequence = 26367Hz ---  
[    2.408160] [RTK PCIE 2] 9803b000.pcie2: pcie host driver initial begin
[    2.415650] [RTK PCIE 2] 9803b000.pcie2: speed mode: GEN2
[    2.657381] [RTK PCIE 2] 9803b000.pcie2: pcie device has link down in slot 2
[    2.665357] [RTK PCIE 2] 9803b000.pcie2: rtk_pcie2_hw_initial fail
[    2.672368] [RTK PCIE 2]: probe of 9803b000.pcie2 failed with error -22
[    2.680277] [RTK PCIE 1] 9804e000.pcie: pcie host driver initial begin
[    2.901245] [RTK PCIE 1] 9804e000.pcie: pcie device has link down in slot 1
[    2.909123] [RTK PCIE 1] 9804e000.pcie: rtk_pcie_hw_initial fail
[    2.915932] [RTK PCIE 1]: probe of 9804e000.pcie failed with error -22
[    2.923847] [drivers/video/fbdev/rtk/rtk_fb.c rtk_fb_probe] 
[    2.923847] 
[    2.933885] [drivers/video/fbdev/rtk/rtk_fb.c rtk_fb_update_by_memory] [1920 x 1080] addr:0xd245000 size:0x17bb000 irq:0
[    2.933885] 
[    2.948838] [drivers/video/fbdev/rtk/rtk_fb.c rtk_fb_update_by_memory] numberofbuffers 3
[    2.948838] 
[    2.960639] [DC_Init] start
[    2.963788] [DC_Init] allocate DC info buffer
[    2.968733] [DC_Init] rpc_common_base = ffffff800800c000, ipc = ffffff800800c0c4
[    2.977316] [DC_Init] done
[    2.981284] E/DC: [dc_queue_vo_buffer 1332] pdc_info->RING_HEADER =           (null)
[    3.030043] Console: switching to colour frame buffer device 240x67
[    3.030131] E/DC: [dc_queue_vo_buffer 1332] pdc_info->RING_HEADER =           (null)
[    3.102971] misc rtk_lockapi: registered.
[    3.107546] [PUWRAP] begin pu_init
[    3.111403] [PUWRAP] end pu_init result=0x0
[    3.116394] [PUWRAP] pu_probe
[    3.119835] [PUWRAP] success to probe pu wrapper device with USE_ION_ALLOCATOR
[    3.128419] [RTK_VE1] vpu_probe
[    3.132042] [RTK_VE1] vpu base address get from DTB physical base addr=0x98040000, virtual base=0xffffff8008100000, size=0x8000
[    3.145289] [RTK_VE1] res.start:0x98007000, bonding_value:0x0
[    3.151945] [RTK_VE1] s_ve1_irq:21 want to register ve1_irq_handler
[    3.159154] [RTK_VE1] s_ve2_irq:22 want to register ve2_irq_handler
[    3.166307] [RTK_VE1] success to probe vpu device with non reserved video memory
[    3.175136] [RTK_JPU] jpu_probe
[    3.178735] [RTK_JPU] jpu base address get from DTB physical base addr=0x9803e000, virtual base=0xffffff80080fe000, size=0x1000
[    3.192046] [RTK_JPU] get clock controller s_jpu_clk=0xffffffc07c486b00
[    3.199584] [RTK_JPU] s_jpu_irq:20 want to register jpu_irq_handler
[    3.206733] [RTK_JPU] success to probe jpu device with non reserved video memory
[    3.215267] [RTK_JPU] jpu_init
[    3.218732] [RTK_JPU] end jpu_init result=0x0
[    3.224518] [RTK_RPC] rpc driver initial begin
[    3.229736] [RTK_RPC]rpc is not paused & suspended
[    3.238245] [RTK_RPC] rpc_int_base:ffffff800810f104 irq:26
[    3.244536] [RTK_RPC] rpc driver initial done
[    3.249929] [RTK MCP] MCP driver initial begin.
[    3.255107] [RTK MCP] MCP Base: 0xffffff8008111000
[    3.260531] [RTK MCP] TP Base: 0xffffff8008113000
[    3.266107] [RTK MCP] MCP driver initial done.
[    3.271591] xenfs: not registering filesystem on non-xen platform
[    3.278575] gmt-g2227 0-0012: g2227_regulator_probe
[    3.285793] gmt-g2227 0-0012: g2227 version 03
[    3.398880] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.409708] console [ttyS0] disabled
[    3.413832] 98007800.serial0: ttyS0 at MMIO 0x98007800 (irq = 194, base_baud = 1687500) is a 16550A
[    3.424118] console [ttyS0] enabled
[    3.424118] console [ttyS0] enabled
[    3.431651] bootconsole [uart8250] disabled
[    3.431651] bootconsole [uart8250] disabled
[    3.441308] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.442310] 9801b200.serial1: ttyS1 at MMIO 0x9801b200 (irq = 163, base_baud = 27000000) is a 16550A
[    3.443600] [drm] Initialized
[    3.460299] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.466543] [RTK_SB2_DBG] Invalid address is 0x9801b2f8 
[    3.472874] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.494959] brd: module loaded
[    3.507347] loop: module loaded
[    3.511746] zram: Added device: zram0
[    3.517028] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.523649] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.529893] [RTK_SB2_DBG] Invalid address is 0x9804d008 
[    3.536226] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.579170] phy-rtk-sata 9803ff60.sata_phy: init phy0 OK
[    3.585310] RtkSFC MTD init ...
[    3.588562] NOR flash support list ..
[    3.592339] (X) HWSEMA support.
[    3.595564] (X) AUTO_HW_POLL support.
[    3.599370] (X) 4Bytes mode support.
[    3.603059] (X) Max erase size support.
[    3.607013] (V) Sfc_delay support.
[    3.610522] (X) Multi-read support.
[    3.615218] --RDID Seq: 0xff | 0xff | 0xff
[    3.619445] RtkSFC MTD: Unknown flash type.
[    3.623758] Manufacturer's ID = FF, Memory Type = FF, Memory Capacity = FF
[    3.630967] Realtek SFC Driver installation fails.
[    3.630967] 
[    3.638250] libphy: Fixed MDIO Bus: probed
[    3.642521] tun: Universal TUN/TAP device driver, 1.6
[    3.647724] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.654758] r8169 Gigabit Ethernet driver 2.5LK-NAPI loaded
[    3.673200] r8169 98016000.gmac eth0: RTL8168g/8111g at 0xffffff80081b5000, XID 10900800 IRQ 17
[    3.682160] r8169 98016000.gmac eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    3.691153] [Ethernet] Watch link status change.
[    3.692190] input: venus_IR_input as /devices/virtual/input/input0
[    3.692560] PPP generic driver version 2.4.2
[    3.692821] PPP BSD Compression module registered
[    3.692827] PPP Deflate Compression module registered
[    3.692848] PPP MPPE Compression module registered
[    3.692854] NET: Registered protocol family 24
[    3.692966] usbcore: registered new interface driver r8152
[    3.693072] usbcore: registered new interface driver asix
[    3.693185] usbcore: registered new interface driver ax88179_178a
[    3.693271] usbcore: registered new interface driver cdc_ether
[    3.693356] usbcore: registered new interface driver cdc_eem
[    3.693441] usbcore: registered new interface driver net1080
[    3.693528] usbcore: registered new interface driver cdc_subset
[    3.693619] usbcore: registered new interface driver zaurus
[    3.693731] usbcore: registered new interface driver cdc_ncm
[    3.693979] rtk-uio 98000000.rbus: rtk_uio_probe
[    3.694422] rtk-uio 9801b000.refclk: rtk_uio_probe
[    3.695190] rtk-se 9800c000.se: rtk_se_probe
[    3.696314] rtk-se 9800c000.se: irq=15
[    3.696327] rtk-se 9800c000.se: phys:0x000000009800c000 virt:0xffffff80081e5000 size:0x0000000000001000 type:1 name:SE reg space
[    3.696338] rtk-se 9800c000.se: phys:0x0000000020040000 virt:0xffffff80081e7000 size:0x0000000000001000 type:1 name:SE driver data
[    3.696348] rtk-se 9800c000.se: phys:0x0000000020048000 virt:0xffffff80081e9000 size:0x0000000000008000 type:1 name:SE command queue
[    3.696867] rtk-se 9800c000.se: [SE] Engine[0] Ctrl:00000001 Base:20048000 ReadPtr:20048000 WritePtr:20048000 Limit:2004c000
[    3.696903] rtk-se 9800c000.se: [SE] Engine[1] Ctrl:00000001 Base:2004c000 ReadPtr:2004c000 WritePtr:2004c000 Limit:20050000
[    3.697282] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.697314] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.697318] [RTK_SB2_DBG] Invalid address is 0x9800c458 
[    3.697321] rtk-se 9800c000.se: [SE] Enter rtk_se_save_reg
[    3.697324] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.697424] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.697455] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.697521] [RTK_SB2_DBG] Invalid address is 0x9800c014 
[    3.697553] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.697653] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.697683] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.697716] [RTK_SB2_DBG] Invalid address is 0x9800c014 
[    3.697781] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.697846] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.697878] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.697941] [RTK_SB2_DBG] Invalid address is 0x9800c030 
[    3.697976] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.698041] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.698073] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.698139] [RTK_SB2_DBG] Invalid address is 0x9800c060 
[    3.698171] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.698268] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.698333] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.698366] [RTK_SB2_DBG] Invalid address is 0x9800c060 
[    3.698431] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.698496] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.698558] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.698594] [RTK_SB2_DBG] Invalid address is 0x9800c0a4 
[    3.698626] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.698723] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.698788] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.698821] [RTK_SB2_DBG] Invalid address is 0x9800c0a4 
[    3.698886] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.698951] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.698983] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.699049] [RTK_SB2_DBG] Invalid address is 0x9800c0dc 
[    3.699111] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.699209] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.699243] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.699277] [RTK_SB2_DBG] Invalid address is 0x9800c0dc 
[    3.699342] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.699407] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.699439] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.699504] [RTK_SB2_DBG] Invalid address is 0x9800c148 
[    3.699537] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.699634] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.699699] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.699762] [RTK_SB2_DBG] Invalid address is 0x9800c148 
[    3.699797] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.699862] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.699894] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.699960] [RTK_SB2_DBG] Invalid address is 0x9800c180 
[    3.699992] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700007] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.700011] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.700014] [RTK_SB2_DBG] Invalid address is 0x9800c180 
[    3.700049] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700115] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.700147] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.700180] [RTK_SB2_DBG] Invalid address is 0x9800c188 
[    3.700245] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700310] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.700342] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.700375] [RTK_SB2_DBG] Invalid address is 0x9800c19c 
[    3.700440] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700537] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.700602] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.700665] [RTK_SB2_DBG] Invalid address is 0x9800c1b4 
[    3.700700] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700766] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.700797] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.700830] [RTK_SB2_DBG] Invalid address is 0x9800c1d4 
[    3.700895] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.700993] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.701057] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.701090] [RTK_SB2_DBG] Invalid address is 0x9800c1ec 
[    3.701155] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.701220] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.701252] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.701315] [RTK_SB2_DBG] Invalid address is 0x9800c20c 
[    3.701350] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.701478] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.701512] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.701546] [RTK_SB2_DBG] Invalid address is 0x9800c224 
[    3.701610] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.701675] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.701707] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.701741] [RTK_SB2_DBG] Invalid address is 0x9800c244 
[    3.701835] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.701903] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.701968] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.702001] [RTK_SB2_DBG] Invalid address is 0x9800c25c 
[    3.702066] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.702131] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.702163] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.702196] [RTK_SB2_DBG] Invalid address is 0x9800c27c 
[    3.702261] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.702358] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.702423] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.702486] [RTK_SB2_DBG] Invalid address is 0x9800c294 
[    3.702521] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.702586] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.702618] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.702651] [RTK_SB2_DBG] Invalid address is 0x9800c2b4 
[    3.702716] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.702813] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.702846] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.702879] [RTK_SB2_DBG] Invalid address is 0x9800c2cc 
[    3.702911] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703009] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.703071] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.703136] [RTK_SB2_DBG] Invalid address is 0x9800c300 
[    3.703171] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703236] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.703268] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.703301] [RTK_SB2_DBG] Invalid address is 0x9800c300 
[    3.703366] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703432] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.703463] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.703496] [RTK_SB2_DBG] Invalid address is 0x9800c31c 
[    3.703591] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703659] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.703724] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.703757] [RTK_SB2_DBG] Invalid address is 0x9800c334 
[    3.703821] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703887] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.703919] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.703952] [RTK_SB2_DBG] Invalid address is 0x9800c354 
[    3.703985] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.703998] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.704001] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.704004] [RTK_SB2_DBG] Invalid address is 0x9800c36c 
[    3.704007] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.704137] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.704172] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.704205] [RTK_SB2_DBG] Invalid address is 0x9800c370 
[    3.704270] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.704336] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.704367] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.704400] [RTK_SB2_DBG] Invalid address is 0x9800c388 
[    3.704465] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.704530] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.704593] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.704628] [RTK_SB2_DBG] Invalid address is 0x9800c3b8 
[    3.704660] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.704788] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.704822] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.704855] [RTK_SB2_DBG] Invalid address is 0x9800c3b8 
[    3.704920] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.704985] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.705017] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.705083] [RTK_SB2_DBG] Invalid address is 0x9800c3f0 
[    3.705145] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.705213] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.705278] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.705311] [RTK_SB2_DBG] Invalid address is 0x9800c3f0 
[    3.705376] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.705441] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.705473] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.705538] [RTK_SB2_DBG] Invalid address is 0x9800c428 
[    3.705571] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.705668] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.705733] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.705796] [RTK_SB2_DBG] Invalid address is 0x9800c428 
[    3.705831] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.705896] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.705928] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.705994] [RTK_SB2_DBG] Invalid address is 0x9800c478 
[    3.706026] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.706123] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.706188] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.706221] [RTK_SB2_DBG] Invalid address is 0x9800c478 
[    3.706286] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.706351] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.706414] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.706449] [RTK_SB2_DBG] Invalid address is 0x9800c4b0 
[    3.706481] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.706609] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.706643] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.706676] [RTK_SB2_DBG] Invalid address is 0x9800c4b0 
[    3.706741] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.706806] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.706838] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.706904] [RTK_SB2_DBG] Invalid address is 0x9800c4fc 
[    3.706966] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.707034] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.707099] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.707132] [RTK_SB2_DBG] Invalid address is 0x9800c4fc 
[    3.707197] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.707262] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.707294] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.707359] [RTK_SB2_DBG] Invalid address is 0x9800c540 
[    3.707392] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.707489] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.707521] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.707554] [RTK_SB2_DBG] Invalid address is 0x9800c540 
[    3.707617] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.707684] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.707716] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.707782] [RTK_SB2_DBG] Invalid address is 0x9800c574 
[    3.707847] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.707912] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.707944] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.707977] [RTK_SB2_DBG] Invalid address is 0x9800c574 
[    3.708010] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.708022] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.708088] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.708123] [RTK_SB2_DBG] Invalid address is 0x9800c59c 
[    3.708156] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.708283] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.708318] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.708351] [RTK_SB2_DBG] Invalid address is 0x9800c59c 
[    3.708416] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.708514] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.708578] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.708611] [RTK_SB2_DBG] Invalid address is 0x9800c5bc 
[    3.708676] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.708741] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.708773] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.708806] [RTK_SB2_DBG] Invalid address is 0x9800c5dc 
[    3.708871] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.708969] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.709033] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.709066] [RTK_SB2_DBG] Invalid address is 0x9800c5f4 
[    3.709131] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.709196] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.709228] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.709291] [RTK_SB2_DBG] Invalid address is 0x9800c614 
[    3.709356] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.709454] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.709489] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.709522] [RTK_SB2_DBG] Invalid address is 0x9800c62c 
[    3.709586] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.709651] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.709684] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.709717] [RTK_SB2_DBG] Invalid address is 0x9800c64c 
[    3.709782] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.709879] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.709944] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.710007] [RTK_SB2_DBG] Invalid address is 0x9800c664 
[    3.710042] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.710107] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.710139] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.710172] [RTK_SB2_DBG] Invalid address is 0x9800c684 
[    3.710237] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.710334] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.710399] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.710432] [RTK_SB2_DBG] Invalid address is 0x9800c69c 
[    3.710497] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.710562] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.710594] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.710627] [RTK_SB2_DBG] Invalid address is 0x9800c6bc 
[    3.710692] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.710789] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.710854] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.710887] [RTK_SB2_DBG] Invalid address is 0x9800c6d4 
[    3.710952] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.711017] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.711049] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.711112] [RTK_SB2_DBG] Invalid address is 0x9800c6f4 
[    3.711177] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.711275] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.711309] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.711343] [RTK_SB2_DBG] Invalid address is 0x9800c70c 
[    3.711407] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.711472] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.711504] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.711538] [RTK_SB2_DBG] Invalid address is 0x9800c72c 
[    3.711603] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.711700] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.711765] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.711828] [RTK_SB2_DBG] Invalid address is 0x9800c744 
[    3.711863] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.711928] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.711960] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.711993] [RTK_SB2_DBG] Invalid address is 0x9800c764 
[    3.711996] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.712105] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.712136] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.712169] [RTK_SB2_DBG] Invalid address is 0x9800c77c 
[    3.712234] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.712239] rtk-se 9800c000.se: [SE] Exit rtk_se_save_reg
[    3.712243] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.712246] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.712249] [RTK_SB2_DBG] Invalid address is 0x9800c790 
[    3.712252] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.712692] rtk-md 9800b000.md: rtk_md_probe
[    3.712868] rtk-md 9800b000.md: irq=14
[    3.712879] rtk-md 9800b000.md: phys:0x000000009800b000 virt:0xffffff80081f2000 size:0x0000000000001000 type:1 name:MD reg space
[    3.712890] rtk-md 9800b000.md: phys:0x0000000020041000 virt:0xffffff80081f4000 size:0x0000000000001000 type:1 name:MD driver data
[    3.712901] rtk-md 9800b000.md: phys:0x0000000020044000 virt:0xffffff80081f6000 size:0x0000000000004000 type:1 name:MD command queue
[    3.713369] rtk-md 9800b000.md: [MD] Engine[0] Ctrl:00000005 Base:20044000 ReadPtr:20044000 WritePtr:20044000 Limit:20048000
[    3.713909] rtk-usb-phy-rle0599 98013824.usb_phy_rle0599: Probe RTK USB 2.0 RLE0599 PHY
[    3.714511] rtk-usb2phy 98028280.dwc3_drd_usb2phy: drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    3.714699] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    3.714897] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: drivers/usb/phy/phy-rtk-usb2.c Probe RTK USB 2.0 PHY
[    3.715481] rtk-usb3phy 98013210.dwc3_drd_usb3phy: drivers/usb/phy/phy-rtk-usb3.c Probe RTK USB 3.0 PHY
[    3.715668] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: drivers/usb/phy/phy-rtk-usb3.c Probe RTK USB 3.0 PHY
[    3.717148] rtk-dwc3 98013200.rtk_dwc3_drd: Probe Realtek-SoC USB DWC3 Host Controller
[    3.717739] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013200.rtk_dwc3_drd
[    3.717759] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe ok! (take 0 ms)
[    3.717769] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe_work Start ...
[    3.717831] rtk-dwc3 98013c00.rtk_dwc3_u2host: Probe Realtek-SoC USB DWC3 Host Controller
[    3.718357] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013c00.rtk_dwc3_u2host
[    3.718380] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe ok! (take 4 ms)
[    3.718416] dwc3 98020000.dwc3_drd: rtk dwc3 fixed dwc3 globals register start address 0xffffff8008228100
[    3.718490] rtk-dwc3 98013e00.rtk_dwc3_u3host: Probe Realtek-SoC USB DWC3 Host Controller
[    3.718712] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Init RTK USB 3.0 PHY
[    3.718721] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb_phy_init Init RTK USB 3.0 PHY phy#0
[    3.719034] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013e00.rtk_dwc3_u3host
[    3.719053] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe ok! (take 0 ms)
[    3.720370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.720404] ehci-pci: EHCI PCI platform driver
[    3.720503] ehci-rtk: EHCI realtek driver init
[    3.720684] rtk-ehci 98013000.ehci: Probe Realtek-SoC USB EHCI Host Controller
[    3.720796] rtk-ehci 98013000.ehci: ehci_rtk_drv_probe Enable fixed_async_list_addr_bug
[    3.720881] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013000.ehci
[    3.720901] rtk-ehci 98013000.ehci: ehci_rtk_drv_probe OK (take 0 ms)
[    3.721210] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.721410] rtk-ohci 98013400.ohci: Probe Realtek-SoC USB OHCI Host Controller
[    3.721595] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013400.ohci
[    3.721615] rtk-ohci 98013400.ohci: ohci_rtk_drv_probe OK (take 0 ms)
[    3.721924] ohci-pci: OHCI PCI platform driver
[    3.722972] usbcore: registered new interface driver uas
[    3.723152] usbcore: registered new interface driver usb-storage
[    3.723241] usbcore: registered new interface driver ums-realtek
[    3.723405] usbcore: registered new interface driver lvs
[    3.724393] mousedev: PS/2 mouse device common for all mice
[    3.724582] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## to toggle PHY addr 0x09 BIT(9)
[    3.725148] usbcore: registered new interface driver xpad
[    3.725629] [RTK_RTC] 9801b600.rtc: rtk_rtc_probe
[    3.725663] [RTK_RTC] 9801b600.rtc: rtk_base_year = 2014
[    3.725724] [RTK_RTC] 9801b600.rtc: rtk_rtc_base = 0xffffff800822e600
[    3.725732] [RTK_RTC] 9801b600.rtc: rtk_iso_base = 0xffffff8008232000
[    3.725741] [RTK_RTC] 9801b600.rtc: rtk_rtc rtcacr = 0x80
[    3.725750] [RTK_RTC] 9801b600.rtc: rtk_rtc already enabled 
[    3.725758] [RTK_RTC] 9801b600.rtc: enable REG_SEC = 0x31
[    3.725765] [RTK_RTC] 9801b600.rtc: enable REG_MIN = 0xb
[    3.725771] [RTK_RTC] 9801b600.rtc: enable REG_HR = 0x9
[    3.725777] [RTK_RTC] 9801b600.rtc: enable REG_DATA_LOW = 0x3f
[    3.725783] [RTK_RTC] 9801b600.rtc: enable REG_DATE_HIGH = 0x7
[    3.725790] [RTK_RTC] 9801b600.rtc: reset bit 0x1f840e3d
[    3.725798] [RTK_RTC] 9801b600.rtc: clock bit 0x4e01e406
[    3.725896] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## PHY addr 0x1f = 0x70081f10
[    3.725904] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Initialized RTK USB 3.0 PHY
[    3.725911] [RTK_RTC] 9801b600.rtc: sec=0x18 , min=0xb . day=0x73f
[    3.725915] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    3.725924] [RTK_RTC] 9801b600.rtc: time read as 2019.00.30 09:11:24
[    3.725928] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    3.725980] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    3.726203] [RTK_RTC] 9801b600.rtc: rtc core: registered rtc as rtc0
[    3.726367] i2c /dev entries driver
[    3.726998] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    3.727006] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY
[    3.728153] IR NEC protocol handler initialized
[    3.728158] IR RC5(x/sz) protocol handler initialized
[    3.728162] IR RC6 protocol handler initialized
[    3.728166] IR JVC protocol handler initialized
[    3.728170] IR Sony protocol handler initialized
[    3.728174] IR SANYO protocol handler initialized
[    3.728178] IR Sharp protocol handler initialized
[    3.728182] IR MCE Keyboard/mouse protocol handler initialized
[    3.728187] IR XMP protocol handler initialized
[    3.728436] [HDMITx] Driver init
[    3.728447] [HDMITx] Mode = HDMI
[    3.728741] [HDMITx] hotplug gpio(107)
[    3.729127] [HDMITx] [setup_mute_gpio]
[    3.729135] [HDMITx] Undefined gpio-audio-mute, sikp
[    3.729140] [HDMITx] Undefined gpio-i2s-ctrl, sikp
[    3.729145] [HDMITx] [register_hdmitx_scdcrr]
[    3.729172] [HDMITx] Skip SCDC RR init
[    3.729396] [HDMITx] Found DP TX node, clock always on
[    3.729400] [HDMITx] Driver init done
[    3.729741] register cec driver cec (ffffff8009445418)
[    3.729971] cec cec0: bus match name = cec0, drv_name = cec
[    3.730023] cec cec0: probe dev cec0
[    3.730491] cec cec0: probe success
[    3.730888] cec cec1: bus match name = cec1, drv_name = cec
[    3.730931] cec cec1: probe dev cec1
[    3.731124] cec cec1: probe fail
[    3.731469] rtk_dptx 9803d000.dptx: [rtk_dptx_probe] start
[    3.732162] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[    3.732166] [RTK_SB2_DBG] Invalid access issued by SCPU
[    3.732170] [RTK_SB2_DBG] Invalid address is 0x98009440 
[    3.732173] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[    3.756484] rtk_dptx 9803d000.dptx: [rtk_dptx_probe] finished
[    3.756812] usbcore: registered new interface driver uvcvideo
[    3.756816] USB Video Class driver (1.1.1)
[    3.757986] [rtk_wdt] rtk_wdt_probe enter
[    3.758442] [rtk_wdt] rtk_wdt_probe exit
[    3.762725] device-mapper: uevent: version 1.0.3
[    3.768980] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
[    3.769181] Bluetooth: HCI UART driver ver 2.3
[    3.769190] Bluetooth: HCI UART protocol H4 registered
[    3.769195] Bluetooth: HCI UART protocol LL registered
[    3.769645] rtk-cpufreq dvfs: rtk_dvfs_probe
[    3.770261] rtk-cpufreq dvfs: no dynamic opmode
[    3.770364] cpu cpu0: used in cpufreq
[    3.770546] cpu cpu0: dev_pm_opp_set_prop_name(): prop_name=a01
[    3.775055] rtk-cpufreq dvfs: no auto-boost
[    3.775580] BPI: rtk_sdmmc_probe: sdmmc_on(1) enable rtk_sdmmc driver 
[    3.775623] rtk-sdmmc: build at : #16 SMP PREEMPT Sat Jan 19 09:58:51 UTC 2019 
[    3.775625] rtk-sdmmc: CONFIG_MMC_BLOCK_BOUNCE enable
[    3.775626] BPI: reset rtk_sdmmc ...
[    3.827186] dwc3 98020000.dwc3_drd: dwc3_gadget_init Enter
[    3.827511] dwc3 98020000.dwc3_drd: dwc3_gadget_init Exit
[    3.828291] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: ENTER dwc3_rtk_type_c_probe
[    3.828310] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: No mapping memory for type_c_reg_base!
[    3.828314] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Let type_c_reg_base = ffffff800826434c
[    3.828376] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: dwc3_rtk_type_c_probe get rd_ctrl-gpio (id=135) OK
[    3.828380] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Set device mode boot_check_time 30000 ms
[    3.828400] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Chip 1295 revision is a01 (support revision a01) to load A01 parameter
[    3.828479] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: DWC3_DRD is DRD mode
[    3.828536] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_manager_schedule_work for 98013200.rtk_dwc3_drd_type_c
[    3.828546] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: create_debug_files
[    3.828586] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Exit dwc3_rtk_type_c_probe OK (take 0 ms)
[    3.828682] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_gpio_power_on for 98013200.rtk_dwc3_drd
[    3.828737] rtk-dwc3 98013200.rtk_dwc3_drd: dwc3_rtk_probe_work End ... ok! (take 116 ms)
[    3.828744] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe_work Start ...
[    3.828997] dwc3 98029000.dwc3_u2host: rtk dwc3 fixed dwc3 globals register start address 0xffffff8008278100
[    3.829108] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    3.829113] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    3.829152] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    3.830164] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    3.830168] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY
[    3.836025] rtk_sdmmc_get_cd: SD card exists, regCARD_EXIST = 4
[    3.848213] EMMC : emmc of_node found
[    3.848271] [rtkemmc_probe] get speed-step : 2 
[    3.848275] [rtkemmc_probe] no driving nf_s1 warning !! 
[    3.848278] [rtkemmc_probe] get driving s2 : 0x1
[    3.848280] [rtkemmc_probe] get driving s2 : 0xbb
[    3.848282] [rtkemmc_probe] get driving s2 : 0xbb
[    3.848284] [rtkemmc_probe] get driving s2 : 0xbb
[    3.848286] [rtkemmc_probe] get driving s2 : 0x33
[    3.848289] [rtkemmc_probe] no driving nf_s3 warning !! 
[    3.848292] [rtkemmc_probe] get tx tuning switch : 0
[    3.848294] [rtkemmc_probe] get rx tuning switch : 0
[    3.848297] [rtkemmc_probe] no dqs_tuning switch node !! 
[    3.848300] [rtkemmc_probe] no tx & rx reference phase switch node !! 
[    3.848380] rtkemmc_set_pin_mux: EMMC_PFUNC_NF1 = 0x33333333 
[    3.848401] EMMC: set to 0x00000000, EMMC_CTYPE=00000000
[    3.848407] EMMC: set_wrapper_div to 0x00002100
[    3.848410] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.849040] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.849547] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.849549] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.872419] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.872421] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.896007] mmc1: EMMC driver initialized
[    3.896267] hidraw: raw HID events driver (C) Jiri Kosina
[    3.896774] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.896777] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.900093] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.900096] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.901518] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.901520] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.904014] usbcore: registered new interface driver usbhid
[    3.904016] usbhid: USB HID core driver
[    3.905145] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.905147] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.905571] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.905574] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.906016] ashmem: initialized
[    3.908107] usbcore: registered new interface driver snd-usb-audio
[    3.908243] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.908245] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.908575] u32 classifier
[    3.908577]     Actions configured
[    3.908582] Netfilter messages via NETLINK v0.30.
[    3.908595] nfnl_acct: registering with nfnetlink.
[    3.912550] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.912697] ctnetlink v0.93: registering with nfnetlink.
[    3.912814] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    3.914057] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.914059] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.914765] rtkemmc_set_rspparam : cmd7 arg : 0x00010000
[    3.914767] rtkemmc_set_rspparam : cmd7 with rsp
[    3.919759] xt_time: kernel timezone is -0000
[    3.919768] ip_set: protocol 6
[    3.925776] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.925970] arp_tables: arp_tables: (C) 2002 David S. Miller
[    3.930551] dwc3 98029000.dwc3_u2host: dwc3_host_init
[    3.930776] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[    3.930929] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 1
[    3.931263] xhci-hcd xhci-hcd.6.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x02010010
[    3.931305] xhci-hcd xhci-hcd.6.auto: irq 9, io mem 0x98029000
[    3.931904] hub 1-0:1.0: USB hub found
[    3.931927] hub 1-0:1.0: 1 port detected
[    3.932173] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[    3.932300] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 2
[    3.932355] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.932802] hub 2-0:1.0: USB hub found
[    3.932822] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    3.933232] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_gpio_power_on for 98013c00.rtk_dwc3_u2host
[    3.933239] rtk-dwc3 98013c00.rtk_dwc3_u2host: dwc3_rtk_probe_work End ... ok! (take 104 ms)
[    3.933246] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe_work Start ...
[    3.933570] dwc3 981f0000.dwc3_u3host: rtk dwc3 fixed dwc3 globals register start address 0xffffff8009998100
[    3.933731] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb_phy_init Init RTK USB 3.0 PHY
[    3.933736] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb_phy_init Init RTK USB 3.0 PHY phy#0
[    3.937574] Initializing XFRM netlink socket
[    3.939577] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb3_phy_toggle ########## to toggle PHY addr 0x09 BIT(9)
[    3.940885] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: do_rtk_usb3_phy_toggle ########## PHY addr 0x1f = 0x90001f10
[    3.940889] rtk-usb3phy 98013e10.dwc3_u3host_usb3phy: rtk_usb_phy_init Initialized RTK USB 3.0 PHY
[    3.940894] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    3.940898] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    3.940944] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    3.941957] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    3.941961] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY
[    3.956809] card->mmc_avail_type = 0x00000013 
[    3.962223] NET: Registered protocol family 10
[    3.969221] EMMC: set_freq to 0x46, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00464388, PLL_EMMC4=00000007
[    3.969223] EMMC, set_ip_div = cur_div(0x00000080), ignored. 
[    3.969225] set bus width 8
[    3.969230] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    3.973727] mip6: Mobile IPv6
[    3.973747] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.987179] EMMC: set_freq to 0xa6, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00a64388, PLL_EMMC4=00000007
[    3.987190] EMMC: set div to 0x00, EMMC_CLKDIV=00000000
[    3.987191] set bus width 8
[    3.987196] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    3.987619] EMMC: set_freq to 0xa6, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00a64388, PLL_EMMC4=00000007
[    3.987621] EMMC, set_ip_div = cur_div(0x00000000), ignored. 
[    3.987622] set bus width 8
[    3.987628] EMMC: set to 0x00010000, EMMC_CTYPE=00010000
[    3.987632] emmc card manid = 0x00000088
[    3.987635] EMMC: set_wrapper_div to 0x00002100
[    3.988065] EMMC: set_freq to 0xa6, EMMC_CKGEN_CTL=0x00002100, PLL_EMMC1=00000003, PLL_EMMC2=04517893, PLL_EMMC3=00a64388, PLL_EMMC4=00000007
[    3.988067] EMMC, set_ip_div = cur_div(0x00000000), ignored. 
[    3.988278] Inherit bootcode tuning phase: TX=0x12, RX=0x7
[    3.996076] NET: Registered protocol family 17
[    3.996090] NET: Registered protocol family 15
[    3.998282] HS200: final phase=0x793
[    3.998368] Bluetooth: RFCOMM TTY layer initialized
[    3.998376] Bluetooth: RFCOMM socket layer initialized
[    3.998392] Bluetooth: RFCOMM ver 1.11
[    3.998401] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.998404] Bluetooth: BNEP filters: protocol multicast
[    3.998411] Bluetooth: BNEP socket layer initialized
[    3.998414] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.998420] Bluetooth: HIDP socket layer initialized
[    3.998482] Key type dns_resolver registered
[    3.999604] Registered cp15_barrier emulation handler
[    3.999613] Registered setend emulation handler
[    3.999879] mmc1: new HS200 MMC card at address 0001
[    4.000506] registered taskstats version 1
[    4.004450] [RTK_SCPU_WRAPPER] scpu wrappee irq 24, scpu_wrap_addr 0xffffff80099a2000
[    4.004498] [RTK_SCPU_WRAPPER] initialized
[    4.004500] [RTK_SCPU_WRAPPER] memory monitor 0x98013b00 - 0x98013c00
[    4.004609] rtk-uctrl uctrl: [UCTRL] rtk_uctrl_probe
[    4.004685] mmcblk1: mmc1:0001 NCard  14.5 GiB 
[    4.005226] [RTK_RTC] 9801b600.rtc: sec=0x19 , min=0xb . day=0x73f
[    4.005232] [RTK_RTC] 9801b600.rtc: time read as 2019.00.30 09:11:25
[    4.005945] [RTK_RTC] 9801b600.rtc: setting system clock to 2019-01-30 09:11:25 UTC (1548839485)
[    4.006104] rtk-thermal-sensor 9801d150.thermal-sensor: thermal_sensor_probe
[    4.006139] mmcblk1boot0: mmc1:0001 NCard  partition 1 4.00 MiB
[    4.010404] mmcblk1boot1: mmc1:0001 NCard  partition 2 4.00 MiB
[    4.014651] mmcblk1rpmb: mmc1:0001 NCard  partition 3 4.00 MiB
[    4.017313]  mmcblk1: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 >
[    4.032141] rtk-thermal-sensor 980124b4.thermal-sensor: thermal_sensor_probe
[    4.042025] dwc3 981f0000.dwc3_u3host: dwc3_host_init
[    4.042245] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[    4.042393] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 3
[    4.042764] xhci-hcd xhci-hcd.7.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x02010010
[    4.042784] xhci-hcd xhci-hcd.7.auto: irq 9, io mem 0x981f0000
[    4.043341] hub 3-0:1.0: USB hub found
[    4.043362] hub 3-0:1.0: 1 port detected
[    4.043606] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[    4.043730] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 4
[    4.043796] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.044259] hub 4-0:1.0: USB hub found
[    4.044279] hub 4-0:1.0: 1 port detected
[    4.044742] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_gpio_power_on for 98013e00.rtk_dwc3_u3host
[    4.044775] rtk-usb-manager 98000000.rtk_usb_power_manager: __port3_gpio_on_off to set port3 power on by gpio (id=133) OK
[    4.044785] rtk-dwc3 98013e00.rtk_dwc3_u3host: dwc3_rtk_probe_work End ... ok! (take 108 ms)
[    4.044792] rtk-ehci 98013000.ehci: ehci_rtk_probe_work Start ...
[    4.044797] rtk-usb-phy-rle0599 98013824.usb_phy_rle0599: Init RTK USB phy-rle0599
[    4.044876] rtk-usb-phy-rle0599 98013824.usb_phy_rle0599: rtk_rle0599_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    4.045885] rtk-usb-phy-rle0599 98013824.usb_phy_rle0599: drivers/usb/phy/phy-rtk-rle0599.c Initialized RTK USB PHY rle0599
[    4.045892] rtk-ehci 98013000.ehci: EHCI Host Controller
[    4.046019] rtk-ehci 98013000.ehci: new USB bus registered, assigned bus number 5
[    4.046149] rtk-ehci 98013000.ehci: irq 9, io mem 0x98013000
[    4.058315] -->rfkill_bluetooth_init
[    4.058514] -->rfkill_bluetooth_probe
[    4.058632] bluetooth_set_power: block=1
[    4.058637] <--rfkill_bluetooth_probe
[    4.059170] audio-notifier audio-out-devices: rtk_audio_notifier_probe
[    4.059187] audio-notifier audio-out-devices: i2s: mode=master, channel=2
[    4.059276] clk_mmio_gate_disable_unused: clk_en_ur2
[    4.059287] clk_mmio_gate_disable_unused: clk_en_misc_i2c_1
[    4.059309] clk_mmio_gate_disable_unused: clk_en_nf
[    4.059338] pll_ve2: clk_pll_unprepare_unused
[    4.059341] pll_ve1: clk_pll_unprepare_unused
[    4.059344] pll_gpu: clk_pll_unprepare_unused
[    4.059346] pll_ddsb: clk_pll_unprepare_unused
[    4.059366] ALSA device list:
[    4.059368]   #0: snd_alsa_rtk
[    4.064001] rtk-ehci 98013000.ehci: USB 2.0 started, EHCI 1.00
[    4.064577] hub 5-0:1.0: USB hub found
[    4.064603] hub 5-0:1.0: 1 port detected
[    4.064893] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_gpio_power_on for 98013000.ehci
[    4.064898] rtk-ehci 98013000.ehci: ehci_rtk_probe_work End ... ok! (take 20 ms)
[    4.064905] rtk-ohci 98013400.ohci: ohci_rtk_probe_work Start ...
[    4.064912] rtk-ohci 98013400.ohci: Rtk Dmp OHCI
[    4.065046] rtk-ohci 98013400.ohci: new USB bus registered, assigned bus number 6
[    4.065057] rtk-ohci 98013400.ohci: _ohci_readl [USB Workaround] fixed force to enable ohci clock 
[    4.066179] rtk-ohci 98013400.ohci: irq 9, io mem 0x98013400
[    4.124502] hub 6-0:1.0: USB hub found
[    4.124524] hub 6-0:1.0: 1 port detected
[    4.124785] rtk-usb-manager 98000000.rtk_usb_power_manager: rtk_usb_init_gpio_power_on for 98013400.ohci
[    4.124809] rtk-usb-manager 98000000.rtk_usb_power_manager: __port1_gpio_on_off to set port1 power on by gpio (id=132) OK
[    4.124826] rtk-usb-manager 98000000.rtk_usb_power_manager: __port2_gpio_on_off to set port2 power on by gpio (id=19) OK
[    4.124833] rtk-ohci 98013400.ohci: ohci_rtk_probe_work End ... ok! (take 64 ms)
[    4.124839] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: dwc3_rtk_type_c_probe_work Start ...
[    4.124845] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: dwc3_rtk_type_c_init set debounce = 0x7f (check--> 0xff)
[    4.124859] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: switch_dwc3_mode dr_mode=0
[    4.124864] dwc3 98020000.dwc3_drd: dwc3_drd_to_stop_all START....
[    4.124868] dwc3 98020000.dwc3_drd: dwc3_gadget_exit Enter
[    4.125014] dwc3 98020000.dwc3_drd: dwc3_gadget_exit Exit
[    4.125018] dwc3 98020000.dwc3_drd: dwc3_drd_to_stop_all END....
[    4.125023] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: DWC3_DRD run in USB_DR_MODE_PERIPHERAL at DRD mode
[    4.136031] xhci-hcd xhci-hcd.6.auto: port_event call RTK_usb2_phy_toggle (port=0)
[    4.136039] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    4.137050] rtk-usb2phy 98031280.dwc3_u2host_usb2phy: do_rtk_usb2_phy_toggle connect to set Page0 0xE7 = 81
[    4.137054] usb usb1-port1: port 1, status 0101, change 0000, 12 Mb/s
[    4.259998] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    4.456008] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: dwc3_rtk_type_c_probe_work End ... ok! (take 332 ms)
[    4.456016] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: host_device_switch: usb cable connection change
[    4.456020] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: host_connected: a Host connect
[    4.456025] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: switch_dwc3_mode dr_mode=USB_DR_MODE_PERIPHERAL
[    4.456028] dwc3 98020000.dwc3_drd: dwc3_drd_to_device START....
[    4.456055] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Init RTK USB 3.0 PHY
[    4.456060] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb_phy_init Init RTK USB 3.0 PHY phy#0
[    4.461903] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## to toggle PHY addr 0x09 BIT(9)
[    4.463211] rtk-usb3phy 98013210.dwc3_drd_usb3phy: do_rtk_usb3_phy_toggle ########## PHY addr 0x1f = 0x70001f10
[    4.463214] rtk-usb3phy 98013210.dwc3_drd_usb3phy: rtk_usb_phy_init Initialized RTK USB 3.0 PHY
[    4.463219] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Init RTK USB 2.0 PHY
[    4.463224] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_init Init RTK USB 2.0 PHY phy#0
[    4.463264] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    4.464276] rtk-usb2phy 98028280.dwc3_drd_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    4.464280] rtk-usb2phy 98028280.dwc3_drd_usb2phy: rtk_usb2_phy_init Initialized RTK USB 2.0 PHY
[    4.564322] dwc3 98020000.dwc3_drd: dwc3_gadget_init Enter
[    4.564959] dwc3 98020000.dwc3_drd: dwc3_gadget_init Exit
[    4.564963] dwc3 98020000.dwc3_drd: dwc3_drd_to_device END....
[    4.574973] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: Connection change OK: IN device mode to connect host at cc2 (cc_status=0x38)
[    4.574977] rtk-dwc3-type_c 98013200.rtk_dwc3_drd_type_c: host_device_switch: In Device mode check connection at boot time
[    4.575531] xhci-hcd xhci-hcd.7.auto: port_event call RTK_usb2_phy_toggle (port=0)
[    4.575538] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    4.576551] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    4.576556] usb usb3-port1: port 1, status 0100, change 0001, 12 Mb/s
[    6.920028] ahci_rtk 9803f000.sata: masking port_map 0x3 -> 0x1
[    6.920070] ahci_rtk 9803f000.sata: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x1 impl platform mode
[    6.920076] ahci_rtk 9803f000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc sadm sds apst 
[    6.920089] ahci_rtk 9803f000.sata: port 0 is not capable of FBS
[    6.920970] scsi host0: ahci_rtk
[    6.921311] scsi host1: ahci_rtk
[    6.921493] ata1: SATA max UDMA/133 mmio [mem 0x9803f000-0x9803ffff] port 0x100 irq 10
[    6.921496] ata2: DUMMY
[    6.929995] SD card is being inserted now...!!!
[    6.929998] [SD] SD card power register=33333323
[    6.936003] rtk_sdmmc_get_cd: SD card exists, regCARD_EXIST = 4
[    7.128003] phy-rtk-sata 9803ff60.sata_phy: power on phy0
[    7.236695] mmc0: cannot verify signal voltage switch
[    7.404002] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    7.404478] ata1.00: ATA-9: SAMSUNG SSD 830 Series, CXM03B1Q, max UDMA/133
[    7.404482] ata1.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    7.404721] ata1.00: configured for UDMA/133
[    7.405137] scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG SSD 830  3B1Q PQ: 0 ANSI: 5
[    7.460420] sd 0:0:0:0: [sataa] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[    7.460628] sd 0:0:0:0: [sataa] Write Protect is off
[    7.460698] sd 0:0:0:0: [sataa] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.462885]  sataa: sataa1
[    7.463694] sd 0:0:0:0: [sataa] Attached SCSI disk
[    7.472551] usb usb3-port1: connect-debounce failed
[    7.473115] xhci-hcd xhci-hcd.7.auto: port_event call RTK_usb2_phy_toggle (port=0)
[    7.473123] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle ########## to toggle Page1 addr 0xe0 BIT(2)
[    7.474136] rtk-usb2phy 981f8280.dwc3_u3host_usb2phy: do_rtk_usb2_phy_toggle disconnect to set Page0 0xE7 = f1
[    7.474140] usb usb3-port1: port 1, status 0100, change 0001, 12 Mb/s
[    7.789930] SD/MMC card init done.
[    7.795911] rtk_sdmmc_get_ro: SD card is not write protect, regCARD_EXIST = 4
[    7.913114] random: fast init done
[    7.930747] rtk_sdmmc_execute_tuning CR_PLL_SD3: 182 (0xb6)
[    7.930750] rtk_sdmmc_execute_tuning CLK_GEN DVI: 1
[    7.930759] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    7.931290] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[    7.933148]  mmcblk0: p1
[    8.363691] ttyS0 - failed to request DMA
[    8.370469] EXT4-fs (sataa1): couldn't mount as ext3 due to feature incompatibilities
[    8.381197] EXT4-fs (sataa1): mounted filesystem with writeback data mode. Opts: (null)
[    8.389879] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[    8.397867] devtmpfs: mounted
[    8.401427] Freeing unused kernel memory: 1152K
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.31:  No such file or directory
[    8.513446] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    8.523239] cgroup: cgroup2: unknown option "nsdelegate"
[    8.534335] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    8.556627] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 18.04.1 LTS!

[    8.580296] systemd[1]: Set hostname to <lake1>.
[    8.658615] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    8.676104] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    8.774104] random: systemd: uninitialized urandom read (16 bytes read)
[    8.781202] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    8.808084] random: systemd: uninitialized urandom read (16 bytes read)
[    8.814986] systemd[1]: Started ntp-systemd-netif.path.
[  OK  ] Started ntp-systemd-netif.path.
[    8.836059] random: systemd: uninitialized urandom read (16 bytes read)
[    8.842874] systemd[1]: Reached target System Time Synchronized.
[  OK  ] Reached target System Time Synchronized.
[    8.864539] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.884201] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Created slice System Slice.
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Starting Restore / save the current clock...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Reached target Swap.
         Starting udev Coldplug all Devices...
         Starting Load Kernel Modules...
         Mounting Kernel Debug File System...
         Starting Set the console keyboard layout...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Local Encrypted Volumes.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Mounting POSIX Message Queue File System...
         Starting Nameserver information manager...
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting File System Check on Root Device...
[  OK  ] Started Journal Service.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Nameserver information manager.
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Reached target Network (Pre).
         Starting Remount Root and Kernel File Systems...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Armbian ZRAM config...
[  OK  ] Started Set console font and keymap.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target Sound Card.
         Starting Network Time Synchronization...
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Armbian ZRAM config.
         Starting Armbian memory supported logging...
[  OK  ] Started Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
         Starting Armbian hardware optimization...
[  OK  ] Started Message of the Day.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started resolvconf-pull-resolved.path.
[  OK  ] Reached target Paths.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting Armbian hardware monitoring...
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting Resets System Activity Data Collector...
         Starting System Logging Service...
         Starting Network Manager...
         Starting WPA supplicant...
[  OK  ] Started Regular background program processing daemon.
         Starting Save/Restore Sound Card State...
         Starting Dispatcher daemon for systemd-networkd...
         Starting resolvconf-pull-resolved.service...
[  OK  ] Started ntp-systemd-netif.service.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started System Logging Service.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started Login Service.
[  OK  ] Started resolvconf-pull-resolved.service.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started WPA supplicant.
         Starting Hostname Service...
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Permit User Sessions.
         Starting Set console scheme...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Starting Authorization Manager...
[  OK  ] Started Authorization Manager.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 18.04.1 LTS lake1 ttyS0

lake1 login: pi
Password: 
Last login: Sun Jan 27 20:22:07 UTC 2019 on ttyS0
 _          _          _ 
| |    __ _| | _____  / |
| |   / _` | |/ / _ \ | |
| |__| (_| |   <  __/ | |
|_____\__,_|_|\_\___| |_|
                         

Welcome to ARMBIAN 5.72 user-built Ubuntu 18.04.1 LTS 4.9.151-rtd1295   
System load:   0.69 0.16 0.05   Up time:       0 min
Memory usage:  6 % of 1636MB    IP:            192.168.0.114
CPU temp:      52°C             
Usage of /:    7% of 15G   

 

It is not completely free of error messages, but it is quite okay'ish.

 

I will try to update my first post in order to gather the most recent information there. 

Edited by Tido
added spoiler - for better reading, please do that yourself next time. thx
Link to comment
Share on other sites

Then you can build an image and see, if this works.

1. Clone my armbian-build-fork

2. Choose ‚lake1‘ , build a full-disk-image and burn it to SD

 

BTW, I am quite sure, that I bricked my box yesterday (in an episode of mental derangement). After losing my grumpy cat face, I will order a new one :wacko:.

Link to comment
Share on other sites

@Staars can we remove the 'no board bring up' and move it into 'board bring up'? :lol: Only cause it's there doesn't mean it will ever make it into 'official' armbian (Mt7623 is also only csc and sources there are clearly in a better shape than this one). But due to 'archive reasons' I think people would expect it to find it there.. Your progress is nice, but it clearly shows that this SoC is far away from being 'easy to maintain'.. And it's good to have this documented in case the 'why is RTD1295 not supported by armbian' guys showing up here. :)

@zador.blood.stained, @Igor, @TonyMac32, @tkaiser, @martinayotte, @everybody I forgot any concerns about it?

Link to comment
Share on other sites

Yes, we can do it that way and I will try to „maintain“ it.

 

Indeed it might me a good idea to show, why this platform is far away from getting official support. Even though I invested a bit of work, I can not really recommend this box with productivity in mind. At the moment it is a very interesting toy.

It is a pity that realteks strategy does not really involve the linux/open source world, but they may have their reasons.

 

Anyway, I‘m curious to see how far we can get here. 

Probably I can not post anything new in the next few weeks, because I have to wait for my new box. I really bricked the first one (and I will explain my stupid error in an extra post).

Link to comment
Share on other sites

Short update on Wifi/BT:

I switched to the combi-88xx-drivers, which were added to armbian recently. To enable BT I had to create a patch, which turns off the firmware upload in /drivers/bluetooth/btrtl.c.

The behavior should be quite 'vanilla' now and I could scan the BT-(LE)-devices of my neighborhood without problems.

Link to comment
Share on other sites

  • chwe changed the title to Proof of concept - Realtek 1295

Hi,

 

I received my box yesterday and was able to build and follow your instructions to get the following system:

 

 _          _          _ 
| |    __ _| | _____  / |
| |   / _` | |/ / _ \ | |
| |__| (_| |   <  __/ | |
|_____\__,_|_|\_\___| |_|
                         

Welcome to ARMBIAN 5.76 user-built Debian GNU/Linux 9 (stretch) 4.9.157-rtd1295   
System load:   1.31 0.91 0.41  	Up time:       5 min		
Memory usage:  3 % of 1636MB 	IP:            
CPU temp:      52°C           	
Usage of /:    2% of 58G
                   

Great work!

Link to comment
Share on other sites

I'm currently accessing it through ssh and using a wireless connection. It works well, here is iwconfig result:

wlxa02c36cad0d2  IEEE 802.11  ESSID:"XXXXXXXX"
          Mode:Managed  Frequency:2.412 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate=72.2 Mb/s   Tx-Power=18 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=61/70  Signal level=-49 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

EDIT: I used armbian-config to set up the wifi.

Link to comment
Share on other sites

Hi,

Current kernel is 4.9.y, is it possible to get a more recent kernel (4.19.y LTS or 5.0.y mainline)?

 

I tried to build a 4.19 by modifying the board config to have target next and dev as well as the source config. After running compile.sh with target next, I obtain a new image, but when trying to start it I got an error about bad gzipped data early after the second uboot start. I tried to modify the script writting uboot, but without any luck.

 

Spoiler

C1:80000000
C2
+
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success
1
hwsetting size: 00000718
C4
f
5-5
Goto FSBL: 0x10100000
switch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
emmc_cid[3] = 0x19936045 emmc_cid[2] = 0x71564320 emmc_cid[1] = 0x64726143 emmc_cid[0] = 0x4E030188
switch bus width to 0x00000008 bits success
DEVICE_TYPE = 00000017
emmc_sec_count = 01CE8000
switch speed to 0x00000002 success
switch frequency to 0x000000A6
frequency divider is 0x00000000
1st TX_window = 0x7FFFFFFF
1st phase TX VP0= 0x0000000F
RX_window = 0xF83FFFFF
phase RX VP1= 0x00000008
Welcome to FSBL ...
[FSBL] Warm Boot: 0x00000000
[FSBL] Secure: 0x0000DAAA
[FSBL] Flash Type: 0x00000002
[FSBL] DCache Enable: 0x00000000
[FSBL] SVP = N
RSA Public Key (first 32B): (0x98017000)
AF E4 39 EC DD E5 16 00 72 BB 65 84 DD A5 4F BD
DF E3 2E E3 17 5C DB 00 AC 52 FE D2 C3 71 2A EC

********** FW_TYPE_RSA_KEY_FW **********
    FW Image to 0x00020000, size=0x00000344 (0x00020344)
    FW Image fr 0x00172600
********** FW_TYPE_RSA_KEY_TEE **********
    FW Image to 0x00020000, size=0x00000344 (0x00020344)
    FW Image fr 0x00172A00
********** FW_TYPE_GOLD_TEE **********
    FW Image to 0x10200000, size=0x000729C4 (0x102729C4)
    FW Image fr 0x000FA800
********** FW_TYPE_GOLD_BL31 **********
    FW Image to 0x10120000, size=0x00005244 (0x10125244)
    FW Image fr 0x0016D200
********** FW_TYPE_BOOTCODE **********
    FW Image to 0x00020000, size=0x000C83C4 (0x000E83C4)
    FW Image fr 0x00020A00
md copy audio bin
j 64b


U-Boot 2012.07 svn.161586    (Sep 14 2018 - 18:07:40)

CPU  : Cortex-A53 quad core - AARCH32
Board: Realtek QA Board
DRAM:  0 Bytes
Watchdog: Disabled
Cache: Enabled
Non-Cache Region: 1 MB@0x07900000
MMC:   RTD1295 eMMC: 0
SD device number = 1
rsp[0]=0x8801034e,
                   rsp[1]=0x43617264,
                   rsp[2]=0x20435671,
                   rsp[3]=0x45609319
rsp[0]=0xd0ffff32,
                   rsp[1]=0x0f5903ff,
                   rsp[2]=0xffffffe7,
                   rsp[3]=0x964000eb
mmc->version=0x00010000
version=0x00000004
[LY] cardtype=17, mmc->card_caps=0f
[LY] freq = 00464388, clk diver = 00000080
[LY] speed up emmc at HS-200
[LY] HS-200 bus width=2
[LY] mmc->boot_caps = 20b
TEMP TX_WINDOW=0x7fffffff, TX_best=0xf
RX_WINDOW=0xf83fffff, RX_best=0x8
TX1_WINDOW=0x7fffff80, TX_best=0x12
[LY] hs200 : 0
[HC] WPG_SIZE = 4194304
Device: RTD1295 eMMC
Manufacturer ID: 88
OEM: 103
Name: NCard
Tran Speed: 5f5e100
Rd Block Len: 512
MMC version 4.0
High Capacity: No
Capacity: 14.5 GiB
Bus Width: 8-bit
Speed: HS200
Factory: MMC
Factory: pp:1, seq#:0xa, size:0x25e00
------------tmp/factory/000BootParam.h found
[logo]src w/h=1920/1080 dst w/h=3840/2160
HDMITx_HPD=False
------------tmp/factory/video_rpc.bin found
tv_system=25 mode=1
In:    serial
Out:   serial
Err:   serial
Net:   Realtek PCIe GBE Family Controller mcfg = 0024
dev->name=r8168#0
Hit Esc or Tab key to enter console mode or rescue linux:  0
------------can't find tmp/factory/recovery
======== Checking into android recovery ====


MMC read: dev # 0, block # 2048, count 38218 ...
rtk_sdmmc_getcd: SD card is exist, regCARD_EXIST = 4
mmc->scr[0]=2c58003,mmc->scr[1]=0
SD 3.0 SDR104 mode!!!
rtk_sdmmc_tuning_tx TX phase_map = 0xe0c3ffff
rtk_sdmmc_tuning_tx final phase = 0x00000007
rtk_sdmmc_tuning_rx RX phase_map = 0xfff80fff
rtk_sdmmc_tuning_rx final phase = 0x0000001f
do sd_ops MMC_READ
38218 blocks read: OK

MMC read: dev # 0, block # 42048, count 93 ...
rtk_sdmmc_getcd: SD card is exist, regCARD_EXIST = 4
do sd_ops MMC_READ
93 blocks read: OK
EXPORT ENV AT 0x10000000
rtk_preload_bootimages_emmc : load U-Boot 64 from 0x00028125 to 0x01500000 with size 0x00100000
fdt_chosen: FDT_ERR_BADMAGIC
copy_2nd_bootloader_and_run : src:0x01500000, dst:0x00021000, size:0x000c7000
Jumping to 2nd bootloader...


U-Boot 2015.07-g428cfe7-dirty (Jul 28 2017 - 10:10:26 +0800)

CPU  : Cortex-A53 Quad Core
Board: Realtek QA Board
DRAM:  1 GiB
mapping memory 0x20000000-0x40000000 non-cached
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Unknown command 'sd' - try 'help'
Unknown command 'sd' - try 'help'
Unknown command 'b2ndbc' - try 'help'
rtk_plat_set_fw not port yet, use default configs
Not raw Image, Starting Decompress Image.gz...


Error: Bad gzipped data
Decompress FAIL!!
ERROR do_booti failed!
Realtek>

 

Otherwise, I also tried to put a sata disk, but it appears as /dev/sataa and not /dev/sda and it is not recognized as a usable disk (nothing in /dev/disk) and OMV does not show it. It is the first time I see /dev/sataX dev and I don't know how to change that.

Link to comment
Share on other sites

It is funny, but just hours before your post I started my first steps to work on a 4.19-kernel. 

 

The general problem with vendor kernels is, that it might be possible to port it to a newer mainline kernel, but with every new kernel version the whole thing restarts again. Without upstreaming to mainline nothing is really won in the long term.

 

The current situation with 4.9.-LTS-kernel with support until 2023 is not extremely bad. Do you need a special feature of kernel>4.19?

 

To boot from sata I only had to „clone“ the sd card partition with dd and change the bootargs. 

 

Your log shows, that there is no working DTB loaded. I will my use „box-less“ time to extend the configs in my repo to support 4.19 and report here, when I think that it is ready for a test (or when I have a box again myself).

Link to comment
Share on other sites

Thanks for your quick answer.

In fact I looked at the boot folder on my sd card and there only a few files. I think that the write_uboot_platform function is not working correctly since it is written with absolute path for dtb and uboot from your fork. I don't search for a specific feature, I was just curious how to do that since I have mainly a "user" experience of armbian and this device seems interesting to me (however realtek is not the best open source friendly...). I saw that rtd1295 started to be introduced since kernel 4.13 so I hope the recent kernel can be built and run on this soc.

 

For my second question, I'm not searching to boot from sata, but boot from sd and use a sata drive for a nas use case since this soc seems to be used in several nas commercial product.

Link to comment
Share on other sites

Curiosity is a very good reason ;) (it is basically the only reason for this whole thread)!

 

You are right, the dtb and kernel function in the script is hard coded atm.

 

To be honest, I only tested my SATA drive as boot device (did not spend very much time with it). Can you access it with fdisk?

 

I will use my spare time in the next days to play with the 4.19.-kernel, but do not expect fast results here.

Link to comment
Share on other sites

With fdisk, the disk appear labelled as sataa:

Disk /dev/sataa: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 1807A3EC-C61F-48C2-B54B-A06A8856E92C

Device          Start       End   Sectors   Size Type
/dev/sataa1        40    409639    409600   200M EFI System
/dev/sataa2    409640 391034639 390625000 186,3G Apple HFS/HFS+
/dev/sataa3 391296784 783007583 391710800 186,8G Apple HFS/HFS+
/dev/sataa4 783269888 974675967 191406080  91,3G Linux filesystem
/dev/sataa5 974675968 976773119   2097152     1G Linux filesystem

In dmesg it is also detected correctly:

[    3.543051] phy-rtk-sata 9803ff60.sata_phy: init phy0 OK
[    6.894037] ahci_rtk 9803f000.sata: masking port_map 0x3 -> 0x1
[    6.894079] ahci_rtk 9803f000.sata: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x1 impl platform mode
[    6.894086] ahci_rtk 9803f000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc sadm sds apst
[    6.894099] ahci_rtk 9803f000.sata: port 0 is not capable of FBS
[    7.102013] phy-rtk-sata 9803ff60.sata_phy: power on phy0
[   10.554421] sd 0:0:0:0: [sataa] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   10.562394] sd 0:0:0:0: [sataa] 4096-byte physical blocks
[   10.568046] sd 0:0:0:0: [sataa] Write Protect is off
[   10.573921] sd 0:0:0:0: [sataa] Mode Sense: 00 3a 00 00
[   10.573972] sd 0:0:0:0: [sataa] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   10.635891]  sataa: sataa1 sataa2 sataa3 sataa4 sataa5
[   10.642417] sd 0:0:0:0: [sataa] Attached SCSI disk

 

Link to comment
Share on other sites

That looks good. 

 

Is ethernet working for you?

 

BTW, my attempts to create a patched kernel tree (4.19) were not exactly successful and I will have to gain some knowledge before I seriously can expect some results.  At least it does not get boring ;)

Link to comment
Share on other sites

Ethernet is working. I deactivated wifi using armbian-config and then ran:

 

sudo dhclient eth0

There were these messages, but I got an IP and was able to access to internet:

 

smbd.service is not active, cannot reload.
invoke-rc.d: initscript smbd, action "reload" failed.
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines