添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account
  • Model [firefly rk3399]
  • 我尝试着使用 openwrt_official_rockchip_tvi3315a_k6.1.57_2023.10.13.img 写入到 tf 卡上,然后挂载 /boot 分区修改 armbianEnv.txt fdtfile=rockchip/rk3399-tvi3315a.dtb 改为 fdtfile=rockchip/rk3399-firefly.dtb 。用此 tf 卡无法成功启动系统在 UART 下看到如下内容,设备还被识别为 Orange Pi RK3399 Board

    DDR Version 1.26 20210628
    Channel 0: DDR3, 800MHz
    Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
    Channel 1: DDR3, 800MHz
    Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
    256B stride
    ch 0 ddrconfig = 0x101, ddrsize = 0x20
    ch 1 ddrconfig = 0x101, ddrsize = 0x20
    pmugrf_os_reg[2] = 0x32817281, stride = 0x9
    Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
    CPUId = 0x0
    ChipType = 0x10, 337
    mmc: ERROR: SDHCI:Transfer data timeout
    mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
    mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
    mmc: ERROR: tuning execution failed
    emmc reinit
    mmc: ERROR: SDHCI:Transfer data timeout
    mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
    mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
    mmc: ERROR: tuning execution failed
    emmc reinit
    mmc: ERROR: SDHCI:Transfer data timeout
    mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
    mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
    mmc: ERROR: tuning execution failed
    SdmmcInit=2 1
    mmc0:cmd5,20
    SdmmcInit=0 0
    BootCapSize=0
    UserCapSize=29862MB
    FwPartOffset=2000 , 0
    StorageInit ok = 35731907
    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 part:  0, name:          primary, start:0x8000, size:0x7f800
    GPT part:  1, name:          primary, start:0x88000, size:0x1ff800
    no find partition:uboot.
    Trust Addr:0x4000, 0x58334c42
    No find bl30.bin
    No find bl32.bin
    Load uboot, ReadLba = 2000
    Load OK, addr=0x200000, size=0xb08f0
    RunBL31 0x40000 @ 51981 us
    NOTICE:  BL31: v1.3(debug):42583b6
    NOTICE:  BL31: Built : 07:55:13, Oct 15 2019
    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(1190): 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 2020.10-armbian (Aug 08 2021 - 16:19:56 +0200)
    SoC: Rockchip rk3399
    Reset cause: POR
    Model: Orange Pi RK3399 Board
    DRAM:  2 GiB
    PMIC:  RK808
    MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
    Loading Environment from MMC... *** Warning - !read failed, using default environment
    In:    serial@ff1a0000
    Out:   serial@ff1a0000
    Err:   serial@ff1a0000
    Model: Orange Pi RK3399 Board
    Net:   eth0: ethernet@fe300000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    Found U-Boot script /boot.scr
    3252 bytes read in 5 ms (634.8 KiB/s)
    ## Executing script at 00500000
    Boot script loaded from mmc 1
    303 bytes read in 3 ms (98.6 KiB/s)
    16849974 bytes read in 720 ms (22.3 MiB/s)
    33923584 bytes read in 1443 ms (22.4 MiB/s)
    84278 bytes read in 12 ms (6.7 MiB/s)
    Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
    Unknown command 'kaslrseed' - try 'help'
    Moving Image from 0x2080000 to 0x2200000, end=4340000
    ## Loading init Ramdisk from Legacy Image at 06000000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    16849910 Bytes = 16.1 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 7cf16000, end 7df27bf6 ... OK
       Loading Device Tree to 000000007ce99000, end 000000007cf15fff ... OK
    Starting kernel ...
    

    我的这块板子有一些问题,已经无法识别内置的 EMMC。但是用来测试 tf 卡上的 OpenWRT 应该问题不大。我可以在 tf 卡上跑官方的 armbian.

    不仅是名字显示不一样,而且无法正常引导。

    我用的是官方的 Armbian https://redirect.armbian.com/region/AS/firefly-rk3399/Jammy_current,镜像地址 为http://mirrors.ustc.edu.cn/armbian-dl/firefly-rk3399/archive/Armbian_23.8.1_Firefly-rk3399_jammy_current_6.1.50.img.xz

    我借鉴 https://www.right.com.cn/forum/thread-8258587-1-1.html 的思路,既然官方的 armbian 支持 firefly rk3399。我就默认里面的 dtb 是正确的。大概我把问题想得太简单了。

    我更新了日志,添加了如下的内容

    In:    serial@ff1a0000
    Out:   serial@ff1a0000
    Err:   serial@ff1a0000
    Model: Orange Pi RK3399 Board
    Net:   eth0: ethernet@fe300000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    Found U-Boot script /boot.scr
    3252 bytes read in 5 ms (634.8 KiB/s)
    ## Executing script at 00500000
    Boot script loaded from mmc 1
    303 bytes read in 3 ms (98.6 KiB/s)
    16849974 bytes read in 720 ms (22.3 MiB/s)
    33923584 bytes read in 1443 ms (22.4 MiB/s)
    84278 bytes read in 12 ms (6.7 MiB/s)
    Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
    Unknown command 'kaslrseed' - try 'help'
    Moving Image from 0x2080000 to 0x2200000, end=4340000
    ## Loading init Ramdisk from Legacy Image at 06000000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    16849910 Bytes = 16.1 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 7cf16000, end 7df27bf6 ... OK
       Loading Device Tree to 000000007ce99000, end 000000007cf15fff ... OK
    Starting kernel ...
    

    Starting kernel ... 以后就再没有输出了。

    OpenWrt:
    https://github.com/ophub/amlogic-s9xxx-openwrt/releases/download/OpenWrt_official_save_2023.10/openwrt_official_rockchip_firefly_k6.1.58_2023.10.18.img.gz

    Armbian:
    https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_jammy_save_2023.10/Armbian_23.11.0_rockchip_firefly_jammy_6.1.58_server_2023.10.18.img.gz

    OpenWrt 和 Armbian 这2个系统都帮忙测试下,看看是否都可以正常启动。

    @ophub 非常感谢您的努力。我测试了两个镜像文件。型号显示已经正常了,但是系统仍然无法正常引导(我还接了一个显示器上去进行了确认,出现了一个很漂亮的左上角有UBoot字样的界面后黑屏了)。日志如下

    SdmmcInit=2 1
    mmc0:cmd5,20
    SdmmcInit=0 0
    BootCapSize=0
    UserCapSize=29862MB
    FwPartOffset=2000 , 0
    StorageInit ok = 35741920
    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 part:  0, name:          primary, start:0x8000, size:0x7f800
    GPT part:  1, name:          primary, start:0x88000, size:0x4ff800
    no find partition:uboot.
    Trust Addr:0x4000, 0x58334c42
    No find bl30.bin
    No find bl32.bin
    Load uboot, ReadLba = 2000
    Load OK, addr=0x200000, size=0xd9f08
    RunBL31 0x40000 @ 77286 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 2022.04-armbian (Aug 22 2023 - 15:24:21 +0000)
    SoC: Rockchip rk3399
    Reset cause: POR
    Model: Firefly-RK3399 Board
    DRAM:  2 GiB
    PMIC:  RK808
    Core:  286 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    In:    serial
    Out:   vidconsole
    Err:   vidconsole
    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 usb@fe900000: 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 usb@fe900000 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 U-Boot script /boot.scr
    3252 bytes read in 5 ms (634.8 KiB/s)
    ## Executing script at 00500000
    Boot script loaded from mmc 1
    268 bytes read in 4 ms (65.4 KiB/s)
    16866283 bytes read in 720 ms (22.3 MiB/s)
    33923584 bytes read in 1444 ms (22.4 MiB/s)
    82844 bytes read in 12 ms (6.6 MiB/s)
    Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
    Unknown command 'kaslrseed' - try 'help'
    Moving Image from 0x2080000 to 0x2200000, end=4340000
    ## Loading init Ramdisk from Legacy Image at 06000000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    16866219 Bytes = 16.1 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 78ef6000, end 79f0bbab ... OK
       Loading Device Tree to 0000000078e79000, end 0000000078ef5fff ... OK
    Starting kernel ...
    

    不知道是不是和如下错误有关

    Failed to load '/dtb/rockchip/overlay/rk3399-fixup.scr'
    Unknown command 'kaslrseed' - try 'help'
    SecureInit ret = 0, SecureMode = 0
    atags_set_bootdev: ret:(0)
    GPT part:  0, name:          primary, start:0x8000, size:0x7f800
    GPT part:  1, name:          primary, start:0x88000, size:0x1ff800
    no find partition:uboot.
    Trust Addr:0x4000, 0x58334c42
    No find bl30.bin
    No find bl32.bin
    Load uboot, ReadLba = 2000
    Load OK, addr=0x200000, size=0xd9f08
    RunBL31 0x40000 @ 62913 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 2022.04-armbian (Aug 22 2023 - 15:24:21 +0000)
    SoC: Rockchip rk3399
    Reset cause: POR
    Model: Firefly-RK3399 Board
    DRAM:  2 GiB
    PMIC:  RK808
    Core:  286 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@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 usb@fe900000: 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 usb@fe900000 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 /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    1:      Armbian
    Retrieving file: /uInitrd
    Retrieving file: /Image
    append: root=UUID=ca3daadb-4bc0-47dd-a88f-4a77cf931cb9 rootflags=compress=zstd:6 rootfstype=btrfs console=ttyS2,1500000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
    Retrieving file: /dtb/rockchip/rk3399-firefly.dtb
    Moving Image from 0x2080000 to 0x2200000, end=4340000
    ## Loading init Ramdisk from Legacy Image at 06000000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    16866219 Bytes = 16.1 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 78ef6000, end 79f0bbab ... OK
       Loading Device Tree to 0000000078ede000, end 0000000078ef539b ... OK
    Starting kernel ...
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.58-ophub (root@fv-az1256-949) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #1 SMP Mon Oct 16 04:55:03 EDT 2023
    [    0.000000] Machine model: Firefly-RK3399 Board
    [    0.000000] efi: UEFI not found.
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
    [    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-0x000000007fffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
    [    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
    [    0.000000] cma: Reserved 256 MiB at 0x0000000068e00000
    [    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 19 pages/cpu s38056 r8192 d31576 u77824
    [    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] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
    [    0.000000] Kernel command line: root=UUID=ca3daadb-4bc0-47dd-a88f-4a77cf931cb9 rootflags=compress=zstd:6 rootfstype=btrfs console=ttyS2,1500000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
    [    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1745560K/2095104K available (16896K kernel code, 2920K rwdata, 8300K rodata, 4864K init, 892K bss, 87400K reserved, 262144K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    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.002079] Console: colour dummy device 80x25
    [    0.002707] printk: console [tty0] enabled
    [    0.002767] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
    [    0.002802] pid_max: default: 32768 minimum: 301
    [    0.003196] LSM: Security Framework initializing
    [    0.003393] SELinux:  Initializing.
    [    0.003960] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.004000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.006180] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    0.007127] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.007153] cblist_init_generic: Setting shift to 3 and lim to 1.
    [    0.007433] rcu: Hierarchical SRCU implementation.
    [    0.007452] rcu:     Max phase no-delay instances is 1000.
    [    0.009493] Platform MSI: interrupt-controller@fee20000 domain created
    [    0.009998] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
    [    0.010791] EFI services will not be available.
    [    0.011442] smp: Bringing up secondary CPUs ...
    [    0.012216] Detected VIPT I-cache on CPU1
    [    0.012339] cacheinfo: Unable to detect cache hierarchy for CPU 1
    [    0.012354] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
    [    0.012375] GICv3: CPU1: using allocated LPI pending table @0x0000000000460000
    [    0.012428] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.013198] Detected VIPT I-cache on CPU2
    [    0.013301] cacheinfo: Unable to detect cache hierarchy for CPU 2
    [    0.013315] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
    [    0.013334] GICv3: CPU2: using allocated LPI pending table @0x0000000000470000
    [    0.013370] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.014137] Detected VIPT I-cache on CPU3
    [    0.014248] cacheinfo: Unable to detect cache hierarchy for CPU 3
    [    0.014262] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
    [    0.014279] GICv3: CPU3: using allocated LPI pending table @0x0000000000500000
    [    0.014314] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.015063] CPU features: detected: Spectre-v2
    [    0.015074] CPU features: detected: Spectre-v4
    [    0.015079] CPU features: detected: Spectre-BHB
    [    0.015087] CPU features: detected: ARM erratum 1742098
    [    0.015093] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.015099] Detected PIPT I-cache on CPU4
    [    0.015208] cacheinfo: Unable to detect cache hierarchy for CPU 4
    [    0.015222] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
    [    0.015240] GICv3: CPU4: using allocated LPI pending table @0x0000000000510000
    [    0.015278] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
    [    0.016044] Detected PIPT I-cache on CPU5
    [    0.016138] cacheinfo: Unable to detect cache hierarchy for CPU 5
    [    0.016151] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
    [    0.016168] GICv3: CPU5: using allocated LPI pending table @0x0000000000520000
    [    0.016198] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
    [    0.016292] smp: Brought up 1 node, 6 CPUs
    [    0.016643] SMP: Total of 6 processors activated.
    [    0.016662] CPU features: detected: 32-bit EL0 Support
    [    0.016677] CPU features: detected: 32-bit EL1 Support
    [    0.016696] CPU features: detected: CRC32 instructions
    [    0.016820] CPU: All CPU(s) started at EL2
    [    0.016847] alternatives: applying system-wide alternatives
    [    0.019935] devtmpfs: initialized
    [    0.036405] Registered cp15_barrier emulation handler
    [    0.036441] Registered setend emulation handler
    [    0.036601] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.036634] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.041643] prandom: seed boundary self test passed
    [    0.043365] prandom: 100 self tests passed
    [    0.043416] pinctrl core: initialized pinctrl subsystem
    [    0.043987] DMI not present or invalid.
    [    0.044570] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.046434] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.047279] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.047977] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.048043] audit: initializing netlink subsys (disabled)
    [    0.048267] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
    [    0.049437] thermal_sys: Registered thermal governor 'step_wise'
    [    0.049486] cpuidle: using governor ladder
    [    0.049682] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.049849] ASID allocator initialised with 65536 entries
    [    0.049966] Serial: AMBA PL011 UART driver
    [    0.070383] platform fe330000.mmc: Fixed dependency cycle(s) with /syscon@ff770000/phy@f780
    [    0.075220] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000/port/endpoint@2
    [    0.075263] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000/port/endpoint@2
    [    0.082478] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
    [    0.083190] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
    [    0.083789] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
    [    0.084417] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
    [    0.085042] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
    [    0.088484] platform spdif-dit: Fixed dependency cycle(s) with /spdif@ff870000/port/endpoint
    [    0.102187] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.102212] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.102229] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.102244] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.102259] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.102273] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.102287] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.102301] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.103495] cryptd: max_cpu_qlen set to 1000
    [    0.171944] raid6: neonx8   gen()  1770 MB/s
    [    0.240042] raid6: neonx4   gen()  1727 MB/s
    [    0.308161] raid6: neonx2   gen()  1427 MB/s
    [    0.376271] raid6: neonx1   gen()  1038 MB/s
    [    0.444371] raid6: int64x8  gen()   994 MB/s
    [    0.512481] raid6: int64x4  gen()   973 MB/s
    [    0.580578] raid6: int64x2  gen()   937 MB/s
    [    0.648700] raid6: int64x1  gen()   722 MB/s
    [    0.648713] raid6: using algorithm neonx8 gen() 1770 MB/s
    [    0.716783] raid6: .... xor() 1290 MB/s, rmw enabled
    [    0.716796] raid6: using neon recovery algorithm
    [    0.717012] fbcon: Taking over console
    [    0.717050] ACPI: Interpreter disabled.
    [    0.719317] iommu: Default domain type: Translated
    [    0.719340] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.719811] SCSI subsystem initialized
    [    0.720266] usbcore: registered new interface driver usbfs
    [    0.720331] usbcore: registered new interface driver hub
    [    0.720377] usbcore: registered new device driver usb
    [    0.720886] mc: Linux media interface: v0.10
    [    0.720935] videodev: Linux video capture interface: v2.00
    [    0.721251] EDAC MC: Ver: 3.0.0
    [    0.722403] Advanced Linux Sound Architecture Driver Initialized.
    [    0.723189] vgaarb: loaded
    [    0.723537] clocksource: Switched to clocksource arch_sys_counter
    [    0.723902] VFS: Disk quotas dquot_6.6.0
    [    0.723985] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.724187] FS-Cache: Loaded
    [    0.724441] pnp: PnP ACPI: disabled
    [    0.734262] NET: Registered PF_INET protocol family
    [    0.734486] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.737181] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.737232] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.737295] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.737490] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.738145] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.738402] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
    [    0.738499] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.738582] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.738835] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.738878] NET: Registered PF_XDP protocol family
    [    0.738900] PCI: CLS 0 bytes, default 64
    [    0.739384] Trying to unpack rootfs image as initramfs...
    [    0.749458] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.750674] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.751401] kvm [1]: IPA Size Limit: 40 bits
    [    0.753160] kvm [1]: vgic-v2@fff20000
    [    0.753198] kvm [1]: GIC system register CPU interface enabled
    [    0.754333] kvm [1]: vgic interrupt IRQ18
    [    0.755434] kvm [1]: Hyp mode initialized successfully
    [    0.757718] Initialise system trusted keyrings
    [    0.758018] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.765504] zbud: loaded
    [    0.767522] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.768164] fuse: init (API version 7.37)
    [    0.768769] SGI XFS with ACLs, security attributes, quota, no debug enabled
    [    0.836054] NET: Registered PF_ALG protocol family
    [    0.836113] xor: measuring software checksum speed
    [    0.839494]    8regs           :  2924 MB/sec
    [    0.842668]    32regs          :  3139 MB/sec
    [    0.846511]    arm64_neon      :  2586 MB/sec
    [    0.846526] xor: using function: 32regs (3139 MB/sec)
    [    0.846548] Key type asymmetric registered
    [    0.846561] Asymmetric key parser 'x509' registered
    [    0.846657] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.846863] io scheduler mq-deadline registered
    [    0.846879] io scheduler kyber registered
    [    0.847057] io scheduler bfq registered
    [    0.935860] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
    [    0.935919] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
    [    0.935950] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
    [    0.936532] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
    [    0.936559] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
    [    0.936582] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
    [    0.936740] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
    [    1.499571] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
    [    1.499626] rockchip-pcie: probe of f8000000.pcie failed with error -110
    [    1.507189] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    1.507224] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
    [    1.508695] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    1.508724] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    1.513282] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
    [    1.515578] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
    [    1.516450] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
    [    1.638662] printk: console [ttyS2] enabled
    [    1.640284] Serial: AMBA driver
    [    1.642398] random: crng init done
    [    1.646874] rockchip-vop ff8f0000.vop: Adding to iommu group 2
    [    1.648088] rockchip-vop ff900000.vop: Adding to iommu group 3
    [    1.654877] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
    [    1.655713] [drm] unsupported AFBC format[3231564e]
    [    1.657217] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
    [    1.658009] dwhdmi-rockchip ff940000.hdmi: supply avdd-0v9 not found, using dummy regulator
    [    1.658887] dwhdmi-rockchip ff940000.hdmi: supply avdd-1v8 not found, using dummy regulator
    [    1.663689] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    1.666562] brd: module loaded
    [    1.729983] loop: module loaded
    [    1.739355] usbcore: registered new interface driver cdc_wdm
    [    1.739935] usbcore: registered new interface driver usb-storage
    [    1.740546] usbcore: registered new interface driver usbserial_generic
    [    1.741151] usbserial: USB Serial support registered for generic
    [    1.741719] usbcore: registered new interface driver ch341
    [    1.742227] usbserial: USB Serial support registered for ch341-uart
    [    1.742815] usbcore: registered new interface driver cp210x
    [    1.743330] usbserial: USB Serial support registered for cp210x
    [    1.743896] usbcore: registered new interface driver ftdi_sio
    [    1.744429] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    1.745105] usbcore: registered new interface driver garmin_gps
    [    1.745655] usbserial: USB Serial support registered for Garmin GPS usb/tty
    [    1.746305] usbcore: registered new interface driver ipw
    [    1.746797] usbserial: USB Serial support registered for IPWireless converter
    [    1.747457] usbcore: registered new interface driver opticon
    [    1.747991] usbserial: USB Serial support registered for opticon
    [    1.748554] usbcore: registered new interface driver pl2303
    [    1.749069] usbserial: USB Serial support registered for pl2303
    [    1.749623] usbcore: registered new interface driver qcaux
    [    1.750129] usbserial: USB Serial support registered for qcaux
    [    1.750680] usbcore: registered new interface driver qcserial
    [    1.751215] usbserial: USB Serial support registered for Qualcomm USB modem
    [    1.751875] usbcore: registered new interface driver symbolserial
    [    1.752437] usbserial: USB Serial support registered for symbol
    [    1.753586] mousedev: PS/2 mouse device common for all mice
    [    1.755273] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
    [    1.756759] i2c_dev: i2c /dev entries driver
    [    1.759954] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG3
    [    1.761558] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
              

    我找到可能的原因 https://forum.armbian.com/topic/15964-firfly-rk3399-have-not-been-booting-up-reasent-images-from-armbian/page/3/,我用官方的 rk3399-firefly.dtb 替换了您提供镜像里的相应文件,两个镜像都启动成功了。

    ____ _ __ __ ____ / __ \____ ___ ____| | / /____/ /_ / __ )____ _ __ / / / / __ \/ _ \/ __ \ | /| / / ___/ __/_____/ __ / __ \| |/_/ / /_/ / /_/ / __/ / / / |/ |/ / / / /_/_____/ /_/ / /_/ /> < \____/ .___/\___/_/ /_/|__/|__/_/ \__/ /_____/\____/_/|_| /_/ H E L L O - W O R L D W I R E L E S S - F R E E D O M ─────────────────────────────────────────────────────────────────────── Install OpenWrt: System → Amlogic Service → Install OpenWrt Update OpenWrt: System → Amlogic Service → Online Update Board: firefly | OpenWrt Kernel: 6.1.58-ophub Builder Name: ophub | Production Date: 2023-10-18 ─────────────────────────────────────────────────────────────────────── Device Model: Firefly-RK3399 Board Architecture: AArch64 : Cortex-A53 x 4 & Cortex-A72 x 2 Load Average: 1.47 0.55 0.20 Uptime: 1m 14s Ambient Temp: 25.6 °C CPU Freq: 408 Mhz & 816 Mhz Memory Usage: 10% of 1981M Swap Usage: 0% of 0M Boot Storage: 36% of 222.8M ROOTFS: 27% of 1023.0M Data Storage: 0% of 26.9G IP Addr: 192.168.1.1 ─────────────────────────────────────────────────────────────────────── root@OpenWrt:/# ip -4 addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 7: br-lan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000 inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan valid_lft forever preferred_lft forever 8: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 valid_lft forever preferred_lft forever

    请教一个问题,下面关于 emmc 的日志是什么原因,我的 firefly rk3399 的内置 emmc 不能够识别了,是硬件损坏吗?不是的话能够恢复吗?

    emmc reinit
    mmc: ERROR: SDHCI:Transfer data timeout
    mmc: ERROR: SDHCI ERR:cmd:0x153a,stat:0x0
    mmc: ERROR: Tuning procedure failed, falling back to fixed sampling clock
    mmc: ERROR: tuning execution failed
    
    [    5.037957] mmc1: CQHCI version 5.10
    [    5.070422] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
    [    5.221124] mmc1: error -110 whilst initialising MMC card
    [    5.396238] mmc1: error -110 whilst initialising MMC card
    [    5.575291] mmc0: Skipping voltage switch
    [    5.586077] mmc1: error -110 whilst initialising MMC card
              

    我查看了下f大的6.1.y内核仓库,包含了这个文件: https://github.com/unifreq/linux-6.1.y/blob/main/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts

    所以打包的时候,会被覆盖了,刚才我修改了默认dtb的名字为:rk3399-firefly-150.dtb 这样防止被覆盖了。我在armbian网站看到了150提交的6.0的dts修复补丁,没找到6.1的,你看到这个firefly的6.1.y内核的补丁发给我下,更新了f大的内核仓库,这样更方便使用了。

    下面是改名后重新打包的,另外u-boot也更新成了6.6里使用的版本,你测试下,反馈下目前2个镜像的情况。

    Armbian:
    https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_jammy_save_2023.10/Armbian_23.11.0_rockchip_firefly_jammy_6.1.58_server_2023.10.18.img.gz

    OpenWrt:
    https://github.com/ophub/amlogic-s9xxx-openwrt/releases/download/OpenWrt_official_save_2023.10/openwrt_official_rockchip_firefly_k6.1.58_2023.10.18.img.gz

    刚才我把6.0的补丁和6.1内核比较了下,看起来能使用,我在6.1上使用了这个补丁,顺利应用和编译了。你测试完上面的镜像后,下载这个dtb文件,解压缩,覆盖/boot/dtb/rockchip下的同名文件,重启测试下,如果可以的话我把补丁添加到f大的仓库里。

    rk3399-firefly-150.dtb.zip

    我查看了下f大的6.1.y内核仓库,包含了这个文件: https://github.com/unifreq/linux-6.1.y/blob/main/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts

    所以打包的时候,会被覆盖了,刚才我修改了默认dtb的名字为:rk3399-firefly-150.dtb 这样防止被覆盖了。我在armbian网站看到了150提交的6.0的dts修复补丁,没找到6.1的,你看到这个firefly的6.1.y内核的补丁发给我下,更新了f大的内核仓库,这样更方便使用了。

    下面是改名后重新打包的,另外u-boot也更新成了6.6里使用的版本,你测试下,反馈下目前2个镜像的情况。

    Armbian: https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_jammy_save_2023.10/Armbian_23.11.0_rockchip_firefly_jammy_6.1.58_server_2023.10.18.img.gz

    OpenWrt: https://github.com/ophub/amlogic-s9xxx-openwrt/releases/download/OpenWrt_official_save_2023.10/openwrt_official_rockchip_firefly_k6.1.58_2023.10.18.img.gz

    刚才我把6.0的补丁和6.1内核比较了下,看起来能使用,我在6.1上使用了这个补丁,顺利应用和编译了。你测试完上面的镜像后,下载这个dtb文件,解压缩,覆盖/boot/dtb/rockchip下的同名文件,重启测试下,如果可以的话我把补丁添加到f大的仓库里。

    rk3399-firefly-150.dtb.zip

    两个镜像都没有问题,进行了简单的测试。编译的 dtb 也可以用,有个缺陷,在串口上会不停的报(两个镜像都有)

    [   74.339445] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   75.359513] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   76.383514] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   77.407513] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   78.431514] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   79.455512] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    

    但是目前还没有发现影响功能的地方。

    rk3399-firefly.dtb.zip

    你替换这个试试,下载,解压缩出来,根据你现在使用的名称修改,看看是不是有-150. 注意修改2个地方:/boot/armbianEnv.txt/boot/extlinux/extlinux.conf 这2个文件里的dtb名字

    这个 dtb 还是会不停的报,这个问题还是挺痛苦的,会导致 serial 无法很好的使用。

    [   35.487851] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   36.511916] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   37.535914] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   38.559849] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
    [   39.583835] rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1
              

    The commit ad6dcc5452706924c66012ca0bb582646d078465 which change name from firefly to firefly-rk3399 made the image can not boot. I make sure the previous commit can build the image which can boot, and the following can't.

    The UART output are

    SdmmcInit=2 1
    mmc0:cmd5,20
    SdmmcInit=0 0
    BootCapSize=0
    UserCapSize=29862MB
    FwPartOffset=0 , 0
    UsbBoot ...847574
    powerOn 859850
    Usb re Boot. 6859843
    Usb re Boot. 12859849
    Usb re Boot. 18859851
    SoftReset
    DDR Version 1.26 20210628
    soft reset
    Channel 0: DDR3, 800MHz
    Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
    Channel 1: DDR3, 800MHz
    Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
    256B stride
    ch 0 ddrconfig = 0x101, ddrsize = 0x20
    ch 1 ddrconfig = 0x101, ddrsize = 0x20
    pmugrf_os_reg[2] = 0x32817281, stride = 0x9
    Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
    CPUId = 0x0
    

    @ophub Can you check with this.

    目前,自行hack了openwrt官方snapshot,终于成功适配了firefly rk3399(没有 rk3x-i2c ff160000.i2c: timeout, ipd: 0x00, state: 1的问题,但wifi似乎ac频段无法使用),并参考其他机型的mmc sysupgrade,成功实现了保持分区表sysupgrade(目前官方rk3399的sysupgrade,每次升级,uboot、分区表都会被覆盖,并且更改分区表会导致sysupgrade失效)。。。目前正在考虑hack官方的sysupgrade,以增加uboot更新选项。。。
    附 sysupgrade过程及boot log:

    - watchdog -
    Watchdog does not have CARDRESET support
    Mon Nov 27 02:40:07 CST 2023 upgrade: Sending TERM to remaining processes ...
    Mon Nov 27 02:40:07 CST 2023 upgrade: Sending signal TERM to hostapd (1196)
    Mon Nov 27 02:40:07 CST 2023 upgrade: Sending signal TERM to hostapd (1242)
    [43829.644611] ieee80211 phy0: brcmf_cfg80211_stop_ap: SET SSID error (-110)
    [43829.645254] ieee80211 phy0: brcmf_cfg80211_stop_ap: BRCMF_C_DOWN error -110
    [43829.645884] ieee80211 phy0: brcmf_cfg80211_stop_ap: setting AP mode failed -110
    [43829.646548] ieee80211 phy0: brcmf_cfg80211_stop_ap: BRCMF_C_UP error -110
    [43829.647176] ieee80211 phy0: brcmf_set_mpc: fail to set mpc
    [43829.648604] br-lan: port 2(phy0-ap0) entered disabled state
    [43830.606485] br-lan: port 2(phy0-ap0) entered disabled state
    Mon Nov 27 02:40:11 CST 2023 upgrade: Sending KILL to remaining processes ...
    [43839.704449] stage2 (5487): drop_caches: 3
    Mon Nov 27 02:40:17 CST 2023 upgrade: Switching to ramdisk...
    [43841.608477] EXT4-fs (mmcblk1p1): unmounting filesystem.
    [43841.610253] EXT4-fs (mmcblk1p3): unmounting filesystem.
    Sun Nov 26 18:40:19 UTC 2023 upgrade: Performing system upgrade...
    flashing kernel to /dev/mmcblk1p1
    flashing rootfs to /dev/mmcblk1p2
    [43843.433990] loop0: detected capacity change from 0 to 2040960
    Format new rootfs_data at position 28770304.
    [43844.242830] F2FS-fs (loop0): Found nat_bits in checkpoint
    [43844.252420] F2FS-fs (loop0): Mounted with checkpoint version = 7b61248b
    Saving config to rootfs_data at position 28770304.
    umount: can't unmount /dev: Resource busy
    umount: can't unmount /tmp: Resource busy
    [43844.558887] xhci-hcd xhci-hcd.2.auto: remove, state 4
    [43844.559384] usb usb4: USB disconnect, device number 1
    [43844.560772] xhci-hcd xhci-hcd.2.auto: USB bus 4 deregistered
    [43844.561316] xhci-hcd xhci-hcd.2.auto: remove, state 4
    [43844.561782] usb usb3: USB disconnect, device number 1
    [43844.563521] xhci-hcd xhci-hcd.2.auto: USB bus 3 deregistered
    [43844.565170] xhci-hcd xhci-hcd.1.auto: remove, state 4
    [43844.565643] usb usb2: USB disconnect, device number 1
    [43844.566958] xhci-hcd xhci-hcd.1.auto: USB bus 2 deregistered
    [43844.567496] xhci-hcd xhci-hcd.1.auto: remove, state 4
    [43844.567962] usb usb1: USB disconnect, device number 1
    [43844.569666] xhci-hcd xhci-hcd.1.auto: USB bus 1 deregistered
    [43844.571201] reboot: Restarting system
    U-Boot TPL 2023.10-OpenWrt-r24448-d44c037a59 (Nov 21 2023 - 23:10:31)
    Channel 0: DDR3, 800MHz
    BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
    Channel 1: DDR3, 800MHz
    BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
    256B stride
    Trying to boot from BOOTROM
    Returning to boot ROM...
    U-Boot SPL 2023.10-OpenWrt-r24448-d44c037a59 (Nov 21 2023 - 23:10:31 +0000)
    Trying to boot from MMC2
    spl_load_fit_image: Skip load 'atf-5': image size is 0!
    U-Boot 2023.10-OpenWrt-r24448-d44c037a59 (Nov 21 2023 - 23:10:31 +0000)
    SoC: Rockchip rk3399
    Reset cause: RST
    Model: Firefly-RK3399 Board
    DRAM:  4 GiB (effective 3.9 GiB)
    PMIC:  RK808 
    Core:  281 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0
    Loading Environment from MMC... OK
    In:    serial@ff1a0000
    Out:   serial@ff1a0000
    Err:   serial@ff1a0000
    Model: Firefly-RK3399 Board
    Net:   eth0: ethernet@fe300000
    Hit any key to stop autoboot:  0 
    Card did not respond to voltage select! : -110
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot.scr
    521 bytes read in 10 ms (50.8 KiB/s)
    ## Executing script at 00500000
    4463360 bytes read in 433 ms (9.8 MiB/s)
    ## Loading kernel from FIT Image at 02080000 ...
       Using 'config-1' configuration
       Trying 'kernel-1' kernel subimage
         Description:  ARM64 OpenWrt Linux-6.1.63
         Type:         Kernel Image
         Compression:  lzma compressed
         Data Start:   0x020800e8
         Data Size:    4398772 Bytes = 4.2 MiB
         Architecture: AArch64
         OS:           Linux
         Load Address: 0x03200000
         Entry Point:  0x03200000
         Hash algo:    crc32
         Hash value:   feb36ad1
         Hash algo:    sha1
         Hash value:   0de8bdeda67da8002658aa0e731c049787a30198
       Verifying Hash Integrity ... crc32+ sha1+ OK
    ## Loading fdt from FIT Image at 02080000 ...
       Using 'config-1' configuration
       Trying 'fdt-1' fdt subimage
         Description:  ARM64 OpenWrt firefly_rk3399 device tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x024b20dc
         Data Size:    62686 Bytes = 61.2 KiB
         Architecture: AArch64
         Hash algo:    crc32
         Hash value:   6c42ebbb
         Hash algo:    sha1
         Hash value:   9f2bae19318ac9d783af0d395ef5e0a1df798af7
       Verifying Hash Integrity ... crc32+ sha1+ OK
       Booting using the fdt blob at 0x24b20dc
    Working FDT set to 24b20dc
       Uncompressing Kernel Image
       Loading Device Tree to 00000000f4ef0000, end 00000000f4f024dd ... OK
    Working FDT set to f4ef0000
    Starting kernel ...
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.63 (Wacke@HOME-Server) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r24529-32098554d9) 13.2.0, GNU ld (GNU Binutils) 2.41) #0 SMP PREEMPT Sun Nov 26 23:34:49 2023
    [    0.000000] Machine model: Firefly-RK3399 Board
    [    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
    [    0.000000] printk: bootconsole [uart8250] enabled
    [    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] On node 0, zone DMA: 512 pages in unavailable ranges
    [    0.000000] cma: Reserved 16 MiB at 0x00000000f6600000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 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.2
    [    0.000000] percpu: Embedded 18 pages/cpu s33640 r8192 d31896 u73728
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
    [    0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 root=PARTUUID=e2ad27ae-dfd2-8dd5-3e3a-6906644f1bfb rw rootwait
    [    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:off, heap free:off
    [    0.000000] Memory: 3949668K/4061184K available (8896K kernel code, 2406K rwdata, 2680K rodata, 1728K init, 722K bss, 95132K reserved, 16384K 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 10 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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    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.001897] Console: colour dummy device 80x25
    [    0.002375] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    0.003368] pid_max: default: 32768 minimum: 301
    [    0.004455] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.005187] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.007853] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    0.009326] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.010017] cblist_init_generic: Setting shift to 3 and lim to 1.
    [    0.010727] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.011416] cblist_init_generic: Setting shift to 3 and lim to 1.
    [    0.012273] rcu: Hierarchical SRCU implementation.
    [    0.012732] rcu:     Max phase no-delay instances is 1000.
    [    0.013598] Platform MSI: interrupt-controller@fee20000 domain created
    [    0.014642] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
    [    0.016218] smp: Bringing up secondary CPUs ...
    [    0.017344] Detected VIPT I-cache on CPU1
    [    0.017467] cacheinfo: Unable to detect cache hierarchy for CPU 1
    [    0.017485] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
    [    0.017505] GICv3: CPU1: using allocated LPI pending table @0x0000000000460000
    [    0.017562] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.018373] Detected VIPT I-cache on CPU2
    [    0.018483] cacheinfo: Unable to detect cache hierarchy for CPU 2
    [    0.018499] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
    [    0.018517] GICv3: CPU2: using allocated LPI pending table @0x0000000000470000
    [    0.018555] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.019254] Detected VIPT I-cache on CPU3
    [    0.019365] cacheinfo: Unable to detect cache hierarchy for CPU 3
    [    0.019380] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
    [    0.019397] GICv3: CPU3: using allocated LPI pending table @0x0000000000500000
    [    0.019433] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.020172] CPU features: detected: Spectre-v2
    [    0.020183] CPU features: detected: Spectre-v3a
    [    0.020192] CPU features: detected: Spectre-BHB
    [    0.020202] Detected PIPT I-cache on CPU4
    [    0.020309] cacheinfo: Unable to detect cache hierarchy for CPU 4
    [    0.020324] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
    [    0.020342] GICv3: CPU4: using allocated LPI pending table @0x0000000000510000
    [    0.020379] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
    [    0.021140] Detected PIPT I-cache on CPU5
    [    0.021234] cacheinfo: Unable to detect cache hierarchy for CPU 5
    [    0.021247] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
    [    0.021264] GICv3: CPU5: using allocated LPI pending table @0x0000000000520000
    [    0.021294] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
    [    0.021405] smp: Brought up 1 node, 6 CPUs
    [    0.037603] SMP: Total of 6 processors activated.
    [    0.038055] CPU features: detected: 32-bit EL0 Support
    [    0.038547] CPU features: detected: CRC32 instructions
    [    0.039178] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
    [    0.039976] CPU: All CPU(s) started at EL2
    [    0.040367] alternatives: applying system-wide alternatives
    [    0.058892] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.059874] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.061083] pinctrl core: initialized pinctrl subsystem
    [    0.062969] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.065133] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.066311] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.067443] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.069339] thermal_sys: Registered thermal governor 'step_wise'
    [    0.069348] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.069972] cpuidle: using governor menu
    [    0.071100] ASID allocator initialised with 65536 entries
    [    0.071720] Serial: AMBA PL011 UART driver
    [    0.101235] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
    [    0.102453] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
    [    0.103532] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
    [    0.104639] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
    [    0.105778] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
    [    0.112100] KASLR disabled due to lack of seed
    [    0.118486] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.119155] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.119772] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.120435] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.121049] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.121712] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.122339] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.123002] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.124628] cryptd: max_cpu_qlen set to 1000
    [    0.128303] iommu: Default domain type: Passthrough 
    [    0.129130] SCSI subsystem initialized
    [    0.129689] usbcore: registered new interface driver usbfs
    [    0.130271] usbcore: registered new interface driver hub
    [    0.130824] usbcore: registered new device driver usb
    [    0.131584] pps_core: LinuxPPS API ver. 1 registered
    [    0.133012] PTP clock support registered
    [    0.134993] clocksource: Switched to clocksource arch_sys_counter
    [    0.135905] VFS: Disk quotas dquot_6.6.0
    [    0.136351] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.140896] NET: Registered PF_INET protocol family
    [    0.141629] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.146741] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.147667] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.148438] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.149556] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.151549] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.152313] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.153107] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.154129] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.154735] PCI: CLS 0 bytes, default 64
    [    0.156714] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.163133] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.163711] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.166307] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.167193] io scheduler mq-deadline registered
    [    0.176992] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
    [    0.177711] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
    [    0.178566] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
    [    0.179910] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
    [    0.180544] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
    [    0.181175] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
    [    0.182119] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
    [    0.765049] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
    [    0.765733] rockchip-pcie: probe of f8000000.pcie failed with error -110
    [    0.767622] pwm-backlight backlight: supply power not found, using dummy regulator
    [    0.770719] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    0.771468] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
    [    0.773658] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    0.774405] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    0.777091] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.779153] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 35, base_baud = 1500000) is a 16550A
    [    0.780750] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A
    [    0.781785] printk: console [ttyS2] enabled
    [    0.781785] printk: console [ttyS2] enabled
    [    0.782567] printk: bootconsole [uart8250] disabled
    [    0.782567] printk: bootconsole [uart8250] disabled
    [    0.789030] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    0.793792] loop: module loaded
    [    0.794083] mtip32xx Version 1.3.1
    [    0.798551] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
    [    0.799144] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
    [    0.799794] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
    [    0.802511] dwc3 fe800000.usb: Configuration mismatch. dr_mode forced to host
    [    0.805823] usbcore: registered new interface driver usb-storage
    [    0.806595] i2c_dev: i2c /dev entries driver
    [    0.809863] rk808 0-001b: chip id: 0x0
    [    0.814049] rk808-regulator rk808-regulator: there is no dvs0 gpio
    [    0.814618] rk808-regulator rk808-regulator: there is no dvs1 gpio
    [    0.825237] rk808 0-001b: failed to register 12 regulator
    [    0.830385] rk808-rtc rk808-rtc: registered as rtc0
    [    0.831330] rk808-rtc rk808-rtc: setting system clock to 2023-11-26T18:40:37 UTC (1701024037)
    [    0.833317] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
    [    0.835545] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
    [    0.841777] dw_wdt ff848000.watchdog: No valid TOPs array specified
    [    0.844907] sdhci: Secure Digital Host Controller Interface driver
    [    0.845874] Synopsys Designware Multimedia Card Interface Driver
    [    0.846930] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.847695] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
    [    0.848033] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
    [    0.848357] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
    [    0.848987] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
    [    0.849537] dwmmc_rockchip fe310000.mmc: Version ID is 270a
    [    0.849551] mmc1: CQHCI version 5.10
    [    0.850149] dwmmc_rockchip fe320000.mmc: Version ID is 270a
    [    0.850706] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo
    [    0.850966] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 66,32 bit host data width,256 deep fifo
    [    0.851173] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.852421] usbcore: registered new interface driver usbhid
    [    0.853189] dwmmc_rockchip fe320000.mmc: Got CD GPIO
    [    0.853596] usbhid: USB HID core driver
    [    0.855510] NET: Registered PF_INET6 protocol family
    [    0.858342] Segment Routing with IPv6
    [    0.858714] In-situ OAM (IOAM) with IPv6
    [    0.859131] NET: Registered PF_PACKET protocol family
    [    0.859603] 8021q: 802.1Q VLAN Support v1.8
    [    0.867931] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
    [    0.875161] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
    [    0.918351] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
    [    0.918959] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
    [    0.919693] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
    [    0.920840] dwc3 fe800000.usb: Configuration mismatch. dr_mode forced to host
    [    0.934692] mmc1: Command Queue Engine enabled
    [    0.935136] mmc1: new HS400 Enhanced strobe MMC card at address 0001
    [    0.936440] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB 
    [    0.939543]  mmcblk1: p1 p2 p3
    [    0.940441] mmcblk1boot0: mmc1:0001 AJTD4R 4.00 MiB 
    [    0.941683] mmcblk1boot1: mmc1:0001 AJTD4R 4.00 MiB 
    [    0.942702] mmcblk1rpmb: mmc1:0001 AJTD4R 4.00 MiB, chardev (245:0)
    [    0.990193] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    0.990723] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [    0.991562] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
    [    0.992465] xhci-hcd xhci-hcd.1.auto: irq 73, io mem 0xfe800000
    [    0.993244] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    0.993745] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    0.994430] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [    0.995709] hub 1-0:1.0: USB hub found
    [    0.996081] hub 1-0:1.0: 1 port detected
    [    0.996885] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    0.998134] hub 2-0:1.0: USB hub found
    [    0.998502] hub 2-0:1.0: 1 port detected
    [    1.070057] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    1.070584] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
    [    1.071424] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
    [    1.072311] xhci-hcd xhci-hcd.2.auto: irq 74, io mem 0xfe900000
    [    1.073074] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    1.073589] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
    [    1.074275] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [    1.075555] hub 3-0:1.0: USB hub found
    [    1.075928] hub 3-0:1.0: 1 port detected
    [    1.076778] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    1.078018] hub 4-0:1.0: USB hub found
    [    1.078386] hub 4-0:1.0: 1 port detected
    [    1.080787] rk808-regulator rk808-regulator: there is no dvs0 gpio
    [    1.081375] rk808-regulator rk808-regulator: there is no dvs1 gpio
    [    1.082788] ehci-platform fe380000.usb: EHCI Host Controller
    [    1.082875] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
    [    1.083028] ehci-platform fe3c0000.usb: EHCI Host Controller
    [    1.083061] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 5
    [    1.083109] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
    [    1.083140] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 6
    [    1.083201] ehci-platform fe3c0000.usb: irq 45, io mem 0xfe3c0000
    [    1.083313] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 7
    [    1.083318] ohci-platform fe3e0000.usb: irq 47, io mem 0xfe3e0000
    [    1.083446] ehci-platform fe380000.usb: irq 44, io mem 0xfe380000
    [    1.083959] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 8
    [    1.089477] ohci-platform fe3a0000.usb: irq 46, io mem 0xfe3a0000
    [    1.092174] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
    [    1.105198] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
    [    1.107867] hub 5-0:1.0: USB hub found
    [    1.108436] hub 5-0:1.0: 1 port detected
    [    1.112164] cpu cpu0: EM: created perf domain
    [    1.114261] cpu cpu4: EM: created perf domain
    [    1.116031] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
    [    1.116677] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
    [    1.117261] dwmmc_rockchip fe310000.mmc: Version ID is 270a
    [    1.117774] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 65,32 bit host data width,256 deep fifo
    [    1.118899] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
    [    1.119050] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
    [    1.119415] mmc_host mmc0: card is non-removable.
    [    1.119988] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
    [    1.121051] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
    [    1.121697] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
    [    1.122315] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
    [    1.122813] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
    [    1.123314] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
    [    1.123876] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
    [    1.129417] rk_gmac-dwmac fe300000.ethernet: init for RGMII
    [    1.130269] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
    [    1.130900] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
    [    1.131360] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
    [    1.132012] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
    [    1.132666] rk_gmac-dwmac fe300000.ethernet: COE Type 2
    [    1.133124] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
    [    1.133320] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
    [    1.133739] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
    [    1.135124] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
    [    1.135179] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
    [    1.135643] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
    [    1.136695] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [    1.137218] hub 7-0:1.0: USB hub found
    [    1.137811] hub 7-0:1.0: 1 port detected
    [    1.149658] hub 6-0:1.0: USB hub found
    [    1.150017] hub 6-0:1.0: 1 port detected
    [    1.159387] hub 8-0:1.0: USB hub found
    [    1.159760] hub 8-0:1.0: 1 port detected
    [    1.246136] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
    [    1.247051] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [    1.252000] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
    [    1.253617] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
    [    1.255538] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
    [    1.256732] Freeing unused kernel memory: 1728K
    [    1.315327] Run /sbin/init as init process
    [    1.405305] usb 5-1: new high-speed USB device number 2 using ehci-platform
    [    1.453185] init: Console is alive
    [    1.453609] init: - watchdog -
    [    1.577400] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 189
    [    1.582254] mmc0: new ultra high speed SDR104 SDIO card at address 0001
    [    1.607377] hub 5-1:1.0: USB hub found
    [    1.607886] hub 5-1:1.0: 7 ports detected
    [    1.762973] kmodloader: loading kernel modules from /etc/modules-boot.d/*
    [    1.776009] raid6: skipped pq benchmark and selected neonx8
    [    1.776504] raid6: using neon recovery algorithm
    [    1.780410] xor: measuring software checksum speed
    [    1.781964]    8regs           :  8736 MB/sec
    [    1.783396]    32regs          :  9362 MB/sec
    [    1.785110]    arm64_neon      :  7499 MB/sec
    [    1.785492] xor: using function: 32regs (9362 MB/sec)
    [    1.833435] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
    [    1.837239] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
    [    1.842876] init: - preinit -
    [    2.129163] random: jshn: uninitialized urandom read (4 bytes read)
    [    2.168442] random: jshn: uninitialized urandom read (4 bytes read)
    [    3.677818] random: procd: uninitialized urandom read (4 bytes read)
    [    8.184986] random: crng init done
    [    8.236690] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
    [    8.239707] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
    [    8.240638] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
    [    8.241319] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
    [    8.242614] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [   10.424428] mount_root: loading kmods from internal overlay
    [   10.432874] kmodloader: loading kernel modules from //etc/modules-boot.d/*
    [   10.435575] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
    [   10.528444] block: attempting to load /tmp/overlay/upper/etc/config/fstab
    [   10.529148] block: unable to load configuration (fstab: Entry not found)
    [   10.529794] block: attempting to load /tmp/overlay/etc/config/fstab
    [   10.530417] block: unable to load configuration (fstab: Entry not found)
    [   10.531060] block: attempting to load /etc/config/fstab
    [   10.532546] block: unable to load configuration (fstab: Entry not found)
    [   10.533193] block: no usable configuration
    [   10.533730] block: attempting to load /etc/config/fstab
    [   10.534259] block: unable to load configuration (fstab: Entry not found)
    [   10.534900] block: no usable configuration
    [   10.536264] loop0: detected capacity change from 0 to 2097152
    [   10.575194] loop0: detected capacity change from 2097152 to 2040960
    [   10.588363] F2FS-fs (loop0): Found nat_bits in checkpoint
    [   10.611917] F2FS-fs (loop0): Mounted with checkpoint version = 7b61248f
    [   10.641105] block: attempting to load /tmp/overlay/upper/etc/config/fstab
    [   10.641789] block: unable to load configuration (fstab: Entry not found)
    [   10.642424] block: attempting to load /tmp/overlay/etc/config/fstab
    [   10.643059] block: unable to load configuration (fstab: Entry not found)
    [   10.643693] block: attempting to load /etc/config/fstab
    [   10.644212] block: unable to load configuration (fstab: Entry not found)
    [   10.644844] block: no usable configuration
    [   10.645399] block: attempting to load /etc/config/fstab
    [   10.645945] block: unable to load configuration (fstab: Entry not found)
    [   10.646598] block: no usable configuration
    [   10.648039] mount_root: overlay filesystem has not been fully initialized yet
    [   10.649696] mount_root: switching to f2fs overlay
    - config restore -
    [   11.006798] urandom-seed: Seed file not found (/etc/urandom.seed)
    Scanning for Btrfs filesystems
    [   11.175190] procd: - early -
    [   11.175571] procd: - watchdog -
    [   11.430951] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
    [   11.528310] EXT4-fs (mmcblk1p1): mounted filesystem without journal. Quota mode: none.
    [   11.743332] procd: - watchdog -
    [   11.743917] procd: - ubus -
    [   11.898666] procd: - init -
    Please press Enter to activate this console.
    [   12.236596] kmodloader: loading kernel modules from /etc/modules.d/*
    [   12.297835] NET: Registered PF_ALG protocol family
    [   12.298130] urngd: v1.0.2 started.
    [   12.304871] async_tx: api initialized (async)
    [   12.319590] cryptodev: driver 1.12 loaded.
    [   12.324754] Loading modules backported from Linux version v6.5-0-g2dde18cd1d8f
    [   12.325399] Backport generated by backports.git v5.15.92-1-56-g5fb2ccb6b9e8
    [   12.344526] xt_time: kernel timezone is -0000
    [   12.368073] PPP generic driver version 2.4.2
    [   12.368930] NET: Registered PF_PPPOX protocol family
    [   12.378707] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
    [   12.380050] usbcore: registered new interface driver brcmfmac
    [   12.396858] kmodloader: done loading kernel modules from /etc/modules.d/*
    [   12.573823] 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
    [   17.145584] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
    [   17.148070] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
    [   17.149005] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
    [   17.149683] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
    [   17.150287] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
    [   17.152199] br-lan: port 1(eth0) entered blocking state
    [   17.152676] br-lan: port 1(eth0) entered disabled state
    [   17.153482] device eth0 entered promiscuous mode
    [   18.656855] brcmfmac mmc0:0001:1 phy0-ap0: renamed from wlan0
    [   18.755870] br-lan: port 2(phy0-ap0) entered blocking state
    [   18.756367] br-lan: port 2(phy0-ap0) entered disabled state
    [   18.756981] device phy0-ap0 entered promiscuous mode
    [   20.459423] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
    [   20.460269] br-lan: port 2(phy0-ap0) entered blocking state
    [   20.460783] br-lan: port 2(phy0-ap0) entered forwarding state
    [   20.461885] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
    [   21.276416] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   21.277262] br-lan: port 1(eth0) entered blocking state
    [   21.277744] br-lan: port 1(eth0) entered forwarding state
    

    感兴趣的朋友,可以加Q:120634404交流。。。。