firefly 3399 开发板笔记

 很早就买了这个板子也刷了好多次机了,但每次都去官网查如何刷机比较费劲,做个笔记方便以后刷机的时候用。

刷机几个模式,主要是maskrom,bootloader 两种模式

maskrom:通过短路板子上的emmc clk引脚,让MCU初始化的时候没法从内部emmc启动,然后去初始化usb,从USB下载启动镜像开始刷机。

可以参考rk3399芯片手册,第30页说明了启动顺序,Cortex-A53启动的时候从0xffff0000这个地址开始启动romcode,romcode开始按以下顺序查找介质上的ID BLOCK信息

  • SPI NOR FLASH -> SPI NAND FLASH-> eMMC->sd/mmc
  • 如果以上介质都无法检测到正确的ID BLOCK,则初始化USB设备,从USB下载启动镜像。

这两种方法启动镜像完成的功能基本一样,都是首先把DDR初始化代码加载到MCU内部SRAM里面,执行初始化DDR代码,然后再将启动镜像拷贝到DDR执行,开始启动(uboot->kernel->os)

这个其实在MASKROM加载的镜像里面特别有讲究,官网有好多bin文件,要对应好响应的bin来初始化。

实际测试有tf卡的情况下,会直接启动tf卡而不是emmc.  推测原因在于emmc上的ddr 初始化块,这个miniloader如果检测到tf卡,就不加载位于emmc上的uboot,而是tf卡上的uboot。具体的还有待确认

bootloader:一般情况下,如果不是从android切换到Linux或者板子变砖了,都可以用bootloader,因为这时候板子上已经有uboot了,可以完成ddr以及外设的初始化了。方法就是按住recovery键再插上电源 ,这时候Uboot的启动代码检测到recovery被按下了就会进入下载模式(recovery被按住以及进入下载模式都是uboot的功能。),这种方法不用拆开盖子,比较方便。而且功能和maskrom一样都能对各个分区进行烧写。

linux下有烧写工具:Firefly | 让科技更简单,让生活更智能Firefly是天启科技旗下的品牌,我们专注于开源智能硬件,物联网,数字音频产品的研发设计、生产和销售,同时提供了智能硬件 产品的整体解决方案。Firefly产品包括行业主板,核心板,开源板等。全系列产品均是芯片原厂瑞芯微(Rockchip)推荐板卡,获得原生SDK支持。核心板与行业主板广泛应用于人工智能,商业显示,广告一体机,智能POS,人脸识别终端,物联网,智慧城市等领域。https://www.t-firefly.com/doc/download/page/id/3.html

Linux_upgrade_tool 以及解包合工具,一般来说,IDB uboot,这些是不用动的,烧录系统主要是内核和rootfs,但是不知道是rk3399芯片厂家还是firefly为了开发方便还是怎么的,官网下载的debian和ubuntu都是个打包好的大的img文件,搞的很安卓化,卓里卓气的。对于喜欢自己折腾的人(各种换系统)来说,非常不方便。

还好官方提供了解包和打包工具,可以方便的把整个镜像解包或者再合并为一个单一镜像用户烧写。

其实如果自己通过uboot命令来引导的情况,也可以不用根据官方的这种格式来打包和解包,直接自己定义Uboot启动参数以及自己往emmc里面dd内核和rootfs也行,当然uboot参数也要随着烧进去的内核和rootfs实际情况改变。

但是为了不去折腾自己修改uboot启动命令,偷懒的方法就是按照官方的镜像依样画葫芦。

直接用解包工具解一个官网下载的镜像

find  output/
output/
output/package-file
output/MiniLoaderAll.bin
output/Image
output/Image/rootfs.img
output/Image/boot.img
output/Image/boot
output/Image/boot/boot.img
output/Image/boot/initrd.img
output/Image/boot/zImage
output/Image/boot/stage2.img
output/Image/boot/bootimg.cfg
output/Image/trust.img
output/Image/uboot.img
output/Image/recovery.img
output/Image/misc.img
output/parameter.txt

解开后大致包含这些内容,但是官网的ubuntu和debian又不一样,所以可以看出,实际是根据实际情况打包,分区主要在parameter.txt里面

cat output/parameter.txt 
FIRMWARE_VER: 8.1
MACHINE_MODEL: RK3399
MACHINE_ID: 007
MANUFACTURER: RK3399
MAGIC: 0x5041524B
ATAG: 0x00200800
MACHINE: 3399
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
TYPE: GPT
CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00020000@0x0000a000(boot),0x00020000@0x0002a000(recovery),0x00010000@0x0004a000(backup),0x1f2000@0x0005a000(rootfs),-@0x24c000(userdata:grow)
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9

但基本上都有uboot,trust boot rootfs几个分区,这个主要是固定了给firefly这个板子有内置emmc的情况来的。如果没有emmc,用sd卡的话我感觉要方便好多。

这个解包开的几个img其中最重要和复杂的就是boot.img

 file boot.img                                                                                         
boot.img: Android bootimg, kernel (0x10008000), ramdisk (0x11000000), second stage (0x10f00000), page size: 2048

可以看出是android bootimg格式,真是安卓到家了啊,如果要替换内核,还得解开这个镜像,然后更新了内核后还要重新打包,好在现在系统源中已经有这个解包打包的工具了

dpkg -l abootimg                                                                                      
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称           版本         体系结构     描述
+++-==============-============-============-=============================================
ii  abootimg       0.6-1+b2     amd64        Tool to read/write/update android boot images

用这个工具直接解包和打包就可以。

 file *                                                                                           
boot.img:    Android bootimg, kernel (0x10008000), ramdisk (0x11000000), second stage (0x10f00000), page size: 2048
bootimg.cfg: ASCII text
initrd.img:  gzip compressed data, last modified: Mon Aug  2 07:38:26 2021, max compression, from Unix, original size 19684864
stage2.img:  data
zImage:      data



 cat bootimg.cfg                                                                                  
bootsize = 0x1f2d000
pagesize = 0x800
kerneladdr = 0x10008000
ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name = 
cmdline = 

stage2不知道是个啥东东,但是这里面也没看到设备树文件。暂时先不管,明天再研究,也许编译的时候合并到内核的尾部也有可能。

看下最终烧录的官网ubntu日志


U-Boot 2017.09-g948c63a14e #jincheng (Dec 29 2021 - 13:32:50 +0800)

Model: Firefly-RK3399 Board
PreSerial: 2
DRAM:  3.8 GiB
Sysmem: init
Relocation Offset: f5bdd000, fdt: f3dd14d8
Using default environment

dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 50Mhz
PartType: EFI
boot mode: recovery (misc)
Found DTB in recovery part
DTB: rk-kernel.dtb
HASH(c): OK
Android header version 0
I2c0 speed: 400000Hz
PMIC:  RK808 
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1100000 uV
In:    serial
Out:   serial
Err:   serial
Model: Firefly-RK3399 Board (Linux Opensource)
Rockchip UBOOT DRM driver version: v1.0.1
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 800000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0 
ANDROID: reboot reason: "recovery"
Booting IMAGE kernel at 0x00280000 with fdt at 0x08300000...


Fdt Ramdisk skip relocation
## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 23035 KiB
RAM disk load addr 0x0a200000 size 8513 KiB
## Flattened Device Tree blob at 08300000
   Booting using the fdt blob at 0x8300000
   XIP Kernel Image from 0x00280000 to 0x00280000 ... OK
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000831c3e7
No file: logo_kernel.bmp
logo_bmp uncompressed size=127818
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0xf8000000 (size: 0xede00000)
Total: 2928.212 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.194+ (jincheng@jincheng-PC) (local/new/internal-gitlab/rk3399/firefly: bcd190d4221dcefe664a1fe9aebe17819db54b22) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-1
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0f7ecc000 s46056 r8192 d31768 u86016
[    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: 991752

未完待续

大爷的安卓,非常不爽,后面重新烧录个sd卡吧,直接把emmc的IDB擦除掉算了(或者是否能修改uboot的启动配置)。这样SD卡操作文件系统就舒服多了,虽然SD卡头部也要写一些非文件系统的引导块。总比对着裸设备操作要来的舒服。就是sd卡这读写速度感觉又跟不上。还是得要上PCIE的SSD啊。

后续折腾SD卡启动以及根文件系统放M.2的SSD上吧,这样就完美了。

再折腾什么debian ubuntu armbian, openeuler等等之类都方便。

armbian的启动记录

armbian 下载对应fireflay的镜像,然后dd到tf卡上,连接板子上的ttl口,注意波特率1500K,串口我买的2232,刷了固件变成了一个TTL口一个JTAG(玩那个矿渣的7010板子用),所以这里是ttyUSB1,由于波特率太高,导致我有一种USB转TTL还连接不上,换了2232这个就可以了。

sudo minicom -b 1500000 -D /dev/ttyUSB1

这个波特率也是firefly的uboot定义的,当然也可以自己编译uboot的时候改低一点。

连接上后在让你按中断的时候中断到uboot shell里面,直接run  bootcmd_mmc1,就直接从tf卡启动了,默认emmc是mmc0,可以printenv  boot_mmc1以及mmc list查看

下面截取一些Log

DDR Version 1.26 20210628
In
soft reset
SRX
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 426
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29544MB
FwPartOffset=2000 , 0
StorageInit ok = 179155
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3335db8 signature is wrong
recovery gpt...
GPT 0x3335db8 signature is wrong
recovery gpt fail!
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xd3a70
RunBL31 0x40000 @ 296084 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2021.07-armbian (Feb 27 2022 - 08:47:12 +0000)

SoC: Rockchip rk3399
Reset cause: RST
Model: Firefly-RK3399 Board
DRAM:  3.9 GiB
PMIC:  RK808 
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Firefly-RK3399 Board
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@fe380000: USB EHCI 1.00
Bus usb@fe3c0000: USB EHCI 1.00
Bus dwc3: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@fe380000 for devices... 1 USB Device(s) found
scanning bus usb@fe3c0000 for devices... 2 USB Device(s) found
scanning bus dwc3 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
337 bytes read in 5 ms (65.4 KiB/s)
1:Armbian
Retrieving file: /boot/uInitrd
13079581 bytes read in 558 ms (22.4 MiB/s)
Retrieving file: /boot/Image
29399552 bytes read in 1244 ms (22.5 MiB/s)
append: root=UUID=b96a3f71-d5b1-4a48-9ad9-a515325101c3 console=ttyS2,1500000 console=tty0 rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
Retrieving file: /boot/dtb/rockchip/rk3399-firefly.dtb
82132 bytes read in 12 ms (6.5 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=3eb0000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13079517 Bytes = 12.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to f129c000, end f1f153dd ... OK
   Loading Device Tree to 00000000f1284000, end 00000000f129b0d3 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.25-media (root@92674814bfa8) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #22.02.1 SMP PREEMPT Sun Feb 27 09:07:40 UTC 2022
[    0.000000] Machine model: Firefly-RK3399 Board
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77cdb00-0xf77cffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] cma: Reserved 384 MiB at 0x00000000d9000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s44504 r8192 d29224 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=b96a3f71-d5b1-4a48-9ad9-a515325101c3 console=ttyS2,1500000 console=tty0 rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 3547224K/4061184K available (16576K kernel code, 1894K rwdata, 6664K rodata, 3456K init, 618K bss, 120744K reserved, 393216K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: RCU event tracing is enabled.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000] Trampoline variant of Tasks RCU enabled.
[    0.000000] Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @480000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000440000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000450000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x7dc/0x9c4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002358] Console: colour dummy device 80x25
[    0.003286] printk: console [tty0] enabled
[    0.003416] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003463] pid_max: default: 32768 minimum: 301
[    0.003661] LSM: Security Framework initializing
[    0.003715] Yama: becoming mindful.
[    0.003868] AppArmor: AppArmor initialized
[    0.003964] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004019] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.006818] rcu: Hierarchical SRCU implementation.
[    0.007205] Platform MSI: interrupt-controller@fee20000 domain created
[    0.007798] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.013235] EFI services will not be available.
[    0.013794] smp: Bringing up secondary CPUs ...
[    0.014523] Detected VIPT I-cache on CPU1
[    0.014566] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.014588] GICv3: CPU1: using allocated LPI pending table @0x0000000000460000
[    0.014653] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.015481] Detected VIPT I-cache on CPU2
[    0.015517] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.015534] GICv3: CPU2: using allocated LPI pending table @0x0000000000470000
[    0.015578] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.016314] Detected VIPT I-cache on CPU3
[    0.016348] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.016365] GICv3: CPU3: using allocated LPI pending table @0x0000000000500000
[    0.016407] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.017138] CPU features: detected: Spectre-v2
[    0.017151] CPU features: detected: Spectre-v3a
[    0.017157] CPU features: detected: Spectre-v4
[    0.017167] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.017172] Detected PIPT I-cache on CPU4
[    0.017205] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.017223] GICv3: CPU4: using allocated LPI pending table @0x0000000000510000
[    0.017268] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.018062] Detected PIPT I-cache on CPU5
[    0.018093] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.018109] GICv3: CPU5: using allocated LPI pending table @0x0000000000520000
[    0.018144] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.018271] smp: Brought up 1 node, 6 CPUs
[    0.018659] SMP: Total of 6 processors activated.
[    0.018680] CPU features: detected: 32-bit EL0 Support
[    0.018701] CPU features: detected: 32-bit EL1 Support
[    0.018724] CPU features: detected: CRC32 instructions
[    0.039039] CPU: All CPU(s) started at EL2
[    0.039140] alternatives: patching kernel code
[    0.042445] devtmpfs: initialized
[    0.056502] Registered cp15_barrier emulation handler
[    0.056540] Registered setend emulation handler
[    0.056562] KASLR disabled due to lack of seed
[    0.056758] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056843] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.066380] pinctrl core: initialized pinctrl subsystem
[    0.066972] DMI not present or invalid.
[    0.067527] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.071681] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.073397] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.075994] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.076090] audit: initializing netlink subsys (disabled)
[    0.076320] audit: type=2000 audit(0.072:1): state=initialized audit_enabled=0 res=1
[    0.077496] thermal_sys: Registered thermal governor 'fair_share'
[    0.077506] thermal_sys: Registered thermal governor 'bang_bang'
[    0.077526] thermal_sys: Registered thermal governor 'step_wise'
[    0.077540] thermal_sys: Registered thermal governor 'user_space'
[    0.077553] thermal_sys: Registered thermal governor 'power_allocator'
[    0.077993] cpuidle: using governor menu
[    0.078338] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.078537] ASID allocator initialised with 65536 entries
[    0.079819] Serial: AMBA PL011 UART driver
[    0.104372] platform ff770000.syscon:phy@f780: Fixing up cyclic dependency with fe330000.mmc
[    0.110304] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
[    0.119033] rockchip-gpio ff720000.gpio0: probed /pinctrl/gpio0@ff720000
[    0.119841] rockchip-gpio ff730000.gpio1: probed /pinctrl/gpio1@ff730000
[    0.120490] rockchip-gpio ff780000.gpio2: probed /pinctrl/gpio2@ff780000
[    0.121129] rockchip-gpio ff788000.gpio3: probed /pinctrl/gpio3@ff788000
[    0.121822] rockchip-gpio ff790000.gpio4: probed /pinctrl/gpio4@ff790000
[    0.144379] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.144412] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.144430] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.144446] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.147669] cryptd: max_cpu_qlen set to 1000
[    0.217678] raid6: neonx8   gen()  1690 MB/s
[    0.285808] raid6: neonx8   xor()  1250 MB/s
[    0.353930] raid6: neonx4   gen()  1719 MB/s
[    0.422058] raid6: neonx4   xor()  1292 MB/s
[    0.490188] raid6: neonx2   gen()  1526 MB/s
[    0.558300] raid6: neonx2   xor()  1191 MB/s
[    0.626433] raid6: neonx1   gen()  1185 MB/s
[    0.694557] raid6: neonx1   xor()   943 MB/s
[    0.762674] raid6: int64x8  gen()   995 MB/s
[    0.830813] raid6: int64x8  xor()   577 MB/s
[    0.898949] raid6: int64x4  gen()   988 MB/s
[    0.967047] raid6: int64x4  xor()   591 MB/s
[    1.035179] raid6: int64x2  gen()   926 MB/s
[    1.103301] raid6: int64x2  xor()   524 MB/s
[    1.171439] raid6: int64x1  gen()   723 MB/s
[    1.239541] raid6: int64x1  xor()   391 MB/s
[    1.239555] raid6: using algorithm neonx4 gen() 1719 MB/s
[    1.239570] raid6: .... xor() 1292 MB/s, rmw enabled
[    1.239583] raid6: using neon recovery algorithm
[    1.240410] ACPI: Interpreter disabled.
[    1.242144] iommu: Default domain type: Translated 
[    1.242166] iommu: DMA domain TLB invalidation policy: strict mode 
[    1.245007] vgaarb: loaded
[    1.245502] SCSI subsystem initialized
[    1.245929] usbcore: registered new interface driver usbfs
[    1.245984] usbcore: registered new interface driver hub
[    1.246218] usbcore: registered new device driver usb
[    1.246891] pps_core: LinuxPPS API ver. 1 registered
[    1.246910] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.246940] PTP clock support registered
[    1.247192] EDAC MC: Ver: 3.0.0
[    1.248218] FPGA manager framework
[    1.248327] Advanced Linux Sound Architecture Driver Initialized.
[    1.248993] NetLabel: Initializing
[    1.249011] NetLabel:  domain hash size = 128
[    1.249023] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.249096] NetLabel:  unlabeled traffic allowed by default
[    1.249835] clocksource: Switched to clocksource arch_sys_counter
[    1.250161] VFS: Disk quotas dquot_6.6.0
[    1.250236] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.250895] AppArmor: AppArmor Filesystem Enabled
[    1.250944] pnp: PnP ACPI: disabled
[    1.259908] NET: Registered PF_INET protocol family
[    1.260211] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.263212] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.263471] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.264031] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.264711] TCP: Hash tables configured (established 32768 bind 32768)
[    1.264901] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.265084] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.265398] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.265440] NET: Registered PF_XDP protocol family
[    1.265462] PCI: CLS 0 bytes, default 64
[    1.265910] Trying to unpack rootfs image as initramfs...
[    1.274778] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.275224] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.275882] kvm [1]: IPA Size Limit: 40 bits
[    1.277183] kvm [1]: vgic-v2@fff20000
[    1.277224] kvm [1]: GIC system register CPU interface enabled
[    1.277477] kvm [1]: vgic interrupt IRQ18
[    1.277755] kvm [1]: Hyp mode initialized successfully
[    1.287628] Initialise system trusted keyrings
[    1.287819] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    1.293844] zbud: loaded
[    1.295430] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.363250] xor: measuring software checksum speed
[    1.367178]    8regs           :  2541 MB/sec
[    1.370567]    32regs          :  2931 MB/sec
[    1.374414]    arm64_neon      :  2576 MB/sec
[    1.374429] xor: using function: 32regs (2931 MB/sec)
[    1.374450] Key type asymmetric registered
[    1.374463] Asymmetric key parser 'x509' registered
[    1.374572] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    1.374760] io scheduler mq-deadline registered
[    1.374778] io scheduler kyber registered
[    1.374996] io scheduler bfq registered
[    1.379473] rockchip-usb2phy ff770000.syscon:usb2phy@e450: failed to create phy
[    1.380742] rockchip-usb2phy ff770000.syscon:usb2phy@e460: failed to create phy
[    1.393265] EINJ: ACPI disabled.
[    1.398583] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.398620] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    1.399879] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.399908] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.409000] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    1.411650] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 43, base_baud = 1500000) is a 16550A
[    1.411838] serial serial0: tty port ttyS0 registered
[    1.412753] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 44, base_baud = 1500000) is a 16550A
[    1.528839] printk: console [ttyS2] enabled
[    1.530718] Serial: AMBA driver
[    1.533673] rockchip-vop ff8f0000.vop: Adding to iommu group 3
[    1.535022] rockchip-vop ff900000.vop: Adding to iommu group 4
[    1.542923] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    1.543741] [drm] unsupported AFBC format[3231564e]
[    1.545843] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    1.547618] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.556768] brd: module loaded
[    1.565039] loop: module loaded
[    1.566818] Loading iSCSI transport class v2.0-870.
[    1.567899] iscsi: registered transport (tcp)
[    1.568297] megasas: 07.717.02.00-rc1
[    1.573736] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    1.574390] spi-nor: probe of spi0.0 failed with error -2
[    1.578182] thunder_xcv, ver 1.0
[    1.578534] thunder_bgx, ver 1.0
[    1.578869] nicpf, ver 1.0
[    1.580046] hclge is initializing
[    1.580365] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.581009] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.581549] e100: Intel(R) PRO/100 Network Driver
[    1.581992] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.582520] e1000: Intel(R) PRO/1000 Network Driver
[    1.582958] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.583509] e1000e: Intel(R) PRO/1000 Network Driver
[    1.583954] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.584526] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.585010] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.585538] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.586109] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.586935] sky2: driver version 1.30
[    1.588904] VFIO - User Level meta-driver version: 0.3
[    1.594407] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.595002] ehci-pci: EHCI PCI platform driver
[    1.595436] ehci-platform: EHCI generic platform driver
[    1.596207] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.596780] ohci-pci: OHCI PCI platform driver
[    1.597222] ohci-platform: OHCI generic platform driver
[    1.598824] usbcore: registered new interface driver usb-storage
[    1.601669] mousedev: PS/2 mouse device common for all mice
[    1.603721] i2c_dev: i2c /dev entries driver
[    1.610957] rtc-hym8563 0-0051: could not init device, -6
[    1.618688] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    1.623185] sdhci: Secure Digital Host Controller Interface driver
[    1.623751] sdhci: Copyright(c) Pierre Ossman
[    1.624758] Synopsys Designware Multimedia Card Interface Driver
[    1.627115] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.627273] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.628299] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.628909] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.629492] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    1.630542] mmc1: CQHCI version 5.10
[    1.631030] ledtrig-cpu: registered to indicate activity on CPUs
[    1.632695] hid: raw HID events driver (C) Jiri Kosina
[    1.633517] usbcore: registered new interface driver usbhid
[    1.634050] usbhid: USB HID core driver
[    1.642192] no UART detected at 0x1
[    1.656898] NET: Registered PF_INET6 protocol family
[    1.657637] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    1.730967] mmc1: Command Queue Engine enabled
[    1.731422] mmc1: new HS200 MMC card at address 0001
[    1.732984] mmcblk1: mmc1:0001 AJNB4R 14.6 GiB 
[    1.739622]  mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8
[    1.742602] mmcblk1boot0: mmc1:0001 AJNB4R 4.00 MiB 
[    1.745020] mmcblk1boot1: mmc1:0001 AJNB4R 4.00 MiB 
[    1.747376] mmcblk1rpmb: mmc1:0001 AJNB4R 4.00 MiB, chardev (237:0)
[    1.820246] Freeing initrd memory: 12772K
[    1.873248] Segment Routing with IPv6
[    1.873640] In-situ OAM (IOAM) with IPv6
[    1.874156] NET: Registered PF_PACKET protocol family
[    1.875147] 8021q: 802.1Q VLAN Support v1.8
[    1.875605] Key type dns_resolver registered
[    1.876840] registered taskstats version 1
[    1.877235] Loading compiled-in X.509 certificates
[    1.882294] Loaded X.509 cert 'Build time autogenerated kernel key: 07cef0ab782a08e094304e00972b7ef45d795327'
[    1.890093] zswap: loaded using pool zstd/z3fold
[    1.892253] Key type ._fscrypt registered
[    1.892623] Key type .fscrypt registered
[    1.892978] Key type fscrypt-provisioning registered
[    1.896507] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yes
[    1.921268] Key type encrypted registered
[    1.921664] AppArmor: AppArmor sha1 policy hashing enabled
[    1.922221] ima: No TPM chip found, activating TPM-bypass!
[    1.922736] ima: Allocated hash algorithm: sha1
[    1.923169] ima: No architecture policies found
[    1.923657] evm: Initialising EVM extended attributes:
[    1.924118] evm: security.selinux
[    1.924419] evm: security.SMACK64
[    1.924718] evm: security.SMACK64EXEC
[    1.925047] evm: security.SMACK64TRANSMUTE
[    1.925415] evm: security.SMACK64MMAP
[    1.925743] evm: security.apparmor
[    1.926063] evm: security.ima
[    1.926334] evm: security.capability
[    1.926655] evm: HMAC attrs: 0x1
[    1.961173] sys_12v: supplied by poe_12v
[    1.962383] vcc3v3_sys: supplied by sys_12v
[    1.963299] vcca_0v9: supplied by vcc3v3_sys
[    1.964395] vcc_sys: supplied by sys_12v
[    1.965330] vcc3v3_ngff: supplied by sys_12v
[    1.966573] vcc3v3_pcie: supplied by sys_12v
[    1.968688] rockchip-usb2phy ff770000.syscon:usb2phy@e450: failed to create phy
[    1.972338] rockchip-usb2phy ff770000.syscon:usb2phy@e460: failed to create phy
[    1.975484] vdd_log: supplied by vcc3v3_sys
[    1.981609] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    1.984085] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    1.985134] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    1.988826] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
[    1.990360] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    1.991826] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    1.996685] rk808 0-001b: chip id: 0x0
[    2.003684] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    2.004306] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    2.004874] rk808-regulator rk808-regulator: max buck steps per change: 8
[    2.006160] vdd_center: supplied by vcc3v3_sys
[    2.007371] vdd_cpu_l: supplied by vcc3v3_sys
[    2.008131] vcc_ddr: supplied by vcc3v3_sys
[    2.009067] random: fast init done
[    2.009420] vcc_1v8: supplied by vcc3v3_sys
[    2.010448] vcca1v8_codec: supplied by vcc3v3_sys
[    2.012038] vcc1v8_hdmi: Bringing 2800000uV into 1800000-1800000uV
[    2.012744] vcc1v8_hdmi: supplied by vcc3v3_sys
[    2.014335] vcc1v8_pmu: supplied by vcc3v3_sys
[    2.015880] vcc_sdio: supplied by vcc3v3_sys
[    2.017299] vcca3v0_codec: supplied by vcc3v3_sys
[    2.018874] vcc_1v5: supplied by vcc3v3_sys
[    2.020257] vcca0v9_hdmi: Bringing 1800000uV into 900000-900000uV
[    2.020953] vcca0v9_hdmi: supplied by vcc3v3_sys
[    2.022554] vcc_3v0: supplied by vcc3v3_sys
[    2.023798] vcc3v3_s3: supplied by vcc3v3_sys
[    2.024499] vcc3v3_s0: supplied by vcc3v3_sys
[    2.026466] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    2.028393] vdd_cpu_b: supplied by vcc3v3_sys
[    2.031088] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    2.032210] vdd_gpu: supplied by vcc3v3_sys
[    2.037017] cpu cpu0: EM: created perf domain
[    2.038437] cpu cpu4: EM: created perf domain
[    2.041581] vcc1v8_s3: supplied by vcc_1v8
[    2.041853] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    2.042479] vcc3v0_sd: supplied by vcc3v3_sys
[    2.042605] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    2.043467] vcc5v0_host: supplied by vcc_sys
[    2.043556] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    2.044116] vcc_vbus_typec1: supplied by vcc_sys
[    2.044448] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    2.046028] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    2.046557] mmc_host mmc2: card is non-removable.
[    2.053272] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    2.054009] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.054796] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.056314] rockchip-pcie f8000000.pcie: no bus scan delay, default to 0 ms
[    2.057004] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.060418] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.200580] mmc_host mmc2: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    2.474938] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 201
[    2.479818] mmc2: new ultra high speed SDR104 SDIO card at address 0001
[    2.618090] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    2.618737] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    2.622752] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    2.623368] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    2.624010] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    2.624724] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    2.625356] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    2.625904] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    2.626416] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    2.627003] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    2.627624] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    2.633176] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    2.634050] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    2.634780] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[    2.635247] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    2.635908] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    2.636569] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    2.637032] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    2.637653] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    2.638281] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    2.638807] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    2.639324] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.753715] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    2.754656] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    2.762549] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    2.763086] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[    2.763893] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x8000000002010010
[    2.764745] xhci-hcd xhci-hcd.3.auto: irq 77, io mem 0xfe800000
[    2.765587] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.766357] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.767006] usb usb1: Product: xHCI Host Controller
[    2.767444] usb usb1: Manufacturer: Linux 5.15.25-media xhci-hcd
[    2.767980] usb usb1: SerialNumber: xhci-hcd.3.auto
[    2.768936] hub 1-0:1.0: USB hub found
[    2.769304] hub 1-0:1.0: 1 port detected
[    2.769938] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    2.770442] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[    2.771133] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[    2.771678] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    2.771777] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.773027] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    2.773767] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.774434] usb usb2: Product: xHCI Host Controller
[    2.774889] usb usb2: Manufacturer: Linux 5.15.25-media xhci-hcd
[    2.775431] usb usb2: SerialNumber: xhci-hcd.3.auto
[    2.776299] hub 2-0:1.0: USB hub found
[    2.776655] hub 2-0:1.0: 1 port detected
[    2.777260] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
[    2.778085] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x8000000002010010
[    2.778957] xhci-hcd xhci-hcd.4.auto: irq 78, io mem 0xfe900000
[    2.779727] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.780462] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.781101] usb usb3: Product: xHCI Host Controller
[    2.781534] usb usb3: Manufacturer: Linux 5.15.25-media xhci-hcd
[    2.782079] usb usb3: SerialNumber: xhci-hcd.4.auto
[    2.782943] hub 3-0:1.0: USB hub found
[    2.783298] hub 3-0:1.0: 1 port detected
[    2.783846] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    2.784342] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
[    2.785025] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[    2.785768] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.786641] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    2.787377] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.788020] usb usb4: Product: xHCI Host Controller
[    2.788457] usb usb4: Manufacturer: Linux 5.15.25-media xhci-hcd
[    2.788990] usb usb4: SerialNumber: xhci-hcd.4.auto
[    2.789905] hub 4-0:1.0: USB hub found
[    2.790267] hub 4-0:1.0: 1 port detected
[    2.793724] ehci-platform fe380000.usb: EHCI Host Controller
[    2.794275] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 5
[    2.795069] ehci-platform fe380000.usb: irq 35, io mem 0xfe380000
[    2.810214] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    2.811226] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.812007] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.812684] usb usb5: Product: EHCI Host Controller
[    2.813145] usb usb5: Manufacturer: Linux 5.15.25-media ehci_hcd
[    2.813707] usb usb5: SerialNumber: fe380000.usb
[    2.815343] hub 5-0:1.0: USB hub found
[    2.815764] hub 5-0:1.0: 1 port detected
[    2.820415] ehci-platform fe3c0000.usb: EHCI Host Controller
[    2.821043] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 6
[    2.822043] ehci-platform fe3c0000.usb: irq 37, io mem 0xfe3c0000
[    2.838053] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    2.838869] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    2.839629] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.840289] usb usb6: Product: EHCI Host Controller
[    2.840738] usb usb6: Manufacturer: Linux 5.15.25-media ehci_hcd
[    2.841285] usb usb6: SerialNumber: fe3c0000.usb
[    2.842574] hub 6-0:1.0: USB hub found
[    2.842965] hub 6-0:1.0: 1 port detected
[    2.844776] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    2.845413] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 7
[    2.846350] ohci-platform fe3a0000.usb: irq 36, io mem 0xfe3a0000
[    2.910524] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    2.911330] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.912007] usb usb7: Product: Generic Platform OHCI controller
[    2.912562] usb usb7: Manufacturer: Linux 5.15.25-media ohci_hcd
[    2.913123] usb usb7: SerialNumber: fe3a0000.usb
[    2.914926] hub 7-0:1.0: USB hub found
[    2.915360] hub 7-0:1.0: 1 port detected
[    2.917650] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    2.918355] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 8
[    2.919300] ohci-platform fe3e0000.usb: irq 38, io mem 0xfe3e0000
[    2.982284] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    2.983056] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.983707] usb usb8: Product: Generic Platform OHCI controller
[    2.984240] usb usb8: Manufacturer: Linux 5.15.25-media ohci_hcd
[    2.984780] usb usb8: SerialNumber: fe3e0000.usb
[    2.985913] hub 8-0:1.0: USB hub found
[    2.986290] hub 8-0:1.0: 1 port detected
[    2.991283] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    2.991968] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    2.991981] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    2.992042] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 33,32 bit host data width,256 deep fifo
[    2.992529] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    2.992774] printk: console [netcon0] enabled
[    2.994993] netconsole: network logging started
[    2.996362] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.998418] psci_checker: PSCI checker started using 6 CPUs
[    2.998947] psci_checker: Starting hotplug tests
[    2.999373] psci_checker: Trying to turn off and on again all CPUs
[    3.001171] psci: CPU0 killed (polled 0 ms)
[    3.001969] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    3.005214] psci: CPU1 killed (polled 0 ms)
[    3.006574] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.008950] psci: CPU2 killed (polled 0 ms)
[    3.011799] psci: CPU3 killed (polled 0 ms)
[    3.013861] psci: CPU4 killed (polled 4 ms)
[    3.015668] Detected VIPT I-cache on CPU0
[    3.016080] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    3.016766] CPU0: Booted secondary processor 0x0000000000 [0x410fd034]
[    3.019150] Detected VIPT I-cache on CPU1
[    3.019526] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    3.020168] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    3.022091] Detected VIPT I-cache on CPU2
[    3.022478] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    3.023133] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    3.025411] Detected VIPT I-cache on CPU3
[    3.025796] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    3.026441] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    3.028464] Detected PIPT I-cache on CPU4
[    3.028851] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    3.029517] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    3.030851] psci_checker: Trying to turn off and on again group 0 (CPUs 0-3)
[    3.032141] psci: CPU0 killed (polled 0 ms)
[    3.033830] psci: CPU1 killed (polled 4 ms)
[    3.035273] psci: CPU2 killed (polled 0 ms)
[    3.037532] psci: CPU3 killed (polled 0 ms)
[    3.038850] Detected VIPT I-cache on CPU0
[    3.039260] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    3.039944] CPU0: Booted secondary processor 0x0000000000 [0x410fd034]
[    3.042440] Detected VIPT I-cache on CPU1
[    3.042815] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    3.043456] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    3.045330] Detected VIPT I-cache on CPU2
[    3.045702] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    3.046362] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    3.048675] Detected VIPT I-cache on CPU3
[    3.049053] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    3.049696] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    3.051224] psci_checker: Trying to turn off and on again group 1 (CPUs 4-5)
[    3.053907] psci: CPU4 killed (polled 4 ms)
[    3.057371] psci: CPU5 killed (polled 0 ms)
[    3.060442] Detected PIPT I-cache on CPU4
[    3.060845] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    3.061532] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    3.065011] Detected PIPT I-cache on CPU5
[    3.065385] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    3.066034] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    3.067009] psci_checker: Hotplug tests passed OK
[    3.067460] psci_checker: Starting suspend tests (10 cycles per state)
[    3.068731] psci_checker: CPU 5 entering suspend cycles, states 1 through 2
[    3.068732] psci_checker: CPU 4 entering suspend cycles, states 1 through 2
[    3.068737] psci_checker: CPU 0 entering suspend cycles, states 1 through 2
[    3.068737] psci_checker: CPU 3 entering suspend cycles, states 1 through 2
[    3.068741] psci_checker: CPU 1 entering suspend cycles, states 1 through 2
[    3.068747] psci_checker: CPU 2 entering suspend cycles, states 1 through 2
[    3.146066] usb 6-1: new high-speed USB device number 2 using ehci-platform
[    3.146097] psci_checker: CPU 0 suspend test results: success 20, shallow states 0, errors 0
[    3.147602] psci_checker: CPU 1 suspend test results: success 20, shallow states 0, errors 0
[    3.148419] psci_checker: CPU 2 suspend test results: success 20, shallow states 0, errors 0
[    3.149224] psci_checker: CPU 3 suspend test results: success 20, shallow states 0, errors 0
[    3.149308] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    3.150022] psci_checker: CPU 4 suspend test results: success 20, shallow states 0, errors 0
[    3.151661] psci_checker: CPU 5 suspend test results: success 20, shallow states 0, errors 0
[    3.152417] psci_checker: Suspend tests passed OK
[    3.152831] psci_checker: PSCI checker completed
[    3.153237] of_cfs_init
[    3.153477] of_cfs_init: OK
[    3.154110] ALSA device list:
[    3.154374]   No soundcards found.
[    3.155808] Freeing unused kernel memory: 3456K
[    3.190768] Run /init as init process
[    3.286305] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 243
[    3.286957] mmc0: new ultra high speed SDR104 SDHC card at address 1234
[    3.289093] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    3.295348]  mmcblk0: p1
[    3.302671] usb 6-1: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
[    3.303490] usb 6-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.304150] usb 6-1: Product: USB 2.0 Hub [MTT]
[    3.306040] hub 6-1:1.0: USB hub found
[    3.306684] hub 6-1:1.0: 7 ports detected
[    3.475699] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.578359] input: adc-keys as /devices/platform/adc-keys/input/input1
[    4.577882] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[    4.578477] dc_12v: failed to get the current voltage: -ETIMEDOUT
[    4.579051] mp8859 7-0066: failed to register mp8859_dcdc: -110
[    4.579724] mp8859: probe of 7-0066 failed with error -110
[    4.925779] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: data=writeback. Quota mode: none.
[    5.416343] systemd[1]: System time before build time, advancing clock.
[    5.456343] systemd[1]: systemd 247.3-6 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    5.460110] systemd[1]: Detected architecture arm64.
[    5.465696] systemd[1]: Set hostname to <firefly-rk3399>.
[    5.532422] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    5.877510] systemd[1]: /lib/systemd/system/rk3399-bluetooth.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    5.916705] systemd[1]: Queued start job for default target Graphical Interface.
[    5.918211] random: systemd: uninitialized urandom read (16 bytes read)
[    5.921000] systemd[1]: Created slice system-getty.slice.
[    5.921763] random: systemd: uninitialized urandom read (16 bytes read)
[    5.922995] systemd[1]: Created slice system-modprobe.slice.
[    5.923643] random: systemd: uninitialized urandom read (16 bytes read)
[    5.924908] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.926167] systemd[1]: Created slice User and Session Slice.
[    5.926834] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    5.928153] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.929410] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.930545] systemd[1]: Reached target Local Encrypted Volumes.
[    5.931265] systemd[1]: Reached target Remote File Systems.
[    5.931876] systemd[1]: Reached target Slices.
[    5.932403] systemd[1]: Reached target Swap.
[    5.933043] systemd[1]: Reached target System Time Set.
[    5.933922] systemd[1]: Listening on Syslog Socket.
[    5.934679] systemd[1]: Listening on fsck to fsckd communication Socket.
[    5.935479] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    5.936459] systemd[1]: Listening on Journal Audit Socket.
[    5.937239] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.938142] systemd[1]: Listening on Journal Socket.
[    5.944870] systemd[1]: Listening on udev Control Socket.
[    5.945717] systemd[1]: Listening on udev Kernel Socket.
[    5.948076] systemd[1]: Mounting Huge Pages File System...
[    5.951376] systemd[1]: Mounting POSIX Message Queue File System...
[    5.954810] systemd[1]: Mounting Kernel Debug File System...
[    5.955845] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    5.960224] systemd[1]: Starting Restore / save the current clock...
[    5.964756] systemd[1]: Starting Set the console keyboard layout...
[    5.967484] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    5.970375] systemd[1]: Starting Load Kernel Module configfs...
[    5.973176] systemd[1]: Starting Load Kernel Module drm...
[    5.976061] systemd[1]: Starting Load Kernel Module fuse...
[    5.978966] systemd[1]: Started Nameserver information manager.
[    5.980360] systemd[1]: Reached target Network (Pre).
[    5.982158] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    5.983114] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    5.986964] systemd[1]: Starting Load Kernel Modules...
[    5.989483] systemd[1]: Starting Remount Root and Kernel File Systems...
[    5.992575] systemd[1]: Starting Coldplug All udev Devices...
[    5.999538] systemd[1]: Mounted Huge Pages File System.
[    6.000613] systemd[1]: Mounted POSIX Message Queue File System.
[    6.001662] systemd[1]: Mounted Kernel Debug File System.
[    6.003645] systemd[1]: Finished Restore / save the current clock.
[    6.005321] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    6.006995] systemd[1]: modprobe@configfs.service: Succeeded.
[    6.008069] systemd[1]: Finished Load Kernel Module configfs.
[    6.009532] systemd[1]: modprobe@drm.service: Succeeded.
[    6.010660] systemd[1]: Finished Load Kernel Module drm.
[    6.014585] systemd[1]: Mounting Kernel Configuration File System...
[    6.022391] systemd[1]: Finished Load Kernel Modules.
[    6.022720] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[    6.025637] fuse: init (API version 7.34)
[    6.026682] systemd[1]: Mounted Kernel Configuration File System.
[    6.028401] systemd[1]: modprobe@fuse.service: Succeeded.
[    6.029529] systemd[1]: Finished Load Kernel Module fuse.
[    6.031887] systemd[1]: Finished Remount Root and Kernel File Systems.
[    6.035645] systemd[1]: Mounting FUSE Control File System...
[    6.037516] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    6.038406] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    6.041116] systemd[1]: Starting Load/Save Random Seed...
[    6.043661] systemd[1]: Starting Apply Kernel Variables...
[    6.046839] systemd[1]: Starting Create System Users...
[    6.049607] systemd[1]: Mounted FUSE Control File System.
[    6.073671] systemd[1]: Finished Apply Kernel Variables.
[    6.117098] systemd[1]: Finished Create System Users.
[    6.120268] systemd[1]: Starting Create Static Device Nodes in /dev...
[    6.136379] systemd[1]: Finished Set the console keyboard layout.
[    6.189138] systemd[1]: Finished Create Static Device Nodes in /dev.
[    6.190160] systemd[1]: Reached target Local File Systems (Pre).
[    6.193529] systemd[1]: Mounting /tmp...
[    6.197611] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    6.202610] systemd[1]: Mounted /tmp.
[    6.203314] systemd[1]: Reached target Local File Systems.
[    6.205775] systemd[1]: Starting Armbian ZRAM config...
[    6.208601] systemd[1]: Starting Set console font and keymap...
[    6.227195] systemd[1]: Finished Set console font and keymap.
[    6.280962] systemd[1]: Finished Coldplug All udev Devices.
[    6.287675] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[    6.293634] systemd[1]: Starting Wait for udev To Complete Device Initialization...
[    6.308380] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[    6.313068] systemd[1]: Starting Raise network interfaces...
[    6.350724] systemd[1]: Started Rule-based Manager for Device Events and Files.
[    6.505149] zram: Added device: zram0
[    6.606704] zram: Added device: zram1
[    6.652683] systemd[1]: Finished Raise network interfaces.
[    6.715014] zram: Added device: zram2
[    6.767115] systemd[1]: Created slice system-systemd\x2dbacklight.slice.
[    6.775791] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:backlight...
[    6.805724] zram0: detected capacity change from 0 to 3956672
[    6.815074] systemd[1]: Found device /dev/ttyS2.
[    6.846435] mc: Linux media interface: v0.10
[    6.859313] systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:backlight.
[    6.893971] videodev: Linux video capture interface: v2.00
[    6.928859] fusb30x: module is from the staging directory, the quality is unknown, you have been warned.
[    6.935172] fusb30x: module is from the staging directory, the quality is unknown, you have been warned.
[    6.980873] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.991835] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.999686] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    7.044787] fusb302 7-0022: Can't get property of role, set role to default DRP
[    7.061097] Bluetooth: Core ver 2.22
[    7.061429] Bluetooth: Starting self testing
[    7.066001] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[    7.067404] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.firefly,roc-rk3399-pc.bin failed with error -2
[    7.068441] brcmfmac mmc2:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac4356-sdio.firefly,roc-rk3399-pc.bin
[    7.068755] Bluetooth: ECDH test passed in 6785 usecs
[    7.072126] Bluetooth: SMP test passed in 2207 usecs
[    7.072578] Bluetooth: Finished self testing
[    7.075548] NET: Registered PF_BLUETOOTH protocol family
[    7.076093] Bluetooth: HCI device and connection manager initialized
[    7.076459] usbcore: registered new interface driver brcmfmac
[    7.076678] Bluetooth: HCI socket layer initialized
[    7.077035] rockchip-iep ff670000.iep: Adding to iommu group 2
[    7.077813] rockchip-iep ff670000.iep: Device rockchip-iep registered as /dev/video0
[    7.078166] Bluetooth: L2CAP socket layer initialized
[    7.079304] Bluetooth: SCO socket layer initialized
[    7.082233] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[    7.082246] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[    7.084501] rkvdec ff660000.video-codec: Adding to iommu group 1
[    7.117328] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    7.121156] rockchip-rga ff680000.rga: HW Version: 0x03.02
[    7.133233] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video2
[    7.134334] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video3
[    7.155066] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video4
[    7.250750] Bluetooth: HCI UART driver ver 2.3
[    7.251178] Bluetooth: HCI UART protocol H4 registered
[    7.251975] Bluetooth: HCI UART protocol BCSP registered
[    7.258363] Bluetooth: HCI UART protocol LL registered
[    7.258850] Bluetooth: HCI UART protocol ATH3K registered
[    7.273931] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.276685] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.277566] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.280639] Registered IR keymap rc-empty
[    7.280945] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.282152] panfrost ff9a0000.gpu: clock rate = 500000000
[    7.283732] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.284657] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.285596] Bluetooth: HCI UART protocol Intel registered
[    7.285616] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.287282] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.288187] rt5640 1-001c: ASoC: error at soc_component_write_no_lock on rt5640.1-001c: -6
[    7.289069] rt5640 1-001c: ASoC: error at snd_soc_component_update_bits on rt5640.1-001c: -6
[    7.289993] rt5640 1-001c: ASoC: error at snd_soc_component_update_bits on rt5640.1-001c: -6
[    7.290896] rt5640 1-001c: ASoC: error at snd_soc_component_update_bits on rt5640.1-001c: -6
[    7.291836] rt5640 1-001c: ASoC: error at soc_component_read_no_lock on rt5640.1-001c: -6
[    7.293313] rt5640 1-001c: The driver is for RT5639 RT5640 or RT5642 only
[    7.294003] rt5640 1-001c: ASoC: error at snd_soc_component_probe on rt5640.1-001c: -19
[    7.294882] asoc-simple-card rt5640-sound: ASoC: failed to instantiate card -19
[    7.296985] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    7.297762] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    7.298049] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    7.298812] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input2
[    7.299310] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    7.300506] rockchip-pinctrl pinctrl: pin gpio0-6 already requested by ir-receiver; cannot claim for ir-receivet
[    7.300667] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    7.301643] rockchip-pinctrl pinctrl: pin-6 (ir-receivet) status -22
[    7.302666] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    7.303825] rockchip-pinctrl pinctrl: could not request pin 6 (gpio0-6) from group ir-int  on device rockchip-pinctrl
[    7.304777] gpio_ir_recv ir-receivet: Error applying setting, reverse things back
[    7.319402] Bluetooth: HCI UART protocol Broadcom registered
[    7.319936] Driver 'hci_uart_qca' needs updating - please use bus_type methods
[    7.327968] Bluetooth: HCI UART protocol QCA registered
[    7.328442] Bluetooth: HCI UART protocol AG6XX registered
[    7.343141] Bluetooth: HCI UART protocol Marvell registered
[    7.354645] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1
[    7.490074] dw-apb-uart ff180000.serial: failed to request DMA
[    7.523463] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.firefly,roc-rk3399-pc.txt failed with error -2
[    7.524589] brcmfmac mmc2:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac4356-sdio.firefly,roc-rk3399-pc.txt
[    7.541509] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[    7.578879] random: crng init done
[    7.579217] random: 7 urandom warning(s) missed due to ratelimiting
[    7.588023] systemd[1]: Finished Load/Save Random Seed.
[    7.589180] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[    7.590028] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    7.590998] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    7.598388] systemd[1]: Starting Load/Save RF Kill Switch Status...
[    7.606335] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    7.607753] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.608756] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.609605] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    7.610614] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.611428] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    7.612305] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.623702] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[    7.637704] systemd[1]: Started Load/Save RF Kill Switch Status.
[    7.638976] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Mar  4 2020 22:06:08 version 7.35.349.87 (r724447 CY) FWID 01-c68a2890
[    7.716030] Adding 1978332k swap on /dev/zram0.  Priority:5 extents:1 across:1978332k SSFS
[    7.746696] Bluetooth: hci0: BCM: chip id 101
[    7.747585] Bluetooth: hci0: BCM: features 0x2f
[    7.749061] Bluetooth: hci0: BCM4354A2
[    7.749419] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
[    7.759572] Bluetooth: hci0: BCM4356A2 'brcm/BCM4356A2.hcd' Patch
[    7.814339] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    7.816269] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.817212] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.818076] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    7.819089] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.819914] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    7.820796] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.868852] zram1: detected capacity change from 0 to 102400
[    7.917088] systemd[1]: Finished Armbian ZRAM config.
[    7.921202] systemd[1]: Starting Armbian memory supported logging...
[    7.985855] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard. Quota mode: none.
[    7.986712] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[    8.069882] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[    8.505121] Bluetooth: hci0: BCM4356 37.4MHz AMPAK AP6356-0055
[    8.505682] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0266
[    9.089933] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   10.113923] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   11.052443] systemd[1]: Finished Armbian memory supported logging.
[   11.056499] systemd[1]: Starting Journal Service...
[   11.141924] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   11.221195] systemd[1]: Started Journal Service.
[   11.251433] systemd-journald[636]: Received client request to flush runtime journal.
[   11.253299] systemd-journald[636]: File /var/log/journal/3f2e131dcd9e4dbc8c7b7879db621158/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   12.161869] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   13.185881] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   14.209855] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   15.233864] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   16.257878] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   17.281876] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   18.305860] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   19.329874] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   20.353986] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   21.377871] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   22.401862] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   23.425883] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   24.449866] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
[   24.450635] fusb302 7-0022: Unable to request IRQ for INT_N GPIO! 0
[   24.451526] fusb302: probe of 7-0022 failed with error -22
[   24.452993] fusb302 4-0022: Can't get property of role, set role to default DRP
[   24.466259] fusb302 4-0022: Unable to request IRQ for INT_N GPIO! 0
[   24.467224] fusb302: probe of 4-0022 failed with error -22
[   25.197036] input: BRLTTY 6.3 Linux Screen Driver Keyboard as /devices/virtual/input/input3
[   30.710428] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.710943] Bluetooth: BNEP filters: protocol multicast
[   30.711427] Bluetooth: BNEP socket layer initialized
[   30.739299] NET: Registered PF_ALG protocol family
[   31.095370] PPP generic driver version 2.4.2
[   31.101659] NET: Registered PF_PPPOX protocol family
[   31.172999] l2tp_core: L2TP core driver, V2.0
[   31.184012] l2tp_netlink: L2TP netlink interface
[   31.196643] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   31.366751] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   31.368365] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   31.377893] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   31.378617] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   31.379620] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   31.873928] Initializing XFRM netlink socket
[   33.761961] vcc3v3_pcie: disabling


Armbian 22.02.1 Bullseye ttyS2 

firefly-rk3399 login: [   36.054793] systemd-journald[636]: Failed to read journal file /var/log/journal/3f2e131dcd9e4dbc8c7b7879db621158/user-1000.journal for rotation, trying to move it out of the way: Device or resource busy
[   36.537890] hdmi-audio-codec hdmi-audio-codec.1.auto: Only one simultaneous stream supported!
[   36.538671] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   36.539526]  ff8a0000.i2s-i2s-hifi: soc_pcm_open() failed (-22)
[   36.540696] hdmi-audio-codec hdmi-audio-codec.1.auto: Only one simultaneous stream supported!
[   36.541465] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   36.542370]  ff8a0000.i2s-i2s-hifi: soc_pcm_open() failed (-22)
[   36.544843] hdmi-audio-codec hdmi-audio-codec.1.auto: Only one simultaneous stream supported!
[   36.545613] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   36.546536]  ff8a0000.i2s-i2s-hifi: soc_pcm_open() failed (-22)
[   36.547754] hdmi-audio-codec hdmi-audio-codec.1.auto: Only one simultaneous stream supported!
[   36.548527] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[   36.549380]  ff8a0000.i2s-i2s-hifi: soc_pcm_open() failed (-22)
[   36.651336] Bluetooth: RFCOMM TTY layer initialized
[   36.651817] Bluetooth: RFCOMM socket layer initialized
[   36.652290] Bluetooth: RFCOMM ver 1.11
[   37.618528] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


firefly-rk3399 login: root

Password: 
 _____ _           __ _         ____  _  ____________ ___   ___  
|  ___(_)_ __ ___ / _| |_   _  |  _ \| |/ /___ /___ // _ \ / _ \ 
| |_  | | '__/ _ \ |_| | | | | | |_) | ' /  |_ \ |_ \ (_) | (_) |
|  _| | | | |  __/  _| | |_| | |  _ <| . \ ___) |__) \__, |\__, |
|_|   |_|_|  \___|_| |_|\__, | |_| \_\_|\_\____/____/  /_/   /_/ 
                        |___/                                    
Welcome to Armbian 22.02.1  with Linux 5.15.25-media

System load:   11%           Up time:       0 min
Memory usage:  5% of 3.77G  IP:       192.168.5.133
CPU temp:      35°C           Usage of /:    14% of 28G    

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

Last login: Mon Apr 18 22:36:35 CST 2022 on ttyS2
root@firefly-rk3399:~# lspci

root@firefly-rk3399:~# lsoususb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@firefly-rk3399:~# powerpoweroff

[   66.227245] systemd-shutdown[1]: Syncing filesystems and block devices.
[   66.648429] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[   66.659348] systemd-journald[636]: Received SIGTERM from PID 1 (systemd-shutdow).
[   66.765391] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[   66.773297] systemd-shutdown[1]: Unmounting file systems.
[   66.775815] [2421]: Remounting '/' read-only in with options 'errors=remount-ro,commit=600'.
[   66.812371] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,commit=600. Quota mode: none.
[   66.827024] systemd-shutdown[1]: All filesystems unmounted.
[   66.827533] systemd-shutdown[1]: Deactivating swaps.
[   66.828061] systemd-shutdown[1]: All swaps deactivated.
[   66.828524] systemd-shutdown[1]: Detaching loop devices.
[   66.830739] systemd-shutdown[1]: All loop devices detached.
[   66.831237] systemd-shutdown[1]: Stopping MD devices.
[   66.831823] systemd-shutdown[1]: All MD devices stopped.
[   66.832294] systemd-shutdown[1]: Detaching DM devices.
[   66.832872] systemd-shutdown[1]: All DM devices detached.
[   66.833351] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[   66.842157] systemd-shutdown[1]: Syncing filesystems and block devices.
[   66.843472] systemd-shutdown[1]: Powering off.
[   66.843886] kvm: exiting hardware virtualization
[   66.914798] hci_uart_bcm serial0-0: Cutting power to bluetooth module
[   68.085924] xhci-hcd xhci-hcd.3.auto: Host halt failed, -110
[   68.086717] pwrseq_simple sdio-pwrseq: Turning off mmc
[   68.119034] xhci-hcd xhci-hcd.4.auto: remove, state 4
[   68.119497] usb usb4: USB disconnect, device number 1
[   68.120333] xhci-hcd xhci-hcd.4.auto: USB bus 4 deregistered
[   68.120840] xhci-hcd xhci-hcd.4.auto: remove, state 4
[   68.121287] usb usb3: USB disconnect, device number 1
[   68.122181] xhci-hcd xhci-hcd.4.auto: USB bus 3 deregistered
[   68.122988] xhci-hcd xhci-hcd.3.auto: remove, state 4
[   68.123438] usb usb2: USB disconnect, device number 1
[   68.124211] xhci-hcd xhci-hcd.3.auto: USB bus 2 deregistered
[   68.124739] xhci-hcd xhci-hcd.3.auto: remove, state 4
[   68.125187] usb usb1: USB disconnect, device number 1
[   68.157877] xhci-hcd xhci-hcd.3.auto: Host halt failed, -110
[   68.158375] xhci-hcd xhci-hcd.3.auto: Host controller not halted, aborting reset.
[   68.159195] xhci-hcd xhci-hcd.3.auto: USB bus 1 deregistered
[   68.160203] reboot: Power down

可以看出SD卡上也有miniloader用来初始化DDR后再加载uboot。

M.2插槽支持的SSD,rk3399 SOC手册谢的支持pcie2.1规范,但firefly的手册又写的1.0,好在

背面的只支持4G模块,但证明的M.2是支持pcie x4的,不过他这个插槽却弄个Bkey,一般nvme的ssd都是pcie3.0x4,都走的Mkey.

Bkey一般只能走到pcie x2,我刚好买了块PCIE 的ssd是PCIE3.0X4的接口又是B+M key的,这种接口可能兼容b key,也可能不兼容b key。参考下面这个文章,讲的很清楚

M.2 M vs M.2 (B+M): What's the Difference?https://www.partitionwizard.com/partitionmanager/m2-m-vs-bm.html我自己的反正插上是不认的,我感觉是设备树那定义的缘故吧,反正这个rk339板子的Bkey座看资料是引了4对PCIE出来的,网上也有人买了官方的转接板B-->M,就能成功使用Mkey的SSD,也有买了Bkey转sata转接板的。但我想既然我这个SSD已经是B+Mkey了,能不能直接就按Bkey的认出来也好啊,x2还是x4不重要了。先研究一下。不行的话再去买块转接板了。或者直接TF卡一直用也行。

初步对比,标准的B+Mkey 引脚和firefly的引脚对比,确实只有pcie1 和pcie2两条lane对应上了,pcie3 pcie4,对应不上。

下面分别是Mkey和B+M,然后和firefly的对比一下就是只有2条Lane能对上,firefly的没表key的引脚位的。

 

 

firefly上面这个M.2引脚属于混合信号引出了。正常Bkey引出的不是这些信号,想办法让M.2的PCIE1 PCIE2这两条Lane工作起来就好了,当然,也希望SSD支持,否则还是没戏。

 

  • 2
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值