What is the problem

I am getting the following errors

Error in Ubuntu

U-Boot SPL 2022.01+dfsg-2ubuntu2 (Mar 25 2022 - 10:15:18 +0000)
Trying to boot from MMC1

U-Boot 2022.01+dfsg-2ubuntu2 (Mar 25 2022 - 10:15:18 +0000)

CPU: rv64imafdc
Model: SiFive HiFive Unmatched A00
DRAM: 16 GiB
MMC: spi@10050000:mmc@0: 0
Loading Environment from SPIFlash… SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

EEPROM: SiFive PCB EEPROM format v1
Product ID: 0002 (HiFive Unmatched)
PCB revision: 3
BOM revision: B
BOM variant: 0
Serial number: SF105SZ212200304
Ethernet MAC address: 70:b3:d5:92:f7:d4
CRC: 1407a8cc
In: serial@10010000
Out: serial@10010000
Err: serial@10010000
Model: SiFive HiFive Unmatched A00
Net: eth0: ethernet@10090000
Hit any key to stop autoboot: 0
Failed to negotiate PCIe link!
PHY DEBUG_R0=0x0c000202 DEBUG_R1=0x0800f702
Failed to init port.

Device 0: unknown device
starting USB…
No working controllers found
USB is stopped. Please issue ‘usb start’ first.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
U-Boot menu
1: Ubuntu 22.04 LTS 5.15.0-1007-generic
2: Ubuntu 22.04 LTS 5.15.0-1007-generic (rescue target)
Enter choice: 1: Ubuntu 22.04 LTS 5.15.0-1007-generic
Retrieving file: /boot/initrd.img-5.15.0-1007-generic
Retrieving file: /boot/vmlinuz-5.15.0-1007-generic
append: root=LABEL=cloudimg-rootfs ro earlycon
Retrieving file: /lib/firmware/5.15.0-1007-generic/device-tree/sifive/hifive-unmatched-a00.dtb
Moving Image from 0x84000000 to 0x80200000, end=81f2b000

Flattened Device Tree blob at 88000000

Booting using the fdt blob at 0x88000000
Using Device Tree in place at 0000000088000000, end 0000000088005944

Starting kernel …

[ 0.000000] Linux version 5.15.0-1007-generic (buildd@riscv64-qemu-lcy01-029) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #7-Ubuntu SMP Tue Apr 12 16:07:30 UTC 2022 (Ubuntu 5.15.0-1007.7-generic 5.15.30)
[ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[ 0.000000] Machine model: SiFive HiFive Unmatched A00
[ 0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options ‘’)
[ 0.000000] printk: bootconsole [sifive0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x47ffdd800-0x47ffdefff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000047fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v0.3 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10000
[ 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 26 pages/cpu s67800 r8192 d30504 u106496
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4128264
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=LABEL=cloudimg-rootfs ro earlycon
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
[ 0.000000] Memory: 16239988K/16775168K available (10002K kernel code, 5814K rwdata, 10240K rodata, 2535K init, 1033K bss, 502412K reserved, 32768K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x40/0x3b0 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 39090 entries in 153 pages
[ 0.000000] ftrace: allocated 153 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Rude 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=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: interrupt-controller@c000000: mapped 69 interrupts with 4 handlers for 9 contexts.
[ 0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[ 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: 3526361616960 ns
[ 0.000002] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.008576] Console: colour dummy device 80x25
[ 0.012807] printk: console [tty0] enabled
[ 0.016853] printk: bootconsole [sifive0] disabled
[ 0.000000] Linux version 5.15.0-1007-generic (buildd@riscv64-qemu-lcy01-029) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #7-Ubuntu SMP Tue Apr 12 16:07:30 UTC 2022 (Ubuntu 5.15.0-1007.7-generic 5.15.30)
[ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[ 0.000000] Machine model: SiFive HiFive Unmatched A00
[ 0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options ‘’)
[ 0.000000] printk: bootconsole [sifive0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x47ffdd800-0x47ffdefff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000047fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000047fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v0.3 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10000
[ 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 26 pages/cpu s67800 r8192 d30504 u106496
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4128264
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=LABEL=cloudimg-rootfs ro earlycon
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
[ 0.000000] Memory: 16239988K/16775168K available (10002K kernel code, 5814K rwdata, 10240K rodata, 2535K init, 1033K bss, 502412K reserved, 32768K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x40/0x3b0 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 39090 entries in 153 pages
[ 0.000000] ftrace: allocated 153 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Rude 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=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: interrupt-controller@c000000: mapped 69 interrupts with 4 handlers for 9 contexts.
[ 0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[ 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: 3526361616960 ns
[ 0.000002] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns
[ 0.008576] Console: colour dummy device 80x25
[ 0.012807] printk: console [tty0] enabled
[ 0.016853] printk: bootconsole [sifive0] disabled
[ 0.021843] Calibrating delay loop (skipped), value calculated using timer frequency… 2.00 BogoMIPS (lpj=4000)
[ 0.021905] pid_max: default: 32768 minimum: 301
[ 0.022041] LSM: Security Framework initializing
[ 0.022091] Yama: becoming mindful.
[ 0.022355] AppArmor: AppArmor initialized
[ 0.023378] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.024282] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.028496] ASID allocator disabled
[ 0.028682] rcu: Hierarchical SRCU implementation.
[ 0.029987] EFI services will not be available.
[ 0.030712] smp: Bringing up secondary CPUs …
[ 0.034430] smp: Brought up 1 node, 4 CPUs
[ 0.040603] devtmpfs: initialized
[ 0.044031] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.044290] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.046732] pinctrl core: initialized pinctrl subsystem
[ 0.048211] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.048541] audit: initializing netlink subsys (disabled)
[ 0.048838] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[ 0.049436] thermal_sys: Registered thermal governor ‘fair_share’
[ 0.049451] thermal_sys: Registered thermal governor ‘bang_bang’
[ 0.049483] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.049511] thermal_sys: Registered thermal governor ‘user_space’
[ 0.063988] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.064053] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.074744] fbcon: Taking over console
[ 0.075046] iommu: Default domain type: Translated
[ 0.075079] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.076414] SCSI subsystem initialized
[ 0.076912] vgaarb: loaded
[ 0.077152] usbcore: registered new interface driver usbfs
[ 0.077227] usbcore: registered new interface driver hub
[ 0.077286] usbcore: registered new device driver usb
[ 0.077476] pps_core: LinuxPPS API ver. 1 registered
[ 0.077504] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.077578] PTP clock support registered
[ 0.077890] EDAC MC: Ver: 3.0.0
[ 0.079461] NetLabel: Initializing
[ 0.079492] NetLabel: domain hash size = 128
[ 0.079514] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.079735] NetLabel: unlabeled traffic allowed by default
[ 0.080296] clocksource: Switched to clocksource riscv_clocksource
[ 0.192722] VFS: Disk quotas dquot_6.6.0
[ 0.192931] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.193967] AppArmor: AppArmor Filesystem Enabled
[ 0.202113] NET: Registered PF_INET protocol family
[ 0.209379] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.226759] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.230812] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.236822] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.238856] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.241653] MPTCP token hash table entries: 16384 (order: 6, 393216 bytes, linear)
[ 0.243186] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.244566] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.245302] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.245369] NET: Registered PF_XDP protocol family
[ 0.245408] PCI: CLS 0 bytes, default 64
[ 0.246131] Trying to unpack rootfs image as initramfs…
[ 0.246533] Initialise system trusted keyrings
[ 0.246617] Key type blacklist registered
[ 0.247141] workingset: timestamp_bits=44 max_order=22 bucket_order=0

It was working before. It doesn’t see my graphics card and SSD.
Radeon RX550
Samsung 970 EVO plus 250GB
Power supply 650W 80+

Looks like u-boot can’t initialize the PCI bus. You may want to remove your SSD and graphics card as a sanity check.

Also, it looks like you’re upgrading to Ubuntu 22.04 which also comes with a newer version of u-boot. You may want to burn another SD card with the older Ubuntu 21.10 as a test.

I’m running Ubuntu 22.04 no problem here, but I didn’t upgrade my u-boot (since it’s on the SPI flash)…

I tried it and it didn’t work, is the motherboard broken? I also tried the version I mentioned below, it still didn’t work.

demo-coreip-xfce4-unmatched-2022.03.00.rootfs.wic

The reason I suggested going back to Ubuntu 21.10 was because of this bug that was filed for 22.04.

That demo-coreip-xfce4-unmatched-2022.03.00.rootfs.wic image is also using a newer u-boot. Maybe going back further (to something with u-boot 2021.11) with those OE images might be worth a try.

But I guess it is possible that something happened to your board.

I tried all the old and new versions of Ubuntu and Xfce4. Nvme and video card not working. I also tried another brand of Nvme and video card.