Many issues with STM32MP157F-DK2
1.) HAL_Delay(x) hangs forever when restarting CM4 using Hardware Timer for Systick. Every unit was forced with RESET/RELEASE. Any firmware change could not solve it. Have to repower the board. Happens in Normal and Engineering mode!
2.) HAL_Init() hangs endless after throwing an exception if using Software Systick in CM4. Many power off/on's did not solve the problem. Happens in Normal and Engineering mode!
3.) CA7 Boot problem from a reliable SD card (Samsung Endurance Pro 32GB).
NOTICE: CPU: STM32MP157FAC Rev.Z
NOTICE: Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
NOTICE: Board: MB1272 Var4.0 Rev.C-03
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.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)
NOTICE: BL2: Built : 13:14:26, Nov 23 2021
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 - 0x2ffff226
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 0x2ffc5000
INFO: Image id=4 loaded: 0x2ffc5000 - 0x2ffd9820
INFO: BL2: Skip loading image id 8
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 - 0xc051d858
INFO: BL2: Loading image id 16
INFO: Loading image id=16 at address 0x2ffc0000
INFO: Image id=16 loaded: 0x2ffc0000 - 0x2ffc4606
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0100000
INFO: Image id=5 loaded: 0xc0100000 - 0xc01ece88
NOTICE: BL2: Booting BL32
INFO: Entry point address = 0x2ffc5000
INFO: SPSR = 0x1d3
NOTICE: SP_MIN: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)
NOTICE: SP_MIN: Built : 13:14:26, Nov 23 2021
INFO: ARM GICv2 driver initialized
INFO: Set calibration timer to 60 sec
INFO: stm32mp1 IWDG1 is secure
INFO: SP_MIN: Initializing runtime services
INFO: SP_MIN: Preparing exit to normal world
U-Boot 2021.10-stm32mp-r2 (Oct 04 2021 - 15:09:26 +0000)
CPU: STM32MP157FAC Rev.Z
Model: STMicroelectronics STM32MP157F-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157f-dk2)
Board: MB1272 Var4.0 Rev.C-03
DRAM: 512 MiB
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT: Started with servicing (32s timeout)
NAND: 0 MiB
MMC: STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@5800a000
Hit any key to stop autoboot: 0
Boot over mmc0!
switch to partitions #0, OK
mmc0 is current device
c 0:8...
Found /mmc0_extlinux/stm32mp157f-dk2_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157f-dk2_extlinux.conf
3 bytes read in 117 ms (6.8 KiB/s)
Retrieving file: /splash_portrait.bmp
tes read in 121 ms (721.7 KiB/s)
boot mode
1: OpenSTLinux
2: stm32mp157f-dk2-a7-examples
3: stm32mp157f-dk2-m4-examples
Enter choice: found
Select the boot mode
1: OpenSTLinux
2: stm32mp157f-dk2-a7-examples
3: stm32mp157f-dk2-m4-examples
Enter choice:
not found
Select the boot mode
1: OpenSTLinux
2: stm32mp157f-dk2-a7-examples
3: stm32mp157f-dk2-m4-examples
Enter choice: <INTERRUPT>
SCRIPT FAILED: continuing...
79 bytes read in 122 ms (951.2 KiB/s)
Scanning disk mmc@58005000.blk...
respond to voltage select! : -110
Scanning disk mmc@58007000.blk...
Disk mmc@58007000.blk not ready
Found 12 disks
Missing RNG device for EFI_RNG_PROTOCOL
No EFI system partition
not defined
EFI boot manager: Cannot load any image
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> P>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> 32MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> 2MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> 2MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP> MP>
STM32MP> <INTERRUPT>
STM32MP>
STM32MP>
