boards.io

stm32mp157c-dk2

U-Boot Arm 32-bit

STM32MP157C-DK2 Discovery kit

Inheritance

  1. stm32mp157c-dk2
  2. base-uboot
  3. base

Key facts

Vendor
STMicroelectronics
Bootloader family
U-Boot
Architecture
Arm 32-bit (from the template)
Console device
ttySTM0
Baud rate
115200
Bootloader prompt
=>
mkimage arch
arm
Connections
fastboot, serial
Kernel load addresses
bootm, uimage

Deploy methods

image overlay usb tftp nbd ssh

Boot methods

minimal ssh dfu u-boot uuu grub grub-efi

Boot commands

u-boot
ums, nfs, nbd, ramdisk, usb, sata

Overridable variables (6)

Variables set with a default value in this template. They can be overridden from the device dictionary or, for some of them, from the job context.

VariableDefault
console_device'ttySTM0'
baud_rate115200
bootloader_prompt'=>'
bootm_kernel_addr'0xc2000000'
bootm_ramdisk_addr'0x45000000'
bootm_dtb_addr'0xc4000000'

Fixed settings (5)

VariableValue
extra_kernel_args"loglevel=6 " + extra_kernel_args
base_ip_args'ip=::::stm32mp157::dhcp kmac=dev:eth0,addr:'
uboot_mkimage_arch'arm'
uboot_set_mactrue
action_timeout_power_off15
{# set device_type = "stm32mp157c-dk2" #}
{% extends 'base-uboot.jinja2' %}

{% set console_device = console_device|default('ttySTM0') %}
{% set baud_rate = baud_rate|default(115200) %}
{% if extra_kernel_args %}
{% set extra_kernel_args = "loglevel=6 " + extra_kernel_args %}
{% else %}
{% set extra_kernel_args = "loglevel=6" %}
{% endif %}
{% set bootloader_prompt = bootloader_prompt|default('=>') %}

{% set bootm_kernel_addr = bootm_kernel_addr|default('0xc2000000') %}
{% set bootm_ramdisk_addr = bootm_ramdisk_addr|default('0x45000000') %}
{% set bootm_dtb_addr = bootm_dtb_addr|default('0xc4000000') %}

{% set base_ip_args = 'ip=::::stm32mp157::dhcp kmac=dev:eth0,addr:' %}
{% set uboot_mkimage_arch = 'arm' %}
{% set uboot_set_mac = true %}
{% set action_timeout_power_off = 15 %}

Rendered with the default values (no device dictionary), using LAVA's own template environment.