Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to setup shell on ttyFIQ0 debug uart port on rk3566

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17

How to setup shell on ttyFIQ0 debug uart port on rk3566

Posted at 7/23/2025 20:25:37      View:72 | Replies:0        Print      Only Author   [Copy Link] 1#
Last edited by Nehal321 In 7/23/2025 20:26 Editor


I have followed this guide for Firefly SDK Buildroot and I am unable to get the shell on uart2 or fiq-debugger port.
I have checked multiple blogs, tickets, and forums, and edited .dts and .dtsi to:
  • Disable fiq-debugger and use uart2 as shell
  • Disable uart2 and enable fiq-debugger (default file mode)
  • Route fiq-debugger to uart 0x00 by editing serial ID and other configs to use uart2 (ttyS2)

…but I failed to get shell access.
I am a beginner in this, so I apologize in advance as I feel there might be a small issue I am unable to identify.
Here are the relevant files/content:
  • inittab (busybox/package)

    1. DDR V1.18 f366f69a7d typ 23/07/17-15:48:58
    2. ln
    3. LP4/4x derate en, other dram:1x trefi
    4. ddrconfig:0
    5. LPDDR4X, 324MHz
    6. BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
    7. tdqss: cs0 dqs0: -24ps, dqs1: -72ps, dqs2: -72ps, dqs3: -120ps,

    8. change to: 324MHz
    9. clk skew:0x62

    10. change to: 528MHz
    11. clk skew:0x58

    12. change to: 780MHz
    13. clk skew:0x58

    14. change to: 1056MHz(final freq)
    15. PHY drv:clk:36,ca:36,DQ:29,odt:60
    16. vrefinner:16%, vrefout:22%
    17. dram drv:40,odt:80
    18. vref_ca:00000071
    19. clk skew:0x39
    20. cs 0:
    21. the read training result:
    22. DQS0:0x3d, DQS1:0x40, DQS2:0x3d, DQS3:0x3c,
    23. min  : 0x3  0x4  0x3  0x1  0x4  0x2  0x3  0x2 , 0x2  0x6  0x6  0x6  0x1  0x4  0x9  0x5 ,
    24.        0x4  0x1  0x4  0x4  0x4  0x3  0x4  0x2 , 0x2  0x1  0x2  0x2  0x2  0x2  0x5  0x1 ,
    25. mid  :0x22 0x23 0x22 0x21 0x24 0x21 0x21 0x22 ,0x22 0x26 0x26 0x26 0x21 0x25 0x28 0x24 ,
    26.       0x24 0x21 0x23 0x22 0x22 0x23 0x23 0x22 ,0x22 0x20 0x21 0x20 0x21 0x20 0x25 0x21 ,
    27. max  :0x41 0x42 0x41 0x41 0x44 0x40 0x40 0x43 ,0x42 0x47 0x46 0x46 0x42 0x46 0x47 0x44 ,
    28.       0x44 0x41 0x42 0x41 0x41 0x43 0x42 0x43 ,0x42 0x3f 0x41 0x3e 0x41 0x3f 0x45 0x41 ,
    29. range:0x3e 0x3e 0x3e 0x40 0x40 0x3e 0x3d 0x41 ,0x40 0x41 0x40 0x40 0x41 0x42 0x3e 0x3f ,
    30.       0x40 0x40 0x3e 0x3d 0x3d 0x40 0x3e 0x41 ,0x40 0x3e 0x3f 0x3c 0x3f 0x3d 0x40 0x40 ,
    31. the write training result:
    32. DQS0:0x36, DQS1:0x30, DQS2:0x30, DQS3:0x29,
    33. min  :0x50 0x54 0x53 0x52 0x52 0x51 0x52 0x54 0x52 ,0x48 0x4c 0x4b 0x4c 0x4a 0x4d 0x4d 0x4d 0x4a ,
    34.       0x4a 0x49 0x4c 0x4b 0x4b 0x4b 0x4b 0x4c 0x4a ,0x42 0x44 0x43 0x44 0x44 0x43 0x46 0x45 0x43 ,
    35. mid  :0x6d 0x70 0x70 0x6e 0x6f 0x6d 0x6e 0x70 0x6d ,0x64 0x67 0x67 0x68 0x66 0x68 0x68 0x68 0x65 ,
    36.       0x67 0x66 0x68 0x68 0x67 0x67 0x67 0x67 0x67 ,0x5e 0x5f 0x5e 0x60 0x5f 0x5f 0x63 0x60 0x5f ,
    37. max  :0x8a 0x8d 0x8d 0x8a 0x8c 0x8a 0x8a 0x8d 0x89 ,0x81 0x82 0x83 0x84 0x82 0x83 0x83 0x83 0x80 ,
    38.       0x84 0x84 0x84 0x85 0x83 0x83 0x83 0x83 0x85 ,0x7a 0x7a 0x79 0x7c 0x7b 0x7b 0x80 0x7b 0x7b ,
    39. range:0x3a 0x39 0x3a 0x38 0x3a 0x39 0x38 0x39 0x37 ,0x39 0x36 0x38 0x38 0x38 0x36 0x36 0x36 0x36 ,
    40.       0x3a 0x3b 0x38 0x3a 0x38 0x38 0x38 0x37 0x3b ,0x38 0x36 0x36 0x38 0x37 0x38 0x3a 0x36 0x38 ,
    41. CA Training result:
    42. cs:0 min  :0x4b 0x45 0x4a 0x3f 0x4a 0x40 0x47 ,0x48 0x3f 0x46 0x40 0x49 0x3b 0x48 ,
    43. cs:0 mid  :0x86 0x88 0x84 0x83 0x84 0x83 0x72 ,0x83 0x83 0x82 0x82 0x82 0x7e 0x72 ,
    44. cs:0 max  :0xc1 0xcb 0xbf 0xc7 0xbf 0xc6 0x9d ,0xbf 0xc7 0xbe 0xc5 0xbc 0xc2 0x9d ,
    45. cs:0 range:0x76 0x86 0x75 0x88 0x75 0x86 0x56 ,0x77 0x88 0x78 0x85 0x73 0x87 0x55 ,
    46. out
    47. U-Boot SPL board init
    48. U-Boot SPL 2017.09-ge4e124926e-230922 #lxh (Sep 25 2023 - 11:07:45), fwver: v1.13
    49. unknown raw ID 0 0 0
    50. unrecognized JEDEC id bytes: 00, 00, 00
    51. Trying to boot from MMC2
    52. Card did not respond to voltage select!
    53. mmc_init: -95, time 9
    54. spl: mmc init failed with error: -95
    55. Trying to boot from MMC1
    56. SPL: A/B-slot: _a, successful: 0, tries-remain: 7
    57. Trying fit image at 0x4000 sector
    58. ## Verified-boot: 0
    59. ## Checking atf-1 0x00040000 ... sha256(b5946ac63d...) + OK
    60. ## Checking uboot 0x00a00000 ... sha256(e6faaa00e4...) + OK
    61. ## Checking fdt 0x00b47be8 ... sha256(b3854af6ad...) + OK
    62. ## Checking atf-2 0xfdcc1000 ... sha256(b8dca786b4...) + OK
    63. ## Checking atf-3 0x0006b000 ... sha256(2f91089eb7...) + OK
    64. ## Checking atf-4 0xfdcce000 ... sha256(86ef885748...) + OK
    65. ## Checking atf-5 0xfdcd0000 ... sha256(0b2b146c60...) + OK
    66. ## Checking atf-6 0x00069000 ... sha256(a9a1e63bef...) + OK
    67. ## Checking optee 0x08400000 ... sha256(28fba8b7d7...) + OK
    68. Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
    69. Total: 126.587/185.741 ms

    70. INFO:    Preloader serial: 2
    71. NOTICE:  BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44
    72. NOTICE:  BL31: Built : 16:36:43, Sep 19 2023
    73. INFO:    GICv3 without legacy support detected.
    74. INFO:    ARM GICv3 driver initialized in EL3
    75. INFO:    pmu v1 is valid 220114
    76. INFO:    l3 cache partition cfg-0
    77. INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
    78. INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
    79. INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
    80. INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
    81. INFO:    Using opteed sec cpu_context!
    82. INFO:    boot cpu mask: 0
    83. INFO:    BL31: Initializing runtime services
    84. INFO:    BL31: Initializing BL32
    85. I/TC:
    86. I/TC: OP-TEE version: 3.13.0-791-g185dc3c92 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Tue Apr 16 10:47:32 CST 2024 aarch64, fwver: v2.12
    87. I/TC: OP-TEE memory: TEEOS 0x200000 TA 0xc00000 SHM 0x200000
    88. I/TC: Primary CPU initializing
    89. I/TC: CRYPTO_CRYPTO_VERSION_NEW no support. Skip all algo mode check.
    90. I/TC: Primary CPU switching to normal world boot
    91. INFO:    BL31: Preparing for EL3 exit to normal world
    92. INFO:    Entry point address = 0xa00000
    93. INFO:    SPSR = 0x3c9


    94. U-Boot 2017.09(u-boot commit id: 30d6e6f55d2b943c0910c3f69ccf4d302272ee71)(sdk version: rk356x_linux5.10_release_20241220_v1.4.0c.xml)-g30d6e6f55d-231220 #nehaldev (Jul 22 2025 - 10:30:06 -0700)

    95. Model: Rockchip RK3568 Evaluation Board
    96. MPIDR: 0x81000000
    97. PreSerial: 2, raw, 0xfe660000
    98. DRAM:  2 GiB
    99. Sysmem: init
    100. Relocation Offset: 7d217000
    101. Relocation fdt: 7b9f88c8 - 7b9fece0
    102. CR: M/C/I
    103. Using default environment

    104. optee api revision: 2.0
    105. dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
    106. Bootdev(atags): mmc 0
    107. MMC0: HS200, 200Mhz
    108. PartType: EFI
    109. TEEC: Waring: Could not find security partition
    110. DM: v1
    111. =================begin===================
    112. 106508 bytes read in 7 ms (14.5 MiB/s)
    113. DTB(Distro): rk-kernel.dtb
    114. boot mode: recovery (misc)
    115. I2c0 speed: 100000Hz
    116. vsel-gpios- not found! Error: -2
    117. vdd_cpu 643750 uV
    118. PMIC:  RK8090 (on=0x10, off=0x00)
    119. vdd_logic init 900000 uV
    120. vdd_gpu init 900000 uV
    121. vdd_npu init 900000 uV
    122. io-domain: OK
    123. INFO:    ddr dmc_fsp already initialized in loader.
    124. Could not find baseparameter partition
    125. Model: AIO-3566JD4 HDMI(Linux)
    126. MPIDR: 0x81000000
    127. RESC: 'recovery', blk@0x0005eae7
    128. resource: sha256+
    129. FIT: no signed, no conf required
    130. Rockchip UBOOT DRM driver version: v1.0.1
    131. VOP have 3 active VP
    132. ERROR: rk3566 only support 2 display output!!
    133. vp0 have layer nr:3[0 2 4 ], primary plane: 4
    134. vp1 have layer nr:2[1 5 ], primary plane: 5
    135. vp2 have layer nr:1[3 ], primary plane: 3
    136. hdmi@fe0a0000 disconnected
    137. No FDT memory address configured. Default at 0x08300000
    138. CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
    139.   apll 1104000 KHz
    140.   dpll 528000 KHz
    141.   gpll 1188000 KHz
    142.   cpll 1000000 KHz
    143.   npll 1200000 KHz
    144.   vpll 24000 KHz
    145.   hpll 24000 KHz
    146.   ppll 200000 KHz
    147.   armclk 1104000 KHz
    148.   aclk_bus 150000 KHz
    149.   pclk_bus 100000 KHz
    150.   aclk_top_high 500000 KHz
    151.   aclk_top_low 400000 KHz
    152.   hclk_top 150000 KHz
    153.   pclk_top 100000 KHz
    154.   aclk_perimid 300000 KHz
    155.   hclk_perimid 150000 KHz
    156.   pclk_pmu 100000 KHz
    157. Net:   eth1: ethernet@fe010000
    158. Hit key to stop autoboot('CTRL+C'):  0
    159. ANDROID: reboot reason: "recovery"
    160. Not AVB images, AVB skip
    161. No valid android hdr
    162. Android image load failed
    163. Android boot failed, error -1.
    164. ## Booting FIT Image at 0x78e9aa80 with size 0x0295ce00
    165. Fdt Ramdisk skip relocation
    166. ## Loading kernel from FIT Image at 78e9aa80 ...
    167.    Using 'conf' configuration
    168. ## Verified-boot: 0
    169.    Trying 'kernel' kernel subimage
    170.      Description:  unavailable
    171.      Type:         Kernel Image
    172.      Compression:  uncompressed
    173.      Data Start:   0x78eb5480
    174.      Data Size:    36561408 Bytes = 34.9 MiB
    175.      Architecture: AArch64
    176.      OS:           Linux
    177.      Load Address: 0x00280000
    178.      Entry Point:  0x00280000
    179.      Hash algo:    sha256
    180.      Hash value:   b12af2b2485d11ed5f9706dfad4788a4776d010e9614a3d4f863a0151e596709
    181.    Verifying Hash Integrity ... sha256+ OK
    182. ## Loading ramdisk from FIT Image at 78e9aa80 ...
    183.    Using 'conf' configuration
    184.    Trying 'ramdisk' ramdisk subimage
    185.      Description:  unavailable
    186.      Type:         RAMDisk Image
    187.      Compression:  uncompressed
    188.      Data Start:   0x7b193680
    189.      Data Size:    6701181 Bytes = 6.4 MiB
    190.      Architecture: AArch64
    191.      OS:           Linux
    192.      Load Address: 0x0a200000
    193.      Entry Point:  unavailable
    194.      Hash algo:    sha256
    195.      Hash value:   53fdec76a15dedc516f33c96b7a9ca26f7c75d65af1267d6b92b3d79f48234eb
    196.    Verifying Hash Integrity ... sha256+ OK
    197.    Loading ramdisk from 0x7b193680 to 0x0a200000
    198. ## Loading fdt from FIT Image at 78e9aa80 ...
    199.    Using 'conf' configuration
    200.    Trying 'fdt' fdt subimage
    201.      Description:  unavailable
    202.      Type:         Flat Device Tree
    203.      Compression:  uncompressed
    204.      Data Start:   0x78e9b280
    205.      Data Size:    106508 Bytes = 104 KiB
    206.      Architecture: AArch64
    207.      Load Address: 0x08300000
    208.      Hash algo:    sha256
    209.      Hash value:   0bb2879bdb23b63bb09a009f2c2321a762c220b3d3b15bfac7d4debae95bc47e
    210.    Verifying Hash Integrity ... sha256+ OK
    211.    Loading fdt from 0x08300000 to 0x08300000
    212.    Booting using the fdt blob at 0x08300000
    213.    Loading Kernel Image from 0x78eb5480 to 0x00280000 ... OK
    214.    kernel loaded at 0x00280000, end = 0x0255e200
    215.    Using Device Tree in place at 0000000008300000, end 000000000831d00b
    216. vp0, plane_mask:0x15, primary-id:4, curser-id:-1
    217. vp1, plane_mask:0x22, primary-id:5, curser-id:-1
    218. vp2, plane_mask:0x8, primary-id:3, curser-id:-1
    219. WARNING: could not set reg FDT_ERR_BADOFFSET.
    220. ## reserved-memory:
    221.   drm-logo@00000000: addr=7df00000 size=2e0000
    222.   drm-cubic-lut@00000000: addr=7ff00000 size=8000
    223.   ramoops@110000: addr=110000 size=f0000
    224. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
    225. Adding bank: 0x09400000 - 0x80000000 (size: 0x76c00000)
    226. No RNG device
    227. == DO RELOCATE == Kernel from 0x00280000 to 0x00200000
    228. Total: 917.178/965.724 ms

    229. Starting kernel ...

    230. [    0.970849] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
    231. [    0.970873] Linux version 5.10.198 (nehaldev@ubuntu) (firefly: 34d433bc5e75/2507221023) (sdk version: rk356x_linux5.10_release_20241220_v1.4.0c.xml) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #19 SMP Tue Jul 22 10:23:42 PDT 2025
    232. [    0.975043] Machine model: AIO-3566JD4 HDMI(Linux)
    233. [    0.975113] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '')
    234. [    0.980068] printk: bootconsole [uart8250] enabled
    235. [    0.981513] efi: UEFI not found.
    236. [    1.016509] Zone ranges:
    237. [    1.016765]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
    238. [    1.017356]   DMA32    empty
    239. [    1.017630]   Normal   empty
    240. [    1.017904] Movable zone start for each node
    241. [    1.018307] Early memory node ranges
    242. [    1.018646]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
    243. [    1.019237]   node   0: [mem 0x0000000009400000-0x000000007fffffff]
    244. [    1.019831] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
    245. [    1.035796] cma: Reserved 16 MiB at 0x000000007e800000
    246. [    1.036368] psci: probing for conduit method from DT.
    247. [    1.036857] psci: PSCIv1.1 detected in firmware.
    248. [    1.037294] psci: Using standard PSCI v0.2 function IDs
    249. [    1.037791] psci: Trusted OS migration not required
    250. [    1.038256] psci: SMC Calling Convention v1.2
    251. [    1.039067] percpu: Embedded 30 pages/cpu s83480 r8192 d31208 u122880
    252. [    1.039792] Detected VIPT I-cache on CPU0
    253. [    1.040213] CPU features: detected: GIC system register CPU interface
    254. [    1.040822] CPU features: detected: Virtualization Host Extensions
    255. [    1.041412] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    256. [    1.042080] alternatives: patching kernel code
    257. [    1.044493] Built 1 zonelists, mobility grouping on.  Total pages: 511496
    258. [    1.045144] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.verifiedbootstate=orange rootwait earlyprintk rw earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1 swiotlb=0x10000 net.ifnames=0 comm-07/22/2025 androidboot.fwver=spl-v1.13,bl31-v1.44,bl32-v2.12,uboot--boot
    259. [    1.050165] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    260. [    1.051152] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    261. [    1.051884] mem auto-init: stack:off, heap alloc:off, heap free:off
    262. [    1.078889] Memory: 1975368K/2078720K available (19264K kernel code, 3256K rwdata, 6308K rodata, 6784K init, 593K bss, 86968K reserved, 16384K cma-reserved)
    263. [    1.080335] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    264. [    1.080990] ftrace: allocating 57783 entries in 226 pages
    265. [    1.160246] ftrace: allocated 226 pages with 4 groups
    266. [    1.161064] rcu: Hierarchical RCU implementation.
    267. [    1.161516] rcu:     RCU event tracing is enabled.
    268. [    1.161945] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    269. [    1.162561]  Rude variant of Tasks RCU enabled.
    270. [    1.162989] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
    271. [    1.163702] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    272. [    1.168909] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    273. [    1.170727] GICv3: GIC: Using split EOI/Deactivate mode
    274. [    1.171233] GICv3: 320 SPIs implemented
    275. [    1.171597] GICv3: 0 Extended SPIs implemented
    276. [    1.172048] GICv3: Distributor has no Range Selector support
    277. [    1.172588] GICv3: 16 PPIs implemented
    278. [    1.172978] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
    279. [    1.173740] ITS [mem 0xfd440000-0xfd45ffff]
    280. [    1.174208] ITS@0x00000000fd440000: allocated 8192 Devices @29d0000 (indirect, esz 8, psz 64K, shr 0)
    281. [    1.175110] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @29e0000 (flat, esz 2, psz 64K, shr 0)
    282. [    1.176072] ITS: using cache flushing for cmd queue
    283. [    1.176825] GICv3: using LPI property table @0x00000000029f0000
    284. [    1.177500] GIC: using cache flushing for LPI property table
    285. [    1.178042] GICv3: CPU0: using allocated LPI pending table @0x0000000002a00000
    286. [    1.207663] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    287. [    1.208255] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    288. [    1.209276] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    289. [    1.210925] Console: colour dummy device 80x25
    290. [    1.211379] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
    291. [    1.212352] pid_max: default: 32768 minimum: 301
    292. [    1.212917] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    293. [    1.213627] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    294. [    1.215864] rcu: Hierarchical SRCU implementation.
    295. [    1.217048] Platform MSI: interrupt-controller@fd440000 domain created
    296. [    1.218054] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created
    297. [    1.219141] EFI services will not be available.
    298. [    1.219887] smp: Bringing up secondary CPUs ...
    299. I/TC: Secondary CPU 1 initializing
    300. I/TC: Secondary CPU 1 switching to normal world boot
    301. I/TC: Secondary CPU 2 initializing
    302. I/TC: Secondary CPU 2 switching to normal world boot
    303. I/TC: Secondary CPU 3 initializing
    304. I/TC: Secondary CPU 3 switching to normal world boot
    305. [    1.221627] Detected VIPT I-cache on CPU1
    306. [    1.221662] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
    307. [    1.221683] GICv3: CPU1: using allocated LPI pending table @0x0000000002a10000
    308. [    1.221736] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
    309. [    1.223095] Detected VIPT I-cache on CPU2
    310. [    1.223124] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
    311. [    1.223142] GICv3: CPU2: using allocated LPI pending table @0x0000000002a20000
    312. [    1.223180] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
    313. [    1.224489] Detected VIPT I-cache on CPU3
    314. [    1.224515] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
    315. [    1.224532] GICv3: CPU3: using allocated LPI pending table @0x0000000002a30000
    316. [    1.224567] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
    317. [    1.224663] smp: Brought up 1 node, 4 CPUs
    318. [    1.232076] SMP: Total of 4 processors activated.
    319. [    1.232530] CPU features: detected: Privileged Access Never
    320. [    1.233056] CPU features: detected: User Access Override
    321. [    1.233559] CPU features: detected: 32-bit EL0 Support
    322. [    1.234044] CPU features: detected: Common not Private translations
    323. [    1.234634] CPU features: detected: RAS Extension Support
    324. [    1.235143] CPU features: detected: Data cache clean to the PoU not required for I/D coherence

    325. // logs removed for being too long

    326. [    2.117544] rockchip-pvtm fde00000.pvtm: pvtm@0 probed
    327. [    2.118159] rockchip-pvtm fde80000.pvtm: pvtm@1 probed
    328. [    2.118747] rockchip-pvtm fde90000.pvtm: pvtm@2 probed
    329. [    2.119906] rockchip-system-monitor rockchip-system-monitor: system monitor probe
    330. [    2.121212] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active.
    331. [    2.122125] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    332. [    2.123361] fdd50000.serial: ttyS0 at MMIO 0xfdd50000 (irq = 24, base_baud = 1500000) is a 16550A
    333. [    2.125109] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 71, base_baud = 1500000) is a 16550A
    334. [    2.126565] fe670000.serial: ttyS3 at MMIO 0xfe670000 (irq = 72, base_baud = 1500000) is a 16550A
    335. [    2.127886] fe680000.serial: ttyS4 at MMIO 0xfe680000 (irq = 73, base_baud = 1500000) is a 16550A
    336. [    2.129179] fe690000.serial: ttyS5 at MMIO 0xfe690000 (irq = 74, base_baud = 1500000) is a 16550A
    337. [    2.130486] fe6a0000.serial: ttyS6 at MMIO 0xfe6a0000 (irq = 75, base_baud = 1500000) is a 16550A
    338. [    2.131758] fe6b0000.serial: ttyS7 at MMIO 0xfe6b0000 (irq = 76, base_baud = 1500000) is a 16550A
    339. [    2.133056] fe6c0000.serial: ttyS8 at MMIO 0xfe6c0000 (irq = 77, base_baud = 1500000) is a 16550A
    340. [    2.134402] fe6d0000.serial: ttyS9 at MMIO 0xfe6d0000 (irq = 78, base_baud = 1500000) is a 16550A
    341. [    2.138222] random: crng init done
    342. [    2.138919] rockchip-vop2 fe040000.vop: Adding to iommu group 8
    343. [    2.146901] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x15, primary plane phy id: 4
    344. [    2.147847] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp1 assign plane mask: 0x22, primary plane phy id: 5
    345. [    2.148777] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x8, primary plane phy id: 3
    346. [    2.150013] [drm] failed to init overlay plane Cluster0-win1
    347. [    2.150589] [drm] failed to init overlay plane Cluster1-win1
    348. [    2.151294] rockchip-drm display-subsystem: bound fe040000.vop (ops 0xffffffc0093e2a50)
    349. [    2.152334] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)

    350. //removed part as its too long

    351. [    2.609472] [BT_RFKILL]: Request irq for bt wakeup host
    352. [    2.610084] [BT_RFKILL]: ** disable irq
    353. [    2.610543] [BT_RFKILL]: bt_default device registered.
    354. [    2.611166] Key type dns_resolver registered
    355. [    2.612943] imx415 4-0037: driver version: 00.01.08
    356. [    2.613469] imx415 4-0037:  Get hdr mode failed! no hdr default
    357. [    2.614048] imx415 4-0037: detect imx415 lane 4
    358. [    2.614533] imx415 4-0037: Failed to get power-gpios
    359. [    2.615009] imx415 4-0037: could not get default pinstate
    360. [    2.615521] imx415 4-0037: could not get sleep pinstate
    361. [    2.616060] imx415 4-0037: supply dvdd not found, using dummy regulator
    362. [    2.616883] imx415 4-0037: supply dovdd not found, using dummy regulator
    363. [    2.617585] imx415 4-0037: supply avdd not found, using dummy regulator
    364. [    2.626069] mmc0: Host Software Queue enabled
    365. [    2.626519] mmc0: new HS200 MMC card at address 0001
    366. [    2.627713] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
    367. [    2.628392] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
    368. [    2.629231] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
    369. [    2.630116] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (236:0)
    370. [    2.633933]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
    371. [    2.687012] imx415 4-0037: Unexpected sensor id(000000), ret(-5)
    372. [    2.688370] xc7160 4-001b: T-chip firefly camera driver version: 00.01.04
    373. [    2.689254] xc7160 4-001b: Failed to get power-gpios, maybe no use
    374. [    2.689982] xc7160 4-001b: supply avdd not found, using dummy regulator
    375. [    2.690741] xc7160 4-001b: supply dovdd not found, using dummy regulator
    376. [    2.691419] xc7160 4-001b: supply dvdd not found, using dummy regulator
    377. [    2.692095] xc7160 4-001b: could not get default pinstate
    378. [    2.692609] xc7160 4-001b: could not get sleep pinstate
    379. [    2.693139] xc7160 4-001b: Success to get xc7160 endpoint data lanes, dts uses 4 lanes
    380. [    2.709524] xc7160 4-001b: write XC7160_REG_HIGH_SELECT failed
    381. [    2.710436] xc7160: probe of 4-001b failed with error -5
    382. [    2.711629] Loading compiled-in X.509 certificates
    383. [    2.713775] pstore: Using crash dump compression: deflate
    384. [    2.715361] rga: rga2, irq = 31, match scheduler
    385. [    2.716500] rga: rga2 hardware loaded successfully, hw_version:3.2.63318.
    386. [    2.717169] rga: rga2 probe successfully
    387. [    2.717896] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
    388. [    2.718548] vendor storage:20190527 ret = 0
    389. [    2.718742] rga: Module initialized. v1.3.1
    390. [    2.741684] rockchip-pinctrl pinctrl: pin gpio3-9 already requested by fe680000.serial; cannot claim for fe010000.ethernet
    391. [    2.742745] rockchip-pinctrl pinctrl: pin-105 (fe010000.ethernet) status -22
    392. [    2.743467] rockchip-pinctrl pinctrl: could not request pin 105 (gpio3-9) from group gmac1m0-rx-bus2  on device rockchip-pinctrl
    393. [    2.744559] rk_gmac-dwmac fe010000.ethernet: Error applying setting, reverse things back
    394. [    2.745357] rk_gmac-dwmac: probe of fe010000.ethernet failed with error -22
    395. [    2.747547] rockchip-pinctrl pinctrl: pin gpio2-3 already requested by fe6a0000.serial; cannot claim for fe2c0000.dwmmc
    396. [    2.747636] mpp_rkvenc fdf40000.rkvenc: Adding to iommu group 5
    397. [    2.748581] rockchip-pinctrl pinctrl: pin-67 (fe2c0000.dwmmc) status -22
    398. [    2.749355] mpp_rkvenc fdf40000.rkvenc: probing start
    399. [    2.749822] rockchip-pinctrl pinctrl: could not request pin 67 (gpio2-3) from group sdmmc1-bus4  on device rockchip-pinctrl
    400. [    2.749828] dwmmc_rockchip fe2c0000.dwmmc: Error applying setting, reverse things back
    401. [    2.750772] mpp_rkvenc fdf40000.rkvenc: bin=0
    402. [    2.751383] dwmmc_rockchip: probe of fe2c0000.dwmmc failed with error -22
    403. [    2.752117] mpp_rkvenc fdf40000.rkvenc: Failed to get leakage
    404. [    2.753767] mpp_rkvenc fdf40000.rkvenc: pvtm = 87290, from nvmem
    405. [    2.754344] mpp_rkvenc fdf40000.rkvenc: pvtm-volt-sel=1
    406. [    2.755018] mpp_rkvenc fdf40000.rkvenc: avs=0
    407. [    2.755552] mpp_rkvenc fdf40000.rkvenc: failed to find power_model node
    408. [    2.756181] mpp_rkvenc fdf40000.rkvenc: failed to initialize power model
    409. [    2.756833] mpp_rkvenc fdf40000.rkvenc: failed to get dynamic-coefficient
    410. [    2.758288] mpp_rkvenc fdf40000.rkvenc: probing finish
    411. [    2.759171] mpp_rkvdec2 fdf80200.rkvdec: Adding to iommu group 6
    412. [    2.760012] mpp_rkvdec2 fdf80200.rkvdec: rkvdec, probing start
    413. [    2.760907] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_a is not found!
    414. [    2.761505] rkvdec2_init:1022: No niu aclk reset resource define
    415. [    2.762078] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_h is not found!
    416. [    2.762671] rkvdec2_init:1025: No niu hclk reset resource define
    417. [    2.763433] mpp_rkvdec2 fdf80200.rkvdec: bin=0
    418. [    2.763990] mpp_rkvdec2 fdf80200.rkvdec: leakage=54
    419. [    2.764462] mpp_rkvdec2 fdf80200.rkvdec: leakage-volt-sel=0
    420. [    2.765022] mpp_rkvdec2 fdf80200.rkvdec: pvtm = 87290, from nvmem
    421. [    2.765604] mpp_rkvdec2 fdf80200.rkvdec: pvtm-volt-sel=1
    422. [    2.766285] mpp_rkvdec2 fdf80200.rkvdec: avs=0
    423. [    2.766850] mpp_rkvdec2 fdf80200.rkvdec: failed to find power_model node
    424. [    2.767487] mpp_rkvdec2 fdf80200.rkvdec: failed to initialize power model
    425. [    2.768130] mpp_rkvdec2 fdf80200.rkvdec: failed to get dynamic-coefficient
    426. [    2.768912] mpp_rkvdec2 fdf80200.rkvdec: sram_start 0x00000000fdcc0000
    427. [    2.769533] mpp_rkvdec2 fdf80200.rkvdec: rcb_iova 0x0000000010000000
    428. [    2.770149] mpp_rkvdec2 fdf80200.rkvdec: sram_size 45056
    429. [    2.770654] mpp_rkvdec2 fdf80200.rkvdec: rcb_size 65536
    430. [    2.771152] mpp_rkvdec2 fdf80200.rkvdec: min_width 512
    431. [    2.771691] mpp_rkvdec2 fdf80200.rkvdec: link mode probe finish
    432. [    2.772319] mpp_rkvdec2 fdf80200.rkvdec: probing finish
    433. [    2.774052] rockchip-iodomain fdc20000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_pmu
    434. [    2.774230] mali fde60000.gpu: Kernel DDK version g18p0-01eac0
    435. [    2.774997] rockchip-iodomain fdc20000.syscon:io-domains: pmuio2(3300000 uV) supplied by vcc3v3_pmu
    436. [    2.775837] mali fde60000.gpu: bin=0
    437. [    2.776497] rockchip-iodomain fdc20000.syscon:io-domains: vccio1(3300000 uV) supplied by vccio_acodec
    438. [    2.776748] mali fde60000.gpu: leakage=8
    439. [    2.777657] rockchip-iodomain fdc20000.syscon:io-domains: vccio3(3300000 uV) supplied by vccio_sd
    440. [    2.777936] mali fde60000.gpu: pvtm = 87290, from nvmem
    441. [    2.778860] rockchip-iodomain fdc20000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
    442. [    2.779242] mali fde60000.gpu: pvtm-volt-sel=2
    443. [    2.780203] rockchip-iodomain fdc20000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
    444. [    2.780508] mali fde60000.gpu: soc version=0, speed=2
    445. [    2.781379] rockchip-iodomain fdc20000.syscon:io-domains: vccio6(1800000 uV) supplied by vcc_1v8
    446. [    2.782310] mali fde60000.gpu: avs=0
    447. [    2.782706] rockchip-iodomain fdc20000.syscon:io-domains: vccio7(3300000 uV) supplied by vcc_3v3
    448. [    2.782984] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 143; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
    449. [    2.784415] input: adc-keys as /devices/platform/adc-keys/input/input3
    450. [    2.785772] mali fde60000.gpu: GPU identified as 0x2 arch 7.4.0 r1p0 status 0
    451. [    2.786643] mali fde60000.gpu: No priority control manager is configured
    452. [    2.787705] mali fde60000.gpu: No memory group manager is configured
    453. [    2.790289] mali fde60000.gpu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
    454. [    2.792775] mali fde60000.gpu: Probed as mali0
    455. [    2.794971] RKNPU fde40000.npu: Adding to iommu group 0
    456. [    2.795974] RKNPU fde40000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
    457. [    2.796997] RKNPU fde40000.npu: can't request region for resource [mem 0xfde40000-0xfde4ffff]
    458. [    2.798361] [drm] Initialized rknpu 0.9.3 20231121 for fde40000.npu on minor 1
    459. [    2.799592] RKNPU fde40000.npu: bin=0
    460. [    2.800027] RKNPU fde40000.npu: leakage=4
    461. [    2.800445] RKNPU fde40000.npu: pvtm = 87290, from nvmem
    462. [    2.800961] RKNPU fde40000.npu: pvtm-volt-sel=2
    463. [    2.801401] RKNPU fde40000.npu: soc version=0, speed=2
    464. [    2.802437] RKNPU fde40000.npu: avs=0
    465. [    2.802977] RKNPU fde40000.npu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
    466. [    2.804312] RKNPU fde40000.npu: failed to find power_model node
    467. [    2.804879] RKNPU fde40000.npu: RKNPU: failed to initialize power model
    468. [    2.805507] RKNPU fde40000.npu: RKNPU: failed to get dynamic-coefficient
    469. [    2.807453] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    470. [    2.815368] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

    Copy the code

    more info here


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list