2025-01-06 01:19 PM
Hi everyone,
I was finally able to get to the kernel and use the shell using the sd card (yay!). However, we want to boot from the emmc (sd card was for dev purposes but we want only emmc) and I am running into an issue. Here is my boot log from booting on emmc after flashing with DFU:
NOTICE: CPU: STM32MP131D Rev.Y
NOTICE: Model: STM32MP1 LED Controller - openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06
INFO: PMIC version = 0x21
NOTICE: Reset reason (0x1035):
INFO: Power-on Reset (rst_por)
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000
INFO: FCONF: Reading firmware configuration information for: stm32mp_fuse
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.10-stm32mp1-r1.0(debug):lts-v2.10.5-dirty(7c229848)
NOTICE: BL2: Built : 16:19:31, Jun 28 2024
INFO: BL2: Doing platform setup
INFO: RAM: DDR3-DDR3L 16bits 533Mhz
INFO: Memory size = 0x20000000 (512 MB)
INFO: BL2: Loading image id 1
INFO: Loading image id=1 at address 0x30006000
INFO: Image id=1 loaded: 0x30006000 - 0x300061ea
INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x30006000
INFO: FCONF: Reading firmware configuration information for: mce_config
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 - 0xde0971f0
INFO: BL2: Loading image id 2
INFO: Loading image id=2 at address 0xc0400000
INFO: Image id=2 loaded: 0xc0400000 - 0xc040e240
INFO: BL2: Skip loading image id 16
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0000000
INFO: Image id=5 loaded: 0xc0000000 - 0xc0115bd8
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: 4.0.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 20 18:29:31 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: WARNING: All debug accesses are allowed
I/TC: WARNING: apply pinctrl for secure pin D6 that is non-secure
I/TC: WARNING: apply pinctrl for secure pin D8 that is non-secure
I/TC: UART console (non-secure)
I/TC: WARNING: apply pinctrl for secure pin H0 that is non-secure
I/TC: WARNING: apply pinctrl for secure pin H1 that is non-secure
I/TC: Platform stm32mp1: flavor PLATFORM_FLAVOR - DT stm32mp131d-custom-lam131-mx.dts
I/TC: OP-TEE ST profile: secure_and_system_services
I/TC: Primary CPU switching to normal world boot
I/TC: Reserved shared memory is disabled
I/TC: Dynamic shared memory is enabled
I/TC: Normal World virtualization support is disabled
I/TC: Asynchronous notifications are enabled
stm32_etzpc bus@5c007000: display-controller@5a001000 failed to parse child on bus (-2)
optee optee: OP-TEE: revision 4.0 (2a5b1d12)
serial_stm32 serial@40010000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
U-Boot 2023.10-stm32mp-r1 (Oct 02 2023 - 14:39:59 +0000)
CPU: STM32MP131D Rev.Y
Model: STM32MP1 LED Controller - openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06
Board: stm32mp1 in trusted mode (st,stm32mp131d-custom-lam131-mx)
DRAM: Can't find /soc/mmc@58007000 path
initcall sequence c00a4374 failed at call c002318b (err=44240)
The error is on line 77:
DRAM: Can't find /soc/mmc@58007000 path
I have attached my U-Boot dts and kernel dts. I am using a custom Yocto dev environment with the meta-st-stm32mp layer included (scarthgap branch, version: openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 ).