Open samiux opened 10 months ago
would you please paste any system log here?
dmesg output :
[ 0.000000] Linux version 5.15.0-starfive (sw_buildbot@mdcsw01) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Wed Aug 23 11:18:20 CST 2023
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Machine model: StarFive VisionFive V2
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000010000000 (options '115200')
[ 0.000000] printk: bootconsole [uart0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000070000000, size 1536 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000023fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x000000023fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000023fffffff]
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10002
[ 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 v0.2 HSM extension detected
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 18 pages/cpu s34024 r8192 d31512 u73728
[ 0.000000] pcpu-alloc: s34024 r8192 d31512 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2067975
[ 0.000000] Kernel command line: root=/dev/mmcblk1p4 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0
[ 0.000000] Unknown command line parameters: stmmaceth=chain_mode:1 selinux=0
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:byref_all(zero), heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Memory: 6518600K/8386560K available (10622K kernel code, 5022K rwdata, 4096K rodata, 2197K init, 668K bss, 295096K reserved, 1572864K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU debug extended QS entry/exit.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] CPU with hartid=0 is not available
[ 0.000000] riscv-intc: unable to find hart id for /cpus/cpu@0/interrupt-controller
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: plic@c000000: mapped 136 interrupts with 4 handlers for 9 contexts.
[ 0.000000] random: get_random_bytes called from start_kernel+0x4dc/0x6f6 with crng_init=0
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [1]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 881590404240 ns
[ 0.000001] sched_clock: 64 bits at 4MHz, resolution 250ns, wraps every 2199023255500ns
[ 0.008995] clocksource: timer@13050000.ch0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.020317] clocksource: timer@13050000.ch1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.031638] clocksource: timer@13050000.ch2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.042960] clocksource: timer@13050000.ch3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.054505] Console: colour dummy device 80x25
[ 0.060690] printk: console [tty0] enabled
[ 0.065246] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=40000)
[ 0.076469] pid_max: default: 32768 minimum: 301
[ 0.081801] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.090305] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.100533] ASID allocator disabled
[ 0.104469] rcu: Hierarchical SRCU implementation.
[ 0.109919] EFI services will not be available.
[ 0.115289] smp: Bringing up secondary CPUs ...
[ 0.121880] smp: Brought up 1 node, 4 CPUs
[ 0.128219] devtmpfs: initialized
[ 0.139704] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.150570] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.199437] pinctrl core: initialized pinctrl subsystem
[ 0.206089] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.214828] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.223986] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.233308] thermal_sys: Registered thermal governor 'step_wise'
[ 0.233643] cpuidle: using governor menu
[ 0.267791] platform soc:dsi-output: Fixing up cyclic dependency with 29400000.dc8200
[ 0.276955] platform 295d0000.mipi: Fixing up cyclic dependency with soc:dsi-output
[ 0.285790] platform 29590000.hdmi: Fixing up cyclic dependency with 29400000.dc8200
[ 0.306045] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.313428] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.324270] vgaarb: loaded
[ 0.327490] SCSI subsystem initialized
[ 0.331788] libata version 3.00 loaded.
[ 0.331968] usbcore: registered new interface driver usbfs
[ 0.338043] usbcore: registered new interface driver hub
[ 0.344014] usbcore: registered new device driver usb
[ 0.349797] mc: Linux media interface: v0.10
[ 0.354534] videodev: Linux video capture interface: v2.00
[ 0.360766] Advanced Linux Sound Architecture Driver Initialized.
[ 0.367842] Bluetooth: Core ver 2.22
[ 0.371800] NET: Registered PF_BLUETOOTH protocol family
[ 0.377656] Bluetooth: HCI device and connection manager initialized
[ 0.384654] Bluetooth: HCI socket layer initialized
[ 0.390039] Bluetooth: L2CAP socket layer initialized
[ 0.395609] Bluetooth: SCO socket layer initialized
[ 0.401300] clocksource: Switched to clocksource riscv_clocksource
[ 0.408337] FS-Cache: Loaded
[ 0.418634] NET: Registered PF_INET protocol family
[ 0.425124] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.440924] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 163840 bytes, linear)
[ 0.450665] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.460196] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 0.470356] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.477857] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 0.485854] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[ 0.494504] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.501265] RPC: Registered named UNIX socket transport module.
[ 0.507817] RPC: Registered udp transport module.
[ 0.513004] RPC: Registered tcp transport module.
[ 0.518179] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.526007] PCI: CLS 0 bytes, default 64
[ 0.531234] Initialise system trusted keyrings
[ 0.536306] workingset: timestamp_bits=62 max_order=21 bucket_order=0
[ 0.536409] Unpacking initramfs...
[ 0.549044] NFS: Registering the id_resolver key type
[ 0.554657] Key type id_resolver registered
[ 0.559273] Key type id_legacy registered
[ 0.563805] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.571200] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.579424] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.584511] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.591697] fuse: init (API version 7.34)
[ 0.634677] NET: Registered PF_ALG protocol family
[ 0.639991] Key type asymmetric registered
[ 0.644531] Asymmetric key parser 'x509' registered
[ 0.650008] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.658199] io scheduler mq-deadline registered
[ 0.663215] io scheduler kyber registered
[ 0.670010] start plist test
[ 0.675614] end plist test
[ 0.770757] clk-starfive-jh7110 13020000.clock-controller: starfive JH7110 clkgen init successfully.
[ 0.782184] L2CACHE: DataError @ 0x00000000.08040140
[ 0.787723] L2CACHE: DataFail @ 0x00000000.08040270
[ 0.793233] L2CACHE: No. of Banks in the cache: 8
[ 0.798424] L2CACHE: No. of ways per bank: 16
[ 0.803253] L2CACHE: Sets per bank: 256
[ 0.807497] L2CACHE: Bytes per cache block: 64
[ 0.812423] L2CACHE: Index of the largest way enabled: 15
[ 0.818728] jh7110-pmu 17030000.power-controller: registered 8 power domains
[ 0.884009] Freeing initrd memory: 4880K
[ 0.889772] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.909771] loop: module loaded
[ 0.915746] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
[ 0.939106] 3 fixed-partitions partitions found on MTD device 13010000.spi.0
[ 0.946920] Creating 3 MTD partitions on "13010000.spi.0":
[ 0.952991] 0x000000000000-0x000000040000 : "spl"
[ 0.959856] 0x000000100000-0x000000400000 : "uboot"
[ 0.966771] 0x000000f00000-0x000001000000 : "data"
[ 0.974639] libphy: Fixed MDIO Bus: probed
[ 0.980583] CAN device driver interface
[ 0.985424] starfive-eth-plat 16030000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 0.996802] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.005083] starfive-eth-plat 16030000.ethernet: DWMAC4/5
[ 1.011136] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[ 1.019779] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[ 1.028420] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[ 1.035976] starfive-eth-plat 16030000.ethernet: TSO supported
[ 1.042422] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.051649] starfive-eth-plat 16030000.ethernet: Enabled Flow TC (entries=1)
[ 1.059411] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[ 1.066417] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[ 1.326581] libphy: stmmac: probed
[ 1.330357] YT8531 Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 1.341329] YT8531 Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 1.353441] starfive-eth-plat 16040000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 1.364848] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.373128] starfive-eth-plat 16040000.ethernet: DWMAC4/5
[ 1.379179] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[ 1.387822] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[ 1.396464] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[ 1.404015] starfive-eth-plat 16040000.ethernet: TSO supported
[ 1.410447] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.419684] starfive-eth-plat 16040000.ethernet: Enabled Flow TC (entries=1)
[ 1.427461] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[ 1.434471] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[ 1.693822] libphy: stmmac: probed
[ 1.697598] YT8531 Gigabit Ethernet stmmac-1:00: attached PHY driver (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[ 1.708561] YT8531 Gigabit Ethernet stmmac-1:01: attached PHY driver (mii_bus:phy_addr=stmmac-1:01, irq=POLL)
[ 1.721038] Intel(R) Wireless WiFi driver for Linux
[ 1.728759] cdns3-starfive 10210000.usbdrd: usb mode 2 2.0 probe success
[ 1.736951] usbcore: registered new interface driver uas
[ 1.742879] usbcore: registered new interface driver usb-storage
[ 1.750657] starfive-rtc 17040000.rtc: registered as rtc0
[ 1.756648] starfive-rtc 17040000.rtc: setting system clock to 2010-02-26T04:24:00 UTC (1267158240)
[ 1.766785] i2c_dev: i2c /dev entries driver
[ 1.772063] usbcore: registered new interface driver uvcvideo
[ 1.791335] thermal thermal_zone0: failed to read out thermal zone (-110)
[ 1.799462] starfive-wdt 13070000.wdog: Heartbeat: timeout=15, count/2=180000000 (0aba9500)
[ 1.809210] Bluetooth: HCI UART driver ver 2.3
[ 1.814138] Bluetooth: HCI UART protocol H4 registered
[ 1.820487] sdhci: Secure Digital Host Controller Interface driver
[ 1.827340] sdhci: Copyright(c) Pierre Ossman
[ 1.832189] Synopsys Designware Multimedia Card Interface Driver
[ 1.839125] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.846538] jh7110-sec 16000000.crypto: Unable to request sec_m dma channel in DMA channel
[ 1.855692] jh7110-sec 16000000.crypto: Cannot initial dma chan
[ 1.862529] usbcore: registered new interface driver usbhid
[ 1.868682] usbhid: USB HID core driver
[ 1.873128] riscv-pmu-sbi: SBI PMU extension is available
[ 1.879104] riscv-pmu-sbi: 16 firmware and 4 hardware counters
[ 1.885568] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[ 1.896297] usbcore: registered new interface driver snd-usb-audio
[ 1.911857] NET: Registered PF_INET6 protocol family
[ 1.918588] Segment Routing with IPv6
[ 1.922691] In-situ OAM (IOAM) with IPv6
[ 1.927123] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.934242] NET: Registered PF_PACKET protocol family
[ 1.939824] can: controller area network core
[ 1.944724] NET: Registered PF_CAN protocol family
[ 1.950016] can: raw protocol
[ 1.953308] can: broadcast manager protocol
[ 1.957928] can: netlink gateway - max_hops=1
[ 1.963009] Bluetooth: RFCOMM TTY layer initialized
[ 1.968403] Bluetooth: RFCOMM socket layer initialized
[ 1.974124] Bluetooth: RFCOMM ver 1.11
[ 1.978273] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.984143] Bluetooth: BNEP filters: protocol multicast
[ 1.989915] Bluetooth: BNEP socket layer initialized
[ 1.995455] lib80211: common routines for IEEE802.11 drivers
[ 2.001711] lib80211_crypt: registered algorithm 'NULL'
[ 2.001726] lib80211_crypt: registered algorithm 'WEP'
[ 2.001740] lib80211_crypt: registered algorithm 'CCMP'
[ 2.001753] lib80211_crypt: registered algorithm 'TKIP'
[ 2.001879] 9pnet: Installing 9P2000 support
[ 2.006645] Key type dns_resolver registered
[ 2.012153] Loading compiled-in X.509 certificates
[ 2.053628] @@ dev ptr:ffffffe0bfefac00/1500/1
[ 2.058767] PVR_K: 1: Read BVNC 36.50.54.182 from HW device registers
[ 2.066070] PVR_K: 1: RGX Device registered BVNC 36.50.54.182 with 1 core in the system
[ 2.080490] pvrsrvkm 18000000.gpu: Direct firmware load for rgx.fw.36.50.54.182 failed with error -2
[ 2.090713] pvrsrvkm 18000000.gpu: Direct firmware load for rgx.fw.36.50p.54.182 failed with error -2
[ 2.101012] pvrsrvkm 18000000.gpu: Direct firmware load for rgx.fw failed with error -2
[ 2.109879] PVR_K:(Fatal): 1: All RGX Firmware image loads failed for 'rgx.fw.36.50.54.182' (PVRSRV_ERROR_NOT_FOUND) [1729]
[ 2.122589] PVR_K:(Error): 1: RGXInit: InitFirmware failed (278) [1542]
[ 2.130279] PVR_K:(Error): 1: RGXInit() failed (PVRSRV_ERROR_NOT_FOUND) in PVRSRVCommonDeviceInitialise() [2177]
[ 2.141907] PVR_K:(Error): 1: PVRSRVDeviceFinalise() failed (PVRSRV_ERROR_NOT_INITIALISED) in PVRSRVCommonDeviceInitialise() [2191]
[ 2.155383] [drm:pvr_drm_load] ERROR device (ptrval) initialisation failed (err=-19)
[ 2.166578] starfive_jh7110-pinctrl 13040000.gpio: StarFive GPIO chip registered 64 GPIOs
[ 2.176345] starfive_jh7110-pinctrl 17020000.gpio: StarFive GPIO chip registered 4 GPIOs
[ 2.185441] mailbox 13060000.mailbox: Mailbox enabled
[ 2.191209] pl08xdmac 16008000.sec_dma: initialized 8 virtual memcpy channels
[ 2.199111] pl08xdmac 16008000.sec_dma: initialized 16 virtual slave channels
[ 2.208606] debugfs: Directory '16008000.sec_dma' with parent 'dmaengine' already present!
[ 2.217781] pl08xdmac 16008000.sec_dma: DMA: PL080 rev0 at 0x16008000 irq 23
[ 2.225823] ssp-pl022 10060000.spi: ARM PL022 driver for StarFive SoC platform, device ID: 0x00041022
[ 2.236029] ssp-pl022 10060000.spi: mapped registers from 0x0000000010060000 to (ptrval)
[ 2.246146] ssp-pl022 10060000.spi: Requested frequency: 10000000 Hz is unsupported,select by default 8250000 Hz
[ 2.257749] ssp-pl022 10060000.spi: will use autosuspend for runtime pm, delay 100ms
[ 2.267651] i2c 2-0045: Fixing up cyclic dependency with 295d0000.mipi
[ 2.275137] seeed_panel 2-0045: Unknown Atmel firmware revision: 0x00
[ 2.282464] tinker_ft5406 2-0038: Address = 0x38
[ 2.287554] tinker_ft5406 2-0038: width = 800, height = 480, reverse = 1
[ 2.295094] tinker_ft5406 2-0038: i2c read error, -121
[ 2.300764] tinker_ft5406 2-0038: Checking touch ic failed
[ 2.306830] tinker_ft5406: probe of 2-0038 failed with error -121
[ 2.313965] Goodix-TS 2-0014: supply AVDD28 not found, using dummy regulator
[ 2.321874] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 2.441460] Goodix-TS 2-0014: i2c test failed attempt 1: -121
[ 2.481459] Goodix-TS 2-0014: i2c test failed attempt 2: -121
[ 2.521324] Goodix-TS 2-0014: I2C communication failure: -121
[ 2.527825] Goodix-TS: probe of 2-0014 failed with error -121
[ 2.534392] i2c 2-0020: Fixing up cyclic dependency with 295d0000.mipi
[ 2.542194] i2c 2-0019: Fixing up cyclic dependency with 295d0000.mipi
[ 2.550897] at24 5-0050: supply vcc not found, using dummy regulator
[ 2.558742] at24 5-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[ 2.568212] axp15060-regulator 5-0036: Register mipi_0p9 done! vol range:900 ~ 900 mV
[ 2.578350] axp15060-regulator 5-0036: Register hdmi_1p8 done! vol range:1800 ~ 1800 mV
[ 2.588718] axp15060-regulator 5-0036: Register sdio_vdd done! vol range:1800 ~ 1800 mV
[ 2.599059] axp15060-regulator 5-0036: Register hdmi_0p9 done! vol range:900 ~ 900 mV
[ 2.609212] axp15060-regulator 5-0036: Register vcc_3v3 done! vol range:3300 ~ 3300 mV
[ 2.619486] axp15060-regulator 5-0036: Register cpu_vdd done! vol range:500 ~ 1540 mV
[ 2.628924] i2c 6-0010: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 2.637093] imx219 6-0010: supply VANA not found, using dummy regulator
[ 2.644517] imx219 6-0010: supply VDIG not found, using dummy regulator
[ 2.651901] imx219 6-0010: supply VDDL not found, using dummy regulator
[ 2.673920] imx219 6-0010: failed to read chip id 219
[ 2.679695] imx219: probe of 6-0010 failed with error -5
[ 2.685767] i2c 6-001a: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 2.693915] imx708 6-001a: supply VANA1 not found, using dummy regulator
[ 2.701435] imx708 6-001a: supply VANA2 not found, using dummy regulator
[ 2.708867] imx708 6-001a: supply VDIG not found, using dummy regulator
[ 2.716262] imx708 6-001a: supply VDDL not found, using dummy regulator
[ 2.732891] imx708 6-001a: failed to read chip id 708, with error -5
[ 2.740150] imx708: probe of 6-001a failed with error -5
[ 2.746231] i2c 6-0036: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 2.754216] ov4689 6-0036: supply DOVDD not found, using dummy regulator
[ 2.761738] ov4689 6-0036: supply AVDD not found, using dummy regulator
[ 2.769087] ov4689 6-0036: supply DVDD not found, using dummy regulator
[ 2.776651] ov4689 6-0036: ov4689_read_reg: error: reg=300a
[ 2.782821] ov4689 6-0036: ov4689_check_chip_id: failed to read chip identifier
[ 2.791104] ov4689: probe of 6-0036 failed with error -121
[ 2.799573] pcie_plda 2b000000.pcie: Failed to get power-gpio, but maybe it's always on.
[ 2.808709] pcie_plda 2b000000.pcie: host bridge /soc/pcie@2B000000 ranges:
[ 2.816445] pcie_plda 2b000000.pcie: MEM 0x0030000000..0x0037ffffff -> 0x0030000000
[ 2.825400] pcie_plda 2b000000.pcie: MEM 0x0900000000..0x093fffffff -> 0x0900000000
[ 2.834386] ATR entry: 0x0940000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 2.842957] ATR entry: 0x0030000000 -> 0x0030000000 [0x0008000000] (param: 0x000000)
[ 2.851518] ATR entry: 0x0900000000 -> 0x0900000000 [0x0040000000] (param: 0x000000)
[ 3.201420] pcie_plda 2b000000.pcie: Port link up.
[ 3.206877] pcie_plda 2b000000.pcie: PCI host bridge to bus 0000:00
[ 3.213823] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.219891] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 3.227516] pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff pref]
[ 3.235826] pci 0000:00:00.0: [1556:1111] type 01 class 0x060400
[ 3.242478] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
[ 3.250510] pci 0000:00:00.0: supports D1 D2
[ 3.255230] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 3.266515] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.275514] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 3.282172] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 3.289739] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 3.299691] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.307032] pci 0000:00:00.0: BAR 0: no space for [mem size 0x100000000 64bit pref]
[ 3.315501] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x100000000 64bit pref]
[ 3.324356] pci 0000:00:00.0: BAR 8: assigned [mem 0x30000000-0x300fffff]
[ 3.331854] pci 0000:01:00.0: BAR 0: assigned [mem 0x30000000-0x30000fff 64bit]
[ 3.339934] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.345420] pci 0000:00:00.0: bridge window [mem 0x30000000-0x300fffff]
[ 3.353005] pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 3.359249] pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 3.365527] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x9e8 took 12237 usecs
[ 3.373942] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 3.379730] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 3.388239] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
[ 3.398401] pcie_plda 2b000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[ 3.406485] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 3.412291] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 3.420452] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 3.428134] hub 1-0:1.0: USB hub found
[ 3.432330] hub 1-0:1.0: 1 port detected
[ 3.437716] hub 2-0:1.0: USB hub found
[ 3.441907] hub 2-0:1.0: 4 ports detected
[ 3.448827] pcie_plda 2c000000.pcie: Failed to get power-gpio, but maybe it's always on.
[ 3.457947] pcie_plda 2c000000.pcie: host bridge /soc/pcie@2C000000 ranges:
[ 3.465688] pcie_plda 2c000000.pcie: MEM 0x0038000000..0x003fffffff -> 0x0038000000
[ 3.474646] pcie_plda 2c000000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[ 3.483625] ATR entry: 0x09c0000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 3.492189] ATR entry: 0x0038000000 -> 0x0038000000 [0x0008000000] (param: 0x000000)
[ 3.500739] ATR entry: 0x0980000000 -> 0x0980000000 [0x0040000000] (param: 0x000000)
[ 3.661349] usb usb2-port2: over-current condition
[ 3.761327] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 3.821354] usb usb2-port4: over-current condition
[ 3.931433] pcie_plda 2c000000.pcie: Port link down, exit.
[ 3.937698] pwm-backlight backlight: supply power not found, using dummy regulator
[ 3.959715] clk-starfive-jh7110-vout 295c0000.clock-controller: starfive JH7110 clk_vout init successfully.
[ 3.962529] hub 1-1:1.0: USB hub found
[ 3.981343] hub 1-1:1.0: 4 ports detected
[ 3.981961] clk-starfive-jh7110-isp 19810000.clock-controller: starfive JH7110 clk_isp init successfully.
[ 3.996959] dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 4.008001] printk: console [ttyS0] disabled
[ 4.032959] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 17, base_baud = 1500000) is a 16550A
[ 4.042811] printk: console [ttyS0] enabled
[ 4.051619] printk: bootconsole [uart0] disabled
[ 4.061972] jh7110-vin 19800000.vin_sysctl: stfcamss probe enter!
[ 4.070214] jh7110-vin 19800000.vin_sysctl: stfcamss probe success!
[ 4.087929] dwmmc_starfive 16010000.sdio0: IDMAC supports 32-bit address mode.
[ 4.088015] dwmmc_starfive 16020000.sdio1: IDMAC supports 32-bit address mode.
[ 4.095228] dwmmc_starfive 16010000.sdio0: Using internal DMA controller.
[ 4.095236] dwmmc_starfive 16010000.sdio0: Version ID is 290a
[ 4.095331] jh7110-sec 16000000.crypto: will run requests pump with realtime priority
[ 4.097632] jh7110-sec 16000000.crypto: Initialized
[ 4.098383] starfive-i2s 120b0000.i2stx_4ch0: designware: play supported
[ 4.098389] starfive-i2s 120b0000.i2stx_4ch0: designware: i2s master mode supported
[ 4.098639] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe begin
[ 4.098646] sf-mipi-dphy-tx 295e0000.mipi-dphy: ===> sf_dphy_probe enter, 445
[ 4.098721] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[ 4.098732] sf-mipi-dphy-tx 295e0000.mipi-dphy: supply mipi_1p8 not found, using dummy regulator
[ 4.098889] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe end
[ 4.099005] cdns-dsi 295d0000.mipi: dsi_sys_clk = 297000000
[ 4.099143] cdns-dsi 295d0000.mipi: starfive dsi bind end
[ 4.099744] cdns-dsi 295d0000.mipi: hs_rate.980000000, channel = 1
[ 4.102502] dwmmc_starfive 16020000.sdio1: Using internal DMA controller.
[ 4.109290] dwmmc_starfive 16010000.sdio0: DW MMC controller at irq 29,32 bit host data width,32 deep fifo
[ 4.115026] dwmmc_starfive 16020000.sdio1: Version ID is 290a
[ 4.115052] dwmmc_starfive 16020000.sdio1: DW MMC controller at irq 30,32 bit host data width,32 deep fifo
[ 4.123936] mmc_host mmc0: card is non-removable.
[ 4.127845] mmc_host mmc1: card is polling.
[ 4.351317] mmc_host mmc0: Bus speed (slot 0) = 49500000Hz (slot req 400000Hz, actual 399193HZ div = 62)
[ 4.451307] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 400000Hz, actual 399193HZ div = 62)
[ 4.649781] sf-mipi-dphy-tx 295e0000.mipi-dphy: GET_AON_GP_REG
[ 4.655633] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[ 4.661826] sys_m31_dphy_tx_configure opts->mipi_dphy.hs_clk_rate = 980000000
[ 4.668967] sf-mipi-dphy-tx 295e0000.mipi-dphy: request dphy hs_rate 980Mbps
[ 4.676081] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # PLL is not LOCKED
[ 4.683498] sf-mipi-dphy-tx 295e0000.mipi-dphy: want dphy hs_rate 980Mbps
[ 4.690293] sf-mipi-dphy-tx 295e0000.mipi-dphy: config dphy hs_rate 980Mbps
[ 4.697269] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # AON_POWER_READY_N active(0)
[ 4.705561] sf-mipi-dphy-tx 295e0000.mipi-dphy: 1 SET_U0_MIPITX_DPHY_RESETB
[ 4.712537] sf-mipi-dphy-tx 295e0000.mipi-dphy: 2 SET_U0_MIPITX_DPHY_RESETB
[ 4.719504] sf-mipi-dphy-tx 295e0000.mipi-dphy: MIPI dphy-tx # PLL Locked
[ 4.726307] cdns-dsi 295d0000.mipi: START dsi ppi_txbyte_hs
[ 4.731773] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[ 4.731893] cdns-dsi 295d0000.mipi: sys_mipi_dsi_set_ppi_txbyte_hs
[ 4.734086] starfive_raxda_10inch 2-0020: dsi command return -61, mode 0
[ 4.741712] random: fast init done
[ 4.748253] cdns-dsi 295d0000.mipi: STOP dsi ppi_txbyte_hs
[ 4.754944] mmc1: new high speed SDXC card at address aaaa
[ 4.755346] of_cfs_init
[ 4.755381] of_cfs_init: OK
[ 4.755718] starfive-pwmdac 100b0000.pwmdac: clk_apb0 = 49500000, clk_pwmdac_apb = 49500000, clk_pwmdac_core = 4068493
[ 4.756011] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.757963] cdns-dsi 295d0000.mipi: sys_mipi_dsi_set_ppi_txbyte_hs
[ 4.757973] sf-mipi-dphy-tx 295e0000.mipi-dphy: 1 SET_U0_MIPITX_DPHY_RESETB
[ 4.757976] sf-mipi-dphy-tx 295e0000.mipi-dphy: 2 SET_U0_MIPITX_DPHY_RESETB
[ 4.764227] mmcblk1: mmc1:aaaa SR64G 59.5 GiB
[ 4.811330] mmc_host mmc0: Bus speed (slot 0) = 49500000Hz (slot req 300000Hz, actual 298192HZ div = 83)
[ 4.832959] mmcblk1: p1 p2 p3 p4
[ 4.894253] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.904863] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.905562] starfive soc:display-subsystem: bound 29400000.dc8200 (ops 0xffffffff8107d390)
[ 4.913571] cfg80211: failed to load regulatory.db
[ 4.926648] innohdmi-starfive 29590000.hdmi: inno hdmi bind begin
[ 4.934205] innohdmi-starfive 29590000.hdmi: [drm:inno_hdmi_bind] registered Inno HDMI I2C bus driver success
[ 4.944305] innohdmi-starfive 29590000.hdmi: HDMI&AUDIO register done.
[ 4.950850] innohdmi-starfive 29590000.hdmi: inno hdmi bind end
[ 4.956786] starfive soc:display-subsystem: bound 29590000.hdmi (ops 0xffffffff8107e128)
[ 4.964894] vs-simple-encoder soc:dsi-output: encoder_bind begin
[ 4.970921] no panel, -517
[ 4.973642] vs-simple-encoder soc:dsi-output: encoder_bind error
[ 4.979651] starfive soc:display-subsystem: bound soc:dsi-output (ops 0xffffffff8107dd70)
[ 4.988231] [drm] Initialized starfive 1.0.0 20191101 for soc:display-subsystem on minor 0
[ 5.271325] mmc_host mmc0: Bus speed (slot 0) = 49500000Hz (slot req 200000Hz, actual 199596HZ div = 124)
[ 5.496598] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 5.731312] mmc_host mmc0: Bus speed (slot 0) = 49500000Hz (slot req 100000Hz, actual 99798HZ div = 248)
[ 6.004128] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 6.511486] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 7.531387] ALSA device list:
[ 7.534413] #0: Starfive-PWMDAC-Sound-Card
[ 7.538739] #1: Starfive-HDMI-Sound-Card
[ 7.546988] Freeing unused kernel image (initmem) memory: 2196K
[ 7.553148] Run /init as init process
[ 7.556849] with arguments:
[ 7.556861] /init
[ 7.556871] with environment:
[ 7.556883] HOME=/
[ 7.556893] TERM=linux
[ 7.556904] stmmaceth=chain_mode:1
[ 7.556919] selinux=0
[ 8.113229] starfive-eth-plat 16030000.ethernet end0: renamed from eth0
[ 8.172561] starfive-eth-plat 16040000.ethernet end1: renamed from eth1
[ 8.497283] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled.
[ 9.235225] systemd[1]: System time before build time, advancing clock.
[ 9.371390] systemd[1]: systemd 254.3-1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 9.403425] systemd[1]: Detected architecture riscv64.
[ 9.465933] systemd[1]: Hostname set to
user@starfive:/etc/default$ cat u-boot
U_BOOT_PARAMETERS="root=/dev/mmcblk1p4 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0" U_BOOT_FDT_DIR="/dtbs/"
Same here. reboot
or systemctl reboot
just hangs like a shutdown/halt. Cold boot after power cycle is fine.
I was able to fix this by installing the watchdog
service in Debian, which apparently detects the halt state as a 'crash' and forces a reboot. Seems like a good workaround.
Nice found. It works. Thank you very much.
I am running 202306 and 202308 SD card images.
VisionFive2 boot SD card is fine but warm boot is shutdown instead, i.e. it cannot be reboot.
Any idea?