Skip to content

Instantly share code, notes, and snippets.

@danboid
Created May 20, 2023 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danboid/c925494e99121f3df58bc1871df1f4fc to your computer and use it in GitHub Desktop.
Save danboid/c925494e99121f3df58bc1871df1f4fc to your computer and use it in GitHub Desktop.
VF2 Debian 69 NVMe boot log error
U-Boot SPL 2021.10 (Mar 24 2023 - 01:42:56 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|___/_____|
| |
|_|
Platform Name : StarFive VisionFive V2
Platform Features : medeleg
Platform HART Count : 5
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 4000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : pm-reset
Platform Shutdown Device : pm-reset
Platform Suspend Device : ---
Firmware Base : 0x40000000
Firmware Size : 392 KB
Firmware RW Offset : 0x40000
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*,2*,3*,4*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x0000000040000000-0x000000004003ffff M: (R,X) S/U: ()
Domain0 Region02 : 0x0000000040040000-0x000000004007ffff M: (R,W) S/U: ()
Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff M: (R,W,X) S/U: (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000042200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 1
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcbx
Boot HART ISA Extensions : none
Boot HART PMP Count : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2021.10 (Mar 24 2023 - 01:42:56 +0800), Build: jenkins-github_visionfive2-13
CPU: rv64imacu
Model: StarFive VisionFive V2
DRAM: 8 GiB
MMC: sdio0@16010000: 0, sdio1@16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
StarFive EEPROM format v2
--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7110B1-2253-D008E000-00006423
data version: 0x2
PCB revision: 0xb2
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:65:2a
Ethernet MAC1 address: 6c:cf:39:00:65:2d
--------EEPROM INFO--------
In: serial
Out: serial
Err: serial
Model: StarFive VisionFive V2
Net: eth0: ethernet@16030000, eth1: ethernet@16040000
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
bootmode flash device 0
Card did not respond to voltage select! : -110
starfive_pcie pcie@2C000000: Starfive PCIe bus probed.
PCI: Failed autoconfig bar 10
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
Couldn't find partition mmc 0:3
Can't set block device
Importing environment from mmc0 ...
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
## Error: "boot2" not defined
Card did not respond to voltage select! : -110
Couldn't find partition mmc 0:3
Can't set block device
## Warning: defaulting to text format
Card did not respond to voltage select! : -110
ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110StarFive #
StarFive #
StarFive #
StarFive # echo $preboot
run chipa_set_uboot;run mmcbootenv;pci enum;nvme scan
StarFive # fatload nvme 0:2 ${kernel_addr_r} /boot/vmlinuz-5.15.0-starfive
8015200 bytes read in 45 ms (169.9 MiB/s)
StarFive # fatload nvme 0:2 ${ramdisk_addr_r} /boot/initrd.img-5.15.0-starfive
9684953 bytes read in 55 ms (167.9 MiB/s)
StarFive # fatload nvme 0:2 ${fdt_addr_r} /boot/dtbs/starfive/jh7110-visionfive-v2.dtb
47546 bytes read in 4 ms (11.3 MiB/s)
StarFive # setenv bootargs 'root=/dev/nvme0n1p3 rw console=tty0 console=ttyS0,115200 earlycon rootwait stmmaceth=chain_mode:1 selinux=0'
StarFive # setenv kernel_comp_addr_r 0x50000000
StarFive # setenv kernel_comp_size 0x04000000
StarFive # booti $kernel_addr_r $ramdisk_addr_r:$filesize $fdt_addr_r
Uncompressing Kernel Image
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 000000004600e9b9
Starting kernel ...
clk u2_dw_i2c_clk_core already disabled
clk u2_dw_i2c_clk_apb already disabled
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
[ 0.000000] Linux version 5.15.0-starfive (sw_buildbot@mdcsw02) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Mon Dec 19 07:56:37 EST 2022
[ 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 0x0000000080000000, size 512 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-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x00000000c010ffff]
[ 0.000000] node 0: [mem 0x00000000c0110000-0x00000000c01fffff]
[ 0.000000] node 0: [mem 0x00000000c0200000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000013fffffff]
[ 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: ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 17 pages/cpu s31528 r8192 d29912 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1033735
[ 0.000000] Kernel command line: root=/dev/nvme0n1p3 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: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[ 0.000000] Memory: 3460780K/4192256K available (9884K kernel code, 4982K rwdata, 4096K rodata, 2191K init, 401K bss, 207188K reserved, 524288K 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+0x4d0/0x6e2 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.008999] clocksource: timer@13050000.ch0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.020324] clocksource: timer@13050000.ch1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.031655] clocksource: timer@13050000.ch2: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.042981] clocksource: timer@13050000.ch3: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.054473] Console: colour dummy device 80x25
[ 0.060674] printk: console [tty0] enabled
[ 0.065228] Calibrating delay loop (skipped), value calculated using timer frequency.. 8.00 BogoMIPS (lpj=40000)
[ 0.076451] pid_max: default: 32768 minimum: 301
[ 0.081687] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.089915] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.099989] ASID allocator disabled
[ 0.103930] rcu: Hierarchical SRCU implementation.
[ 0.109382] EFI services will not be available.
[ 0.114770] smp: Bringing up secondary CPUs ...
[ 0.121396] smp: Brought up 1 node, 4 CPUs
[ 0.127109] devtmpfs: initialized
[ 0.138341] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.149202] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.170264] pinctrl core: initialized pinctrl subsystem
[ 0.176920] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.184142] cpuidle: using governor menu
[ 0.210464] platform soc:dsi-output: Fixing up cyclic dependency with 29400000.dc8200
[ 0.219650] platform 295d0000.mipi: Fixing up cyclic dependency with soc:dsi-output
[ 0.228486] platform 29590000.hdmi: Fixing up cyclic dependency with 29400000.dc8200
[ 0.248978] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.256362] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.266896] vgaarb: loaded
[ 0.270120] SCSI subsystem initialized
[ 0.274692] usbcore: registered new interface driver usbfs
[ 0.280767] usbcore: registered new interface driver hub
[ 0.286658] usbcore: registered new device driver usb
[ 0.292500] mc: Linux media interface: v0.10
[ 0.297249] videodev: Linux video capture interface: v2.00
[ 0.303477] Advanced Linux Sound Architecture Driver Initialized.
[ 0.310571] Bluetooth: Core ver 2.22
[ 0.314533] NET: Registered PF_BLUETOOTH protocol family
[ 0.320389] Bluetooth: HCI device and connection manager initialized
[ 0.327387] Bluetooth: HCI socket layer initialized
[ 0.332769] Bluetooth: L2CAP socket layer initialized
[ 0.338341] Bluetooth: SCO socket layer initialized
[ 0.344046] clocksource: Switched to clocksource riscv_clocksource
[ 0.357847] NET: Registered PF_INET protocol family
[ 0.363737] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.375788] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
[ 0.385316] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.394465] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.403956] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.411411] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.419157] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.427569] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.434468] RPC: Registered named UNIX socket transport module.
[ 0.440993] RPC: Registered udp transport module.
[ 0.446184] RPC: Registered tcp transport module.
[ 0.451358] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.459171] PCI: CLS 0 bytes, default 64
[ 0.464206] Initialise system trusted keyrings
[ 0.469334] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 0.469449] Unpacking initramfs...
[ 0.481987] Initramfs unpacking failed: ZSTD-compressed data is truncated
[ 0.482276] NFS: Registering the id_resolver key type
[ 0.489508] Freeing initrd memory: 44K
[ 0.495065] Key type id_resolver registered
[ 0.503769] Key type id_legacy registered
[ 0.508259] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.515654] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.523826] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.528832] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.535899] fuse: init (API version 7.34)
[ 0.579203] NET: Registered PF_ALG protocol family
[ 0.584504] Key type asymmetric registered
[ 0.589013] Asymmetric key parser 'x509' registered
[ 0.594442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.602591] io scheduler mq-deadline registered
[ 0.607590] io scheduler kyber registered
[ 0.716269] clk-starfive-jh7110 13020000.clock-controller: starfive JH7110 clkgen init successfully.
[ 0.727281] L2CACHE: DataError @ 0x00000000.08040140
[ 0.732802] L2CACHE: DataFail @ 0x00000000.0804006C
[ 0.738268] L2CACHE: No. of Banks in the cache: 8
[ 0.743455] L2CACHE: No. of ways per bank: 16
[ 0.748266] L2CACHE: Sets per bank: 256
[ 0.752495] L2CACHE: Bytes per cache block: 64
[ 0.757413] L2CACHE: Index of the largest way enabled: 15
[ 0.763577] jh7110-pmu 17030000.power-controller: registered 8 power domains
[ 0.831525] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.841350] @@#########################@@
[ 0.883670] @@ dev ptr:ffffffe0bfee0000/1500/1
[ 0.888838] PVR_K: 1: Read BVNC 36.50.54.182 from HW device registers
[ 0.896115] PVR_K: 1: RGX Device registered BVNC 36.50.54.182 with 1 core in the system
[ 0.906180] [drm] Initialized pvr 1.17.6210866 20170530 for 18000000.gpu on minor 0
[ 0.923493] loop: module loaded
[ 0.929429] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
[ 0.935723] 3 fixed-partitions partitions found on MTD device 13010000.spi.0
[ 0.943500] Creating 3 MTD partitions on "13010000.spi.0":
[ 0.949577] 0x000000000000-0x000000020000 : "spl"
[ 0.956420] 0x000000100000-0x000000400000 : "uboot"
[ 0.963330] 0x000000f00000-0x000001000000 : "data"
[ 0.971192] libphy: Fixed MDIO Bus: probed
[ 0.977180] CAN device driver interface
[ 0.981976] starfive-eth-plat 16030000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 0.993396] starfive-eth-plat 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.001674] starfive-eth-plat 16030000.ethernet: DWMAC4/5
[ 1.007740] starfive-eth-plat 16030000.ethernet: DMA HW capability register supported
[ 1.016386] starfive-eth-plat 16030000.ethernet: RX Checksum Offload Engine supported
[ 1.025027] starfive-eth-plat 16030000.ethernet: Wake-Up On Lan supported
[ 1.032503] starfive-eth-plat 16030000.ethernet: TSO supported
[ 1.038949] starfive-eth-plat 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.048176] starfive-eth-plat 16030000.ethernet: Enabled Flow TC (entries=1)
[ 1.055961] starfive-eth-plat 16030000.ethernet: TSO feature enabled
[ 1.062960] starfive-eth-plat 16030000.ethernet: Using 40 bits DMA width
[ 1.302273] libphy: stmmac: probed
[ 1.306069] YT8531 Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 1.317020] YT8531 Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 1.329094] starfive-eth-plat 16040000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set.
[ 1.340540] starfive-eth-plat 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[ 1.348819] starfive-eth-plat 16040000.ethernet: DWMAC4/5
[ 1.354883] starfive-eth-plat 16040000.ethernet: DMA HW capability register supported
[ 1.363514] starfive-eth-plat 16040000.ethernet: RX Checksum Offload Engine supported
[ 1.372155] starfive-eth-plat 16040000.ethernet: Wake-Up On Lan supported
[ 1.379643] starfive-eth-plat 16040000.ethernet: TSO supported
[ 1.386092] starfive-eth-plat 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.395324] starfive-eth-plat 16040000.ethernet: Enabled Flow TC (entries=1)
[ 1.403088] starfive-eth-plat 16040000.ethernet: TSO feature enabled
[ 1.410099] starfive-eth-plat 16040000.ethernet: Using 40 bits DMA width
[ 1.649237] libphy: stmmac: probed
[ 1.652997] YT8531 Gigabit Ethernet stmmac-1:00: attached PHY driver (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[ 1.663954] YT8531 Gigabit Ethernet stmmac-1:01: attached PHY driver (mii_bus:phy_addr=stmmac-1:01, irq=POLL)
[ 1.676278] Intel(R) Wireless WiFi driver for Linux
[ 1.683501] cdns3-starfive 10210000.usbdrd: usb mode 2 2.0 probe success
[ 1.691692] usbcore: registered new interface driver uas
[ 1.697618] usbcore: registered new interface driver usb-storage
[ 1.724367] starfive-rtc 17040000.rtc: registered as rtc0
[ 1.730333] starfive-rtc 17040000.rtc: setting system clock to 2001-01-01T00:00:00 UTC (978307200)
[ 1.740380] i2c_dev: i2c /dev entries driver
[ 1.745346] usbcore: registered new interface driver uvcvideo
[ 1.752848] starfive-wdt 13070000.wdog: Heartbeat: timeout=15, count/2=180000000 (0aba9500)
[ 1.762596] Bluetooth: HCI UART driver ver 2.3
[ 1.767524] Bluetooth: HCI UART protocol H4 registered
[ 1.773405] starfive-cpufreq soc:starfive,jh7110-cpufreq: Failed to get regulator for cpu!
[ 1.782545] starfive-cpufreq soc:starfive,jh7110-cpufreq: Failed to init starfive cpu dvfs info
[ 1.792679] sdhci: Secure Digital Host Controller Interface driver
[ 1.799520] sdhci: Copyright(c) Pierre Ossman
[ 1.804359] Synopsys Designware Multimedia Card Interface Driver
[ 1.811281] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.818330] jh7110-sec 16000000.crypto: Unable to request sec_m dma channel in DMA channel
[ 1.827476] jh7110-sec 16000000.crypto: Cannot initial dma chan
[ 1.834293] usbcore: registered new interface driver usbhid
[ 1.840443] usbhid: USB HID core driver
[ 1.844931] usbcore: registered new interface driver snd-usb-audio
[ 1.855372] NET: Registered PF_PACKET protocol family
[ 1.860963] can: controller area network core
[ 1.865883] NET: Registered PF_CAN protocol family
[ 1.871174] can: raw protocol
[ 1.874460] can: broadcast manager protocol
[ 1.879081] can: netlink gateway - max_hops=1
[ 1.884191] Bluetooth: RFCOMM TTY layer initialized
[ 1.889585] Bluetooth: RFCOMM socket layer initialized
[ 1.895305] Bluetooth: RFCOMM ver 1.11
[ 1.899476] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.905347] Bluetooth: BNEP filters: protocol multicast
[ 1.911119] Bluetooth: BNEP socket layer initialized
[ 1.916781] 9pnet: Installing 9P2000 support
[ 1.921549] Key type dns_resolver registered
[ 1.927009] Loading compiled-in X.509 certificates
[ 1.968307] starfive_jh7110-pinctrl 13040000.gpio: SiFive GPIO chip registered 64 GPIOs
[ 1.977955] starfive_jh7110-pinctrl 17020000.gpio: SiFive GPIO chip registered 4 GPIOs
[ 1.986937] pl08xdmac 16008000.sec_dma: initialized 8 virtual memcpy channels
[ 1.994844] pl08xdmac 16008000.sec_dma: initialized 16 virtual slave channels
[ 2.004398] debugfs: Directory '16008000.sec_dma' with parent 'dmaengine' already present!
[ 2.013547] pl08xdmac 16008000.sec_dma: DMA: PL080 rev0 at 0x16008000 irq 23
[ 2.021599] ssp-pl022 10060000.spi: ARM PL022 driver for StarFive SoC platform, device ID: 0x00041022
[ 2.031815] ssp-pl022 10060000.spi: mapped registers from 0x0000000010060000 to (____ptrval____)
[ 2.041952] ssp-pl022 10060000.spi: Requested frequency: 10000000 Hz is unsupported,select by default 8250000 Hz
[ 2.053574] ssp-pl022 10060000.spi: will use autosuspend for runtime pm, delay 100ms
[ 2.063481] i2c 2-0045: Fixing up cyclic dependency with 295d0000.mipi
[ 2.070980] seeed_panel 2-0045: Unknown Atmel firmware revision: 0x00
[ 2.078297] i2c 2-0019: Fixing up cyclic dependency with 295d0000.mipi
[ 2.086945] at24 5-0050: supply vcc not found, using dummy regulator
[ 2.094764] at24 5-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[ 2.104099] axp15060-regulator 5-0036: Register mipi_0p9 done! vol range:900 ~ 900 mV
[ 2.114222] axp15060-regulator 5-0036: Register hdmi_1p8 done! vol range:1800 ~ 1800 mV
[ 2.124566] axp15060-regulator 5-0036: Register hdmi_0p9 done! vol range:900 ~ 900 mV
[ 2.134712] axp15060-regulator 5-0036: Register cpu_vdd done! vol range:500 ~ 1540 mV
[ 2.144154] i2c 6-0010: Fixing up cyclic dependency with 19800000.vin_sysctl
[ 2.152328] imx219 6-0010: supply VANA not found, using dummy regulator
[ 2.159762] imx219 6-0010: supply VDIG not found, using dummy regulator
[ 2.167132] imx219 6-0010: supply VDDL not found, using dummy regulator
[ 2.181946] imx219 6-0010: failed to read chip id 219
[ 2.187755] imx219: probe of 6-0010 failed with error -5
[ 2.196222] pcie_plda 2b000000.pcie: host bridge /soc/pcie@2B000000 ranges:
[ 2.203951] pcie_plda 2b000000.pcie: MEM 0x0030000000..0x0037ffffff -> 0x0030000000
[ 2.212921] pcie_plda 2b000000.pcie: MEM 0x0900000000..0x093fffffff -> 0x0900000000
[ 2.221904] ATR entry: 0x0940000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 2.230475] ATR entry: 0x0030000000 -> 0x0030000000 [0x0008000000] (param: 0x000000)
[ 2.239037] ATR entry: 0x0900000000 -> 0x0900000000 [0x0040000000] (param: 0x000000)
[ 2.594144] pcie_plda 2b000000.pcie: Port link up.
[ 2.599613] pcie_plda 2b000000.pcie: PCI host bridge to bus 0000:00
[ 2.606553] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.612605] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 2.620205] pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff pref]
[ 2.628498] pci 0000:00:00.0: [1556:1111] type 01 class 0x060400
[ 2.635142] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
[ 2.643168] pci 0000:00:00.0: supports D1 D2
[ 2.647887] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 2.658765] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.667750] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 2.674407] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 2.681970] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 2.691527] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.698865] pci 0000:00:00.0: BAR 0: no space for [mem size 0x100000000 64bit pref]
[ 2.707335] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x100000000 64bit pref]
[ 2.716185] pci 0000:00:00.0: BAR 8: assigned [mem 0x30000000-0x300fffff]
[ 2.723669] pci 0000:01:00.0: BAR 0: assigned [mem 0x30000000-0x30000fff 64bit]
[ 2.731761] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.737243] pci 0000:00:00.0: bridge window [mem 0x30000000-0x300fffff]
[ 2.744840] pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 2.751083] pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 2.757365] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x9d4 took 12240 usecs
[ 2.765758] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 2.771547] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 2.780117] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000040000000890
[ 2.790279] pcie_plda 2b000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[ 2.798243] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 2.804016] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 2.812208] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 2.819865] hub 1-0:1.0: USB hub found
[ 2.824057] hub 1-0:1.0: 1 port detected
[ 2.829405] hub 2-0:1.0: USB hub found
[ 2.833579] hub 2-0:1.0: 4 ports detected
[ 2.840825] pcie_plda 2c000000.pcie: host bridge /soc/pcie@2C000000 ranges:
[ 2.848580] pcie_plda 2c000000.pcie: MEM 0x0038000000..0x003fffffff -> 0x0038000000
[ 2.857537] pcie_plda 2c000000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[ 2.866525] ATR entry: 0x09c0000000 -> 0x0000000000 [0x0010000000] (param: 0x000001)
[ 2.875089] ATR entry: 0x0038000000 -> 0x0038000000 [0x0008000000] (param: 0x000000)
[ 2.883636] ATR entry: 0x0980000000 -> 0x0980000000 [0x0040000000] (param: 0x000000)
[ 3.044095] usb usb2-port2: over-current condition
[ 3.144087] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 3.204128] usb usb2-port4: over-current condition
[ 3.234142] pcie_plda 2c000000.pcie: Port link up.
[ 3.239623] pcie_plda 2c000000.pcie: PCI host bridge to bus 0001:00
[ 3.246568] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 3.252623] pci_bus 0001:00: root bus resource [mem 0x38000000-0x3fffffff]
[ 3.260222] pci_bus 0001:00: root bus resource [mem 0x980000000-0x9bfffffff pref]
[ 3.268516] pci 0001:00:00.0: [1556:1111] type 01 class 0x060400
[ 3.275159] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0xffffffff 64bit pref]
[ 3.283185] pci 0001:00:00.0: supports D1 D2
[ 3.287904] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 3.298880] pci 0001:01:00.0: [144d:a80a] type 00 class 0x010802
[ 3.305543] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[ 3.313213] pci 0001:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0001:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
[ 3.326964] hub 1-1:1.0: USB hub found
[ 3.333187] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.334084] hub 1-1:1.0: 4 ports detected
[ 3.341239] pci 0001:00:00.0: BAR 0: no space for [mem size 0x100000000 64bit pref]
[ 3.354097] pci 0001:00:00.0: BAR 0: failed to assign [mem size 0x100000000 64bit pref]
[ 3.362933] pci 0001:00:00.0: BAR 8: assigned [mem 0x38000000-0x380fffff]
[ 3.370432] pci 0001:01:00.0: BAR 0: assigned [mem 0x38000000-0x38003fff 64bit]
[ 3.378536] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 3.384010] pci 0001:00:00.0: bridge window [mem 0x38000000-0x380fffff]
[ 3.391940] nvme nvme0: pci function 0001:01:00.0
[ 3.397196] nvme 0001:01:00.0: enabling device (0000 -> 0002)
[ 3.403667] pcie_plda 2c000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[ 3.410926] clk-starfive-jh7110-vout 295c0000.clock-controller: starfive JH7110 clk_vout init successfully.
[ 3.414331] nvme nvme0: Shutdown timeout set to 10 seconds
[ 3.429308] pcie_plda 2c000000.pcie: msi#0 address_hi 0x0 address_lo 0x190
[ 3.433688] clk-starfive-jh7110-isp 19810000.clock-controller: starfive JH7110 clk_isp init successfully.
[ 3.436947] pcie_plda 2c000000.pcie: msi#1 address_hi 0x0 address_lo 0x190
[ 3.448101] dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[ 3.455086] pcie_plda 2c000000.pcie: msi#2 address_hi 0x0 address_lo 0x190
[ 3.455101] pcie_plda 2c000000.pcie: msi#3 address_hi 0x0 address_lo 0x190
[ 3.455114] pcie_plda 2c000000.pcie: msi#4 address_hi 0x0 address_lo 0x190
[ 3.480435] printk: console [ttyS0] disabled
[ 3.512794] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 17, base_baud = 1500000) is a 16550A
[ 3.522643] printk: console [ttyS0] enabled
[ 3.522643] printk: console [ttyS0] enabled
[ 3.531446] printk: bootconsole [uart0] disabled
[ 3.531446] printk: bootconsole [uart0] disabled
[ 3.541827] jh7110-vin 19800000.vin_sysctl: stfcamss probe enter!
[ 3.550529] jh7110-vin 19800000.vin_sysctl: stfcamss probe success!
[ 3.559575] dwmmc_starfive 16010000.sdio0: IDMAC supports 32-bit address mode.
[ 3.560192] jh7110-sec 16000000.crypto: will run requests pump with realtime priority
[ 3.566933] dwmmc_starfive 16010000.sdio0: Using internal DMA controller.
[ 3.575460] dwmmc_starfive 16020000.sdio1: IDMAC supports 32-bit address mode.
[ 3.581570] dwmmc_starfive 16010000.sdio0: Version ID is 290a
[ 3.587196] jh7110-sec 16000000.crypto: Initialized
[ 3.588331] starfive-i2s 120b0000.i2stx_4ch0: designware: play supported
[ 3.588341] starfive-i2s 120b0000.i2stx_4ch0: designware: i2s master mode supported
[ 3.588527] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe begin
[ 3.588537] sf-mipi-dphy-tx 295e0000.mipi-dphy: ===> sf_dphy_probe enter, 445
[ 3.588663] sf-mipi-dphy-tx 295e0000.mipi-dphy: control ECO
[ 3.588690] sf-mipi-dphy-tx 295e0000.mipi-dphy: supply mipi_1p8 not found, using dummy regulator
[ 3.588880] dwmmc_starfive 16020000.sdio1: Using internal DMA controller.
[ 3.588994] sf-mipi-dphy-tx 295e0000.mipi-dphy: sf_dphy_probe end
[ 3.589189] cdns-dsi 295d0000.mipi: dsi_sys_clk = 297000000
[ 3.589437] cdns-dsi 295d0000.mipi: starfive dsi bind end
[ 3.594728] dwmmc_starfive 16010000.sdio0: DW MMC controller at irq 29,32 bit host data width,32 deep fifo
[ 3.599547] dwmmc_starfive 16020000.sdio1: Version ID is 290a
[ 3.599595] dwmmc_starfive 16020000.sdio1: DW MMC controller at irq 30,32 bit host data width,32 deep fifo
[ 3.605368] of_cfs_init
[ 3.605412] of_cfs_init: OK
[ 3.605934] starfive-pwmdac 100b0000.pwmdac: clk_apb0 = 49500000, clk_pwmdac_apb = 49500000, clk_pwmdac_core = 4068493
[ 3.606437] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.606586] mmc_host mmc0: card is non-removable.
[ 3.607391] nvme nvme0: 4/0/0 default/read/poll queues
[ 3.613294] nvme0n1: p1 p2 p3
[ 3.614202] mmc_host mmc1: card is polling.
[ 3.721681] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.738963] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
[ 3.741623] starfive soc:display-subsystem: bound 29400000.dc8200 (ops 0xffffffff80e75af8)
[ 3.747770] Oops [#1]
[ 3.747775] Modules linked in:
[ 3.747781] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.0-starfive #1
[ 3.747787] Hardware name: StarFive VisionFive V2 (DT)
[ 3.747791] epc : dc_isr+0x26/0x60
[ 3.747802] ra : dc_isr+0x26/0x60
[ 3.756078] innohdmi-starfive 29590000.hdmi: inno hdmi bind begin
[ 3.758341] epc : ffffffff8044fb6c ra : ffffffff8044fb6c sp : ffffffff81403be0
[ 3.793354] gp : ffffffff815006b8 tp : ffffffff81411fc0 t0 : 0000000000046000
[ 3.800591] t1 : 0000000000006000 t2 : ffffffff80e025bc s0 : ffffffff81403c20
[ 3.807827] s1 : ffffffe0bff1c028 a0 : 0000000000000000 a1 : ffffffe0bff1c028
[ 3.815063] a2 : 0000000000040000 a3 : 0000000000000000 a4 : 0000000000000000
[ 3.822298] a5 : ffffffe0bff1f028 a6 : 0000000000000000 a7 : 0000000000001000
[ 3.829534] s2 : ffffffff81403c94 s3 : ffffffe0bff1c038 s4 : 0000000000000000
[ 3.836771] s5 : 0000000000000033 s6 : ffffffe0bfeed800 s7 : 0000000000000033
[ 3.844007] s8 : ffffffff814e3ef4 s9 : 0000000000000001 s10: 0000000000000000
[ 3.851243] s11: 0000000000000000 t3 : 0000000000000000 t4 : 0000000000000079
[ 3.858478] t5 : 00000000000001dd t6 : 0000000000000000
[ 3.863793] status: 0000000200000100 badaddr: 0000000000000008 cause: 000000000000000d
[ 3.871725] [<ffffffff8044fb6c>] dc_isr+0x26/0x60
[ 3.876432] [<ffffffff8005279a>] __handle_irq_event_percpu+0x46/0x112
[ 3.882882] [<ffffffff8005292e>] handle_irq_event+0x52/0xb6
[ 3.888462] [<ffffffff80056328>] handle_fasteoi_irq+0x96/0x18e
[ 3.894304] [<ffffffff80051d82>] generic_handle_domain_irq+0x1c/0x2a
[ 3.900663] [<ffffffff8036af20>] plic_handle_irq+0x8a/0xec
[ 3.906157] [<ffffffff8005210e>] handle_domain_irq+0x58/0x88
[ 3.911820] [<ffffffff8036ad16>] riscv_intc_irq+0x36/0x5e
[ 3.917221] [<ffffffff80003054>] ret_from_exception+0x0/0xc
[ 3.922801] [<ffffffff8005ec26>] rcu_idle_enter+0x10/0x18
[ 3.928219] ---[ end trace 21403c8e3c0e0f8b ]---
[ 3.932843] Kernel panic - not syncing: Fatal exception in interrupt
[ 3.934253] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.939202] SMP: stopping secondary CPUs
[ 3.951750] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment