Skip to content

Add SpacemiT K3 Vendor BSP#636

Merged
Khem Raj (kraj) merged 11 commits into
riscv:masterfrom
threexc:tgamblin/k3-vendor-bsp
Jun 23, 2026
Merged

Add SpacemiT K3 Vendor BSP#636
Khem Raj (kraj) merged 11 commits into
riscv:masterfrom
threexc:tgamblin/k3-vendor-bsp

Conversation

@threexc

@threexc Trevor Gamblin (threexc) commented May 21, 2026

Copy link
Copy Markdown
Contributor

Overview

This is an effort on behalf of SpacemiT to add support for their K3 platforms to meta-riscv. It breaks down the changes made in the spacemit-yocto fork of meta-riscv into more discrete and digestible pieces focused on a minimal, headless image, while omitting the parts which aren't strictly required, notably:

  • Other boards (will be added on a case-by-case basis, as people can test them)
  • Custom toolchain usage for firmware blobs
  • Changes to the mesa recipes and related graphics support
  • Support for the SpacemiT Titan flashing process

These features will be investigated after basic support is tested and merged.

I've opened this now so that others can review and propose additional BSP support if they have other K3 boards to test with. I've followed the same format we did for the K1 platforms and created a k3-vendor.inc file with the common logic included so that adding those other BSPs as we go will require minimal effort.

Status

As of EOD on May 29th, 2026, I have confirmed that this works by booting three ways:

  1. kernel + dtb + Bianbu rootfs (from UFS):
Bianbu 4.0rc2 tgamblin-spacemitk3picoitx ttyS0
tgamblin-spacemitk3picoitx login: tgamblin
Password:
Welcome to Bianbu 4.0rc2 (GNU/Linux 6.18.3-k3 riscv64)

 * Documentation:  https://bianbu.spacemit.com
 * Support:        https://ticket.spacemit.com

tgamblin@tgamblin-spacemitk3picoitx:~$
  1. kernel + dtb + initramfs via tftpboot:
~ # uname -a
Linux (none) 6.18.3-k3 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026 riscv64 GNU/Linux
~ # cat /etc/issue
OpenEmbedded nodistro.0 \n \l
~ # dmesg | grep -i riscv
[    0.000000] Linux version 6.18.3-k3 (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026
[    0.000000] riscv: base ISA extensions acdfhimv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] riscv-intc: 64 local interrupts mapped using AIA
[    0.000000] riscv-imsic: interrupt-controller@e0400000: providing IPIs using interrupt 1
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.007987] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[    0.070994] riscv: ELF compat mode unsupported
[    0.211236] riscv-sdtrig: Writing 'PID' to scontext CSR is enabled
[    0.499140] clocksource: Switched to clocksource riscv_clocksource
[    0.697999] riscv-imsic: interrupt-controller@e0400000:  hart-index-bits: 4,  guest-index-bits: 6
[    0.706282] riscv-imsic: interrupt-controller@e0400000: group-index-bits: 0, group-index-shift: 24
[    0.715219] riscv-imsic: interrupt-controller@e0400000: per-CPU IDs 511 at base address 0x00000000e0400000
[    0.724853] riscv-imsic: interrupt-controller@e0400000: total 8160 interrupts available
[    0.733086] riscv-aplic e0804000.interrupt-controller: 512 interrupts forwarded to MSI base 0x00000000e0400000
[    1.678135] riscv-sbi-mpxy-mbox soc:mpxy_mbox@0: mailbox registered with 5 channels
[    1.763656] riscv-pmu-sbi: SBI PMU extension is available
[    1.768876] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    3.451291] riscv-rpmi-rtc soc:rpmi_rtc@0: registered as rtc0
[    3.462110] riscv-rpmi-rtc soc:rpmi_rtc@0: setting system clock to 2026-05-26T18:03:51 UTC (1779818631)
~ #
  1. Secondary booting from NVMe rootfs. This is a slightly more complicated process. Here are the steps I followed:
    1. Writing the .wic image to my NVMe drive with a USB-to-NVMe adapter and bmaptool
    2. Breaking into the UFS U-Boot and running:
=> [  22.366] nvm
Now int init_x2_puphy...
[  23.005] waiting pll lock...
[  23.007] PHY PLL Locked.
[  23.019] Now int init_x2_puphy...
[  23.019] waiting pll lock...
[  23.022] PHY PLL Locked.
[  23.025] pcie_dw_spacemit pcie@80000000: pcie config device cmd in rc mode: 0x3bf
[  23.169] PCIE-0: Link up (Gen3-x4, Bus0)
[  23.173] pcie_dw_spacemit pcie@80400000: failed to map lanes: -22
[  23.176] pcie_dw_spacemit pcie@80400000: failed to init phy: -22
[  23.182] nvme - NVM Express sub-system

[  23.186] Usage:
nvme scan - scan NVMe devices
nvme detail - show details of current NVMe device
nvme info - show all available NVMe devices
nvme device [dev] - show or set current NVMe device
nvme part [dev] - print partition table of one or all NVMe devices
nvme read addr blk# cnt - read `cnt' blocks starting at block
   `blk#' to memory address `addr'
nvme write addr blk# cnt - write `cnt' blocks starting at block
   `blk#' from memory address `addr'
=> nvme scan
pcie_dw_spacemit pcie@80400000: failed to map lanes: -22
[  27.714] pcie_dw_spacemit pcie@80400000: failed to init phy: -22
=> [  28.749] nvme info
pcie_dw_spacemit pcie@80400000: failed to map lanes: -22
[  30.035] pcie_dw_spacemit pcie@80400000: failed to init phy: -22
[  30.041] Device 0: Vendor: 0x144d Rev: BL2QHXC7 Prod: S67WNF1W173513
[  30.048]             Type: Hard Disk
[  30.051]             Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
=> [  30.469] nvme part
pcie_dw_spacemit pcie@80400000: failed to map lanes: -22
[  31.696] pcie_dw_spacemit pcie@80400000: failed to init phy: -22
[  31.702]
Partition Map for NVMe device 0  --   Partition Type: EFI

[  31.710] Part Start LBA       End LBA         Name
[  31.712]      Attributes
[  31.714]      Type GUID
[  31.716]      Partition GUID
[  31.718]   1  0x00000500      0x0000057f      "env"
[  31.722]      attrs:  0x0000000000000000
[  31.725]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.731]      guid:   91d1d086-df83-42be-a8b9-1cb5946d0ac1
[  31.736]   2  0x00000c00      0x00000fff      "fsbl"
[  31.740]      attrs:  0x0000000000000000
[  31.743]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.749]      guid:   72559605-10a8-4e25-88fc-679306d3d6ba
[  31.754]   3  0x00002000      0x000037ff      "esos"
[  31.758]      attrs:  0x0000000000000000
[  31.761]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.767]      guid:   b329a7fa-6d50-4d2d-aba0-2253d00bbf40
[  31.772]   4  0x00003800      0x00003fff      "opensbi"
[  31.776]      attrs:  0x0000000000000000
[  31.779]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.785]      guid:   003a5122-7b51-4be5-8552-4021f5d1acad
[  31.790]   5  0x00004000      0x00005fff      "uboot"
[  31.794]      attrs:  0x0000000000000000
[  31.797]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.803]      guid:   3208442e-2e5f-40e7-aa4c-084179a98478
[  31.808]   6  0x00006000      0x00085fff      "bootfs"
[  31.812]      attrs:  0x0000000000000000
[  31.815]      type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
              (data)
[  31.821]      guid:   2435f142-c960-4213-906a-b8289f47996b
[  31.826]   7  0x00086000      0x000e57e7      "rootfs"
[  31.830]      attrs:  0x0000000000000000
[  31.833]      type:   0fc63daf-8483-4772-8e79-3d69d8477de4
              (linux)
[  31.839]      guid:   7e40f472-1884-4de8-a469-64e1dd76d731
=> [  61.599] part uuid nvme 0:7 nvme_rootfs_partuuid
=> printenv nvme_rootfs_partuuid
nvme_rootfs_partuuid=7e40f472-1884-4de8-a469-64e1dd76d731
=> [  78.877] load nvme 0:6 ${kernel_addr_r} /vmlinuz-6.18.3-k3
12948785 bytes read in 20 ms (617.4 MiB/s)
=> [  83.203] load nvme 0:6 ${fdt_addr_r} /spacemit/6.18.3-k3/k3-pico-itx.dtb
138304 bytes read in 0 ms
=> [  89.092] setenv bootargs 'root=PARTUUID=7e40f472-1884-4de8-a469-64e1dd76d731 rw rootwait rootfstype=ext4 earlycon=sbi console=ttyS0,115200'
=> booti ${kernel_addr_r} - ${fdt_addr_r}
 Uncompressing Kernel Image
[  95.005] Moving Image from 0x140000000 to 0x102200000, end=1042cb000
[  95.014] ## Flattened Device Tree blob at 138000000
[  95.016]    Booting using the fdt blob at 0x138000000
[  95.274]    Loading Device Tree to 00000003fbd4c000, end 00000003fbd70c3f ... OK

... (boot log omitted for brevity)

OpenEmbedded nodistro.0 k3-pico-itx ttyS0

Type 'root' to login with superuser privileges (no password will be asked).

k3-pico-itx login: [   10.584089] dwmac-spacemit-ethqos cac80000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.934859] platform soc:sound-card@1: deferred probe pending: asoc-simple-card: parse error
root
root@k3-pico-itx:~# cat /proc/version
Linux version 6.18.3-k3 (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 16.1.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026
root@k3-pico-itx:~#

I'll test an NFS root soon. Do you all think that this combination is sufficient proof that the BSP is ready? It would be good to confirm this also with a CoM260 and microSD card, but I'm not sure how soon I'll be able to try that. Is there someone else out there who's expecting a CoM260 board any day now?

Note that most of the commits have been updated to fix attribution - Yingjie Liu is the correct author for almost all of the commits (excepting the u-boot-spl-k3 patch), and I have added my Co-developed-by tag.

See also: #635

June 8th, 2026 Update: We have confirmed that NVMe flash and boot works. Here is the console output from Yingjie's testing:

k3-pico-itx login: root

WARNING: Poky is a reference Yocto Project distribution that should be used for
testing and development purposes only. It is recommended that you create your
own distribution for production use.

root@k3-pico-itx:~#
root@k3-pico-itx:~# ls
root@k3-pico-itx:~# [   13.892265] platform soc:rpmi_rtc@0: deferred probe pending: platform: supplier soc:mpxy_mbox@0 not ready
[   13.899184] platform d4011000.i2c: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.910655] platform d4012000.i2c: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.922108] platform f0614000.i2c: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.933569] platform d401d800.i2c: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.945026] platform c0500000.linlon-v5: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.957006] platform soc:sound-card@1: deferred probe pending: asoc-simple-card: parse error
[   13.965425] platform soc:sound-card-dp1@1: deferred probe pending: asoc-simple-card: parse error
[   13.974189] platform cac00000.imggpu: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   13.985912] platform soc:power-management@0:power-controller: deferred probe pending: platform: supplier soc:mpxy_mbox@0 not ready
[   13.997627] platform soc:rpmi_regulator@0: deferred probe pending: platform: supplier soc:mpxy_mbox@0 not ready
[   14.007702] platform soc:dpu0_crtc0: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   14.019331] platform soc:dpu1_crtc0: deferred probe pending: platform: supplier soc:power-management@0:power-controller not ready
[   14.030965] platform soc:rpmi_pwrkey@0: deferred probe pending: platform: supplier soc:mpxy_mbox@0 not ready
df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                     7.8G      9.2M      7.8G   0% /run
devtmpfs                  7.5G         0      7.5G   0% /dev
/dev/nvme0n1p7          184.2M     98.8M     71.6M  58% /
tmpfs                     7.8G         0      7.8G   0% /dev/shm
tmpfs                     7.8G         0      7.8G   0% /tmp
none                      1.0M         0      1.0M   0% /run/credentials/systemd-journald.service
none                      1.0M         0      1.0M   0% /run/credentials/systemd-resolved.service
none                      1.0M         0      1.0M   0% /run/credentials/systemd-networkd.service
tmpfs                     7.8G      8.0K      7.8G   0% /var/volatile
none                      1.0M         0      1.0M   0% /run/credentials/getty@tty1.service
none                      1.0M         0      1.0M   0% /run/credentials/serial-getty@ttyS0.service
tmpfs                     1.6G      4.0K      1.6G   0% /run/user/0
root@k3-pico-itx:~# cat /proc/version
Linux version 6.18.3-k3 (oe-user@oe-host) (riscv64-poky-linux-gcc (GCC) 16.1.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026

@threexc Trevor Gamblin (threexc) changed the title Tgamblin/k3 vendor bsp add k3 vendor bsp May 21, 2026
@threexc Trevor Gamblin (threexc) changed the title add k3 vendor bsp Add SpacemiT K3 Vendor BSP May 21, 2026
@kraj

Copy link
Copy Markdown
Collaborator

how is this related to #635 ? Can you consolidate both PRs, I do not want multiple PRs addressing same patches.

@threexc

Copy link
Copy Markdown
Contributor Author

how is this related to #635 ? Can you consolidate both PRs, I do not want multiple PRs addressing same patches.

This is my effort to break down what's in #635 into more reviewable chunks and clean it up - I had started yesterday but hadn't sent a PR yet before that one went up. I will discuss with the submitter and we'll get it down to one or the other soon.

@threexc

Trevor Gamblin (threexc) commented May 21, 2026

Copy link
Copy Markdown
Contributor Author

Latest push builds OK, but has some warnings and a lot of unnecessary stuff. Still need to do a sweep of licensing info, fix attribution (waiting for SpacemiT feedback), and summarize all of the differences.

My K3 was scheduled to arrive today, but it isn't here. Will start testing as soon as it arrives.

Comment thread recipes-bsp/esos/esos-k3_1.0.0.bb Outdated
Comment thread recipes-bsp/esos/esos-k3_1.0.0.bb Outdated
Comment thread recipes-bsp/k3-rootfs-overlay/k3-rootfs-overlay.bb Outdated
Comment thread recipes-bsp/u-boot/u-boot-k3/0001-Disable-source-tree-clean-check.patch Outdated
Comment thread recipes-bsp/u-boot/u-boot-k3_2022.10.bb Outdated
Comment thread recipes-core/init-k3/init-k3.bb Outdated
@threexc

Copy link
Copy Markdown
Contributor Author

Pushed some more cleanups to break the branch down to a basic image for SD card flashing only. From here on out I will start cleanups like what Alistair Francis (@alistair23) has suggested.

Comment thread classes/k3-vendor-image.bbclass
Comment thread classes/k3-vendor-image.bbclass
Comment thread conf/machine/include/k3-vendor.inc Outdated
Comment thread recipes-bsp/opensbi/opensbi-k3_1.4.bb Outdated
Comment thread recipes-bsp/u-boot/u-boot-k3_2022.10.bb Outdated
Comment thread classes/k3-vendor-image.bbclass
@threexc

Trevor Gamblin (threexc) commented May 22, 2026

Copy link
Copy Markdown
Contributor Author

Getting there. Still some problems I'm tweaking in the U-Boot recipe, plus the outstanding review comments. Aiming to have something functional for the Monday or Tuesday timeframe.

Thanks for the feedback so far!

@threexc

Copy link
Copy Markdown
Contributor Author

With my latest push, U-Boot is also building OK - I reworked it after reviewing what the vendor BSP for the OrangePi boards was doing.

Still have a few outstanding review comments to address, followed by device testing when it's here.

@threexc

Copy link
Copy Markdown
Contributor Author

I'm able to tftpboot my kernel + dtb OK on a K3 Pico-ITX, using the existing rootfs:

Bianbu 4.0rc2 tgamblin-spacemitk3picoitx ttyS0
tgamblin-spacemitk3picoitx login: tgamblin
Password:
Welcome to Bianbu 4.0rc2 (GNU/Linux 6.18.3-k3 riscv64)

 * Documentation:  https://bianbu.spacemit.com
 * Support:        https://ticket.spacemit.com

tgamblin@tgamblin-spacemitk3picoitx:~$

Note the 6.18.3-k3 ID.

@threexc

Copy link
Copy Markdown
Contributor Author

Booting with initramfs:

~ # uname -a
Linux (none) 6.18.3-k3 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026 riscv64 GNU/Linux
~ # cat /etc/issue
OpenEmbedded nodistro.0 \n \l
~ # dmesg | grep -i riscv
[    0.000000] Linux version 6.18.3-k3 (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT_DYNAMIC Thu Apr 30 08:02:53 UTC 2026
[    0.000000] riscv: base ISA extensions acdfhimv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] riscv-intc: 64 local interrupts mapped using AIA
[    0.000000] riscv-imsic: interrupt-controller@e0400000: providing IPIs using interrupt 1
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.007987] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[    0.070994] riscv: ELF compat mode unsupported
[    0.211236] riscv-sdtrig: Writing 'PID' to scontext CSR is enabled
[    0.499140] clocksource: Switched to clocksource riscv_clocksource
[    0.697999] riscv-imsic: interrupt-controller@e0400000:  hart-index-bits: 4,  guest-index-bits: 6
[    0.706282] riscv-imsic: interrupt-controller@e0400000: group-index-bits: 0, group-index-shift: 24
[    0.715219] riscv-imsic: interrupt-controller@e0400000: per-CPU IDs 511 at base address 0x00000000e0400000
[    0.724853] riscv-imsic: interrupt-controller@e0400000: total 8160 interrupts available
[    0.733086] riscv-aplic e0804000.interrupt-controller: 512 interrupts forwarded to MSI base 0x00000000e0400000
[    1.678135] riscv-sbi-mpxy-mbox soc:mpxy_mbox@0: mailbox registered with 5 channels
[    1.763656] riscv-pmu-sbi: SBI PMU extension is available
[    1.768876] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    3.451291] riscv-rpmi-rtc soc:rpmi_rtc@0: registered as rtc0
[    3.462110] riscv-rpmi-rtc soc:rpmi_rtc@0: setting system clock to 2026-05-26T18:03:51 UTC (1779818631)
~ #

@threexc Trevor Gamblin (threexc) force-pushed the tgamblin/k3-vendor-bsp branch 2 times, most recently from 314645a to 4a15075 Compare May 28, 2026 20:31
@threexc

Copy link
Copy Markdown
Contributor Author

Latest updates (also in top-level summary):

  • attribution fixed on commits
  • initramfs booting reliably via tftpboot
  • Tried but was unable to chainload from NVMe with core-image-minimal
  • NFSroot testing tomorrow

@threexc

Copy link
Copy Markdown
Contributor Author

Correction: Got NVMe secondary boot working. See the summary/overview details for log output including how to do it. I think this should be documented, so I'll write a commit.

@threexc Trevor Gamblin (threexc) force-pushed the tgamblin/k3-vendor-bsp branch 4 times, most recently from 47c67ef to a33f0ea Compare June 8, 2026 12:06
Comment thread recipes-core/images/core-image-minimal-initramfs.bbappend Outdated
Comment thread recipes-bsp/firmware/esos-k3_1.0.0.bb
@threexc Trevor Gamblin (threexc) force-pushed the tgamblin/k3-vendor-bsp branch 2 times, most recently from 38224e0 to fa777da Compare June 16, 2026 16:59
Comment thread recipes-bsp/firmware/esos-k3/rt24_os1_rcpu.elf Outdated
@threexc Trevor Gamblin (threexc) force-pushed the tgamblin/k3-vendor-bsp branch 2 times, most recently from 49731c6 to 5cb8ae1 Compare June 18, 2026 12:59
Comment thread recipes-bsp/opensbi/opensbi-k3_1.4.bb Outdated
Comment thread recipes-bsp/firmware/esos-k3/esos.itb Outdated
Comment thread classes/k3-vendor-image.bbclass Outdated
Comment thread classes/k3-vendor-image.bbclass
Comment thread classes/k3-vendor-image.bbclass Outdated
Comment thread conf/machine/include/k3-vendor.inc Outdated
Comment thread recipes-bsp/firmware/esos-k3_1.0.0.bb
@threexc

Trevor Gamblin (threexc) commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Think I may have introduced a regression with the latest change - getting a kernel panic on boot after cleaning my build directory. Doing some debug...

@threexc Trevor Gamblin (threexc) force-pushed the tgamblin/k3-vendor-bsp branch 2 times, most recently from 0447638 to 15bd6f9 Compare June 22, 2026 19:44
@threexc

Trevor Gamblin (threexc) commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Think I may have introduced a regression with the latest change - getting a kernel panic on boot after cleaning my build directory. Doing some debug...

After updating the SRCREV for linux-k3 and u-boot-k3 to the latest on the respective k3 branches, then rebuilding the key components again from scratch, I have a working boot on my NVMe drive:

try sd...
bm:3
ERROR:   CMD8
ERROR:   sd f! l:90
bm:4
nor m:0xef d:0x6017
j...

U-Boot SPL 2022.10 (May 27 2026 - 09:33:48 +0000)
DDR Part Number: MT62F4G32D8DV, Size: 16384MB, Data Rate: 6400MT/s
DDR quick boot consume 9ms
[   0.892]

U-Boot 2022.10 (May 27 2026 - 09:33:48 +0000), Build: jenkins-BSP-build-bsp-deb-407

[   0.898] CPU:   rv64imafdcvh
[   0.900] Model: spacemit k3 pico itx board
[   0.905] DRAM:  32 GiB
[   0.911] espi_post_bind: espi@cac8c000, seq=0
[   0.913] espi_child_post_bind: binding child device ec@0
[   0.922] reset driver probe finish
[   1.023] Slave general capabilities: 0x0308000f
[   1.025] spacemit_espi espi@cac8c000: SpacemiT eSPI controller initialized successfully
[   1.038] RT7451: Retimer already initialized, skipping
[   1.043] Core:  627 devices, 33 uclasses, devicetree: board
[   1.046] WDT:   Started watchdog@d4014000 with servicing (60s timeout)
[   1.052] MMC:
[   1.054] Loading Environment from mtdENV... k1x_qspi spi@d420c000: qspi iobase:0x0x00000000d420c000, ahb_addr:0x0x00000000b8000000, max_hz:26000000Hz
[   1.067] k1x_qspi spi@d420c000: rx buf size:128, tx buf size:256, ahb buf size=512
[   1.074] k1x_qspi spi@d420c000: AHB read enabled
[   1.079] k1x_qspi spi@d420c000: AHB buf size: 512
[   1.083] k1x_qspi spi@d420c000: Speed Change: 26000000 Hz -> 26500000 Hz
[   1.090] SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
OK
[   1.179] Now int init_x2_puphy...
[   1.179] waiting pll lock...
[   1.182] PHY PLL Locked.
[   1.194] Now int init_x2_puphy...
[   1.194] waiting pll lock...
[   1.197] PHY PLL Locked.
[   1.200] pcie_dw_spacemit pcie@80000000: pcie config device cmd in rc mode: 0x3bf
[   1.343] PCIE-0: Link up (Gen3-x4, Bus0)
[   1.348] pcie_dw_spacemit pcie@80400000: failed to map lanes: -22
[   1.351] pcie_dw_spacemit pcie@80400000: failed to init phy: -22
[   1.386] Error (-1): cannot determine file size
[   1.388] initialize_console_log_buffer
[   1.391] Have allocated memory for console log buffer
[   1.396] In:    serial
[   1.399] Out:   serial
[   1.401] Err:   serial
[   1.407] Found device 'dp1@cac88000', disp_uc_priv=00000003fbea31f0
[   1.564] dp cannot get HPD signal
[   1.565] spacemit_display_init: device 'dpu@c0340000' display won't probe (ret=-1)
[   1.725] dp cannot get HPD signal
[   1.725] display devices not found or not probed yet: -1
[   1.730] Found 1 valid MAC addresses.
[   1.734] TLV item: product_name = k3-pico-itx
[   1.738] TLV item: part# = MPK3
[   1.741] TLV item: serial# = HW3MPK3321280188
[   1.746] TLV item: ddr_partnumber = MT62F4G32D8DV
[   1.751] spacemit reboot: read PMIC reg 0xab value 0xf0
[   1.757] SRAM cleared: addr=0xc0800000 size=0x80000
[   1.769] 205 bytes read in 0 ms
[   1.769] ## Info: input data size = 206 = 0xCE
[   1.774] load env_k3.txt from bootfs successful
[   1.786] Autoboot in 0 seconds
[   1.796] Try to boot from nvme0 ...
[   1.824] product_name: k3-pico-itx
[   1.824] match dtb by product_name: spacemit/6.18.3-k3/k3-pico-itx.dtb
[   1.831] select spacemit/6.18.3-k3/k3-pico-itx.dtb to load
[   1.836] Loading kernel...
[   2.000] 12942154 bytes read in 160 ms (77.1 MiB/s)
[   2.002] Loading dtb...
[   2.011] 139714 bytes read in 7 ms (19 MiB/s)
[   2.013] Loading ramdisk ...
[   2.269] 16392874 bytes read in 253 ms (61.8 MiB/s)
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
[   2.281]    Uncompressing Kernel Image
[   2.457] Moving Image from 0x140000000 to 0x102200000, end=1042f6000
[   2.466] ## Flattened Device Tree blob at 138000000
[   2.468]    Booting using the fdt blob at 0x138000000
[   2.473]    Loading Ramdisk to 3fadd1000, end 3fbd732aa ... OK
[   2.534]    Loading Device Tree to 00000003fadab000, end 00000003fadd01c1 ... OK

Starting kernel ...

[   2.603] Removing MTD device #0 (nor0) with use count 1
[    0.000000] Booting Linux on hartid 0
[    0.000000] Linux version 6.18.3-k3 (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 16.1.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT_DYNAMIC Tue May 26 15:02:18 UTC 2026
[    0.000000] random: crng init done
[    0.000000] Machine model: SpacemiT K3 Pico ITX
[    0.000000] SBI specification v2.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10006
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] SBI DBCN extension detected
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: legacy bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000140000000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000140000000..0x000000015fffffff (524288 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x00000003fe000000..0x00000003ffffffff (32768 KiB) map non-reusable framebuffer@3,fe000000
[    0.000000] OF: reserved mem: 0x0000000100000000..0x00000001000fffff (1024 KiB) nomap non-reusable mmode_resv0@1,0
[    0.000000] OF: reserved mem: 0x0000000100600000..0x00000001006fffff (1024 KiB) nomap non-reusable mmode_resv1@1,600000
[    0.000000] OF: reserved mem: 0x0000000100c00000..0x0000000100cfffff (1024 KiB) nomap non-reusable mmode_resv2@1,c00000
[    0.000000] OF: reserved mem: 0x0000000100f00000..0x0000000100ffffff (1024 KiB) nomap non-reusable mmode_resv3@1,f00000
[    0.000000] OF: reserved mem: 0x0000000100200000..0x00000001003fffff (2048 KiB) nomap non-reusable mmode_resv4@1,200000
[    0.000000] OF: reserved mem: 0x0000000100400000..0x00000001005fffff (2048 KiB) nomap non-reusable mmode_resv5@1,400000
[    0.000000] OF: reserved mem: 0x0000000101000000..0x00000001011fffff (2048 KiB) nomap non-reusable mmode_resv6@1,1000000
[    0.000000] OF: reserved mem: 0x0000000100800000..0x0000000100bfffff (4096 KiB) nomap non-reusable mmode_resv7@1,800000
[    0.000000] OF: reserved mem: 0x0000000100200000..0x00000001004fffff (3072 KiB) nomap non-reusable rcpu0_pwr@100200000
[    0.000000] OF: reserved mem: 0x0000000100500000..0x00000001006fffff (2048 KiB) nomap non-reusable rcpu0_heap@100500000
[    0.000000] OF: reserved mem: 0x00000000c0876000..0x00000000c0878fff (12 KiB) nomap non-reusable vdev0vring0@c0876000
[    0.000000] OF: reserved mem: 0x00000000c0879000..0x00000000c087bfff (12 KiB) nomap non-reusable vdev0vring1@c0879000
[    0.000000] OF: reserved mem: 0x00000000c087c000..0x00000000c087cfff (4 KiB) nomap non-reusable vdev0vring2@c087c000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000100700000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@100700000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000100700000..0x00000001007fbfff (1008 KiB) nomap non-reusable vdev0buffer@100700000
[    0.000000] OF: reserved mem: 0x00000001007fc000..0x00000001007fffff (16 KiB) nomap non-reusable rcpu0_rsc_table@1007fc000
[    0.000000] OF: reserved mem: 0x0000000100800000..0x0000000100afffff (3072 KiB) nomap non-reusable rcpu1_runtime@100800000
[    0.000000] OF: reserved mem: 0x0000000100b00000..0x0000000100cfffff (2048 KiB) nomap non-reusable rcpu1_heap@100B00000
[    0.000000] OF: reserved mem: 0x00000000c086c000..0x00000000c086efff (12 KiB) nomap non-reusable vdev0vring0@c086c000
[    0.000000] OF: reserved mem: 0x00000000c086f000..0x00000000c0871fff (12 KiB) nomap non-reusable vdev0vring1@c086f000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000100d00000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@100d00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000100d00000..0x0000000100dfbfff (1008 KiB) nomap non-reusable vdev0buffer@100d00000
[    0.000000] OF: reserved mem: 0x0000000100dfc000..0x0000000100dfffff (16 KiB) nomap non-reusable rcpu1_rsc_table@100dfc000
[    0.000000] OF: reserved mem: 0x0000000100e00000..0x0000000100e03fff (16 KiB) nomap non-reusable rpmi0@100e00000
[    0.000000] OF: reserved mem: 0x0000000100f00000..0x00000001011fffff (3072 KiB) nomap non-reusable rcpu_dtb_table@100f00000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000101b00000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node dpu_reserved@101b00000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000101b00000..0x0000000101d7ffff (2560 KiB) nomap non-reusable dpu_reserved@101b00000
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000101d80000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node dpu_reserved1@101d80000, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000101d80000..0x0000000101ffffff (2560 KiB) nomap non-reusable dpu_reserved1@101d80000
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] mmode_resv4@1,200000 (0x0000000100200000--0x0000000100400000) overlaps with rcpu0_pwr@100200000 (0x0000000100200000--0x0000000100500000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] rcpu0_pwr@100200000 (0x0000000100200000--0x0000000100500000) overlaps with mmode_resv5@1,400000 (0x0000000100400000--0x0000000100600000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] mmode_resv5@1,400000 (0x0000000100400000--0x0000000100600000) overlaps with rcpu0_heap@100500000 (0x0000000100500000--0x0000000100700000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] rcpu0_heap@100500000 (0x0000000100500000--0x0000000100700000) overlaps with mmode_resv1@1,600000 (0x0000000100600000--0x0000000100700000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] rcpu1_runtime@100800000 (0x0000000100800000--0x0000000100b00000) overlaps with mmode_resv7@1,800000 (0x0000000100800000--0x0000000100c00000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] mmode_resv7@1,800000 (0x0000000100800000--0x0000000100c00000) overlaps with rcpu1_heap@100B00000 (0x0000000100b00000--0x0000000100d00000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] rcpu1_heap@100B00000 (0x0000000100b00000--0x0000000100d00000) overlaps with mmode_resv2@1,c00000 (0x0000000100c00000--0x0000000100d00000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] mmode_resv3@1,f00000 (0x0000000100f00000--0x0000000101000000) overlaps with rcpu_dtb_table@100f00000 (0x0000000100f00000--0x0000000101200000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] rcpu_dtb_table@100f00000 (0x0000000100f00000--0x0000000101200000) overlaps with mmode_resv6@1,1000000 (0x0000000101000000--0x0000000101200000)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000102000000-0x00000008ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000102000000-0x00000008ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000102000000-0x00000008ffffffff]
[    0.000000] On node 0, zone Normal: 8192 pages in unavailable ranges
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfhimv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] Ticket spinlock: enabled
[    0.000000] percpu: Embedded 52 pages/cpu s89176 r8192 d115624 u212992
[    0.000000] pcpu-alloc: s89176 r8192 d115624 u212992 alloc=52*4096
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15
[    0.000000] Kernel command line: plymouth.prefer-fbcon plymouth.ignore-serial-consoles loglevel=8 mtdparts=d420c000.spi:128K@0(bootinfo),512K@128K(fsbl),64K@640K(env),1M@704K(esos),384K@1728K(opensbi),-@2112K(u
boot) rootfstype=ext4 root=PARTUUID=acbba114-8f04-483c-b200-475025bdf215 bootfs=PARTUUID=cfa9916f-9ca8-4de0-a46c-e0fb8386bf24 boot_mode=nor earlycon=sbi console=ttyS0,115200 random.trust_bootloader=1 unaligned_sca
lar_speed=fast unaligned_vector_speed=fast
[    0.000000] Unknown kernel command line parameters "bootfs=PARTUUID=cfa9916f-9ca8-4de0-a46c-e0fb8386bf24 boot_mode=nor", will be passed to user space.
[    0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[    0.000000] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 31MB
[    0.000000] software IO TLB: area num 16.
[    0.000000] software IO TLB: mapped [mem 0x00000008d9ac0000-0x00000008dbac0000] (32MB)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8380416
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000]
[    0.000000] **********************************************************
[    0.000000] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[    0.000000] **                                                      **
[    0.000000] ** trace_printk() being used. Allocating extra memory.  **
[    0.000000] **                                                      **
[    0.000000] ** This means that this is a DEBUG kernel and it is     **
[    0.000000] ** unsafe for production use.                           **
[    0.000000] **                                                      **
[    0.000000] ** If you see this message and you are not debugging    **
[    0.000000] ** the kernel, report this immediately to your vendor!  **
[    0.000000] **                                                      **
[    0.000000] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[    0.000000] **********************************************************
[    0.000000] Dynamic Preempt: voluntary
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] RCU Tasks: Setting shift to 4 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=16.
[    0.000000] RCU Tasks Trace: Setting shift to 4 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=16.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped using AIA
[    0.000000] riscv-imsic: interrupt-controller@e0400000: providing IPIs using interrupt 1
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.007985] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[    0.015789] init_sbi_dbtr: mcontrol6 trigger available.
[    0.020827] Console: colour dummy device 80x25
[    0.025202] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.035419] pid_max: default: 32768 minimum: 301
[    0.040107] LSM: initializing lsm=capability,landlock,apparmor
[    0.045938] landlock: Up and running.
[    0.049644] AppArmor: AppArmor initialized
[    0.053663] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.061145] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.071001] riscv: ELF compat mode unsupported
[    0.071011] ASID allocator using 16 bits (65536 entries)
[    0.078875] rcu: Hierarchical SRCU implementation.
[    0.083597] rcu:     Max phase no-delay instances is 1000.
[    0.088913] Timer migration: 2 hierarchy levels; 8 children per group; 2 crossnode level
[    0.097173] EFI services will not be available.
[    0.101680] smp: Bringing up secondary CPUs ...
[    0.117537] smp: Brought up 1 node, 16 CPUs
[    0.119442] Memory: 32245532K/33521664K available (15849K kernel code, 6176K rwdata, 8192K rodata, 2442K init, 555K bss, 711240K reserved, 524288K cma-reserved)
[    0.136570] devtmpfs: initialized
[    0.152811] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.159628] posixtimers hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.167165] futex hash table entries: 4096 (262144 bytes on 1 NUMA nodes, total 256 KiB, linear).
[    0.178083] pinctrl core: initialized pinctrl subsystem
[    0.182357] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.188038] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[    0.194170] audit: initializing netlink subsys (disabled)
[    0.199651] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
[    0.199799] display class register
[    0.210725] thermal_sys: Registered thermal governor 'step_wise'
[    0.211285] riscv-sdtrig: Writing 'PID' to scontext CSR is enabled
[    0.222844] scalar unaligned access speed set to 'fast' (3) by command line
[    0.229743] vector unaligned access speed set to 'fast' (3) by command line
[    0.236686] suspend: SBI SUSP extension detected
[    0.241286] arch_hw_breakpoint_init: total number of type 6 triggers: 3
[    0.247891] CPU 0: HW Breakpoint shared memory registered.
[    0.253369] CPU 1: HW Breakpoint shared memory registered.
[    0.258837] CPU 2: HW Breakpoint shared memory registered.
[    0.264305] CPU 3: HW Breakpoint shared memory registered.
[    0.269771] CPU 4: HW Breakpoint shared memory registered.
[    0.275238] CPU 5: HW Breakpoint shared memory registered.
[    0.280709] CPU 6: HW Breakpoint shared memory registered.
[    0.286177] CPU 7: HW Breakpoint shared memory registered.
[    0.291652] CPU 8: HW Breakpoint shared memory registered.
[    0.297124] CPU 9: HW Breakpoint shared memory registered.
[    0.302593] CPU 10: HW Breakpoint shared memory registered.
[    0.308147] CPU 11: HW Breakpoint shared memory registered.
[    0.313707] CPU 12: HW Breakpoint shared memory registered.
[    0.319260] CPU 13: HW Breakpoint shared memory registered.
[    0.324815] CPU 14: HW Breakpoint shared memory registered.
[    0.330371] CPU 15: HW Breakpoint shared memory registered.
[    0.363285] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.367121] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[    0.373716] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.380485] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.386736] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.393506] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.401163] iommu: Default domain type: Translated
[    0.404621] iommu: DMA domain TLB invalidation policy: strict mode
[    0.411968] SCSI subsystem initialized
[    0.414604] libata version 3.00 loaded.
[    0.418448] usbcore: registered new interface driver usbfs
[    0.423828] usbcore: registered new interface driver hub
[    0.429125] usbcore: registered new device driver usb
[    0.434262] mc: Linux media interface: v0.10
[    0.438414] videodev: Linux video capture interface: v2.00
[    0.443909] pps_core: LinuxPPS API ver. 1 registered
[    0.448804] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.457925] PTP clock support registered
[    0.462068] Advanced Linux Sound Architecture Driver Initialized.
[    0.468351] NetLabel: Initializing
[    0.471283] NetLabel:  domain hash size = 128
[    0.475629] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.481304] NetLabel:  unlabeled traffic allowed by default
[    0.486968] mctp: management component transport protocol core
[    0.492643] NET: Registered PF_MCTP protocol family
[    0.497580] vgaarb: loaded
[    0.500468] clocksource: Switched to clocksource riscv_clocksource
[    0.506622] VFS: Disk quotas dquot_6.6.0
[    0.510283] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.517541] AppArmor: AppArmor Filesystem Enabled
[    0.525560] NET: Registered PF_INET protocol family
[    0.527659] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.540651] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.546497] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.554290] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.562810] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.570031] TCP: Hash tables configured (established 262144 bind 65536)
[    0.576392] MPTCP token hash table entries: 32768 (order: 8, 786432 bytes, linear)
[    0.583958] UDP hash table entries: 16384 (order: 8, 1048576 bytes, linear)
[    0.591018] UDP-Lite hash table entries: 16384 (order: 8, 1048576 bytes, linear)
[    0.598496] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.603717] NET: Registered PF_XDP protocol family
[    0.608477] PCI: CLS 0 bytes, default 64
[    0.612522] Unpacking initramfs...
[    0.615757] kvm [1]: hypervisor extension available
[    0.620630] kvm [1]: using Sv39x4 G-stage page table format
[    0.626173] kvm [1]: VMID 14 bits available
[    0.630342] kvm [1]: AIA available with 7 guest external interrupts
[    0.641745] Initialise system trusted keyrings
[    0.643326] workingset: timestamp_bits=46 max_order=23 bucket_order=0
[    0.650236] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.655688] fuse: init (API version 7.45)
[    0.680860] Key type asymmetric registered
[    0.682004] Asymmetric key parser 'x509' registered
[    0.686901] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241)
[    0.694362] io scheduler mq-deadline registered
[    0.699433] riscv-imsic: interrupt-controller@e0400000:  hart-index-bits: 4,  guest-index-bits: 6
[    0.707618] riscv-imsic: interrupt-controller@e0400000: group-index-bits: 0, group-index-shift: 24
[    0.716556] riscv-imsic: interrupt-controller@e0400000: per-CPU IDs 511 at base address 0x00000000e0400000
[    0.726190] riscv-imsic: interrupt-controller@e0400000: total 8160 interrupts available
[    0.734431] riscv-aplic e0804000.interrupt-controller: 512 interrupts forwarded to MSI base 0x00000000e0400000
[    0.745196] OF: /soc/phy@82100000: Read of boolean property 'combo-usb-bit' with a value.
[    0.758776] spacemit-reboot c087c000.reboot-mode-helper: initializing...
[    0.763136] Serial: 8250/16550 driver, 17 ports, IRQ sharing disabled
[    0.772365] [drm] spacemit_drm_probe()
[    0.773293] [drm] spacemit_drm_probe()
[    0.783329] loop: module loaded
[    0.783786] tcm 0.tcm: direct mmap phys 0x0 size 0x300000 block_size 0x60000 block_num 8 via /dev/tcm
[    0.793742] Rounding down aligned max_sectors from 4294967295 to 4294967288
[    0.799768] db_root: cannot open: /etc/target
[    0.805093] tun: Universal TUN/TAP device driver, 1.6
[    0.809632] EtherCAT: 1 master waiting for devices.
[    0.814053] usbcore: registered new interface driver ax88179_178a
[    0.820013] usbcore: registered new interface driver cdc_ether
[    0.825827] usbcore: registered new interface driver cdc_ncm
[    0.831626] VFIO - User Level meta-driver version: 0.3
[    0.838082] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.842052] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    0.849860] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000808000000090
[    0.859074] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x81400000
[    0.865045] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.870423] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    0.878061] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.884668] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18
[    0.892823] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.893859] Freeing initrd memory: 16008K
[    0.900021] usb usb1: Product: xHCI Host Controller
[    0.900024] usb usb1: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    0.900027] usb usb1: SerialNumber: xhci-hcd.0.auto
[    0.900300] hub 1-0:1.0: USB hub found
[    0.923157] hub 1-0:1.0: 1 port detected
[    0.927326] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.935176] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.18
[    0.943338] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.950544] usb usb2: Product: xHCI Host Controller
[    0.955402] usb usb2: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    0.961044] usb usb2: SerialNumber: xhci-hcd.0.auto
[    0.966152] hub 2-0:1.0: USB hub found
[    0.969654] hub 2-0:1.0: 1 port detected
[    0.973792] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    0.979024] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    0.986823] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000808000000090
[    0.996050] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x81700000
[    1.002018] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    1.007404] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    1.015046] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    1.021620] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18
[    1.029806] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.037001] usb usb3: Product: xHCI Host Controller
[    1.041859] usb usb3: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    1.047500] usb usb3: SerialNumber: xhci-hcd.1.auto
[    1.052588] hub 3-0:1.0: USB hub found
[    1.056104] hub 3-0:1.0: 1 port detected
[    1.060172] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.068123] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.18
[    1.076324] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.083533] usb usb4: Product: xHCI Host Controller
[    1.088389] usb usb4: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    1.094030] usb usb4: SerialNumber: xhci-hcd.1.auto
[    1.099130] hub 4-0:1.0: USB hub found
[    1.102640] hub 4-0:1.0: 1 port detected
[    1.106826] usbcore: registered new interface driver uas
[    1.111870] usbcore: registered new interface driver usb-storage
[    1.117840] usbcore: registered new device driver onboard-usb-dev
[    1.124674] i2c_dev: i2c /dev entries driver
[    1.128412] IR NEC protocol handler initialized
[    1.133249] usbcore: registered new interface driver uvcvideo
[    1.192676] System boots up not because of SoC watchdog reset.
[    1.200636] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev
[    1.206762] sdhci: Secure Digital Host Controller Interface driver
[    1.212732] sdhci: Copyright(c) Pierre Ossman
[    1.217063] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.223188] ufshcd-spacemit c0e00000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    1.233827] ufshcd-spacemit c0e00000.ufshc: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[    1.244581] ufshcd-spacemit c0e00000.ufshc: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[    1.255430] ufshcd-spacemit c0e00000.ufshc: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[    1.274345] ufshcd-spacemit c0e00000.ufshc: UniPro v1.6 init completed
[    1.561306] scsi host0: ufshcd
[    1.562141] Timer 0: loop_delay_fastclk is 26
[    1.562792] scsi 0:0:0:49488: Well-known LUN    KINGSTON TY7B-128         0004 PQ: 0 ANSI: 6
[    1.566031] hid: raw HID events driver (C) Jiri Kosina
[    1.574175] ufshcd-spacemit c0e00000.ufshc: lu 49488 scsi queue depth limited to 1
[    1.579494] scsi 0:0:0:49476: Well-known LUN    KINGSTON TY7B-128         0004 PQ: 0 ANSI: 6
[    1.587002] usbcore: registered new interface driver usbhid
[    1.595267] ufshcd-spacemit c0e00000.ufshc: lu 49476 scsi queue depth limited to 1
[    1.600817] usbhid: USB HID core driver
[    1.613284] riscv-sbi-mpxy-mbox soc:mpxy_mbox@0: mailbox registered with 5 channels
[    1.613404] ufshcd-spacemit c0e00000.ufshc: ufshcd_scsi_add_wlus: BOOT WLUN not found
[    1.621179] remoteproc remoteproc0: rcpu_rproc1 is available
[    1.628304] scsi 0:0:0:0: Direct-Access     KINGSTON TY7B-128         0004 PQ: 0 ANSI: 6
[    1.633317] remoteproc remoteproc0: attaching to rcpu_rproc1
[    1.641359] ufshcd-spacemit c0e00000.ufshc: lu 0 scsi queue depth limited to 1
[    1.647168] rproc-virtio rproc-virtio.2.auto: vdev 0 buffer already mapped
[    1.659399] sd 0:0:0:0: [sda] 31266816 4096-byte logical blocks: (128 GB/119 GiB)
[    1.661942] virtio_rpmsg_bus virtio0: rpmsg host is online
[    1.668682] sd 0:0:0:0: [sda] Write Protect is off
[    1.674004] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
[    1.678772] sd 0:0:0:0: [sda] Mode Sense: 00 32 00 10
[    1.680873] virtio_rpmsg_bus virtio0: creating channel adma-service addr 0x400
[    1.680953] adma_spacemit virtio0.adma-service.-1.1024: new channel: 0x400 -> 0x400!
[    1.680958] adma_spacemit virtio0.adma-service.-1.1024: rpmsg service 'adma-service' registered
[    1.685544] remoteproc remoteproc0: remote processor rcpu_rproc1 is now attached
[    1.690662] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    1.697962] riscv-pmu-sbi: SBI PMU extension is available
[    1.705543] sd 0:0:0:0: [sda] Preferred minimum I/O size 524288 bytes
[    1.714213] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    1.721567] sd 0:0:0:0: [sda] Optimal transfer size 524288 bytes
[    1.754158]  cs_system_cfg: CoreSight Configuration manager initialised
[    1.768981] usbcore: registered new interface driver snd-usb-audio
[    1.773074] NET: Registered PF_INET6 protocol family
[    1.777804] Segment Routing with IPv6
[    1.780821] In-situ OAM (IOAM) with IPv6
[    1.784745] NET: Registered PF_PACKET protocol family
[    1.790069]  sda: sda1 sda2 sda3
[    1.793230] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.794901] NET: Registered PF_RXRPC protocol family
[    1.802600] Key type rxrpc registered
[    1.806150] Key type rxrpc_s registered
[    1.810226] Key type dns_resolver registered
[    1.821550] Loading compiled-in X.509 certificates
[    1.836945] Key type .fscrypt registered
[    1.837915] Key type fscrypt-provisioning registered
[    1.842979] AppArmor: AppArmor sha256 policy hashing enabled
[    1.874906] v2d irq num = 33
[    1.876072] probe v2d driver done!
[    1.879706] OF: /soc/phy@82100000: Read of boolean property 'combo-usb-bit' with a value.
[    1.887225] k1-pinctrl d401e000.pinctrl: Wake-up interrupt initialized (IRQ 36)
[    1.894972] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.902794] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.911618] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.920485] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    1.929804] spacemit-k1-pcie 80400000.pcie: Device not detected, skipping initialization
[    1.929929] spacemit-k1-pcie 80000000.pcie: iommu bypassed
[    1.930050] spacemit-k1-pcie 80800000.pcie: iommu bypassed
[    1.930108] spacemit-k1-pcie 80800000.pcie: host bridge /soc/pcie@80800000 ranges:
[    1.930133] spacemit-k1-pcie 80800000.pcie:       IO 0x1200010000..0x120010ffff -> 0x0000000000
[    1.930152] spacemit-k1-pcie 80800000.pcie:      MEM 0x1200110000..0x127fffffff -> 0x0000110000
[    1.930161] spacemit-k1-pcie 80800000.pcie:      MEM 0x1500000000..0x15ffffffff -> 0x1500000000
[    1.930635] mmp-pdma d4000000.pdma: initialized 16 channels
[    1.931210] spacemit-k1-pcie 81000000.pcie: host bridge /soc/pcie@81000000 ranges:
[    1.931237] spacemit-k1-pcie 81000000.pcie:       IO 0x12c0010000..0x12c010ffff -> 0x0000000000
[    1.931258] spacemit-k1-pcie 81000000.pcie:      MEM 0x12c0110000..0x12ffffffff -> 0x00c0110000
[    1.931278] spacemit-k1-pcie 81000000.pcie:      MEM 0x1300000000..0x13ffffffff -> 0x1300000000
[    1.932255] spacemit,k3-pcie-phy 81f00000.phy-pcie: waiting PLL lock...
[    1.932475] spacemit,k3-pcie-phy 81f00000.phy-pcie: PHY PLL Locked.
[    1.932483] spacemit,k3-pcie-phy 82000000.phy-pcie: waiting PLL lock...
[    1.932992] spacemit,k3-pcie-phy 82000000.phy-pcie: PHY PLL Locked.
[    1.933392] spacemit,k3-pcie-phy 82200000.phy-pcie: waiting PLL lock...
[    1.933903] spacemit,k3-pcie-phy 82200000.phy-pcie: PHY PLL Locked.
[    1.939458] spacemit-socinfo soc:socinfo@0: Spacemit: CPU[unknown] REV[A] DRO[206] Detected
[    1.942728] spacemit-k1-pcie 80000000.pcie: host bridge /soc/pcie@80000000 ranges:
[    2.035029] spacemit-k1-pcie 80800000.pcie: iATU: unroll T, 16 ob, 16 ib, align 64K, limit 4G
[    2.035940] spacemit-k1-pcie 81000000.pcie: iATU: unroll T, 16 ob, 16 ib, align 64K, limit 4G
[    2.036320] spacemit-k1-pcie 81000000.pcie: PCI host bridge to bus 0004:00
[    2.036327] pci_bus 0004:00: root bus resource [bus 00-ff]
[    2.036333] pci_bus 0004:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x0000-0xfffff])
[    2.036337] pci_bus 0004:00: root bus resource [mem 0x12c0110000-0x12ffffffff] (bus address [0xc0110000-0xffffffff])
[    2.036340] pci_bus 0004:00: root bus resource [mem 0x1300000000-0x13ffffffff pref]
[    2.036367] pci 0004:00:00.0: [201f:0002] type 01 class 0x060400 PCIe Root Port
[    2.036383] pci 0004:00:00.0: PCI bridge to [bus 01-ff]
[    2.036390] pci 0004:00:00.0:   bridge window [io  0x100000-0x100fff]
[    2.036394] pci 0004:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.036401] pci 0004:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    2.036445] pci 0004:00:00.0: supports D1
[    2.036448] pci 0004:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.042379] spacemit-k1-pcie 80000000.pcie:       IO 0x1100010000..0x110010ffff -> 0x0000010000
[    2.042512] pci 0004:01:00.0: [10ec:b852] type 00 class 0x028000 PCIe Endpoint
[    2.042697] pci 0004:01:00.0: BAR 0 [io  0x100000-0x1000ff]
[    2.042716] pci 0004:01:00.0: BAR 2 [mem 0x00000000-0x000fffff 64bit]
[    2.043043] pci 0004:01:00.0: PME# supported from D0 D3hot D3cold
[    2.048519] pci 0004:01:00.0: ASPM: default states L0s
[    2.053157] spacemit-k1-pcie 80000000.pcie:      MEM 0x1100110000..0x117fffffff -> 0x0000110000
[    2.059483] pci_bus 0004:01: busn_res: [bus 01-ff] end is updated to 01
[    2.067733] spacemit-k1-pcie 80000000.pcie:      MEM 0x1800000000..0x18ffffffff -> 0x1800000000
[    2.075293] pci 0004:00:00.0: bridge window [mem 0x12c0200000-0x12c02fffff]: assigned
[    2.075358] spacemit-k1-pcie 80800000.pcie: PCI host bridge to bus 0002:00
[    2.075366] pci_bus 0002:00: root bus resource [bus 00-ff]
[    2.075370] pci_bus 0002:00: root bus resource [io  0x0000-0xfffff]
[    2.075374] pci_bus 0002:00: root bus resource [mem 0x1200110000-0x127fffffff] (bus address [0x00110000-0x7fffffff])
[    2.075378] pci_bus 0002:00: root bus resource [mem 0x1500000000-0x15ffffffff pref]
[    2.075397] pci 0002:00:00.0: [201f:0002] type 01 class 0x060400 PCIe Root Port
[    2.075409] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[    2.075414] pci 0002:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.075418] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.075423] pci 0002:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    2.075456] pci 0002:00:00.0: supports D1
[    2.075459] pci 0002:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.080543] pci 0002:01:00.0: [10ec:8127] type 00 class 0x020000 PCIe Endpoint
[    2.080646] pci 0002:01:00.0: BAR 0 [io  0x0000-0x00ff]
[    2.080658] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0003ffff 64bit]
[    2.080667] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[    2.080939] pci 0002:01:00.0: supports D1 D2
[    2.080941] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.085894] spacemit,k3-pcie-phy 81d00000.phy-pcie: waiting PLL lock...
[    2.092294] pci 0004:00:00.0: bridge window [io  0x100000-0x100fff]: assigned
[    2.092301] pci 0004:01:00.0: BAR 2 [mem 0x12c0200000-0x12c02fffff 64bit]: assigned
[    2.092899] pci 0002:01:00.0: ASPM: default states L0s
[    2.092921] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[    2.092933] pci 0002:00:00.0: bridge window [mem 0x1200200000-0x12002fffff]: assigned
[    2.092938] pci 0002:00:00.0: bridge window [io  0x1000-0x1fff]: assigned
[    2.092943] pci 0002:01:00.0: BAR 2 [mem 0x1200200000-0x120023ffff 64bit]: assigned
[    2.092967] pci 0002:01:00.0: BAR 4 [mem 0x1200240000-0x1200243fff 64bit]: assigned
[    2.092990] pci 0002:01:00.0: BAR 0 [io  0x1000-0x10ff]: assigned
[    2.092999] pci 0002:00:00.0: PCI bridge to [bus 01]
[    2.093003] pci 0002:00:00.0:   bridge window [io  0x1000-0x1fff]
[    2.093008] pci 0002:00:00.0:   bridge window [mem 0x1200200000-0x12002fffff]
[    2.093012] pci_bus 0002:00: resource 4 [io  0x0000-0xfffff]
[    2.093016] pci_bus 0002:00: resource 5 [mem 0x1200110000-0x127fffffff]
[    2.093019] pci_bus 0002:00: resource 6 [mem 0x1500000000-0x15ffffffff pref]
[    2.093023] pci_bus 0002:01: resource 0 [io  0x1000-0x1fff]
[    2.093025] pci_bus 0002:01: resource 1 [mem 0x1200200000-0x12002fffff]
[    2.093091] pcieport 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
[    2.093262] spacemit-k1-pcie 80800000.pcie: spacemit-pcie: link is up after host_init
[    2.099150] spacemit,k3-pcie-phy 81d00000.phy-pcie: PHY PLL Locked.
[    2.099163] spacemit,k3-pcie-phy 81e00000.phy-pcie: waiting PLL lock...
[    2.104656] pci 0004:01:00.0: BAR 0 [io  0x100000-0x1000ff]: assigned
[    2.113822] spacemit,k3-pcie-phy 81e00000.phy-pcie: PHY PLL Locked.
[    2.141380] printk: legacy console [ttyS0] disabled
[    2.144478] pci 0004:00:00.0: PCI bridge to [bus 01]
[    2.202108] pci_bus 0002:01: busn_res: [bus 01] end is updated to 01
[    2.203577] pci 0004:00:00.0:   bridge window [io  0x100000-0x100fff]
[    2.209659] pci 0002:00:00.0: PCI bridge to [bus 01]
[    2.214776] pci 0004:00:00.0:   bridge window [mem 0x12c0200000-0x12c02fffff]
[    2.215881] spacemit-k1-pcie 80000000.pcie: iATU: unroll T, 31 ob, 31 ib, align 64K, limit 4G
[    2.223456] pci 0002:00:00.0:   bridge window [io  0x1000-0x1fff]
[    2.230055] pci_bus 0004:00: resource 4 [io  0x100000-0x1fffff]
[    2.238734] pci 0002:00:00.0:   bridge window [mem 0x1200200000-0x12002fffff]
[    2.246545] pci_bus 0004:00: resource 5 [mem 0x12c0110000-0x12ffffffff]
[    2.253475] spacemit-k1-pcie 80000000.pcie: PCI host bridge to bus 0000:00
[    2.258872] pci_bus 0004:00: resource 6 [mem 0x1300000000-0x13ffffffff pref]
[    2.258876] pci_bus 0004:01: resource 0 [io  0x100000-0x100fff]
[    2.265128] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.275626] pci_bus 0004:01: resource 1 [mem 0x12c0200000-0x12c02fffff]
[    2.283270] pci_bus 0000:00: root bus resource [io  0x200000-0x2fffff] (bus address [0x10000-0x10ffff])
[    2.348478] usb 3-1: new full-speed USB device number 2 using xhci-hcd
[    2.351930] pci_bus 0000:00: root bus resource [mem 0x1100110000-0x117fffffff] (bus address [0x00110000-0x7fffffff])
[    2.501240] usb 3-1: New USB device found, idVendor=0bda, idProduct=b85b, bcdDevice= 0.00
[    2.502016] pci_bus 0000:00: root bus resource [mem 0x1800000000-0x18ffffffff pref]
[    2.508616] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.515054] pci 0000:00:00.0: [201f:0002] type 01 class 0x060400 PCIe Root Port
[    2.521285] usb 3-1: Product: Bluetooth Radio
[    2.526154] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x07ffffff]
[    2.531095] usb 3-1: Manufacturer: Realtek
[    2.537434] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x07ffffff]
[    2.537438] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.543855] usb 3-1: SerialNumber: 00e04c000001
[    2.548804] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.714604] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    2.714610] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    2.714644] pci 0000:00:00.0: supports D1
[    2.721378] d4017000.serial: ttyS0 at MMIO 0xd4017000 (irq = 42, base_baud = 921600) is a XScale
[    2.729098] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.748229] printk: legacy console [ttyS0] enabled
[    2.748229] printk: legacy console [ttyS0] enabled
[    2.753562] pci 0000:01:00.0: [144d:a80b] type 00 class 0x010802 PCIe Endpoint
[    2.753562] pci 0000:01:00.0: [144d:a80b] type 00 class 0x010802 PCIe Endpoint
[    2.757744] printk: legacy bootconsole [sbi0] disabled
[    2.757744] printk: legacy bootconsole [sbi0] disabled
[    2.782490] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
[    2.786800] [drm] spacemit_dpu_probe()
[    2.789283] pci 0000:01:00.0: PME# supported from D0 D3hot
[    2.792795] [drm] can not get lcd lpm commit qos value
[    2.798312] pci 0000:01:00.0: 31.504 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x4 link at 0000:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
[    2.803346] [drm] can not get lcd bl lpm qos value
[    2.803349] [drm] can not get lcd lpm period value
[    2.803551] Reserved memory: detected framebuffer at 0x00000003fe000000, size 32 MB
[    2.818624] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.825465] [drm] spacemit_dpu_probe()
[    2.828020] pci 0000:00:00.0: BAR 0 [mem 0x1108000000-0x110fffffff]: assigned
[    2.828071] pcieport 0004:00:00.0: of_irq_parse_pci: failed with rc=-22
[    2.828259] spacemit-k1-pcie 81000000.pcie: spacemit-pcie: link is up after host_init
[    2.835692] dpu_parse_dt, read hclk failed from dts!
[    2.842243] pci 0000:00:00.0: BAR 1 [mem 0x1110000000-0x1117ffffff]: assigned
[    2.846013] [drm] can not get lcd lpm commit qos value
[    2.853092] pci 0000:00:00.0: bridge window [mem 0x1100200000-0x11002fffff]: assigned
[    2.859685] [drm] can not get lcd bl lpm qos value
[    2.867503] pci 0000:01:00.0: BAR 0 [mem 0x1100200000-0x1100203fff 64bit]: assigned
[    2.872444] [drm] can not get lcd lpm period value
[    2.873202] spi-nor spi4.0: supply vcc not found, using dummy regulator
[    2.879589] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.917220] 6 cmdlinepart partitions found on MTD device d420c000.spi
[    2.921236] pci 0000:00:00.0:   bridge window [mem 0x1100200000-0x11002fffff]
[    2.927652] Creating 6 MTD partitions on "d420c000.spi":
[    2.934784] pci_bus 0000:00: resource 4 [io  0x200000-0x2fffff]
[    2.940069] 0x000000000000-0x000000020000 : "bootinfo"
[    2.940603] pci_bus 0004:01: busn_res: [bus 01] end is updated to 01
[    2.940614] pci 0004:00:00.0: PCI bridge to [bus 01]
[    2.940618] pci 0004:00:00.0:   bridge window [io  0x100000-0x100fff]
[    2.940623] pci 0004:00:00.0:   bridge window [mem 0x12c0200000-0x12c02fffff]
[    2.945973] pci_bus 0000:00: resource 5 [mem 0x1100110000-0x117fffffff]
[    2.951852] 0x000000020000-0x0000000a0000 : "fsbl"
[    2.957429] pci_bus 0000:00: resource 6 [mem 0x1800000000-0x18ffffffff pref]
[    2.963141] 0x0000000a0000-0x0000000b0000 : "env"
[    2.968803] pci_bus 0000:01: resource 1 [mem 0x1100200000-0x11002fffff]
[    2.976696] 0x0000000b0000-0x0000001b0000 : "esos"
[    2.982593] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
[    2.988045] 0x0000001b0000-0x000000210000 : "opensbi"
[    2.995434] pcieport 0000:00:00.0: PME: Signaling with IRQ 44
[    2.999763] 0x000000210000-0x000000800000 : "uboot"
[    3.005786] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
[    3.005873] spacemit-k1-pcie 80000000.pcie: spacemit-pcie: link is up after host_init
[    3.011456] dwmac-spacemit-ethqos cac80000.ethernet: IRQ eth_lpi not found
[    3.017116] nvme nvme0: pci function 0000:01:00.0
[    3.022014] dwmac-spacemit-ethqos cac80000.ethernet: IRQ sfty not found
[    3.027747] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    3.032824] dwmac-spacemit-ethqos cac80000.ethernet: rgmii tx clk is derived from the rx clk
[    3.043516] nvme nvme0: D3 entry latency set to 8 seconds
[    3.047012] dwmac-spacemit-ethqos cac80000.ethernet: phy clk is provided by a external crystal oscillator
[    3.094270] dwmac-spacemit-ethqos cac80000.ethernet: phy-mode=rgmii val=0x00000008
[    3.101956] dwmac-spacemit-ethqos cac80000.ethernet: User ID: 0x10, Synopsys ID: 0x54
[    3.109619] dwmac-spacemit-ethqos cac80000.ethernet:         DWMAC4/5
[    3.115416] dwmac-spacemit-ethqos cac80000.ethernet: DMA HW capability register supported
[    3.115452] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    3.123574] dwmac-spacemit-ethqos cac80000.ethernet: RX Checksum Offload Engine supported
[    3.138070] dwmac-spacemit-ethqos cac80000.ethernet: TX Checksum insertion supported
[    3.145801] dwmac-spacemit-ethqos cac80000.ethernet: Wake-Up On Lan supported
[    3.153070] dwmac-spacemit-ethqos cac80000.ethernet: TSO supported
[    3.159081] dwmac-spacemit-ethqos cac80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.167767] dwmac-spacemit-ethqos cac80000.ethernet: Enabled L3L4 Flow TC (entries=4)
[    3.175584] dwmac-spacemit-ethqos cac80000.ethernet: Enabled RFS Flow TC (entries=10)
[    3.183391] dwmac-spacemit-ethqos cac80000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    3.191995] dwmac-spacemit-ethqos cac80000.ethernet: TSO feature enabled
[    3.198660] dwmac-spacemit-ethqos cac80000.ethernet: SPH feature enabled
[    3.205344] dwmac-spacemit-ethqos cac80000.ethernet: Using 40/40 bits DMA host/device width
[    3.220059] nvme nvme0: allocated 64 MiB host memory buffer (16 segments).
[    3.236339] nvme nvme0: 16/0/0 default/read/poll queues
[    3.248619] nvme nvme0: Ignoring bogus Namespace Identifiers
[    3.260781] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    3.265437] GPT:940691 != 500118191
[    3.268903] GPT:Alternate GPT header not at the end of the disk.
[    3.274892] GPT:940691 != 500118191
[    3.278363] GPT: Use GNU Parted to correct GPT errors.
[    3.283498]  nvme0n1: p1 p2 p3 p4 p5 p6 p7
[    3.349689] spacemit,k3-usb3-phy 82100000.phy: Update Combo Mode 17 to USB Mode
[    3.354264] phy phy-82100000.phy.10: PUPHY Rx Reg Configured
[    3.360410] phy phy-82100000.phy.10: PHY version: 0x302 init as USB3 mode
[    3.366892] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    3.372143] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 5
[    3.379972] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000808000000010
[    3.389175] xhci-hcd xhci-hcd.3.auto: irq 64, io mem 0x81a00000
[    3.395168] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    3.400526] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 6
[    3.408161] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[    3.414762] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18
[    3.422919] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.430118] usb usb5: Product: xHCI Host Controller
[    3.434977] usb usb5: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    3.440627] usb usb5: SerialNumber: xhci-hcd.3.auto
[    3.445741] hub 5-0:1.0: USB hub found
[    3.449234] hub 5-0:1.0: 1 port detected
[    3.453324] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.461249] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.18
[    3.469444] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.476649] usb usb6: Product: xHCI Host Controller
[    3.481506] usb usb6: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    3.487154] usb usb6: SerialNumber: xhci-hcd.3.auto
[    3.492284] hub 6-0:1.0: USB hub found
[    3.495769] hub 6-0:1.0: 1 port detected
[    3.500123] input: rpmi pwrkey as /devices/platform/soc/soc:rpmi_pwrkey@0/input/input0
[    3.527263] riscv-rpmi-rtc soc:rpmi_rtc@0: registered as rtc0
[    3.537286] riscv-rpmi-rtc soc:rpmi_rtc@0: setting system clock to 2026-06-22T19:43:54 UTC (1782157434)
[    3.545528] at24 2-0050: supply vcc not found, using dummy regulator
[    3.550604] at24 2-0050: 256 byte 24c02 EEPROM, read-only
[    3.561544] MVX dev: Linlon v5276 identified. cores=4, nlsid=4, id=0, fuse=00000000, hw_id=00005276, hw_rev=00000050
[    3.571338] rfkill_gpio rfkill-pcie-wlan: rfkill-pcie-wlan device registered.
[    3.576672] rfkill_gpio rfkill-usb-bt: rfkill-usb-bt device registered.
[    3.583197] rfkill_gpio rfkill-usb-wwan: m.2 WWAN device registered.
[    3.593689] pvrsrvkm cac00000.imggpu: Using default thermal zone: thermal_gpu with default power model parameters
[    3.601286] PVR_K:  131: Read BVNC 36.56.104.183 from HW device registers
[    3.607991] PVR_K:  131: RGX Device registered BVNC 36.56.104.183 with 1 core in the system
[    3.616937] pvrsrvkm cac00000.imggpu: Found 6 OPP points.
[    3.621698] pvrsrvkm cac00000.imggpu: opp[1/6]: (409000000 Hz, 800000 uV)
[    3.628462] pvrsrvkm cac00000.imggpu: opp[2/6]: (491000000 Hz, 800000 uV)
[    3.635234] pvrsrvkm cac00000.imggpu: opp[3/6]: (614000000 Hz, 900000 uV)
[    3.642004] pvrsrvkm cac00000.imggpu: opp[4/6]: (819000000 Hz, 900000 uV)
[    3.648776] pvrsrvkm cac00000.imggpu: opp[5/6]: (1000000000 Hz, 950000 uV)
[    3.655632] pvrsrvkm cac00000.imggpu: opp[6/6]: (1228000000 Hz, 950000 uV)
[    3.671920] [drm] Initialized pvr 24.2.6603887 for cac00000.imggpu on minor 0
[    3.676513] [drm] inno_dp_probe()
[    3.679648] [drm] spacemit_dpu_bind()
[    3.683253] [drm] spacemit_dpu_irqs_init()
[    3.687461] spacemit-dpu-drv soc:dpu0_crtc0: assigned reserved memory node dpu_reserved@101b00000
[    3.696503] [drm] dpu plane init ok
[    3.699670] [drm] spacemit_crtc_bind_init() ok
[    3.704091] [drm] create device file enable_dump_reg
[    3.709102] [drm] create device file enable_dump_fps
[    3.713986] [drm] create device file enable_auto_fc
[    3.718842] [drm] create device file dpu_set_lpm_period
[    3.724060] [drm] dpu driver probe success
[    3.728132] spacemit-drm-drv c0340000.display-subsystem-edp0: bound soc:dpu0_crtc0 (ops dpu_component_ops)
[    3.737770] [drm] soc_dp_bind()
[    3.741040] [drm] soc_dp_aux_init()
[    3.757664] spacemit-inno-dp-drv cac84000.edp0: Setting PLL to Rate 2700000 kHz, Pclk 148500 kHz
[    3.891512] spacemit-inno-dp-drv cac84000.edp0: Starting HPD Polling Thread...
[    3.895999] spacemit-drm-drv c0340000.display-subsystem-edp0: bound cac84000.edp0 (ops soc_dp_ops)
[    3.905212] [drm] Initialized spacemit 1.0.0 for c0340000.display-subsystem-edp0 on minor 1
[    3.913329] spacemit-drm-drv c0340000.display-subsystem-edp0: [drm] Cannot find any crtc or sizes
[    3.922187] spacemit-drm-drv c0340000.display-subsystem-edp0: [drm] Cannot find any crtc or sizes
[    3.931209] [drm] inno_dp_probe()
[    3.934367] [drm] spacemit_dpu_bind()
[    3.937918] [drm] spacemit_dpu_irqs_init()
[    3.942122] spacemit-dpu-drv soc:dpu1_crtc0: assigned reserved memory node dpu_reserved1@101d80000
[    3.951295] [drm] dpu plane init ok
[    3.954428] [drm] spacemit_crtc_bind_init() ok
[    3.958846] [drm] create device file enable_dump_reg
[    3.963784] [drm] create device file enable_dump_fps
[    3.968732] [drm] create device file enable_auto_fc
[    3.973596] [drm] create device file dpu_set_lpm_period
[    3.978799] [drm] dpu driver probe success
[    3.982880] spacemit-drm-drv c0440000.display-subsystem-dp1: bound soc:dpu1_crtc0 (ops dpu_component_ops)
[    3.992433] [drm] soc_dp_bind()
[    3.995626] [drm] soc_dp_aux_init()
[    4.012261] spacemit-inno-dp-drv cac88000.dp1: Setting PLL to Rate 2700000 kHz, Pclk 148500 kHz
[    4.132479] spacemit-inno-dp-drv cac88000.dp1: init audio
[    4.147152] spacemit-inno-dp-drv cac88000.dp1: Starting HPD Polling Thread...
[    4.151541] spacemit-drm-drv c0440000.display-subsystem-dp1: bound cac88000.dp1 (ops soc_dp_ops)
[    4.160552] [drm] Initialized spacemit 1.0.0 for c0440000.display-subsystem-dp1 on minor 2
[    4.168577] spacemit-drm-drv c0440000.display-subsystem-dp1: [drm] Cannot find any crtc or sizes
[    4.177387] spacemit-drm-drv c0440000.display-subsystem-dp1: [drm] Cannot find any crtc or sizes
[    4.494728] cros-ec-rtc cros-ec-rtc.7.auto: registered as rtc1
[    4.567187] cros_ec_espi 84000000.ec: Chrome EC device registered
[    4.573132] phy phy-cad30000.phy.11: PUPHY Rx Reg Configured
[    4.576478] phy phy-cad30000.phy.11: PHY version: 0x302 init as USB3 mode
[    4.582958] phy phy-cad30000.phy.11: PUPHY Rx Reg Configured
[    4.589107] phy phy-cad30000.phy.11: PHY version: 0x302 init as USB3 mode
[    4.595722] gadget (null): enable vbus monitoring
[    4.621157] input: cros_ec as /devices/platform/soc/cac8c000.espi/84000000.ec/84000000.ec:keyboard/input/input1
[    4.635216] input: cros_ec_buttons as /devices/platform/soc/cac8c000.espi/84000000.ec/84000000.ec:keyboard/input/input2
[    4.644007] xhci-hcd xhci-hcd.15.auto: xHCI Host Controller
[    4.648888] xhci-hcd xhci-hcd.15.auto: new USB bus registered, assigned bus number 7
[    4.656750] xhci-hcd xhci-hcd.15.auto: USB3 root hub has no ports
[    4.662624] xhci-hcd xhci-hcd.15.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000808000000090
[    4.672097] xhci-hcd xhci-hcd.15.auto: irq 78, io mem 0xc0a00000
[    4.678225] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18
[    4.686316] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.693524] usb usb7: Product: xHCI Host Controller
[    4.698374] usb usb7: Manufacturer: Linux 6.18.3-k3 xhci-hcd
[    4.704015] usb usb7: SerialNumber: xhci-hcd.15.auto
[    4.709251] hub 7-0:1.0: USB hub found
[    4.712745] hub 7-0:1.0: 1 port detected
[    4.744793] clk: Disabling unused clocks
[    4.746246] PM: genpd: Disabling unused power domains
[    4.751040] ALSA device list:
[    4.757002] Freeing unused kernel image (initmem) memory: 2440K
[    4.762216] Checked W+X mappings: passed, no W+X pages found
[    4.765909] Run /init as init process
[    4.769546]   with arguments:
[    4.772497]     /init
[    4.774749]   with environment:
[    4.777878]     HOME=/
[    4.780217]     TERM=linux
[    4.782912]     bootfs=PARTUUID=cfa9916f-9ca8-4de0-a46c-e0fb8386bf24
[    4.789248]     boot_mode=nor
Starting systemd-udevd version 259.5
[    4.976478] usb 7-1: new high-speed USB device number 2 using xhci-hcd
[    5.120671] usb 7-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    5.126187] usb 7-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.133302] usb 7-1: Product: USB 2.0 Hub
[    5.190370] hub 7-1:1.0: USB hub found
[    5.191495] hub 7-1:1.0: 4 ports detected
[    5.677304] EXT4-fs (nvme0n1p7): mounted filesystem ce9ba156-6d56-4e25-9d7b-4db79e9d88af r/w with ordered data mode. Quota mode: none.
[    5.693419] EXT4-fs (nvme0n1p6): mounted filesystem 937cce3c-edd7-4e67-940c-8de6fb68b37c r/w with ordered data mode. Quota mode: none.
[    5.731388] ext3: Unknown parameter 'umask'
[    5.732990] ext2: Unknown parameter 'umask'
[    5.737112] ext4: Unknown parameter 'umask'
[    5.741268] squashfs: Unknown parameter 'umask'
[    5.746945] FAT-fs (sda1): IO charset iso8859-1 not found
[    5.750477] EXT4-fs (sda2): mounted filesystem 0caa1d94-a26f-4489-a2dc-116f33abd17d r/w with ordered data mode. Quota mode: none.
[    5.752901] EXT4-fs (sda3): mounted filesystem 0eb92c59-3d96-4e38-9e39-4b79b135be8c r/w with ordered data mode. Quota mode: none.
[    5.762811] fuseblk: Unknown parameter 'umask'
[    5.826787] EXT4-fs (nvme0n1p6): unmounting filesystem 937cce3c-edd7-4e67-940c-8de6fb68b37c.
[    5.835967] EXT4-fs (sda2): unmounting filesystem 0caa1d94-a26f-4489-a2dc-116f33abd17d.
[    5.845858] EXT4-fs (sda3): unmounting filesystem 0eb92c59-3d96-4e38-9e39-4b79b135be8c.
[    6.235304] systemd[1]: Failed to find module 'autofs4'
[    6.280518] systemd[1]: systemd 259.5 running in system mode (-PAM -AUDIT -SELINUX -APPARMOR +IMA +IPE -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN +KMOD -LIBCRYPTSETUP
 -LIBCRYPTSETUP_PLUGINS +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -BTF +XKBCOMMON +UTMP -SYSVINIT -LIBARCHIVE)
[    6.310725] systemd[1]: Detected architecture riscv64.

Welcome to OpenEmbedded nodistro.0!

[    6.329051] systemd[1]: Hostname set to <k3-pico-itx>.
[    6.558003] systemd[1]: Queued start job for default target Multi-User System.
[    6.800965] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[    6.819185] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    6.835170] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    6.859172] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.876613] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    6.896594] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    6.916529] systemd[1]: Expecting device /dev/ttyS0...
         Expecting device /dev/ttyS0...
[    6.932558] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[    6.948529] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    6.964520] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    6.980527] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    6.996704] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.017353] systemd[1]: Listening on Query the User Interactively for a Password.
[  OK  ] Listening on Query the User Interactively for a Password.
[    7.038639] systemd[1]: Listening on Credential Encryption/Decryption.
[  OK  ] Listening on Credential Encryption/Decryption.
[    7.059853] systemd[1]: Listening on Factory Reset Management.
[  OK  ] Listening on Factory Reset Management.
[    7.076703] systemd[1]: Journal Audit Socket skipped, unmet condition check ConditionSecurity=audit
[    7.083255] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.104685] systemd[1]: Listening on Journal Sockets.
[  OK  ] Listening on Journal Sockets.
[    7.123874] systemd[1]: Listening on Console Output Muting Service Socket.
[  OK  ] Listening on Console Output Muting Service Socket.
[    7.140810] systemd[1]: Listening on Network Management Resolve Hook Socket.
[  OK  ] Listening on Network Management Resolve Hook Socket.
[    7.160795] systemd[1]: Listening on Network Management Varlink Socket.
[  OK  ] Listening on Network Management Varlink Socket.
[    7.180756] systemd[1]: Listening on Network Management Netlink Socket.
[  OK  ] Listening on Network Management Netlink Socket.
[    7.200638] systemd[1]: Listening on Resolve Monitor Varlink Socket.
[  OK  ] Listening on Resolve Monitor Varlink Socket.
[    7.216614] systemd[1]: Listening on Resolve Service Varlink Socket.
[  OK  ] Listening on Resolve Service Varlink Socket.
[    7.232648] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.248616] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.264636] systemd[1]: Listening on udev Varlink Socket.
[  OK  ] Listening on udev Varlink Socket.
[    7.280651] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[    7.301710] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    7.336753] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.356453] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.372473] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    7.388760] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[    7.404660] systemd[1]: Create List of Static Device Nodes skipped, unmet condition check ConditionFileNotEmpty=/lib/modules/6.18.3-k3/modules.devname
[    7.415578] systemd[1]: Load Kernel Module configfs skipped, unmet condition check ConditionKernelModuleLoaded=!configfs
[    7.430146] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    7.444628] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm
[    7.457946] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse
[    7.472033] systemd[1]: Mounting FUSE Control File System...
[    7.488669] systemd[1]: File System Check on Root Device skipped, unmet condition check ConditionPathIsReadWrite=!/

[    7.509077] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.525219] systemd[1]: Load Kernel Modules skipped, no trigger condition checks were met.
[    7.535067] systemd[1]: Starting Generate Network Units from Kernel Command Line...
[    7.544095] systemd[1]: Starting Remount Root and Kernel File Systems...

[    7.559591] systemd-journald[982]: Collecting audit messages is disabled.
         Starting Remount Root and Kernel File Systems...
[    7.576760] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    7.592396] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
         Starting Create Static Device Nodes in /dev gracefully...
[    7.612952] systemd[1]: Starting Load udev Rules from Credentials...
[    7.620564] EXT4-fs (nvme0n1p7): re-mounted ce9ba156-6d56-4e25-9d7b-4db79e9d88af.
         Starting Load udev Rules from Credentials...
[    7.640440] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    7.695782] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[    7.708749] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    7.732706] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    7.744875] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Mounted Temporary Directory /tmp.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished Generate Network Units from Kernel Command Line.
[  OK  ] Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create Static Device Nodes in /dev gracefully.
[  OK  ] Finished Load udev Rules from Credentials.
[  OK  ] Reached target Preparation for Network.
         Starting Flush Journal to Persistent Storage...
[    7.941969] systemd-journald[982]: Received client request to flush runtime journal.

         Starting Network Time Synchronization...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Starting Rule-based Manager for Device Events and Files...
         Starting User Database Manager...
[  OK  ] Started User Database Manager.
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Network Management...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Time Set.
[  OK  ] Started Network Management.
[    8.322317] dwmac-spacemit-ethqos cac80000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    8.331418] dwmac-spacemit-ethqos cac80000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-1
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Reached target Network.
         Starting Enable Persistent Storage in systemd-networkd...
[    8.424530] dwmac-spacemit-ethqos cac80000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[    8.444481] dwmac4: Master AXI performs any burst length
[    8.447153] dwmac-spacemit-ethqos cac80000.ethernet eth0: No Safety Features support found
[    8.459603] dwmac-spacemit-ethqos cac80000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    8.466368] dwmac-spacemit-ethqos cac80000.ethernet eth0: registered PTP clock
[    8.473426] dwmac-spacemit-ethqos cac80000.ethernet eth0: configuring for phy/rgmii link mode
[  OK  ] Finished Enable Persistent Storage in systemd-networkd.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Created slice Slice /system/systemd-backlight.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Mounting /var/volatile...
         Starting Load/Save Screen Backlight Brightness of backlight:backlight...
         Starting Virtual Console Setup...
[  OK  ] Mounted /var/volatile.
[  OK  ] Finished Load/Save Screen Backlight Brightness of backlight:backlight.
         Starting Load/Save RF Kill Switch Status...
         Starting Load/Save OS Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create System Files and Directories...
         Starting Load JSON user/group Records from Credentials...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Finished Virtual Console Setup.
[  OK  ] Finished Load/Save OS Random Seed.
[  OK  ] Finished Create System Files and Directories.
[  OK  ] Finished Load JSON user/group Records from Credentials.
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Hostname Service Socket.
[  OK  ] Listening on User Login Management Varlink Socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
         Starting D-Bus System Message Bus...
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting User Login Management...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Multi-User System.

OpenEmbedded nodistro.0 k3-pico-itx ttyS0

Type 'root' to login with superuser privileges (no password will be asked).

k3-pico-itx login: [   11.574081] dwmac-spacemit-ethqos cac80000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
root
root@k3-pico-itx:~# u[   14.932796] platform soc:sound-card@1: deferred probe pending: asoc-simple-card: parse error
name -a
Linux k3-pico-itx 6.18.3-k3 #1 SMP PREEMPT_DYNAMIC Tue May 26 15:02:18 UTC 2026 riscv64 GNU/Linux
root@k3-pico-itx:~#

Yingjie Liu and others added 11 commits June 22, 2026 15:59
Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Create a recipe for pulling in the esos.itb file from SpacemiT's
repositories, which is loaded by K3 platforms following the FSBL. The
binaries are under a simple copyright in the spacemit-firmware
repository rather than an open-source license, so mark the recipe
license as 'CLOSED' with a note about why.

Tested:
  - bitbake esos-k3: builds successfully
  - esos.itb deployed and embedded in wic image esos partition
  - core-image-minimal builds successfully with new recipe

Tested-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Backport a patch from upstream to ensure that the build works for newer
GCC versions (e.g. Fedora 44 has 16.1), which is not yet in 6.18:

|tgamblin@megalith ~/workspace/git/linux (master)$ git tag --contains 905c559e51497
|v7.1-rc4
|v7.1-rc5

Without it, we see errors like:

| In file included from /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/randomize_layout_plugin.c:19:
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h: In function 'void debug_tree(const_tree)':
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h:417:20: error: 'CONST_CAST_TREE' was not declared in this scope; did you mean 'CONST_CAST_EXPR'?
|   417 |         debug_tree(CONST_CAST_TREE(t));
|       |                    ^~~~~~~~~~~~~~~
|       |                    CONST_CAST_EXPR
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h: In function 'void debug_gimple_stmt(const_gimple_ptr)':
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h:312:47: error: expected primary-expression before ',' token
|   312 | #define CONST_CAST_GIMPLE(X) CONST_CAST(gimple, (X))
|       |                                               ^
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h:422:27: note: in expansion of macro 'CONST_CAST_GIMPLE'
|   422 |         debug_gimple_stmt(CONST_CAST_GIMPLE(s));
|       |                           ^~~~~~~~~~~~~~~~~
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h:312:30: error: 'CONST_CAST' was not declared in this scope; did you mean 'CONST_INT'?
|   312 | #define CONST_CAST_GIMPLE(X) CONST_CAST(gimple, (X))
|       |                              ^~~~~~~~~~
| /home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/gcc-common.h:422:27: note: in expansion of macro 'CONST_CAST_GIMPLE'
|   422 |         debug_gimple_stmt(CONST_CAST_GIMPLE(s));
|       |                           ^~~~~~~~~~~~~~~~~
| make[3]: *** [/home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/randomize_lay
out_plugin.so] Error 1
| make[2]: *** [/home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/scripts/Makefile.build:556: scripts/gcc-plugins] Error 2
| make[1]: *** [/home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/Makefile:1263: scripts] Error 2
| make: *** [/home/tgamblin/workspace/yocto/bitbake-builds/meta-riscv-oe-nodistro-master-k3-bsp/build/tmp/work-shared/k3-pico-itx/kernel-source/Makefile:248: __sub-make] Error 2
| ERROR: oe_runmake failed

Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Make sure to be explicit about the image contents by naming things with
a "-k3" suffix, rather than something more typical like "-generic".

Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Co-developed-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Yingjie Liu <yingjie-liu@spacemit.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>

@kraj Khem Raj (kraj) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for patiently addressing all the review comments Trevor Gamblin (@threexc)

@kraj Khem Raj (kraj) merged commit 3c596db into riscv:master Jun 23, 2026
1 check passed
@threexc

Copy link
Copy Markdown
Contributor Author

LGTM, thanks for patiently addressing all the review comments Trevor Gamblin (Trevor Gamblin (@threexc))

No worries. Thank you all for reviewing this exciting but complex PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants