boards.io

sharkl2

U-Boot Arm 32-bit

Inheritance

  1. sharkl2
  2. base-uboot
  3. base

Key facts

Vendor
Unisoc
Bootloader family
U-Boot
Architecture
Arm 32-bit (from the template)
Console device
ttyS2
Baud rate
115200
Bootloader prompt
=>
mkimage arch
arm
Connections
fastboot, serial

Deploy methods

image overlay usb tftp nbd ssh fastboot u-boot

Boot methods

minimal ssh dfu fastboot u-boot uuu grub grub-efi

Boot commands

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

Overridable variables (9)

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
bootloader_prompt'=>'
interrupt_prompt'Hit any key to stop autoboot'
interrupt_char' '
adb_serial_number"'0000000000'"
fastboot_serial_number"'0000000000'"
device_info[{'board_id': fastboot_serial_number}]
console_device'ttyS2'
baud_rate115200
fastboot_deploy_uboot_commands["cboot fastboot"]

Fixed settings (4)

VariableValue
uboot_mkimage_arch'arm'
uboot_extra_error_message'Invalid partition'
fastboot_sequence[ 'reboot']
fastboot_boot_uboot" "
{# device_type = "sharkl2" #}
{% extends 'base-uboot.jinja2' %}
{% set bootloader_prompt = bootloader_prompt|default('=>') %}
{% set interrupt_prompt = interrupt_prompt|default('Hit any key to stop autoboot') %}
{% set interrupt_char = interrupt_char|default(' ') %}

{% set uboot_mkimage_arch = 'arm' %}
{% set adb_serial_number = adb_serial_number|default("'0000000000'") %}
{% set fastboot_serial_number = fastboot_serial_number|default("'0000000000'") %}
{% set device_info = device_info|default([{'board_id': fastboot_serial_number}]) %}
{% set console_device = console_device|default('ttyS2') %}
{% set baud_rate = baud_rate|default(115200) %}
{% set uboot_extra_error_message = 'Invalid partition' %}
{% set fastboot_sequence = [
    'reboot'] %}
{% set fastboot_deploy_uboot_commands = fastboot_deploy_uboot_commands|default(["cboot fastboot"]) %}
{% set fastboot_boot_uboot = " " %}

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