2023-12-18 05:38 AM
Hello everyone!
I am trying to bring up a custom board based with a STM32MP151 (C Variant) with OPTEE, TF-A and U-BOOT.
So far so good, but when running the FIT Image (Kernel + DTB) it fails finding the boot storage. It looks like the device-tree is not correctly parsed, because I did not find any activated/bind drivers in the kernel log dmesg during boot.
Here is the bootlog (from OPTEE/TF-A/UBOOT/FIT)
NOTICE: CPU: STM32MP151CAA Rev.Z
NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
INFO: PMIC version = 0x21
INFO: Reset reason (0x15):
INFO: Power-on Reset (rst_por)
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.8-stm32mp1-r1.0(debug):()
NOTICE: BL2: Built : 12:46:46, Dec 14 2023
INFO: BL2: Doing platform setup
INFO: RAM: DDR3-DDR3L 16bits 533000kHz
INFO: Memory size = 0x20000000 (512 MB)
INFO: BL2: Loading image id 1
INFO: Loading image id=1 at address 0x2ffff000
INFO: Image id=1 loaded: 0x2ffff000 - 0x2ffff1ea
INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000
INFO: FCONF: Reading firmware configuration information for: dyn_cfg
INFO: FCONF: Reading firmware configuration information for: stm32mp1_firewall
INFO: BL2: Loading image id 4
INFO: Loading image id=4 at address 0xde000000
INFO: Image id=4 loaded: 0xde000000 - 0xde00001c
INFO: OPTEE ep=0xde000000
INFO: OPTEE header info:
INFO: magic=0x4554504f
INFO: version=0x2
INFO: arch=0x0
INFO: flags=0x0
INFO: nb_images=0x1
INFO: BL2: Loading image id 8
INFO: Loading image id=8 at address 0xde000000
INFO: Image id=8 loaded: 0xde000000 - 0xde031bb8
INFO: BL2: Skip loading image id 9
INFO: BL2: Loading image id 2
INFO: Loading image id=2 at address 0xc0500000
INFO: Image id=2 loaded: 0xc0500000 - 0xc0511178
INFO: BL2: Skip loading image id 16
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0100000
INFO: Image id=5 loaded: 0xc0100000 - 0xc01f5ff4
NOTICE: BL2: Booting BL32
INFO: Entry point address = 0xde000000
INFO: SPSR = 0x1d3
I/TC: Early console on UART#4
I/TC:
I/TC: Embedded DTB found
I/TC: OP-TEE version: Unknown_3.19 (gcc version 12.2.0 (GCC)) #1 Fri Dec 15 13:27:23 UTC 2023 arm
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp151c-ek440_secure-mx.dts
I/TC: DTB enables console (non-secure)
I/TC: No power configuration found in DT
I/TC: Primary CPU switching to normal world boot
optee optee: OP-TEE: revision 3.19
U-Boot 2022.10-stm32mp-r1 (Dec 15 2023 - 14:27:44 +0100)
CPU: STM32MP151CAA Rev.Z
Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
Board: stm32mp1 in trusted mode (st,stm32mp151c-ek440_secure-mx)
DRAM: 512 MiB
optee optee: OP-TEE: revision 3.19
Clocks:
- MPU : 650 MHz
- MCU : 200 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
Core: 80 devices, 30 uclasses, devicetree: board
NAND: 0 MiB
MMC: STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... Invalid ENV offset in MMC, copy=0
In: serial
Out: serial
Err: serial
invalid MAC address 0 in OTP 00:00:00:00:00:00
Net: Invalid PHY interface
eqos_probe_resources() failed: -22No ethernet found.
Hit any key to stop autoboot: 0
Boot over mmc0!
switch to partitions #0, OK
mmc0 is current device
Loading Kernel
9892352 bytes read in 422 ms (22.4 MiB/s)
Loading DeviceTree
44817 bytes read in 12 ms (3.6 MiB/s)
208 bytes read in 10 ms (19.5 KiB/s)
## Warning: defaulting to text format
Kernel image @ 0xc2000000 [ 0x000000 - 0x96f200 ]
## Flattened Device Tree blob at c4000000
Booting using the fdt blob at 0xc4000000
Loading Device Tree to cfff2000, end cfffff10 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.5-EK20231213-46 (gianluca@gianlinux) (arm-linux-gnueabihf-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #2 SMP Fri Dec 15 14:24:27 CET 2023
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0xda000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x00000000c0000000-0x00000000ddffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x00000000de000000-0x00000000dfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000ddffffff]
[ 0.000000] node 0: [mem 0x00000000de000000-0x00000000dfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 16 pages/cpu s34060 r8192 d23284 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130112
[ 0.000000] Kernel command line: console=ttySTM0,115200 root=/dev/mmcblk0p9 ro rootfstype=ext4 noswap mem=512M earlyprintk raid=noautodetect loglevel=7
[ 0.000000] Unknown kernel command line parameters "noswap raid=noautodetect", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 395948K/524288K available (14336K kernel code, 2207K rwdata, 5520K rodata, 2048K init, 390K bss, 62804K reserved, 65536K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 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=1.
[ 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=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x4e8/0x6a4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 64.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xec2a6fa00, max_idle_ns: 440795202120 ns
[ 0.000001] sched_clock: 56 bits at 64MHz, resolution 15ns, wraps every 2199023255546ns
[ 0.008060] Switching to timer-based delay loop, resolution 15ns
[ 0.023212] Console: colour dummy device 80x30
[ 0.027764] Calibrating delay loop (skipped), value calculated using timer frequency.. 128.00 BogoMIPS (lpj=640000)
[ 0.038299] pid_max: default: 32768 minimum: 301
[ 0.043114] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050503] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.059180] CPU: Testing write buffer coherency: ok
[ 0.064464] CPU0: update cpu_capacity 1024
[ 0.068599] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.075045] Setting up static identity map for 0xc0300000 - 0xc03000ac
[ 0.084010] rcu: Hierarchical SRCU implementation.
[ 0.094385] EFI services will not be available.
[ 0.099200] smp: Bringing up secondary CPUs ...
[ 0.103761] smp: Brought up 1 node, 1 CPU
[ 0.107797] SMP: Total of 1 processors activated (128.00 BogoMIPS).
[ 0.114130] CPU: All CPU(s) started in SVC mode.
[ 0.119417] devtmpfs: initialized
[ 0.137064] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.145165] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.155111] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.165326] pinctrl core: initialized pinctrl subsystem
[ 0.172858] DMI not present or invalid.
[ 0.177368] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.185997] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.196865] thermal_sys: Registered thermal governor 'step_wise'
[ 0.197162] cpuidle: using governor menu
[ 0.207479] No ATAGs?
[ 0.209854] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.217954] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.227924] Serial: AMBA PL011 UART driver
[ 0.243642] /soc/interrupt-controller@5000d000: bank0
[ 0.248824] /soc/interrupt-controller@5000d000: bank1
[ 0.253922] /soc/interrupt-controller@5000d000: bank2
[ 0.294025] iommu: Default domain type: Translated
[ 0.298952] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.305784] vgaarb: loaded
[ 0.309471] SCSI subsystem initialized
[ 0.313939] usbcore: registered new interface driver usbfs
[ 0.319642] usbcore: registered new interface driver hub
[ 0.325059] usbcore: registered new device driver usb
[ 0.331416] pps_core: LinuxPPS API ver. 1 registered
[ 0.336421] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.345672] PTP clock support registered
[ 0.349817] EDAC MC: Ver: 3.0.0
[ 0.356997] clocksource: Switched to clocksource arch_sys_counter
[ 1.703965] NET: Registered PF_INET protocol family
[ 1.709192] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.717463] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.725906] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 1.733787] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.741075] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.747612] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.754219] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.761472] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.768125] RPC: Registered named UNIX socket transport module.
[ 1.774094] RPC: Registered udp transport module.
[ 1.778904] RPC: Registered tcp transport module.
[ 1.783636] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.790140] PCI: CLS 0 bytes, default 64
[ 1.795395] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.805265] Initialise system trusted keyrings
[ 1.810115] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 1.825741] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.832855] NFS: Registering the id_resolver key type
[ 1.838059] Key type id_resolver registered
[ 1.842270] Key type id_legacy registered
[ 1.846440] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.853233] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.860737] ntfs: driver 2.1.32 [Flags: R/O].
[ 1.865781] Key type asymmetric registered
[ 1.869956] Asymmetric key parser 'x509' registered
[ 1.874998] bounce: pool size: 64 pages
[ 1.878964] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.886405] io scheduler mq-deadline registered
[ 1.890985] io scheduler kyber registered
[ 1.989793] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 2.000804] SuperH (H)SCI(F) driver initialized
[ 2.006200] msm_serial: driver initialized
[ 2.010398] STMicroelectronics ASC driver initialized
[ 2.017027] STM32 USART driver initialized
[ 2.041129] brd: module loaded
[ 2.052558] loop: module loaded
[ 2.066027] libphy: Fixed MDIO Bus: probed
[ 2.072842] CAN device driver interface
[ 2.077615] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 2.084191] e1000e: Intel(R) PRO/1000 Network Driver
[ 2.089229] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.095279] igb: Intel(R) Gigabit Ethernet Network Driver
[ 2.100735] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.110207] pegasus: Pegasus/Pegasus II USB Ethernet driver
[ 2.115892] usbcore: registered new interface driver pegasus
[ 2.121711] usbcore: registered new interface driver asix
[ 2.127219] usbcore: registered new interface driver ax88179_178a
[ 2.133395] usbcore: registered new interface driver cdc_ether
[ 2.139363] usbcore: registered new interface driver smsc75xx
[ 2.145201] usbcore: registered new interface driver smsc95xx
[ 2.151052] usbcore: registered new interface driver net1080
[ 2.156789] usbcore: registered new interface driver cdc_subset
[ 2.162830] usbcore: registered new interface driver zaurus
[ 2.168530] usbcore: registered new interface driver cdc_ncm
[ 2.176543] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.183176] ehci-pci: EHCI PCI platform driver
[ 2.187734] ehci-platform: EHCI generic platform driver
[ 2.193205] ehci-omap: OMAP-EHCI Host Controller driver
[ 2.198682] ehci-orion: EHCI orion driver
[ 2.202863] SPEAr-ehci: EHCI SPEAr driver
[ 2.207080] ehci-st: EHCI STMicroelectronics driver
[ 2.212144] ehci-atmel: EHCI Atmel driver
[ 2.216307] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.222592] ohci-pci: OHCI PCI platform driver
[ 2.227161] ohci-platform: OHCI generic platform driver
[ 2.232602] SPEAr-ohci: OHCI SPEAr driver
[ 2.236777] ohci-st: OHCI STMicroelectronics driver
[ 2.241867] ohci-atmel: OHCI Atmel driver
[ 2.246475] usbcore: registered new interface driver usb-storage
[ 2.257704] i2c_dev: i2c /dev entries driver
[ 2.274917] sdhci: Secure Digital Host Controller Interface driver
[ 2.281218] sdhci: Copyright(c) Pierre Ossman
[ 2.287498] Synopsys Designware Multimedia Card Interface Driver
[ 2.295108] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.303651] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.311767] usbcore: registered new interface driver usbhid
[ 2.317459] usbhid: USB HID core driver
[ 2.327417] NET: Registered PF_INET6 protocol family
[ 2.333793] Segment Routing with IPv6
[ 2.337601] In-situ OAM (IOAM) with IPv6
[ 2.341660] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.348543] NET: Registered PF_PACKET protocol family
[ 2.353651] can: controller area network core
[ 2.358198] NET: Registered PF_CAN protocol family
[ 2.363026] can: raw protocol
[ 2.366011] can: broadcast manager protocol
[ 2.370258] can: netlink gateway - max_hops=1
[ 2.375258] Key type dns_resolver registered
[ 2.379797] ThumbEE CPU extension supported.
[ 2.384113] Registering SWP/SWPB emulation handler
[ 2.389569] Loading compiled-in X.509 certificates
[ 2.437634] Warning: unable to open an initial console.
[ 2.443776] VFS: Cannot open root device "mmcblk0p9" or unknown-block(0,0): error -6
[ 2.451695] Please append a correct "root=" boot option; here are the available partitions:
[ 2.460132] 0100 65536 ram0
[ 2.460147] (driver?)
[ 2.466282] 0101 65536 ram1
[ 2.466292] (driver?)
[ 2.472445] 0102 65536 ram2
[ 2.472456] (driver?)
[ 2.478606] 0103 65536 ram3
[ 2.478616] (driver?)
[ 2.484748] 0104 65536 ram4
[ 2.484757] (driver?)
[ 2.490908] 0105 65536 ram5
[ 2.490918] (driver?)
[ 2.497066] 0106 65536 ram6
[ 2.497077] (driver?)
[ 2.503209] 0107 65536 ram7
[ 2.503218] (driver?)
[ 2.509369] 0108 65536 ram8
[ 2.509379] (driver?)
[ 2.515511] 0109 65536 ram9
[ 2.515520] (driver?)
[ 2.521670] 010a 65536 ram10
[ 2.521680] (driver?)
[ 2.527916] 010b 65536 ram11
[ 2.527927] (driver?)
[ 2.534144] 010c 65536 ram12
[ 2.534154] (driver?)
[ 2.540390] 010d 65536 ram13
[ 2.540400] (driver?)
[ 2.546618] 010e 65536 ram14
[ 2.546628] (driver?)
[ 2.552864] 010f 65536 ram15
[ 2.552874] (driver?)
[ 2.559120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.567435] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.5-EK20231213-46 #2
[ 2.574616] Hardware name: STM32 (Device Tree Support)
[ 2.579793] [<c0310e70>] (unwind_backtrace) from [<c030b5c0>] (show_stack+0x10/0x14)
[ 2.587612] [<c030b5c0>] (show_stack) from [<c104dc34>] (dump_stack_lvl+0x40/0x4c)
[ 2.595245] [<c104dc34>] (dump_stack_lvl) from [<c104996c>] (panic+0xf8/0x30c)
[ 2.602529] [<c104996c>] (panic) from [<c1701644>] (mount_block_root+0x168/0x208)
[ 2.610081] [<c1701644>] (mount_block_root) from [<c1701abc>] (prepare_namespace+0x150/0x18c)
[ 2.618675] [<c1701abc>] (prepare_namespace) from [<c105bc94>] (kernel_init+0x10/0x124)
[ 2.626745] [<c105bc94>] (kernel_init) from [<c0300190>] (ret_from_fork+0x14/0x24)
[ 2.634374] Exception stack(0xc20abfb0 to 0xc20abff8)
[ 2.639459] bfa0: 00000000 00000000 00000000 00000000
[ 2.647688] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.655914] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.662578] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
2023-12-18 06:14 AM
If the filesystem is corrupted, it might prevent the kernel from mounting it. Check the filesystem integrity and potentially try to reformat and reinstall the root filesystem.
2023-12-18 06:54 AM
The filesystem is good. The kernel does not find any blockdevice (nor any other driver mentioned in the device-tree blob).
In the meanwhile I have just found a little issue: in the kernel config CONFIG_OPTEE was missing. There was only CONFIG_TEE=y.
Now with the newest kernel here is the logs: (basically they differs with some more optee messages)
[ 0.000000] OF: fdt: Machine model: Eurek EK440
[ 0.000000] printk: bootconsole [earlycon0] enabled
The device is parsed as you can see below:
[ 0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node retram@38000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0xda000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] Kernel command line: console=ttySTM0,115200 root=/dev/mmcblk0p9 ro rootfstype=ext4 noswap mem=512M earlyprintk raid=noautodetect loglevel=7
[ 0.229473] Serial: AMBA PL011 UART driver
[ 0.249820] /soc/interrupt-controller@5000d000: bank0
[ 0.255005] /soc/interrupt-controller@5000d000: bank1
[ 0.260103] /soc/interrupt-controller@5000d000: bank2
[ 4.587831] Initialise system trusted keyrings
[ 4.615730] NFS: Registering the id_resolver key type
[ 4.620949] Key type id_resolver registered
[ 4.625160] Key type id_legacy registered
[ 4.894094] STMicroelectronics ASC driver initialized
[ 4.900727] STM32 USART driver initialized
[ 5.256357] optee: probing for conduit method.
[ 5.260933] optee: revision 3.19
[ 5.261422] optee: dynamic shared memory is enabled
[ 5.270905] optee: initialized driver
[ 5.446055] VFS: Cannot open root device "mmcblk0p9" or unknown-block(0,0): error -6
[ 5.453963] Please append a correct "root=" boot option; here are the available partitions:
[ 5.462403] 0100 65536 ram0
[ 5.462417] (driver?)
[ 5.468573] 0101 65536 ram1
[ 5.468584] (driver?)
[ 5.474717] 0102 65536 ram2
[ 5.474727] (driver?)
[ 5.480877] 0103 65536 ram3
[ 5.480887] (driver?)
[ 5.487019] 0104 65536 ram4
[ 5.487028] (driver?)
[ 5.493188] 0105 65536 ram5
[ 5.493198] (driver?)
[ 5.499348] 0106 65536 ram6
[ 5.499358] (driver?)
[ 5.505490] 0107 65536 ram7
[ 5.505499] (driver?)
[ 5.511649] 0108 65536 ram8
[ 5.511659] (driver?)
[ 5.517790] 0109 65536 ram9
[ 5.517800] (driver?)
[ 5.523947] 010a 65536 ram10
[ 5.523958] (driver?)
[ 5.530193] 010b 65536 ram11
[ 5.530203] (driver?)
[ 5.536422] 010c 65536 ram12
[ 5.536431] (driver?)
[ 5.542668] 010d 65536 ram13
[ 5.542678] (driver?)
[ 5.548914] 010e 65536 ram14
[ 5.548924] (driver?)
[ 5.555144] 010f 65536 ram15
[ 5.555153] (driver?)
[ 5.561401] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 5.569714] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.5-EK20231218-62 #1
[ 5.576895] Hardware name: STM32 (Device Tree Support)
[ 5.582071] [<c0310e90>] (unwind_backtrace) from [<c030b5cc>] (show_stack+0x10/0x14)
[ 5.589889] [<c030b5cc>] (show_stack) from [<c1150c20>] (dump_stack_lvl+0x40/0x4c)
[ 5.597520] [<c1150c20>] (dump_stack_lvl) from [<c114c62c>] (panic+0xf8/0x30c)
[ 5.604803] [<c114c62c>] (panic) from [<c1901650>] (mount_block_root+0x168/0x208)
[ 5.612352] [<c1901650>] (mount_block_root) from [<c1901acc>] (prepare_namespace+0x154/0x190)
[ 5.620946] [<c1901acc>] (prepare_namespace) from [<c1901264>] (kernel_init_freeable+0x210/0x224)
[ 5.629888] [<c1901264>] (kernel_init_freeable) from [<c115f90c>] (kernel_init+0x10/0x124)
[ 5.638221] [<c115f90c>] (kernel_init) from [<c0300190>] (ret_from_fork+0x14/0x24)
[ 5.645849] Exception stack(0xc20adfb0 to 0xc20adff8)
[ 5.650935] dfa0: 00000000 00000000 00000000 00000000
[ 5.659165] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.667394] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.674059] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Any other help? Here are my device-trees for kernel and the device-tree for scmi stuff...
Regards,
Gianluca