admin管理员组

文章数量:1419223

I'm rebuilding the kernel (5.10.204) to run on the aio-3588jq board under the rk3588 processor.

After loading the cfg80211 certificate (cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'), there is no output. I don't understand why..

When connecting the monitor, at the beginning of the kernel boot, a picture with the logo appears on the monitor, but then it disappears, because the power on the monitor interface is lost (But I don't really need a monitor).

My assumptions are related to the error -517 and the inability to set the required frequency:

reg-fixed-voltage pcie30-avdd1v8: Failed to register regulator: -517
reg-fixed-voltage pcie30-avdd0v75: Failed to register regulator: -517
/phy@fed90000: Failed to get clk index: 3 ret: -517
firefly-gpio: -517 is invalid
mali fb000000.gpu: Power control initialization failed error = -517
rockchip-dmc dmc: leakage=33
rockchip-dmc dmc: leakage-volt-sel=1
rockchip-dmc dmc: avs=0
rockchip-dmc dmc: current ATF version 0x100
rockchip-dmc dmc: there is no available frequencies!
rockchip-dmc dmc: cannot get frequency info
rockchip-dmc: probe of dmc failed with error -1

Preloader log part:

LPDDR4, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
Manufacturer ID:0xff
CH0 RX Vref:36.1%, TX Vref:13.2%,0.0%
CH1 RX Vref:36.5%, TX Vref:13.2%,0.0%
CH2 RX Vref:36.1%, TX Vref:13.2%,0.0%
CH3 RX Vref:39.0%, TX Vref:13.2%,0.0%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-ge4e124926e-230922 #lxh (Sep 25 2023 - 10:58:38), fwver: v1.13
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
No misc partition
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(bb1bbbc832...) + OK
## Checking uboot 0x00200000 ... sha256(9297a9c289...) + OK
## Checking fdt 0x0035c3a8 ... sha256(44393fe7a6...) + OK
## Checking atf-2 0x000f0000 ... sha256(30812190d0...) + OK
## Checking atf-3 0xff100000 ... sha256(cb7bdbec2b...) + OK
## Checking optee 0x08400000 ... sha256(fde0860845...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 243.821/386.872 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-499-ge63a16361:derrick.huang
NOTICE:  BL31: Built : 10:58:38, Jan 10 2023
INFO:    spec: 0xa
INFO:    ext 32k is not valid
INFO:    ddr: stride-en 4CH
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO:    system boots from cpu-hwid-0
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
ERROR:   dfs get fsp_params[0] error, 0xfead0004 != 0xfead0001
ERROR:   dfs get fsp_params[1] error, 0x0 != 0xfead0001
ERROR:   dfs get fsp_params[2] error, 0x0 != 0xfead0001
ERROR:   dfs get fsp_params[3] error, 0x564 != 0xfead0001
ERROR:   loader&trust unmatch!!! Please update trust if need enable dmc
INFO:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INFO:    hdmirx_handler: dma not on, ret
I/TC: 
I/TC: OP-TEE version: 3.13.0-652-g4542e1efd #derrick.huang (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #5 2022年 09月 20日  4
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9

UBOOT log part:

U-Boot 2017.09(u-boot commit id: caaf468b)(sdk version: .xml) (Jan 16 2025 - 01:01:30 +0300)

Model: Rockchip RK3588 Evaluation Board
PreSerial: 2, raw, 0xfeb50000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: eda1b000
Relocation fdt: eb9fa078 - eb9fecd0
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
No misc partition
boot mode: None
reading rk-kernel.dtb
169056 bytes read in 16 ms (10.1 MiB/s)
DTB(Distro): rk-kernel.dtb
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 675000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 675000 uV
I2c1 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 712500 uV
spi2: RK806: 2
ON=0x00, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
I2c6 speed: 400000Hz
Firefly fixed_regulator_set_enable: dev='vcc-hub-reset-regulator', enable=1, delay=0, has_gpio=1
Firefly fixed_regulator_set_enable: dev='vcc-sdcard-pwr-en-regulator', enable=1, delay=0, has_gpio=1
get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts
get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts
get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts
get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts
Device 'gpio@fec20000': seq 1 is in use by 'gpio@21'
Could not find baseparameter partition
Model: Firefly AIO-3588Q MIPI101(Linux)
No resource partition
No file: logo.bmp
reading logo.bmp
FAT: Misaligned buffer address (00000000ebca1fe0)
512 bytes read in 2 ms (250 KiB/s)
logo(Distro): logo.bmp
reading logo.bmp
751554 bytes read in 61 ms (11.7 MiB/s)
logo(Distro): logo.bmp
Rockchip UBOOT DRM driver version: v1.0.1
vp0 have layer nr:2[0 2 ], primary plane: 2
vp1 have layer nr:2[1 3 ], primary plane: 3
vp2 have layer nr:2[6 8 ], primary plane: 8
vp3 have layer nr:2[7 9 ], primary plane: 9
Using display timing dts
dsi@fde20000:  detailed mode clock 72600 kHz, flags[a]
    H: 0800 0832 0846 0872
    V: 1280 1360 1368 1388
bus_format: 100e
VOP update mode to: 800x1280p60, type: MIPI0 for VP3
[list]p_rate=1188000000, best_rate=69882352, div=17, sel=0
[list]p_rate=1500000000, best_rate=71428571, div=21, sel=1
[list]p_rate=0, best_rate=71428571, div=21, sel=1
[list]p_rate=786431991, best_rate=71493817, div=11, sel=3
[result]p_rate=786431991, best_rate=71493817, div=11, sel=3
VP3 set crtc_clock to 71493KHz
VOP VP3 enable Esmart3[500x501->500x501@150x389] fmt[1] addr[0xedfb8000]
final DSI-Link bandwidth: 476620 Kbps x 4
command interface is busy: 0x10001
[Firefly]-[rockchip_panel_send_dsi_cmds]-[265]:  read 4 = 0
[Firefly]-[rockchip_panel_send_dsi_cmds]-[270]: Not Found ID = 83 MIPI!
failed to write/read cmd0: -999
failed to send on cmds: -999
hdmi@fde80000 disconnected
dp@fde60000:  detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 100a
VOP update mode to: 1920x1080p60, type: DP1 for VP2
VP2 set crtc_clock to 148500KHz
VOP VP2 enable Esmart2[500x501->500x501@710x289] fmt[1] addr[0xedfb8000]
training link: 2 lanes at 2700 MHz
clock recovery succeeded
channel equalization succeeded
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 742500 KHz
  aupll 786431 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 850000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 594000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
No misc partition
Net:   Device 'gpio@fec40000': seq 3 is in use by 'gpio@fec20000'
eth0: ethernet@fe1b0000, eth1: ethernet@fe1c0000
Hit key to stop autoboot('CTRL+C'):  0 
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
No valid android hdr
Android image load failed
Android boot failed, error -1.
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
Unknown command 'bootrkp' - try 'help'
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
232 bytes read in 2 ms (113.3 KiB/s)
FIREFLY: use /rk-kernel.dtb
<~~~~~~~> KIOS SYSTEM <~~~~~~~>
1:      kios
Enter choice: 1:        kios
Retrieving file: /rootfs.cpio.lz4
reading /rootfs.cpio.lz4
9233322 bytes read in 736 ms (12 MiB/s)
Retrieving file: /Image
reading /Image
39713280 bytes read in 3156 ms (12 MiB/s)
append: ignore_loglevel log_buf_len=16M
Retrieving file: /rk-kernel.dtb
reading /rk-kernel.dtb
169056 bytes read in 16 ms (10.1 MiB/s)
Fdt Ramdisk skip relocation
No misc partition
## Flattened Device Tree blob at 0x08300000
   Booting using the fdt blob at 0x08300000
  'reserved-memory' cma: addr=10000000 size=10000000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000832c45f
No resource partition
No file: logo_kernel.bmp
reading logo_kernel.bmp
FAT: Misaligned buffer address (00000000ebcadd50)
512 bytes read in 2 ms (250 KiB/s)
logo(Distro): logo_kernel.bmp
reading logo_kernel.bmp
127818 bytes read in 12 ms (10.2 MiB/s)
logo(Distro): logo_kernel.bmp
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 7708.55 ms

Kenel log part:

Starting kernel ...

Booting Linux on physical CPU 0x0000000000 [0x412fd050]
Linux version 5.10.204 (kotlyarevskiy@Russia) (aarch64-linux-gcc.br_real (Buildroot kios_system_v01.1_1-11-gcaaf468b-dirty) 13.2.0, GNU ld (GNU Binutils) 2.41) #193 SM5
Machine model: Firefly AIO-3588Q MIPI101(Linux)
efi: UEFI not found.
OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB
OF: reserved mem: initialized node cma, compatible id shared-dma-pool
Zone ranges:
  DMA      [mem 0x0000000000200000-0x00000000ffffffff]
  DMA32    empty
  Normal   [mem 0x0000000100000000-0x00000001ffffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000200000-0x00000000083fffff]
  node   0: [mem 0x0000000009400000-0x00000000efffffff]
  node   0: [mem 0x00000001f0000000-0x00000001ffffffff]
Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
On node 0 totalpages: 1043968
  DMA zone: 15288 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 978432 pages, LIFO batch:63
  Normal zone: 1024 pages used for memmap
  Normal zone: 65536 pages, LIFO batch:15
psci: probing for conduit method from DT.
psci: PSCIv1.1 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: Trusted OS migration not required
psci: SMC Calling Convention v1.2
percpu: Embedded 31 pages/cpu s89128 r8192 d29656 u126976
pcpu-alloc: s89128 r8192 d29656 u126976 alloc=31*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
Detected VIPT I-cache on CPU0
CPU features: detected: GIC system register CPU interface
CPU features: detected: Virtualization Host Extensions
CPU features: detected: ARM errata 1165522, 1319367, or 1530923
alternatives: patching kernel code
Built 1 zonelists, mobility grouping on.  Total pages: 1027656
Kernel command line: ignore_loglevel log_buf_len=16M ro rootwait earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 root=PARTLABEL=rootfs r1
printk: log_buf_len: 16777216 bytes
printk: early log buf free: 257776(98%)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
mem auto-init: stack:all(zero), heap alloc:off, heap free:off
software IO TLB: mapped [mem 0x00000000e9f00000-0x00000000edf00000] (64MB)
Memory: 3625248K/4175872K available (21440K kernel code, 3646K rwdata, 6460K rodata, 7104K init, 634K bss, 288480K reserved, 262144K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
ftrace: allocating 64879 entries in 254 pages
ftrace: allocated 254 pages with 7 groups
rcu: Hierarchical RCU implementation.
rcu:     RCU event tracing is enabled.
 Rude variant of Tasks RCU enabled.
 Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
GICv3: GIC: Using split EOI/Deactivate mode
GICv3: 480 SPIs implemented
GICv3: 0 Extended SPIs implemented
GICv3: Distributor has no Range Selector support
GICv3: 16 PPIs implemented
GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000
ITS [mem 0xfe640000-0xfe65ffff]
ITS@0x00000000fe640000: allocated 8192 Devices @1f0210000 (indirect, esz 8, psz 64K, shr 0)
ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @1f0220000 (flat, esz 2, psz 64K, shr 0)
ITS: using cache flushing for cmd queue
ITS [mem 0xfe660000-0xfe67ffff]
ITS@0x00000000fe660000: allocated 8192 Devices @1f0240000 (indirect, esz 8, psz 64K, shr 0)
ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @1f0250000 (flat, esz 2, psz 64K, shr 0)
ITS: using cache flushing for cmd queue
GICv3: using LPI property table @0x00000001f0260000
GIC: using cache flushing for LPI property table
GICv3: CPU0: using allocated LPI pending table @0x00000001f0270000
arch_timer: cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
rcu: Hierarchical SRCU implementation.
Platform MSI: msi-controller@fe640000 domain created
Platform MSI: msi-controller@fe660000 domain created
PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe640000 domain created
PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe660000 domain created
EFI services will not be available.
smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
Detected VIPT I-cache on CPU1
GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
GICv3: CPU1: using allocated LPI pending table @0x00000001f0280000
CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
Detected VIPT I-cache on CPU2
GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
GICv3: CPU2: using allocated LPI pending table @0x00000001f0290000
CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
Detected VIPT I-cache on CPU3
GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
GICv3: CPU3: using allocated LPI pending table @0x00000001f02a0000
CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
CPU features: detected: Spectre-v4
CPU features: detected: Spectre-BHB
Detected PIPT I-cache on CPU4
GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
GICv3: CPU4: using allocated LPI pending table @0x00000001f02b0000
CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
Detected PIPT I-cache on CPU5
GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
GICv3: CPU5: using allocated LPI pending table @0x00000001f02c0000
CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
Detected PIPT I-cache on CPU6
GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
GICv3: CPU6: using allocated LPI pending table @0x00000001f02d0000
CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
Detected PIPT I-cache on CPU7
GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
GICv3: CPU7: using allocated LPI pending table @0x00000001f02e0000
CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
smp: Brought up 1 node, 8 CPUs
SMP: Total of 8 processors activated.
CPU features: detected: Privileged Access Never
CPU features: detected: User Access Override
CPU features: detected: 32-bit EL0 Support
CPU features: detected: Common not Private translations
CPU features: detected: RAS Extension Support
CPU features: detected: Data cache clean to the PoU not required for I/D coherence
CPU features: detected: CRC32 instructions
CPU features: detected: Speculative Store Bypassing Safe (SSBS)
CPU features: detected: RCpc load-acquire (LDAPR)
CPU: All CPU(s) started at EL2
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
DMI not present or invalid.
NET: Registered protocol family 16
DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.086:1): state=initialized audit_enabled=0 res=1
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
thermal_sys: Registered thermal governor 'user_space'
thermal_sys: Registered thermal governor 'power_allocator'
thermal thermal_zone1: power_allocator: sustainable_power will be estimated
thermal thermal_zone2: power_allocator: sustainable_power will be estimated
thermal thermal_zone3: power_allocator: sustainable_power will be estimated
thermal thermal_zone4: power_allocator: sustainable_power will be estimated
thermal thermal_zone5: power_allocator: sustainable_power will be estimated
thermal thermal_zone6: power_allocator: sustainable_power will be estimated
cpuidle: using governor menu

...

********************************************************************
**     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
**                                                                **
**  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
**                                                                **
** This means that this kernel is built to expose clk operations  **
** such as parent or rate setting, enabling, disabling, etc.      **
** to userspace, which may compromise security on your system.    **
**                                                                **
** If you see this message and you are not debugging the          **
** kernel, report this immediately to your vendor!                **
**                                                                **
**     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
********************************************************************
mmc0: Host Software Queue enabled
mmc0: new HS400 Enhanced strobe MMC card at address 0001
mmcblk0: mmc0:0001 EXA    29.0 GiB 
mmcblk0boot0: mmc0:0001 EXA    partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 EXA    partition 2 4.00 MiB
mmcblk0rpmb: mmc0:0001 EXA    partition 3 4.00 MiB, chardev (235:0)
vcc5v0_host: supplied by vcc5v0_usb
vcc5v0_host3: supplied by vcc5v0_usb
 mmcblk0: p1 p2 p3 p4 p5 p6 p7
vcc_sata_pwr_en: supplied by vcc12v_dcin
pcie30_avdd1v8: supplied by avcc_1v8_s0
pcie30_avdd0v75: supplied by avdd_0v75_s0
rk-pcie fe170000.pcie: PCIe Link up, LTSSM is 0x30011
rk-pcie fe170000.pcie: PCI host bridge to bus 0002:20
pci_bus 0002:20: root bus resource [bus 20-2f]
pci_bus 0002:20: root bus resource [??? 0xf2000000-0xf20fffff flags 0x0]
pci_bus 0002:20: root bus resource [io  0x0000-0xfffff] (bus address [0xf2100000-0xf21fffff])
pci_bus 0002:20: root bus resource [mem 0xf2200000-0xf2ffffff]
pci_bus 0002:20: root bus resource [mem 0x980000000-0x9bfffffff pref]
pci 0002:20:00.0: [1d87:3588] type 01 class 0x060400
pci 0002:20:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
pci 0002:20:00.0: supports D1 D2
pci 0002:20:00.0: PME# supported from D0 D1 D3hot
pci 0002:20:00.0: Primary bus is hard wired to 0
pci 0002:20:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
pci 0002:21:00.0: [14e4:449d] type 00 class 0x028000
pci 0002:21:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
panel-simple-dsi fde20000.dsi.0: supply power not found, using dummy regulator
pci 0002:21:00.0: reg 0x18: [mem 0x00000000-0x003fffff 64bit]
pci 0002:21:00.0: supports D1 D2
pci 0002:21:00.0: PME# supported from D0 D1 D2 D3hot D3cold
mali fb000000.gpu: Kernel DDK version g15p0-01eac0
mali fb000000.gpu: bin=2
mali fb000000.gpu: leakage=14
debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
mali fb000000.gpu: pvtm=896
mali fb000000.gpu: pvtm-volt-sel=4
mali fb000000.gpu: avs=0
ehci-platform fc800000.usb: EHCI Host Controller
W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 136; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
ehci-platform fc800000.usb: new USB bus registered, assigned bus number 3
ehci-platform fc800000.usb: irq 20, io mem 0xfc800000
pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21
pci 0002:20:00.0: BAR 8: assigned [mem 0xf2200000-0xf27fffff]
pci 0002:20:00.0: BAR 6: assigned [mem 0xf2800000-0xf280ffff pref]
pci 0002:21:00.0: BAR 2: assigned [mem 0xf2400000-0xf27fffff 64bit]
pci 0002:21:00.0: BAR 0: assigned [mem 0xf2200000-0xf220ffff 64bit]
pci 0002:20:00.0: PCI bridge to [bus 21]
pci 0002:20:00.0:   bridge window [mem 0xf2200000-0xf27fffff]
mali fb000000.gpu: GPU hardware issue table may need updating:
r0p0 status 5 is unknown; treating as r0p0 status 0
mali fb000000.gpu: GPU identified as 0x7 arch 10.8.6 r0p0 status 0
pcieport 0002:20:00.0: PME: Signaling with IRQ 149
mali fb000000.gpu: No priority control manager is configured
mali fb000000.gpu: No memory group manager is configured
mali fb000000.gpu: Protected memory allocator not available
ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
vendor storage:20190527 ret = 0
mali fb000000.gpu: Capping CSF_FIRMWARE_TIMEOUT to CSF_FIRMWARE_PING_TIMEOUT
usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
mali fb000000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model'
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*[0]
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*[0]
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: EHCI Host Controller
usb usb3: Manufacturer: Linux 5.10.204 ehci_hcd
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*[0]
usb usb3: SerialNumber: fc800000.usb
hub 3-0:1.0: USB hub found
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = ''
hub 3-0:1.0: 1 port detected
mali fb000000.gpu: Using configured power model mali-lodx-power-model, and fallback mali-simple-power-model
mali fb000000.gpu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
mali fb000000.gpu: Probed as mali0
ehci-platform fc880000.usb: EHCI Host Controller
ehci-platform fc880000.usb: new USB bus registered, assigned bus number 4
ehci-platform fc880000.usb: irq 22, io mem 0xfc880000
ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: EHCI Host Controller
usb usb4: Manufacturer: Linux 5.10.204 ehci_hcd
usb usb4: SerialNumber: fc880000.usb
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-platform fc840000.usb: Generic Platform OHCI controller
ohci-platform fc840000.usb: new USB bus registered, assigned bus number 5
ohci-platform fc840000.usb: irq 21, io mem 0xfc840000
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: Generic Platform OHCI controller
usb usb5: Manufacturer: Linux 5.10.204 ohci_hcd
usb usb5: SerialNumber: fc840000.usb
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
ohci-platform fc8c0000.usb: Generic Platform OHCI controller
ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 6
ohci-platform fc8c0000.usb: irq 23, io mem 0xfc8c0000
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: Generic Platform OHCI controller
usb usb6: Manufacturer: Linux 5.10.204 ohci_hcd
usb usb6: SerialNumber: fc8c0000.usb
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
rockchip-dmc dmc: leakage=33
rockchip-dmc dmc: leakage-volt-sel=1
rockchip-dmc dmc: avs=0
rockchip-dmc dmc: current ATF version 0x100
rockchip-dmc dmc: there is no available frequencies!
rockchip-dmc dmc: cannot get frequency info
rockchip-dmc: probe of dmc failed with error -1
rkcif rkcif-mipi-lvds2: clear unready subdev num: 1
rockchip-csi2-dphy0: No link between dphy and sensor
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: Async subdev notifier completed
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP
pc9202: sw2001_read(0x1) return 0x1
status=0x1
====== i2c detect success watchdog init ======
pc9202_wdt_probe(): wd_en_gpio: -2 is invalid
dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 81,32 bit host data width,256 deep fifo
RKNPU fdab0000.npu: Adding to iommu group 0
iommu: Failed to allocate default IOMMU domain of type 4 for group (null) - Falling back to IOMMU_DOMAIN_DMA
RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[drm] Initialized rknpu 0.8.2 20220829 for fdab0000.npu on minor 0
RKNPU fdab0000.npu: bin=2
RKNPU fdab0000.npu: leakage=8
debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
RKNPU fdab0000.npu: pvtm=897
RKNPU fdab0000.npu: pvtm-volt-sel=4
RKNPU fdab0000.npu: avs=0
RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
RKNPU fdab0000.npu: failed to find power_model node
RKNPU fdab0000.npu: RKNPU: failed to initialize power model
RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'


I tried to turn off the peripherals.. this kills all errors (and -517), but beyond the current location: cfg80211: Loaded X.509 cer 'sforshee: 00b28ddf47aef9cea7' the case does not continue..

I'm rebuilding the kernel (5.10.204) to run on the aio-3588jq board under the rk3588 processor.

After loading the cfg80211 certificate (cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'), there is no output. I don't understand why..

When connecting the monitor, at the beginning of the kernel boot, a picture with the logo appears on the monitor, but then it disappears, because the power on the monitor interface is lost (But I don't really need a monitor).

My assumptions are related to the error -517 and the inability to set the required frequency:

reg-fixed-voltage pcie30-avdd1v8: Failed to register regulator: -517
reg-fixed-voltage pcie30-avdd0v75: Failed to register regulator: -517
/phy@fed90000: Failed to get clk index: 3 ret: -517
firefly-gpio: -517 is invalid
mali fb000000.gpu: Power control initialization failed error = -517
rockchip-dmc dmc: leakage=33
rockchip-dmc dmc: leakage-volt-sel=1
rockchip-dmc dmc: avs=0
rockchip-dmc dmc: current ATF version 0x100
rockchip-dmc dmc: there is no available frequencies!
rockchip-dmc dmc: cannot get frequency info
rockchip-dmc: probe of dmc failed with error -1

Preloader log part:

LPDDR4, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
Manufacturer ID:0xff
CH0 RX Vref:36.1%, TX Vref:13.2%,0.0%
CH1 RX Vref:36.5%, TX Vref:13.2%,0.0%
CH2 RX Vref:36.1%, TX Vref:13.2%,0.0%
CH3 RX Vref:39.0%, TX Vref:13.2%,0.0%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-ge4e124926e-230922 #lxh (Sep 25 2023 - 10:58:38), fwver: v1.13
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
No misc partition
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(bb1bbbc832...) + OK
## Checking uboot 0x00200000 ... sha256(9297a9c289...) + OK
## Checking fdt 0x0035c3a8 ... sha256(44393fe7a6...) + OK
## Checking atf-2 0x000f0000 ... sha256(30812190d0...) + OK
## Checking atf-3 0xff100000 ... sha256(cb7bdbec2b...) + OK
## Checking optee 0x08400000 ... sha256(fde0860845...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 243.821/386.872 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-499-ge63a16361:derrick.huang
NOTICE:  BL31: Built : 10:58:38, Jan 10 2023
INFO:    spec: 0xa
INFO:    ext 32k is not valid
INFO:    ddr: stride-en 4CH
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO:    system boots from cpu-hwid-0
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
ERROR:   dfs get fsp_params[0] error, 0xfead0004 != 0xfead0001
ERROR:   dfs get fsp_params[1] error, 0x0 != 0xfead0001
ERROR:   dfs get fsp_params[2] error, 0x0 != 0xfead0001
ERROR:   dfs get fsp_params[3] error, 0x564 != 0xfead0001
ERROR:   loader&trust unmatch!!! Please update trust if need enable dmc
INFO:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INFO:    hdmirx_handler: dma not on, ret
I/TC: 
I/TC: OP-TEE version: 3.13.0-652-g4542e1efd #derrick.huang (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #5 2022年 09月 20日  4
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9

UBOOT log part:

U-Boot 2017.09(u-boot commit id: caaf468b)(sdk version: .xml) (Jan 16 2025 - 01:01:30 +0300)

Model: Rockchip RK3588 Evaluation Board
PreSerial: 2, raw, 0xfeb50000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: eda1b000
Relocation fdt: eb9fa078 - eb9fecd0
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
No misc partition
boot mode: None
reading rk-kernel.dtb
169056 bytes read in 16 ms (10.1 MiB/s)
DTB(Distro): rk-kernel.dtb
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 675000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 675000 uV
I2c1 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 712500 uV
spi2: RK806: 2
ON=0x00, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
I2c6 speed: 400000Hz
Firefly fixed_regulator_set_enable: dev='vcc-hub-reset-regulator', enable=1, delay=0, has_gpio=1
Firefly fixed_regulator_set_enable: dev='vcc-sdcard-pwr-en-regulator', enable=1, delay=0, has_gpio=1
get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts
get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts
get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts
get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts
Device 'gpio@fec20000': seq 1 is in use by 'gpio@21'
Could not find baseparameter partition
Model: Firefly AIO-3588Q MIPI101(Linux)
No resource partition
No file: logo.bmp
reading logo.bmp
FAT: Misaligned buffer address (00000000ebca1fe0)
512 bytes read in 2 ms (250 KiB/s)
logo(Distro): logo.bmp
reading logo.bmp
751554 bytes read in 61 ms (11.7 MiB/s)
logo(Distro): logo.bmp
Rockchip UBOOT DRM driver version: v1.0.1
vp0 have layer nr:2[0 2 ], primary plane: 2
vp1 have layer nr:2[1 3 ], primary plane: 3
vp2 have layer nr:2[6 8 ], primary plane: 8
vp3 have layer nr:2[7 9 ], primary plane: 9
Using display timing dts
dsi@fde20000:  detailed mode clock 72600 kHz, flags[a]
    H: 0800 0832 0846 0872
    V: 1280 1360 1368 1388
bus_format: 100e
VOP update mode to: 800x1280p60, type: MIPI0 for VP3
[list]p_rate=1188000000, best_rate=69882352, div=17, sel=0
[list]p_rate=1500000000, best_rate=71428571, div=21, sel=1
[list]p_rate=0, best_rate=71428571, div=21, sel=1
[list]p_rate=786431991, best_rate=71493817, div=11, sel=3
[result]p_rate=786431991, best_rate=71493817, div=11, sel=3
VP3 set crtc_clock to 71493KHz
VOP VP3 enable Esmart3[500x501->500x501@150x389] fmt[1] addr[0xedfb8000]
final DSI-Link bandwidth: 476620 Kbps x 4
command interface is busy: 0x10001
[Firefly]-[rockchip_panel_send_dsi_cmds]-[265]:  read 4 = 0
[Firefly]-[rockchip_panel_send_dsi_cmds]-[270]: Not Found ID = 83 MIPI!
failed to write/read cmd0: -999
failed to send on cmds: -999
hdmi@fde80000 disconnected
dp@fde60000:  detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 100a
VOP update mode to: 1920x1080p60, type: DP1 for VP2
VP2 set crtc_clock to 148500KHz
VOP VP2 enable Esmart2[500x501->500x501@710x289] fmt[1] addr[0xedfb8000]
training link: 2 lanes at 2700 MHz
clock recovery succeeded
channel equalization succeeded
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 742500 KHz
  aupll 786431 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 850000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 594000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
No misc partition
Net:   Device 'gpio@fec40000': seq 3 is in use by 'gpio@fec20000'
eth0: ethernet@fe1b0000, eth1: ethernet@fe1c0000
Hit key to stop autoboot('CTRL+C'):  0 
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
No valid android hdr
Android image load failed
Android boot failed, error -1.
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
Unknown command 'bootrkp' - try 'help'
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
232 bytes read in 2 ms (113.3 KiB/s)
FIREFLY: use /rk-kernel.dtb
<~~~~~~~> KIOS SYSTEM <~~~~~~~>
1:      kios
Enter choice: 1:        kios
Retrieving file: /rootfs.cpio.lz4
reading /rootfs.cpio.lz4
9233322 bytes read in 736 ms (12 MiB/s)
Retrieving file: /Image
reading /Image
39713280 bytes read in 3156 ms (12 MiB/s)
append: ignore_loglevel log_buf_len=16M
Retrieving file: /rk-kernel.dtb
reading /rk-kernel.dtb
169056 bytes read in 16 ms (10.1 MiB/s)
Fdt Ramdisk skip relocation
No misc partition
## Flattened Device Tree blob at 0x08300000
   Booting using the fdt blob at 0x08300000
  'reserved-memory' cma: addr=10000000 size=10000000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000832c45f
No resource partition
No file: logo_kernel.bmp
reading logo_kernel.bmp
FAT: Misaligned buffer address (00000000ebcadd50)
512 bytes read in 2 ms (250 KiB/s)
logo(Distro): logo_kernel.bmp
reading logo_kernel.bmp
127818 bytes read in 12 ms (10.2 MiB/s)
logo(Distro): logo_kernel.bmp
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 7708.55 ms

Kenel log part:

Starting kernel ...

Booting Linux on physical CPU 0x0000000000 [0x412fd050]
Linux version 5.10.204 (kotlyarevskiy@Russia) (aarch64-linux-gcc.br_real (Buildroot kios_system_v01.1_1-11-gcaaf468b-dirty) 13.2.0, GNU ld (GNU Binutils) 2.41) #193 SM5
Machine model: Firefly AIO-3588Q MIPI101(Linux)
efi: UEFI not found.
OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB
OF: reserved mem: initialized node cma, compatible id shared-dma-pool
Zone ranges:
  DMA      [mem 0x0000000000200000-0x00000000ffffffff]
  DMA32    empty
  Normal   [mem 0x0000000100000000-0x00000001ffffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000200000-0x00000000083fffff]
  node   0: [mem 0x0000000009400000-0x00000000efffffff]
  node   0: [mem 0x00000001f0000000-0x00000001ffffffff]
Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
On node 0 totalpages: 1043968
  DMA zone: 15288 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 978432 pages, LIFO batch:63
  Normal zone: 1024 pages used for memmap
  Normal zone: 65536 pages, LIFO batch:15
psci: probing for conduit method from DT.
psci: PSCIv1.1 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: Trusted OS migration not required
psci: SMC Calling Convention v1.2
percpu: Embedded 31 pages/cpu s89128 r8192 d29656 u126976
pcpu-alloc: s89128 r8192 d29656 u126976 alloc=31*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
Detected VIPT I-cache on CPU0
CPU features: detected: GIC system register CPU interface
CPU features: detected: Virtualization Host Extensions
CPU features: detected: ARM errata 1165522, 1319367, or 1530923
alternatives: patching kernel code
Built 1 zonelists, mobility grouping on.  Total pages: 1027656
Kernel command line: ignore_loglevel log_buf_len=16M ro rootwait earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 irqchip.gicv3_pseudo_nmi=0 root=PARTLABEL=rootfs r1
printk: log_buf_len: 16777216 bytes
printk: early log buf free: 257776(98%)
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
mem auto-init: stack:all(zero), heap alloc:off, heap free:off
software IO TLB: mapped [mem 0x00000000e9f00000-0x00000000edf00000] (64MB)
Memory: 3625248K/4175872K available (21440K kernel code, 3646K rwdata, 6460K rodata, 7104K init, 634K bss, 288480K reserved, 262144K cma-reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
ftrace: allocating 64879 entries in 254 pages
ftrace: allocated 254 pages with 7 groups
rcu: Hierarchical RCU implementation.
rcu:     RCU event tracing is enabled.
 Rude variant of Tasks RCU enabled.
 Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
GICv3: GIC: Using split EOI/Deactivate mode
GICv3: 480 SPIs implemented
GICv3: 0 Extended SPIs implemented
GICv3: Distributor has no Range Selector support
GICv3: 16 PPIs implemented
GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000
ITS [mem 0xfe640000-0xfe65ffff]
ITS@0x00000000fe640000: allocated 8192 Devices @1f0210000 (indirect, esz 8, psz 64K, shr 0)
ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @1f0220000 (flat, esz 2, psz 64K, shr 0)
ITS: using cache flushing for cmd queue
ITS [mem 0xfe660000-0xfe67ffff]
ITS@0x00000000fe660000: allocated 8192 Devices @1f0240000 (indirect, esz 8, psz 64K, shr 0)
ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @1f0250000 (flat, esz 2, psz 64K, shr 0)
ITS: using cache flushing for cmd queue
GICv3: using LPI property table @0x00000001f0260000
GIC: using cache flushing for LPI property table
GICv3: CPU0: using allocated LPI pending table @0x00000001f0270000
arch_timer: cp15 timer(s) running at 24.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
rcu: Hierarchical SRCU implementation.
Platform MSI: msi-controller@fe640000 domain created
Platform MSI: msi-controller@fe660000 domain created
PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe640000 domain created
PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe660000 domain created
EFI services will not be available.
smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
Detected VIPT I-cache on CPU1
GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
GICv3: CPU1: using allocated LPI pending table @0x00000001f0280000
CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
Detected VIPT I-cache on CPU2
GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
GICv3: CPU2: using allocated LPI pending table @0x00000001f0290000
CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
Detected VIPT I-cache on CPU3
GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
GICv3: CPU3: using allocated LPI pending table @0x00000001f02a0000
CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
CPU features: detected: Spectre-v4
CPU features: detected: Spectre-BHB
Detected PIPT I-cache on CPU4
GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
GICv3: CPU4: using allocated LPI pending table @0x00000001f02b0000
CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
Detected PIPT I-cache on CPU5
GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
GICv3: CPU5: using allocated LPI pending table @0x00000001f02c0000
CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
Detected PIPT I-cache on CPU6
GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
GICv3: CPU6: using allocated LPI pending table @0x00000001f02d0000
CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
Detected PIPT I-cache on CPU7
GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
GICv3: CPU7: using allocated LPI pending table @0x00000001f02e0000
CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
smp: Brought up 1 node, 8 CPUs
SMP: Total of 8 processors activated.
CPU features: detected: Privileged Access Never
CPU features: detected: User Access Override
CPU features: detected: 32-bit EL0 Support
CPU features: detected: Common not Private translations
CPU features: detected: RAS Extension Support
CPU features: detected: Data cache clean to the PoU not required for I/D coherence
CPU features: detected: CRC32 instructions
CPU features: detected: Speculative Store Bypassing Safe (SSBS)
CPU features: detected: RCpc load-acquire (LDAPR)
CPU: All CPU(s) started at EL2
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
DMI not present or invalid.
NET: Registered protocol family 16
DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.086:1): state=initialized audit_enabled=0 res=1
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
thermal_sys: Registered thermal governor 'user_space'
thermal_sys: Registered thermal governor 'power_allocator'
thermal thermal_zone1: power_allocator: sustainable_power will be estimated
thermal thermal_zone2: power_allocator: sustainable_power will be estimated
thermal thermal_zone3: power_allocator: sustainable_power will be estimated
thermal thermal_zone4: power_allocator: sustainable_power will be estimated
thermal thermal_zone5: power_allocator: sustainable_power will be estimated
thermal thermal_zone6: power_allocator: sustainable_power will be estimated
cpuidle: using governor menu

...

********************************************************************
**     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
**                                                                **
**  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
**                                                                **
** This means that this kernel is built to expose clk operations  **
** such as parent or rate setting, enabling, disabling, etc.      **
** to userspace, which may compromise security on your system.    **
**                                                                **
** If you see this message and you are not debugging the          **
** kernel, report this immediately to your vendor!                **
**                                                                **
**     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
********************************************************************
mmc0: Host Software Queue enabled
mmc0: new HS400 Enhanced strobe MMC card at address 0001
mmcblk0: mmc0:0001 EXA    29.0 GiB 
mmcblk0boot0: mmc0:0001 EXA    partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 EXA    partition 2 4.00 MiB
mmcblk0rpmb: mmc0:0001 EXA    partition 3 4.00 MiB, chardev (235:0)
vcc5v0_host: supplied by vcc5v0_usb
vcc5v0_host3: supplied by vcc5v0_usb
 mmcblk0: p1 p2 p3 p4 p5 p6 p7
vcc_sata_pwr_en: supplied by vcc12v_dcin
pcie30_avdd1v8: supplied by avcc_1v8_s0
pcie30_avdd0v75: supplied by avdd_0v75_s0
rk-pcie fe170000.pcie: PCIe Link up, LTSSM is 0x30011
rk-pcie fe170000.pcie: PCI host bridge to bus 0002:20
pci_bus 0002:20: root bus resource [bus 20-2f]
pci_bus 0002:20: root bus resource [??? 0xf2000000-0xf20fffff flags 0x0]
pci_bus 0002:20: root bus resource [io  0x0000-0xfffff] (bus address [0xf2100000-0xf21fffff])
pci_bus 0002:20: root bus resource [mem 0xf2200000-0xf2ffffff]
pci_bus 0002:20: root bus resource [mem 0x980000000-0x9bfffffff pref]
pci 0002:20:00.0: [1d87:3588] type 01 class 0x060400
pci 0002:20:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
pci 0002:20:00.0: supports D1 D2
pci 0002:20:00.0: PME# supported from D0 D1 D3hot
pci 0002:20:00.0: Primary bus is hard wired to 0
pci 0002:20:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
pci 0002:21:00.0: [14e4:449d] type 00 class 0x028000
pci 0002:21:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
panel-simple-dsi fde20000.dsi.0: supply power not found, using dummy regulator
pci 0002:21:00.0: reg 0x18: [mem 0x00000000-0x003fffff 64bit]
pci 0002:21:00.0: supports D1 D2
pci 0002:21:00.0: PME# supported from D0 D1 D2 D3hot D3cold
mali fb000000.gpu: Kernel DDK version g15p0-01eac0
mali fb000000.gpu: bin=2
mali fb000000.gpu: leakage=14
debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
mali fb000000.gpu: pvtm=896
mali fb000000.gpu: pvtm-volt-sel=4
mali fb000000.gpu: avs=0
ehci-platform fc800000.usb: EHCI Host Controller
W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 136; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
ehci-platform fc800000.usb: new USB bus registered, assigned bus number 3
ehci-platform fc800000.usb: irq 20, io mem 0xfc800000
pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21
pci 0002:20:00.0: BAR 8: assigned [mem 0xf2200000-0xf27fffff]
pci 0002:20:00.0: BAR 6: assigned [mem 0xf2800000-0xf280ffff pref]
pci 0002:21:00.0: BAR 2: assigned [mem 0xf2400000-0xf27fffff 64bit]
pci 0002:21:00.0: BAR 0: assigned [mem 0xf2200000-0xf220ffff 64bit]
pci 0002:20:00.0: PCI bridge to [bus 21]
pci 0002:20:00.0:   bridge window [mem 0xf2200000-0xf27fffff]
mali fb000000.gpu: GPU hardware issue table may need updating:
r0p0 status 5 is unknown; treating as r0p0 status 0
mali fb000000.gpu: GPU identified as 0x7 arch 10.8.6 r0p0 status 0
pcieport 0002:20:00.0: PME: Signaling with IRQ 149
mali fb000000.gpu: No priority control manager is configured
mali fb000000.gpu: No memory group manager is configured
mali fb000000.gpu: Protected memory allocator not available
ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
vendor storage:20190527 ret = 0
mali fb000000.gpu: Capping CSF_FIRMWARE_TIMEOUT to CSF_FIRMWARE_PING_TIMEOUT
usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
mali fb000000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model'
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*[0]
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*[0]
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: EHCI Host Controller
usb usb3: Manufacturer: Linux 5.10.204 ehci_hcd
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*[0]
usb usb3: SerialNumber: fc800000.usb
hub 3-0:1.0: USB hub found
mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = ''
hub 3-0:1.0: 1 port detected
mali fb000000.gpu: Using configured power model mali-lodx-power-model, and fallback mali-simple-power-model
mali fb000000.gpu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
mali fb000000.gpu: Probed as mali0
ehci-platform fc880000.usb: EHCI Host Controller
ehci-platform fc880000.usb: new USB bus registered, assigned bus number 4
ehci-platform fc880000.usb: irq 22, io mem 0xfc880000
ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: EHCI Host Controller
usb usb4: Manufacturer: Linux 5.10.204 ehci_hcd
usb usb4: SerialNumber: fc880000.usb
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
ohci-platform fc840000.usb: Generic Platform OHCI controller
ohci-platform fc840000.usb: new USB bus registered, assigned bus number 5
ohci-platform fc840000.usb: irq 21, io mem 0xfc840000
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: Generic Platform OHCI controller
usb usb5: Manufacturer: Linux 5.10.204 ohci_hcd
usb usb5: SerialNumber: fc840000.usb
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
ohci-platform fc8c0000.usb: Generic Platform OHCI controller
ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 6
ohci-platform fc8c0000.usb: irq 23, io mem 0xfc8c0000
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: Generic Platform OHCI controller
usb usb6: Manufacturer: Linux 5.10.204 ohci_hcd
usb usb6: SerialNumber: fc8c0000.usb
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 1 port detected
rockchip-dmc dmc: leakage=33
rockchip-dmc dmc: leakage-volt-sel=1
rockchip-dmc dmc: avs=0
rockchip-dmc dmc: current ATF version 0x100
rockchip-dmc dmc: there is no available frequencies!
rockchip-dmc dmc: cannot get frequency info
rockchip-dmc: probe of dmc failed with error -1
rkcif rkcif-mipi-lvds2: clear unready subdev num: 1
rockchip-csi2-dphy0: No link between dphy and sensor
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: Async subdev notifier completed
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP
rockchip-csi2-dphy0: No link between dphy and sensor
rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
rkcif-mipi-lvds2: There is not terminal subdev, not synchronized with ISP
pc9202: sw2001_read(0x1) return 0x1
status=0x1
====== i2c detect success watchdog init ======
pc9202_wdt_probe(): wd_en_gpio: -2 is invalid
dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 81,32 bit host data width,256 deep fifo
RKNPU fdab0000.npu: Adding to iommu group 0
iommu: Failed to allocate default IOMMU domain of type 4 for group (null) - Falling back to IOMMU_DOMAIN_DMA
RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[drm] Initialized rknpu 0.8.2 20220829 for fdab0000.npu on minor 0
RKNPU fdab0000.npu: bin=2
RKNPU fdab0000.npu: leakage=8
debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present!
mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
RKNPU fdab0000.npu: pvtm=897
RKNPU fdab0000.npu: pvtm-volt-sel=4
RKNPU fdab0000.npu: avs=0
RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
RKNPU fdab0000.npu: failed to find power_model node
RKNPU fdab0000.npu: RKNPU: failed to initialize power model
RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'


I tried to turn off the peripherals.. this kills all errors (and -517), but beyond the current location: cfg80211: Loaded X.509 cer 'sforshee: 00b28ddf47aef9cea7' the case does not continue..

Share Improve this question edited Feb 1 at 1:38 sawdust 17.1k3 gold badges42 silver badges55 bronze badges asked Jan 29 at 11:32 UraUra 312 bronze badges 2
  • 1 You already have ignore_loglevel, but need to add the parameter initcall_debug to the kernel command line to obtain a more complete report of what & when drivers are being initialized. See stackoverflow/questions/37272109/… Perhaps you might get a few more kernel messages after what you now see. IOW the last message is not always related to a hang. The problem may be happening in another driver that is silent, rather than related to cfg80211. – sawdust Commented Feb 1 at 22:36
  • -517 is -EPROBE_DEFER which means that resource is not availble at the moment. Most likely this is due to wrongly written device tree. You need to revisit it and check carefully that the description is correct for your hardware. – 0andriy Commented Feb 8 at 15:47
Add a comment  | 

1 Answer 1

Reset to default 0

Everything turned out to be a piece of cake. It was necessary to look at the output from other serial ports on the board. I plugged my USB-UART converter into another port and saw a login prompt.

Thank you all for finding a solution!

本文标签: embedded linuxEndless kernel (510204) loadingStack Overflow