Kernel stuck at "Deasserting all peripheral resets"

I have the following problem:

I have built an kernel from this repo. The u-boot loader works and tries to loader the image.

When starting the kernel, it stops outputting and seems not to progress.

It stucks at Deasserting all peripheral resets

This is the output:

U-Boot SPL 2021.07-dirty (Sep 13 2022 - 00:41:50 +0200)
Trying to boot from MMC1


U-Boot 2021.07-dirty (Sep 13 2022 - 00:41:50 +0200)

CPU:   Altera SoCFPGA Platform
FPGA:  Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT:  SD/MMC Internal Transceiver (3.0V)
DRAM:  1 GiB
MMC:   dwmmc0@ff704000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Terasic DE10-Nano
Net:   eth0: ethernet@ff702000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
161 bytes read in 6 ms (25.4 KiB/s)
1:      Linux Default
Retrieving file: /extlinux/../zImage
5509488 bytes read in 278 ms (18.9 MiB/s)
append: root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8
Retrieving file: /extlinux/../socfpga_cyclone5_de10_nano.dtb
18553 bytes read in 8 ms (2.2 MiB/s)
Kernel image @ 0x1000000 [ 0x000000 - 0x541170 ]
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Device Tree to 09ff8000, end 09fff878 ... OK

Starting kernel ...

Deasserting all peripheral resets

Any help or tips how to debug such situation, would be welcomed :slight_smile:

Or if you have suggestions how to solve this problem

It seems to be due to the dtb. I used one for the de0-nano provided by the repo and got following error message:

Starting kernel ...

Deasserting all peripheral resets
data abort
pc : [<00115174>]          lr : [<00008060>]
reloc pc : [<c11931b4>]    lr : [<c10860a0>]
sp : 01542188  ip : abaaaa00     fp : 00dbcb80
r10: 00961000  r9 : 413fc090     r8 : 00000000
r7 : 1548ff4d  r6 : 00000040     r5 : 00c465ac  r4 : 00c462c4
r3 : 00000000  r2 : 09ff6000     r1 : 00000000  r0 : 00400000
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Code: e1a03826 e1a06c26 e20330f0 ea000006 (e797c004) 
Resetting CPU ...