STM32157f-dk2 getting started not working for compile and flashing kernel
Hi there,
I just received the STM32157f-dk2 discovery board, and I just started to dive into the tutorials. I am trying to simply follow the step to just cross-compile and flash the kernel image. When I complete all the steps and reboot the board, the kernel does not start
U-Boot 2018.11-stm32mp-r4 (Nov 14 2018 - 16:10:06 +0000)
CPU: STM32MP157FAC Rev.Z
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Board: MB1272 Var4 Rev.C-02
DRAM: 512 MiB
Clocks:
- MPU : 800 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
NAND: 0 MiB
MMC: STM32 SDMMC2: 0, STM32 SDMMC2: 1
Loading Environment from EXT4... 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
Scanning mmc 0:4...
Found U-Boot script /boot.scr.uimg
1628 bytes read in 1 ms (1.6 MiB/s)
## Executing script at c4100000
Scanning mmc 0:4...
Found /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf
Retrieving file: /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf
614 bytes read in 0 ms
Retrieving file: /splash.bmp
46180 bytes read in 3 ms (14.7 MiB/s)
Select the boot mode
1: stm32mp157c-dk2-sdcard
2: stm32mp157c-dk2-a7-examples-sdcard
3: stm32mp157c-dk2-m4-examples-sdcard
Enter choice: 1: stm32mp157c-dk2-sdcard
Retrieving file: /uImage
7704384 bytes read in 349 ms (21.1 MiB/s)
append: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200
Retrieving file: /stm32mp157c-dk2.dtb
117969 bytes read in 7 ms (16.1 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
Image Name: Linux-5.15.24
Created: 2022-10-27 15:36:14 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 7704320 Bytes = 7.3 MiB
Load Address: c2000040
Entry Point: c2000040
Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
Booting using the fdt blob at 0xc4000000
XIP Kernel Image ... OK
Using Device Tree in place at c4000000, end c401fcd0
Starting kernel ...
it holds Starting kernel... I'm pretty sure that I followed the steps correctly (I m not totally new to Linux embedded, but still a noob btw).
Anyone knows how?
Thanks
PS: I m running Ubuntu 20.04, and set up the SDK properly.
