* Re: [RESEND][PATCH v5] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip
2026-04-01 16:50 [RESEND][PATCH v5] mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip Aurelien Jarno
@ 2026-04-06 9:46 ` Vincent Legoll
2026-04-06 15:42 ` Aurelien Jarno
0 siblings, 1 reply; 5+ messages in thread
From: Vincent Legoll @ 2026-04-06 9:46 UTC (permalink / raw)
To: Aurelien Jarno
Cc: linux-kernel, Lee Jones, Yixun Lan, linux-riscv, spacemit,
Aurelien Jarno
[-- Attachment #1: Type: text/plain, Size: 907 bytes --]
Hello Aurelien,
I tested this on top of next-20260403 + the USB3 patch series v8 from
Han Gao:
$ git log --oneline | head -7
05054ef4ae1d mfd: simple-mfd-i2c: add a reboot cell for the SpacemiT P1 chip
5f56e5402644 riscv: dts: spacemit: Enable USB3.0/PCIe on OrangePi RV2
5b0a2f3f8fa6 riscv: dts: spacemit: Define the P1 PMIC regulators for
OrangePi RV2
a05128fa7d3e riscv: dts: spacemit: Enable i2c8 adapter for OrangePi RV2
2febe6e6ee6e Add linux-next specific files for 20260403
8ff4869c6f24 Merge branch 'for-next' of
https://github.com/hisilicon/linux-hisi.git
e7d27cf6777b Merge branch 'next' of
https://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm.git
Without your patch the board hang on reset. With the patch applied, it
reboots but there's a WARNING, see the attached dmesg.
Tell me if there's a new iteration to test, and/or if you want me
testing it in a different way.
Regards
[-- Attachment #2: boot-usb-reset.txt --]
[-- Type: text/plain, Size: 49311 bytes --]
- runit: leave stage: /etc/runit/2
- runit: enter stage: /etc/runit/3
=> Waiting for services to sok: down: /var/service/agetty-ttyS0: 0s, normally up
ok: down: /var/service/sshd: 0s, normally up
ok: down: /var/service/udevd: 0s, normally up
=> Saving random number generator seed...
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
=> Stopping udev...
=> Sending TERM signal to processes...
=> Sending KILL signal to processes...
=> Unmounting filesystems, disabling swap...
[ 331.573749] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414 ro.
=> Remounting rootfs read-only...
[ 331.587136] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414.
- runit: leave stage: /etc/runit/3
- runit: sending KILL signal to all processes...
- runit: system reboot.
[ 331.626487] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 331.699697] usb 2-1.2: reset SuperSpeed USB device number 3 using xhci-hcd
[ 331.721745] reboot: Restarting system
sys: 0x200
try sd...
bm:3
ERROR: sd: invalid bootinfo magic code:0x0
ERROR: invalid bootinfo image.
ERROR: sd f! l:90
bm:4
nor m:0x20 d:0x4118
j...
U-Boot SPL 2022.10ky (Jan 07 2025 - 13:44:01 +0800)
[ 0.442] DDR type LPDDR4X
[ 0.452] lpddr4_silicon_init consume 10ms
[ 0.453] Change DDR data rate to 2400MT/s
[ 0.668] Boot from fit configuration x1_orangepi-rv2
[ 0.670] ## Checking hash(es) for config conf_14 ... OK
[ 0.676] ## Checking hash(es) for Image opensbi ... OK
[ 0.681] ## Checking hash(es) for Image uboot ... OK
[ 0.686] ## Checking hash(es) for Image fdt_14 ... OK
[ 0.731]
U-Boot 2022.10ky (Jan 07 2025 - 13:44:01 +0800)
[ 0.734] CPU: rv64imafdcv
[ 0.737] Model: ky x1 orangepi-rv2 board
[ 0.741] DRAM: DDR size = 2048 MB
[ 0.744] DDR size = 2048 MB
[ 0.747] DDR size = 2048 MB
[ 0.749] 2 GiB
[ 0.824] reset driver probe start
[ 0.826] reset driver probe finish
[ 0.834] DCDC_REG1@dcdc1: enabling
[ 0.836] DCDC_REG3@dcdc3: enabling
[ 0.842] LDO_REG1@ldo1: enabling
[ 0.846] SWITCH_REG1@switch1: enabling
[ 0.846] SWITCH_REG2@pwr-event: enabling
[ 0.850] SWITCH_REG3@pwr-int: enabling
[ 0.854] SWITCH_REG4@rtc-ctrl: enabling
[ 0.857] SWITCH_REG5@rtc-event: enabling
[ 0.861] SWITCH_REG6@rtc-irq: enabling
[ 0.865] SWITCH_REG7@power-down: enabling
[ 0.869] SWITCH_REG8@reboot-flag: enabling
[ 0.874] vcc3v3-pcie-regulator@vcc3v3_pcie: set 3300000 uV; enabling
[ 0.879] DDR size = 2048 MB
[ 0.885] Core: 416 devices, 30 uclasses, devicetree: board
[ 0.898] WDT: Started PMIC_WDT with servicing (60s timeout)
[ 0.903] WDT: Started watchdog@D4080000 with servicing (60s timeout)
[ 0.911] MMC: sdh@d4280000: probe done.
[ 0.918] sdh@d4281000: probe done.
[ 0.918] sdh@d4280000: 0, sdh@d4281000: 2
[ 0.922] Loading Environment from SPIFlash... x1_qspi spi@d420c000: qspi iobase:0x0x00000000d420c000, ahb_addr:0x0x00000000b8000000, max_hz:26500000Hz
[ 0.937] x1_qspi spi@d420c000: rx buf size:128, tx buf size:256, ahb buf size=512
[ 0.945] x1_qspi spi@d420c000: AHB read enabled
[ 0.949] x1_qspi spi@d420c000: bus clock: 26500000Hz, PMUap reg[0xd4282860]:0x0000075b
[ 0.957] x1_qspi spi@d420c000: AHB buf size: 512
[ 0.962] SF: Detected XM25QH128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
[ 0.984] Now init Rterm...
[ 0.984] pcie prot id = 1, porta_init_done = 0
[ 0.988] Now waiting portA resister tuning done...
[ 0.992] porta redonly_reg2: 00005d47
[ 0.996] pcie_rcal = 0x00005d47
[ 0.999] pcie port id = 1, lane num = 2
[ 1.003] Now int init_puphy...
[ 1.006] waiting pll lock...
[ 1.008] Now finish init_puphy....
[ 1.012] pcie_dw_x1 pcie@ca400000: Unable to get phy0
[ 1.017] pcie_dw_x1 pcie@ca400000: Unable to get phy1
[ 2.122] PCIE-0: Link down
[ 2.127] sdh@d4281000: 74 clk wait timeout(100)
[ 2.145] Card did not respond to voltage select! : -110
[ 2.147] mmc_init: -95, time 21
[ 2.166] Card did not respond to voltage select! : -110
[ 2.168] mmc_init: -95, time 18
[ 2.200] Found device 'hdmi@c0400500', disp_uc_priv=000000007deb4a70
[ 2.310] HDMI cannot get HPD signal
[ 2.310] ky_display_init: device 'dpu@c0340000' display won't probe (ret=-1)
[ 2.317] initialize_console_log_buffer
[ 2.321] Have allocated memory for console log buffer
[ 2.326] In: serial
[ 2.328] Out: serial
[ 2.330] Err: serial
[ 2.334] Default to 100kHz
[ 2.349] EEPROM: TlvInfo v1 len=38
[ 2.349] valid ethaddr: c0:74:2b:fb:13:ee
[ 2.353] Cannot find TLV data: part#
[ 2.357] Cannot find TLV data: serial#
[ 2.360] Cannot find TLV data: manufacture_date
[ 2.365] Cannot find TLV data: manufacturer
[ 2.369] Cannot find TLV data: device_version
[ 2.373] Cannot find TLV data: sdk_version
[ 2.481] HDMI cannot get HPD signal
[ 2.481] display devices not found or not probed yet: -1
[ 2.486] All buttons probed successfully
[ 2.491] Read PMIC reg ab value f0
[ 2.494] Failed to get fastboot key config: -19
[ 2.499] sdh@d4280000: 74 clk wait timeout(100)
[ 2.637] Card did not respond to voltage select! : -110
[ 2.639] mmc_init: -95, time 19
[ 2.642] can not get available blk dev
[ 2.646] Net: RGMII interface
[ 2.648] eth0: ethernet@cac80000
[ 2.654] Autoboot in 0 seconds
[ 2.665] starting USB...
[ 2.665] Bus ehci1@c0980100: ehci_x1_ci ehci1@c0980100: ehci_mv_probe Enter ...
[ 2.675] mv_usb_phy usbphy1@c09c0000: x1-ci-usb-phy-probe: Enter...
[ 2.680] ehci_x1_ci ehci1@c0980100: ehci-x1-ci: init hccr c0980100 and hcor c0980140 hc_length 64
[ 2.702] USB EHCI 1.00
[ 2.702] Bus dwc3@c0a00000: No USB maximum speed specified. Using super speed
[ 2.715] mv_usb_phy usb2phy@0xc0a30000: x1-ci-usb-phy-probe: Enter...
[ 2.719] x1_combphy phy@c0b10000: USB3 PHY init.
[ 2.723] dwc3-generic-host dwc3@c0a00000: this is a DesignWare USB3 DRD Core
[ 3.144] Register 2000140 NbrPorts 2
Starting the controller
[ 3.147] USB XHCI 1.10
[ 3.149] scanning bus ehci1@c0980100 for devices... 1 USB Device(s) found
[ 4.288] scanning bus dwc3@c0a00000 for devices... 4 USB Device(s) found
[ 5.831] scanning usb for storage devices... 1 Storage Device(s) found
[ 5.836]
Device 0: Vendor: CT240BX5 Rev: 0 Prod: 00SSD1
[ 5.842] Type: Hard Disk
[ 5.845] Capacity: 228936.5 MB = 223.5 GB (468862128 x 512)
[ 5.852] ... is now current device
[ 6.038] switch to partitions #0, OK
[ 6.039] mmc0 is current device
[ 6.137] Scanning mmc 0:1...
[ 6.248] Found /boot/extlinux/extlinux.conf
[ 6.250] Retrieving file: /boot/extlinux/extlinux.conf
OrangePi RV2 Boot Menu
[ 6.297] 1: Debian root on SD
[ 6.299] 2: Void root on SD
[ 6.302] 3: Void root on SD (single)
[ 6.305] 4: Void root on SD (rescue "bootable")
[ 6.310] 5: Void root on SD (rescue "bootable" - single)
[ 6.315] 6: Void root on USB-SSD
[ 6.318] 7: Void root on USB-SSD (single)
Enter choice: [ 9.499] 2
2: Void root on SD
[ 13.242] Retrieving file: /boot/Image.gz
[ 13.809] append: console=ttyS0,115200 root=PARTUUID=eb3433c4-24a4-4a49-9612-6f567929f8f0 rw rootwait
[ 13.815] Retrieving file: /boot/k1-orangepi-rv2.dtb
[ 13.871] Uncompressing Kernel Image
[ 14.068] Moving Image from 0x11000000 to 0x200000, end=19fb000
[ 14.079] ## Flattened Device Tree blob at 31000000
[ 14.081] Booting using the fdt blob at 0x31000000
[ 14.187] Loading Device Tree to 000000007dd7d000, end 000000007dd8722c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on hartid 0
[ 0.000000] Linux version 7.0.0-rc6-next-20260402-00012-g7b55634b7721 (vince@ryzen) (riscv64-linux-musl-gcc (GCC) 14.2.1 20250405, GNU ld (GNU Binutils) 2.44) #7 SMP PREEMPT Fri Apr 3 14:39:08 CEST 2026
[ 0.000000] Machine model: OrangePi RV2
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x000000007f000000..0x000000007fffffff (16384 KiB) map non-reusable framebuffer@7f000000
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable mmode_resv0@0
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] Ticket spinlock: enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000007ffff]
[ 0.000000] node 0: [mem 0x0000000000080000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 31 pages/cpu s86744 r8192 d32040 u126976
[ 0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=eb3433c4-24a4-4a49-9612-6f567929f8f0 rw rootwait
[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[ 0.000000] software IO TLB: area num 8.
[ 0.000000] software IO TLB: mapped [mem 0x000000007b800000-0x000000007ba00000] (2MB)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 524288
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 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.000008] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[ 0.000271] Console: colour dummy device 80x25
[ 0.000321] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000331] pid_max: default: 32768 minimum: 301
[ 0.000712] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000726] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001037] VFS: Finished mounting rootfs on nullfs
[ 0.003134] riscv: ELF compat mode unsupported
[ 0.003153] ASID allocator using 16 bits (65536 entries)
[ 0.003269] rcu: Hierarchical SRCU implementation.
[ 0.003273] rcu: Max phase no-delay instances is 1000.
[ 0.003481] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.003616] EFI services will not be available.
[ 0.004017] smp: Bringing up secondary CPUs ...
[ 0.008669] smp: Brought up 1 node, 8 CPUs
[ 0.009357] Memory: 1994156K/2097152K available (10615K kernel code, 5373K rwdata, 4096K rodata, 2403K init, 391K bss, 96984K reserved, 0K cma-reserved)
[ 0.010499] devtmpfs: initialized
[ 0.015405] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.015441] posixtimers hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.015528] futex hash table entries: 2048 (131072 bytes on 1 NUMA nodes, total 128 KiB, linear).
[ 0.016325] DMI: not present or invalid.
[ 0.016687] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.017036] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.017071] audit: initializing netlink subsys (disabled)
[ 0.017302] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[ 0.017608] thermal_sys: Registered thermal governor 'step_wise'
[ 0.017676] cpuidle: using governor menu
[ 0.040169] cpu3: Ratio of byte access time to unaligned word access is 2.38, unaligned accesses are fast
[ 0.040169] cpu2: Ratio of byte access time to unaligned word access is 2.35, unaligned accesses are fast
[ 0.040170] cpu7: Ratio of byte access time to unaligned word access is 1.82, unaligned accesses are fast
[ 0.040171] cpu5: Ratio of byte access time to unaligned word access is 1.80, unaligned accesses are fast
[ 0.040170] cpu4: Ratio of byte access time to unaligned word access is 1.85, unaligned accesses are fast
[ 0.040170] cpu6: Ratio of byte access time to unaligned word access is 1.77, unaligned accesses are fast
[ 0.040178] cpu1: Ratio of byte access time to unaligned word access is 2.73, unaligned accesses are fast
[ 0.064213] cpu0: Ratio of byte access time to unaligned word access is 10.56, unaligned accesses are fast
[ 0.070942] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.070952] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.070957] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.070960] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.071513] ACPI: Interpreter disabled.
[ 0.071733] iommu: Default domain type: Translated
[ 0.071737] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.085228] SCSI subsystem initialized
[ 0.085662] usbcore: registered new interface driver usbfs
[ 0.085690] usbcore: registered new interface driver hub
[ 0.085720] usbcore: registered new device driver usb
[ 0.087098] vgaarb: loaded
[ 0.087468] clocksource: Switched to clocksource riscv_clocksource
[ 0.088095] pnp: PnP ACPI: disabled
[ 0.094962] NET: Registered PF_INET protocol family
[ 0.095139] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.097110] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.097154] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.097167] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.097262] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.098045] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.098200] UDP hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.098492] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.098532] PCI: CLS 0 bytes, default 64
[ 0.099834] workingset: timestamp_bits=46 (anon: 42) max_order=19 bucket_order=0 (anon: 0)
[ 0.100433] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 0.100650] io scheduler mq-deadline registered
[ 0.100656] io scheduler kyber registered
[ 0.100690] io scheduler bfq registered
[ 0.105273] riscv-plic: interrupt-controller@e0000000: mapped 160 interrupts with 8 handlers for 16 contexts.
[ 0.151716] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.159814] loop: module loaded
[ 0.162521] usbcore: registered new interface driver rtl8150
[ 0.162545] usbcore: registered new device driver r8152-cfgselector
[ 0.162575] usbcore: registered new interface driver r8152
[ 0.163597] usbcore: registered new interface driver uas
[ 0.163639] usbcore: registered new interface driver usb-storage
[ 0.163918] mousedev: PS/2 mouse device common for all mice
[ 0.166523] usbcore: registered new interface driver usbhid
[ 0.166535] usbhid: USB HID core driver
[ 0.166768] riscv-pmu-sbi: SBI PMU extension is available
[ 0.166799] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 0.167588] NET: Registered PF_PACKET protocol family
[ 0.167637] Key type dns_resolver registered
[ 0.192587] printk: legacy console [ttyS0] disabled
[ 0.192958] d4017000.serial: ttyS0 at MMIO 0xd4017000 (irq = 15, base_baud = 921600) is a XScale
[ 0.193006] printk: legacy console [ttyS0] enabled
[ 1.243495] spacemit-p1-rtc spacemit-p1-rtc.1.auto: registered as rtc0
[ 1.247577] spacemit-p1-rtc spacemit-p1-rtc.1.auto: hctosys: unable to read the hardware clock
[ 1.256742] sdhci-spacemit d4280000.mmc: Got CD GPIO
[ 1.295595] mmc0: SDHCI controller on d4280000.mmc [d4280000.mmc] using ADMA
[ 1.300381] clk: D[ 1.304549] Waiting for root device PARTUUID=eb3433c4-24a4-4a49-9612-6f567929f8f0...
[ 1.372653] mmc0: new UHS-I speed SDR104 SDHC card at address 0001
[ 1.376868] mmcblk0: mmc0:0001 00000 29.8 GiB
[ 1.384977] mmcblk0: p1 p2 p3
[ 1.579860] EXT4-fs (mmcblk0p2): mounted filesystem 8e774fce-c680-4f4b-93d0-93f76b704d02 r/w with ordered data mode. Quota mode: disabled.
[ 1.589769] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.596246] devtmpfs: mounted
[ 1.598771] VFS: Pivoted into new rootfs
[ 1.603244] Freeing unused kernel image (initmem) memory: 2400K
[ 1.608499] Run /sbin/init as init process
- runit: $Id: c66c1e3b98d1b630bd51b1d56aaed5c2994e8c9d $: booting.
- runit: enter stage: /etc/runit/1
=> Welcome to Void!
=> Mounting pseudo-filesystems...
=> Loading kernel modules...
=> Starting udev and waiting for devices to settle...
[ 1.801464] udevd[151]: starting version 3.2.14
[ 8.083485] random: crng init done
[ 8.105631] udevd[152]: starting eudev-3.2.14
=> Remounting rootfs read-only...
[ 8.462174] EXT4-fs (mmcblk0p2): re-mounted 8e774fce-c680-4f4b-93d0-93f76b704d02 ro.
=> Activating btrfs devices...
Scanning for Btrfs filesystems
=> Activating encrypted devices...
=> Checking filesystems:
/dev/mmcblk0p2: clean, 16789/524288 files, 296154/2097152 blocks
/dev/mmcblk0p1: clean, 5492/524288 files, 120002/2097152 blocks
=> Mounting rootfs read-write...
[ 8.725541] EXT4-fs (mmcblk0p2): re-mounted 8e774fce-c680-4f4b-93d0-93f76b704d02 r/w.
=> Mounting all non-network filesystems...
=> Initializing swap...
=> Seeding random number generator...
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
=> Setting up loopback interface...
=> Setting up hostname to 'rv2'...
=> Loading sysctl(8) settings...
kernel.dmesg_restrict = 1
sysctl: cannot stat /proc/sys/kernel/kexec_load_disabled: No such file or directory
sysctl: cannot stat /proc/sys/kernel/yama/ptrace_scope: No such file or directory
kernel.core_uses_pid = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.kptr_restrict = 1
kernel.perf_event_paranoid = 2
kernel.unprivileged_bpf_disabled = 1
=> Initialization complete, running stage 2...
- runit: leave stage: /etc/runit/1
- runit: enter stage: /etc/runit/2
[ 9.306197] YT8531 Gigabit Ethernet cac80000.ethernet:01: attached PHY driver (mii_bus:phy_addr=cac80000.ethernet:01, irq=POLL)
[ 9.338791] k1_emac cac80000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
runsvchdir: default: current.
[ 10.376061] udevd[233]: starting version 3.2.14
[ 10.394451] udevd[233]: starting eudev-3.2.14
Void 7.0.0-rc6-next-20260402-00012-g7b55634b7721 (rv2) (ttyS0)
rv2 login: [ 288.552204] EXT4-fs (mmcblk0p1): mounted filesystem a5ca6d26-c5c0-44f7-b4be-d2fcd0834c25 r/w with ordered data mode. Quota mode: disabled.
[ 609.565829] EXT4-fs (mmcblk0p1): unmounting filesystem a5ca6d26-c5c0-44f7-b4be-d2fcd0834c25.
- runit: leave stage: /etc/runit/2
- runit: enter stage: /etc/runit/3
=> Waiting for services to stop...
ok: down: /var/service/agetty-ttyS0: 0s, normally up
ok: down: /var/service/chronyd: 0s, normally up
ok: down: /var/service/sshd: 0s, normally up
ok: down: /var/service/udevd: 0s, normally up
=> Saving random number generator seed...
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
=> Stopping udev...
=> Sending TERM signal to processes...
=> Sending KILL signal to processes...
=> Unmounting filesystems, disabling swap...
[ 617.725752] EXT4-fs (mmcblk0p2): re-mounted 8e774fce-c680-4f4b-93d0-93f76b704d02 ro.
=> Remounting rootfs read-only...
[ 617.756623] EXT4-fs (mmcblk0p2): re-mounted 8e774fce-c680-4f4b-93d0-93f76b704d02.
- runit: leave stage: /etc/runit/3
- runit: sending KILL signal to all processes...
- runit: syste[ 617.774193] reboot: Restarting system
m reboot.
sys: 0x200
try sd...
bm:3
ERROR: sd: invalid bootinfo magic code:0x0
ERROR: invalid bootinfo image.
ERROR: sd f! l:90
bm:4
nor m:0x20 d:0x4118
j...
U-Boot SPL 2022.10ky (Jan 07 2025 - 13:44:01 +0800)
[ 0.463] DDR type LPDDR4X
[ 0.472] lpddr4_silicon_init consume 9ms
[ 0.473] Change DDR data rate to 2400MT/s
[ 0.689] Boot from fit configuration x1_orangepi-rv2
[ 0.691] ## Checking hash(es) for config conf_14 ... OK
[ 0.696] ## Checking hash(es) for Image opensbi ... OK
[ 0.702] ## Checking hash(es) for Image uboot ... OK
[ 0.707] ## Checking hash(es) for Image fdt_14 ... OK
[ 0.752]
U-Boot 2022.10ky (Jan 07 2025 - 13:44:01 +0800)
[ 0.755] CPU: rv64imafdcv
[ 0.758] Model: ky x1 orangepi-rv2 board
[ 0.761] DRAM: DDR size = 2048 MB
[ 0.765] DDR size = 2048 MB
[ 0.768] DDR size = 2048 MB
[ 0.770] 2 GiB
[ 0.845] reset driver probe start
[ 0.847] reset driver probe finish
[ 0.855] DCDC_REG1@dcdc1: enabling
[ 0.857] DCDC_REG3@dcdc3: enabling
[ 0.862] LDO_REG1@ldo1: enabling
[ 0.866] SWITCH_REG1@switch1: enabling
[ 0.867] SWITCH_REG2@pwr-event: enabling
[ 0.871] SWITCH_REG3@pwr-int: enabling
[ 0.875] SWITCH_REG4@rtc-ctrl: enabling
[ 0.878] SWITCH_REG5@rtc-event: enabling
[ 0.882] SWITCH_REG6@rtc-irq: enabling
[ 0.886] SWITCH_REG7@power-down: enabling
[ 0.890] SWITCH_REG8@reboot-flag: enabling
[ 0.895] vcc3v3-pcie-regulator@vcc3v3_pcie: set 3300000 uV; enabling
[ 0.900] DDR size = 2048 MB
[ 0.906] Core: 416 devices, 30 uclasses, devicetree: board
[ 0.919] WDT: Started PMIC_WDT with servicing (60s timeout)
[ 0.924] WDT: Started watchdog@D4080000 with servicing (60s timeout)
[ 0.932] MMC: sdh@d4280000: probe done.
[ 0.939] sdh@d4281000: probe done.
[ 0.939] sdh@d4280000: 0, sdh@d4281000: 2
[ 0.943] Loading Environment from SPIFlash... x1_qspi spi@d420c000: qspi iobase:0x0x00000000d420c000, ahb_addr:0x0x00000000b8000000, max_hz:26500000Hz
[ 0.958] x1_qspi spi@d420c000: rx buf size:128, tx buf size:256, ahb buf size=512
[ 0.966] x1_qspi spi@d420c000: AHB read enabled
[ 0.970] x1_qspi spi@d420c000: bus clock: 26500000Hz, PMUap reg[0xd4282860]:0x0000075b
[ 0.978] x1_qspi spi@d420c000: AHB buf size: 512
[ 0.982] SF: Detected XM25QH128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
[ 1.004] Now init Rterm...
[ 1.004] pcie prot id = 1, porta_init_done = 0
[ 1.008] Now waiting portA resister tuning done...
[ 1.013] porta redonly_reg2: 00005d37
[ 1.017] pcie_rcal = 0x00005d37
[ 1.020] pcie port id = 1, lane num = 2
[ 1.023] Now int init_puphy...
[ 1.026] waiting pll lock...
[ 1.029] Now finish init_puphy....
[ 1.032] pcie_dw_x1 pcie@ca400000: Unable to get phy0
[ 1.037] pcie_dw_x1 pcie@ca400000: Unable to get phy1
[ 2.143] PCIE-0: Link down
[ 2.148] sdh@d4281000: 74 clk wait timeout(100)
[ 2.166] Card did not respond to voltage select! : -110
[ 2.168] mmc_init: -95, time 21
[ 2.187] Card did not respond to voltage select! : -110
[ 2.189] mmc_init: -95, time 18
[ 2.221] Found device 'hdmi@c0400500', disp_uc_priv=000000007deb4a70
[ 2.331] HDMI cannot get HPD signal
[ 2.331] ky_display_init: device 'dpu@c0340000' display won't probe (ret=-1)
[ 2.338] initialize_console_log_buffer
[ 2.342] Have allocated memory for console log buffer
[ 2.347] In: serial
[ 2.349] Out: serial
[ 2.351] Err: serial
[ 2.355] Default to 100kHz
[ 2.370] EEPROM: TlvInfo v1 len=38
[ 2.370] valid ethaddr: c0:74:2b:fb:13:ee
[ 2.374] Cannot find TLV data: part#
[ 2.378] Cannot find TLV data: serial#
[ 2.381] Cannot find TLV data: manufacture_date
[ 2.386] Cannot find TLV data: manufacturer
[ 2.390] Cannot find TLV data: device_version
[ 2.394] Cannot find TLV data: sdk_version
[ 2.502] HDMI cannot get HPD signal
[ 2.502] display devices not found or not probed yet: -1
[ 2.507] All buttons probed successfully
[ 2.512] Read PMIC reg ab value f0
[ 2.515] Failed to get fastboot key config: -19
[ 2.520] sdh@d4280000: 74 clk wait timeout(100)
[ 2.658] Card did not respond to voltage select! : -110
[ 2.660] mmc_init: -95, time 19
[ 2.663] can not get available blk dev
[ 2.667] Net: RGMII interface
[ 2.669] eth0: ethernet@cac80000
[ 2.675] Autoboot in 0 seconds
[ 2.686] starting USB...
[ 2.686] Bus ehci1@c0980100: ehci_x1_ci ehci1@c0980100: ehci_mv_probe Enter ...
[ 2.696] mv_usb_phy usbphy1@c09c0000: x1-ci-usb-phy-probe: Enter...
[ 2.701] ehci_x1_ci ehci1@c0980100: ehci-x1-ci: init hccr c0980100 and hcor c0980140 hc_length 64
[ 2.723] USB EHCI 1.00
[ 2.723] Bus dwc3@c0a00000: No USB maximum speed specified. Using super speed
[ 2.736] mv_usb_phy usb2phy@0xc0a30000: x1-ci-usb-phy-probe: Enter...
[ 2.740] x1_combphy phy@c0b10000: USB3 PHY init.
[ 2.744] dwc3-generic-host dwc3@c0a00000: this is a DesignWare USB3 DRD Core
[ 3.165] Register 2000140 NbrPorts 2
Starting the controller
[ 3.168] USB XHCI 1.10
[ 3.170] scanning bus ehci1@c0980100 for devices... 1 USB Device(s) found
[ 4.309] scanning bus dwc3@c0a00000 for devices... 4 USB Device(s) found
[ 5.853] scanning usb for storage devices... 1 Storage Device(s) found
[ 5.857]
Device 0: Vendor: CT240BX5 Rev: 0 Prod: 00SSD1
[ 5.863] Type: Hard Disk
[ 5.867] Capacity: 228936.5 MB = 223.5 GB (468862128 x 512)
[ 5.873] ... is now current device
[ 6.059] switch to partitions #0, OK
[ 6.060] mmc0 is current device
[ 6.159] Scanning mmc 0:1...
[ 6.270] Found /boot/extlinux/extlinux.conf
[ 6.271] Retrieving file: /boot/extlinux/extlinux.conf
OrangePi RV2 Boot Menu
[ 6.318] 1: Debian root on SD
[ 6.320] 2: Void (current) root on SD
[ 6.324] 3: Void (current) root on SD (single)
[ 6.328] 4: Void root on SD (rescue "bootable")
[ 6.332] 5: Void root on SD (rescue "bootable" - single)
[ 6.338] 6: Void root on USB-SSD
[ 6.341] 7: Void root on USB-SSD (single)
Enter choice: [ 9.658] 6
6: Void root on USB-SSD
[ 10.859] Retrieving file: /boot/next-usb/Image.gz
[ 11.425] append: console=ttyS0,115200 root=PARTUUID=064ce04b-82f2-4d4b-9378-8cb956ade3f6 rw rootwait
[ 11.431] Retrieving file: /boot/next-usb/k1-orangepi-rv2.dtb
[ 11.483] Uncompressing Kernel Image
[ 11.680] Moving Image from 0x11000000 to 0x200000, end=19fb000
[ 11.691] ## Flattened Device Tree blob at 31000000
[ 11.693] Booting using the fdt blob at 0x31000000
[ 11.799] Loading Device Tree to 000000007dd7e000, end 000000007dd87fb2 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on hartid 0
[ 0.000000] Linux version 7.0.0-rc6-next-20260403-00004-g05054ef4ae1d (vince@ryzen) (riscv64-linux-musl-gcc (GCC) 14.2.1 20250405, GNU ld (GNU Binutils) 2.44) #10 SMP PREEMPT Mon Apr 6 11:02:02 CEST 2026
[ 0.000000] Machine model: OrangePi RV2
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x000000007f000000..0x000000007fffffff (16384 KiB) map non-reusable framebuffer@7f000000
[ 0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable mmode_resv0@0
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] Ticket spinlock: enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000007ffff]
[ 0.000000] node 0: [mem 0x0000000000080000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 31 pages/cpu s86744 r8192 d32040 u126976
[ 0.000000] Kernel command line: console=ttyS0,115200 root=PARTUUID=064ce04b-82f2-4d4b-9378-8cb956ade3f6 rw rootwait
[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[ 0.000000] software IO TLB: area num 8.
[ 0.000000] software IO TLB: mapped [mem 0x000000007b800000-0x000000007ba00000] (2MB)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 524288
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=8.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] riscv: providing IPIs using SBI IPI extension
[ 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.000008] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[ 0.000263] Console: colour dummy device 80x25
[ 0.000314] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000325] pid_max: default: 32768 minimum: 301
[ 0.000705] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000719] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001016] VFS: Finished mounting rootfs on nullfs
[ 0.003111] riscv: ELF compat mode unsupported
[ 0.003130] ASID allocator using 16 bits (65536 entries)
[ 0.003247] rcu: Hierarchical SRCU implementation.
[ 0.003252] rcu: Max phase no-delay instances is 1000.
[ 0.003463] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.003596] EFI services will not be available.
[ 0.003992] smp: Bringing up secondary CPUs ...
[ 0.008688] smp: Brought up 1 node, 8 CPUs
[ 0.009383] Memory: 1994164K/2097152K available (10610K kernel code, 5373K rwdata, 4096K rodata, 2403K init, 391K bss, 96976K reserved, 0K cma-reserved)
[ 0.010472] devtmpfs: initialized
[ 0.015186] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.015223] posixtimers hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.015316] futex hash table entries: 2048 (131072 bytes on 1 NUMA nodes, total 128 KiB, linear).
[ 0.016045] DMI: not present or invalid.
[ 0.016473] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.016818] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.016853] audit: initializing netlink subsys (disabled)
[ 0.017215] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[ 0.017531] thermal_sys: Registered thermal governor 'step_wise'
[ 0.017599] cpuidle: using governor menu
[ 0.040166] cpu2: Ratio of byte access time to unaligned word access is 2.35, unaligned accesses are fast
[ 0.040166] cpu7: Ratio of byte access time to unaligned word access is 1.72, unaligned accesses are fast
[ 0.040167] cpu4: Ratio of byte access time to unaligned word access is 1.91, unaligned accesses are fast
[ 0.040167] cpu6: Ratio of byte access time to unaligned word access is 2.15, unaligned accesses are fast
[ 0.040175] cpu1: Ratio of byte access time to unaligned word access is 2.29, unaligned accesses are fast
[ 0.040175] cpu3: Ratio of byte access time to unaligned word access is 2.33, unaligned accesses are fast
[ 0.040175] cpu5: Ratio of byte access time to unaligned word access is 2.04, unaligned accesses are fast
[ 0.064202] cpu0: Ratio of byte access time to unaligned word access is 10.08, unaligned accesses are fast
[ 0.072686] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.072697] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.072701] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.072705] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.073270] ACPI: Interpreter disabled.
[ 0.073517] iommu: Default domain type: Translated
[ 0.073523] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.085288] SCSI subsystem initialized
[ 0.085719] usbcore: registered new interface driver usbfs
[ 0.085750] usbcore: registered new interface driver hub
[ 0.085783] usbcore: registered new device driver usb
[ 0.087193] vgaarb: loaded
[ 0.087561] clocksource: Switched to clocksource riscv_clocksource
[ 0.088143] pnp: PnP ACPI: disabled
[ 0.095057] NET: Registered PF_INET protocol family
[ 0.095233] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.097178] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.097223] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.097235] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.097329] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.098148] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.098304] UDP hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.098646] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.098693] PCI: CLS 0 bytes, default 64
[ 0.100028] workingset: timestamp_bits=46 (anon: 42) max_order=19 bucket_order=0 (anon: 0)
[ 0.100613] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 0.100814] io scheduler mq-deadline registered
[ 0.100821] io scheduler kyber registered
[ 0.100852] io scheduler bfq registered
[ 0.105313] riscv-plic: interrupt-controller@e0000000: mapped 160 interrupts with 8 handlers for 16 contexts.
[ 0.152125] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.160203] loop: module loaded
[ 0.162947] usbcore: registered new interface driver rtl8150
[ 0.162971] usbcore: registered new device driver r8152-cfgselector
[ 0.162997] usbcore: registered new interface driver r8152
[ 0.164139] usbcore: registered new interface driver uas
[ 0.164176] usbcore: registered new interface driver usb-storage
[ 0.164462] mousedev: PS/2 mouse device common for all mice
[ 0.165833] usbcore: registered new interface driver usbhid
[ 0.165838] usbhid: USB HID core driver
[ 0.166089] riscv-pmu-sbi: SBI PMU extension is available
[ 0.166115] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[ 0.166824] NET: Registered PF_PACKET protocol family
[ 0.166871] Key type dns_resolver registered
[ 0.192644] printk: legacy console [ttyS0] disabled
[ 0.193007] d4017000.serial: ttyS0 at MMIO 0xd4017000 (irq = 14, base_baud = 921600) is a XScale
[ 0.193051] printk: legacy console [ttyS0] enabled
[ 1.234913] /soc/i2c@d401d800/pmic@41: Fixed dependency cycle(s) with /soc/i2c@d401d800/pmic@41/regulators/buck5
[ 1.259887] spacemit-p1-rtc spacemit-p1-rtc.2.auto: registered as rtc0
[ 1.265137] spacemit-p1-rtc spacemit-p1-rtc.2.auto: setting system clock to 2026-04-06T09:18:20 UTC (1775467100)
[ 1.275851] spacemit-k1-pcie ca400000.pcie: host bridge /soc/pcie-bus/pcie@ca400000 ranges:
[ 1.275941] spacemit-k1-pcie ca800000.pcie: host bridge /soc/pcie-bus/pcie@ca800000 ranges:
[ 1.277295] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 1.277320] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[ 1.277461] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe6d hci version 0x110 quirks 0x0000808000000010
[ 1.277501] xhci-hcd xhci-hcd.3.auto: irq 19, io mem 0xc0a00000
[ 1.277620] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 1.277630] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[ 1.277640] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[ 1.278369] hub 1-0:1.0: USB hub found
[ 1.278401] hub 1-0:1.0: 1 port detected
[ 1.278729] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.279191] hub 2-0:1.0: USB hub found
[ 1.279219] hub 2-0:1.0: 1 port detected
[ 1.280113] clk: Disabling unused clocks
[ 1.282252] spacemit-k1-pcie ca400000.pcie: IO 0x009f002000..0x009f101fff -> 0x0000000000
[ 1.290592] spacemit-k1-pcie ca800000.pcie: IO 0x00b7002000..0x00b7101fff -> 0x0000000000
[ 1.296068] spacemit-k1-pcie ca400000.pcie: MEM 0x0090000000..0x009effffff -> 0x0090000000
[ 1.303655] spacemit-k1-pcie ca800000.pcie: MEM 0x00a0000000..0x00afffffff -> 0x00a0000000
[ 1.400524] spacemit-k1-pcie ca800000.pcie: MEM 0x00b0000000.[ 1.415746] spacemit-k1-pcie ca400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G
[ 1.511817] spacemit-k1-pcie ca800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 4G
[ 1.531582] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 1.725902] hub 1-1:1.0: USB hub found
[ 1.727276] hub 1-1:1.0: 4 ports detected
[ 1.791698] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 1.837888] hub 2-1:1.0: USB hub found
[ 1.839302] hub 2-1:1.0: 4 ports detected
[ 2.123618] usb 2-1.2: new SuperSpeed USB device number 3 using xhci-hcd
[ 2.148605] scsi host0: uas
[ 2.153198] scsi 0:0:0:0: Direct-Access CT240BX5 00SSD1 0 PQ: 0 ANSI: 6
[ 2.379571] spacemit-k1-pcie ca400000.pcie: Device found, but not active
[ 2.383870] spacemit-k1-pcie ca400000.pcie: PCI host bridge to bus 0001:00
[ 2.390509] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 2.395963] pci_bus 0001:00: root bus resource [io 0x0000-0xfffff]
[ 2.402211] pci_bus 0001:00: root bus resource [mem 0x90000000-0x9effffff]
[ 2.409145] pci 0001:00:00.0: [201f:0001] type 01 class 0x060400 PCIe Root Port
[ 2.416386] pci 0001:00:00.0: BAR 0 [mem 0x00000000-0x000fffff]
[ 2.422265] pci 0001:00:00.0: BAR 1 [mem 0x00000000-0x000fffff]
[ 2.428167] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 2.433379] pci 0001:00:00.0: bridge window [io 0x0000-0x0fff]
[ 2.439452] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 2.446225] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 2.453991] pci 0001:00:00.0: supports D1
[ 2.457942] pci 0001:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 2.465782] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.470905] pci 0001:00:00.0: BAR 0 [mem 0x90000000-0x900fffff]: assigned
[ 2.477668] pci 0001:00:00.0: BAR 1 [mem 0x90100000-0x901fffff]: assigned
[ 2.477678] spacemit-k1-pcie ca800000.pcie: Device found, but not active
[ 2.484423] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 2.491211] spacemit-k1-pcie ca800000.pcie: PCI host bridge to bus 0002:00
[ 2.496056] pci_bus 0001:00: resource 4 [io 0x0000-0xfffff]
[ 2.502913] pci_bus 0002:00: root bus resource [bus 00-ff]
[ 2.508548] pci_bus 0001:00: resource 5 [mem 0x90000000-0x9effffff]
[ 2.520269] pci_bus 0002:00: root bus resource [io 0x100000-0x1fffff] (bus address [0x0000-0xfffff])
[ 2.529471] pci_bus 0002:00: root bus resource [mem 0xa0000000-0xafffffff pref]
[ 2.536760] pci_bus 0002:00: root bus resource [mem 0xb0000000-0xb6ffffff]
[ 2.543681] pci 0002:00:00.0: [1e5d:3003] type 01 class 0x060400 PCIe Root Port
[ 2.550926] pci 0002:00:00.0: BAR 0 [mem 0x00000000-0x000fffff]
[ 2.556813] pci 0002:00:00.0: BAR 1 [mem 0x00000000-0x000fffff]
[ 2.562715] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 2.567927] pci 0002:00:00.0: bridge window [io 0x100000-0x100fff]
[ 2.574348] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 2.581123] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 2.588881] pci 0002:00:00.0: supports D1
[ 2.592838] pci 0002:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 2.601866] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.605849] pci 0002:00:00.0: BAR 0 [mem 0xb0000000-0xb00fffff]: assigned
[ 2.606118] pcieport 0001:00:00.0: PME: Signaling with IRQ 22
[ 2.612606] pci 0002:00:00.0: BAR 1 [mem 0xb0100000-0xb01fffff]: assigned
[ 2.625112] pci 0002:00:00.0: PCI bridge to [bus 01]
[ 2.630057] pci_bus 0002:00: resource 4 [io 0x100000-0x1fffff]
[ 2.635957] pci_bus 0002:00: resource 5 [mem 0xa0000000-0xafffffff pref]
[ 2.642636] pci_bus 0002:00: resource 6 [mem 0xb0000000-0xb6ffffff]
[ 2.649186] pcieport 0002:00:00.0: PME: Signaling with IRQ 23
[ 31.711870] aldo1: disabling
[ 31.713707] dldo1: disabling
[ 33.771581] sd 0:0:0:0: [sda] tag#19 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 33.776933] sd 0:0:0:0: [sda] tag#19 CDB: opcode=0x9e, sa=0x10 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
[ 33.803595] scsi host0: uas_eh_host_reset_handler start
[ 33.875867] usb 2-1.2: reset SuperSpeed USB device number 3 using xhci-hcd
[ 33.897963] scsi host0: uas_eh_host_reset_handler success
[ 33.916023] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 33.921059] sd 0:0:0:0: [sda] Write Protect is off
[ 33.925858] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 33.979709] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[ 33.983240] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 34.009531] sda: sda1 sda2
[ 34.010146] sd 0:0:0:0: [sda] Attached SCSI disk
[ 34.081912] EXT4-fs (sda2): mounted filesystem 1c6416d7-3949-4642-8160-7b0bf57d2414 r/w with ordered data mode. Quota mode: disabled.
[ 34.091460] VFS: Mounted root (ext4 filesystem) on device 8:2.
[ 34.097838] devtmpfs: mounted
[ 34.100241] VFS: Pivoted into new rootfs
[ 34.104808] Freeing unused kernel image (initmem) memory: 2400K
[ 34.109945] Run /sbin/init as init process
- runit: $Id: c66c1e3b98d1b630bd51b1d56aaed5c2994e8c9d $: booting.
- runit: enter stage: /etc/runit/1
=> Welcome to Void!
=> Mounting pseudo-filesystems...
=> Loading kernel modules...
=> Starting udev and waiting for devices to settle...
[ 34.236577] udevd[154]: starting version 3.2.14
[ 35.295584] random: crng init done
[ 35.313206] udevd[155]: starting eudev-3.2.14
=> Remounting rootfs read-only...
[ 35.602114] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414 ro.
=> Activating btrfs devices...
Scanning for Btrfs filesystems
=> Activating encrypted devices...
=> Checking filesystems:
/dev/sda2: clean, 17212/1048576 files, 343501/4194304 blocks
=> Mounting rootfs read-write...
[ 35.704782] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414 r/w.
=> Mounting all non-network filesystems...
=> Initializing swap...
=> Seeding random number generator...
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
=> Setting up loopback interface...
=> Setting up hostname to 'rv2'...
=> Loading sysctl(8) settings...
kernel.dmesg_restrict = 1
sysctl: cannot stat /proc/sys/kernel/kexec_load_disabled: No such file or directory
sysctl: cannot stat /proc/sys/kernel/yama/ptrace_scope: No such file or directory
kernel.core_uses_pid = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
kernel.kptr_restrict = 1
kernel.perf_event_paranoid = 2
kernel.unprivileged_bpf_disabled = 1
=> Initialization complete, running stage 2...
- runit: leave stage: /etc/runit/1
- runit: enter stage: /etc/runit/2
[ 35.813418] YT8531 Gigabit Ethernet cac80000.ethernet:01: attached PHY driver (mii_bus:phy_addr=cac80000.ethernet:01, irq=POLL)
[ 35.845286] k1_emac cac80000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
runsvchdir: default: current.
[ 35.874520] udevd[225]: starting version 3.2.14
[ 35.893010] udevd[225]: starting eudev-3.2.14
Void 7.0.0-rc6-next-20260403-00004-g05054ef4ae1d (rv2) (ttyS0)
rv2 login: - runit: leave stage: /etc/runit/2
- runit: enter stage: /etc/runit/3
=> Waiting for services to sok: down: /var/service/agetty-ttyS0: 0s, normally up
ok: down: /var/service/sshd: 0s, normally up
ok: down: /var/service/udevd: 0s, normally up
=> Saving random number generator seed...
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
=> Stopping udev...
=> Sending TERM signal to processes...
=> Sending KILL signal to processes...
=> Unmounting filesystems, disabling swap...
[ 55.352055] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414 ro.
=> Remounting rootfs read-only...
[ 55.365304] EXT4-fs (sda2): re-mounted 1c6416d7-3949-4642-8160-7b0bf57d2414.
- runit: leave stage: /etc/runit/3
- runit: sending KILL signal to all processes...
- runit: system reboot.
[ 55.403711] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 55.479780] usb 2-1.2: reset SuperSpeed USB device number 3 using xhci-hcd
[ 55.501772] reboot: Restarting system
[ 55.502805] ------------[ cut here ]------------
[ 55.507418] No atomic I2C transfer handler for 'i2c-0'
[ 55.512558] WARNING: drivers/i2c/i2c-core.h:42 at i2c_transfer+0x90/0x98, CPU#0: runit/269
[ 55.512584] Modules linked in:
[ 55.512595] CPU: 0 UID: 0 PID: 269 Comm: runit Not tainted 7.0.0-rc6-next-20260403-00004-g05054ef4ae1d #10 PREEMPTLAZY
[ 55.512604] Hardware name: OrangePi RV2 (DT)
[ 55.512609] epc : i2c_transfer+0x90/0x98
[ 55.512616] ra : i2c_transfer+0x90/0x98
[ 55.512623] epc : ffffffff80867050 ra : ffffffff80867050 sp : ffffffc6006c39c0
[ 55.512628] gp : ffffffff81796260 tp : ffffffd6045f4980 t0 : 696d6f7461206f4e
[ 55.512631] t1 : 000000000000004e t2 : 63696d6f7461206f s0 : ffffffc6006c39f0
[ 55.512636] s1 : ffffffd6037fc048 a0 : 000000000000002a a1 : ffffffff81688790
[ 55.512640] a2 : 0000000000000010 a3 : 00000000000000fd a4 : 0000000000000000
[ 55.512644] a5 : 0000000000000000 a6 : bffffffffffff000 a7 : 0000000000000038
[ 55.512648] s2 : 0000000000000002 s3 : ffffffc6006c39f8 s4 : 000000000000007e
[ 55.512652] s5 : 0000000000000002 s6 : 0000000000000000 s7 : 0000000000000000
[ 55.512656] s8 : ffffffff81799248 s9 : ffffffff8169dca0 s10: ffffffff80053a50
[ 55.512660] s11: ffffffd602571e80 t3 : ffffffff817ab1ef t4 : ffffffff817ab1ef
[ 55.512663] t5 : ffffffff817ab1f0 t6 : ffffffc6006c37d8 ssp : 0000000000000000
[ 55.512667] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[ 55.512671] [<ffffffff80867050>] i2c_transfer+0x90/0x98
[ 55.512680] [<ffffffff806b4574>] regmap_i2c_read+0x54/0x84
[ 55.512691] [<ffffffff806af2a4>] _regmap_raw_read+0xb0/0x2c0
[ 55.512699] [<ffffffff806af4e2>] _regmap_bus_read+0x2e/0x64
[ 55.512705] [<ffffffff806ade8a>] _regmap_read+0x42/0x150
[ 55.512712] [<ffffffff806ae660>] _regmap_update_bits+0x9c/0xe0
[ 55.512718] [<ffffffff806afa74>] regmap_update_bits_base+0x40/0x68
[ 55.512725] [<ffffffff8086f6b8>] spacemit_p1_restart_handler+0x24/0x5c
[ 55.512733] [<ffffffff80053a82>] sys_off_notify+0x32/0x50
[ 55.512743] [<ffffffff80052418>] notifier_call_chain+0x58/0x138
[ 55.512750] [<ffffffff800525d4>] atomic_notifier_call_chain+0x1c/0x4c
[ 55.512756] [<ffffffff80054456>] do_kernel_restart+0x1e/0x28
[ 55.512764] [<ffffffff800137bc>] machine_restart+0xc/0x10
[ 55.512774] [<ffffffff80054598>] kernel_restart+0x6c/0x88
[ 55.512781] [<ffffffff800547f6>] __do_sys_reboot+0xce/0x1c4
[ 55.512788] [<ffffffff800549ce>] __riscv_sys_reboot+0x16/0x20
[ 55.512794] [<ffffffff80a51d66>] do_trap_ecall_u+0x1ce/0x40c
[ 55.512804] [<ffffffff80a5e90c>] handle_exception+0x168/0x174
[ 55.512814] ---[ end trace 0000000000000000 ]---
[ 55.512830] BUG: scheduling while atomic: runit/269/0x00000002
[ 55.74672�
^ permalink raw reply [flat|nested] 5+ messages in thread