boards.io

alpine-db

U-Boot Arm 32-bit

Inheritance

  1. alpine-db
  2. base-uboot
  3. base

Key facts

Vendor
Annapurna Labs
Bootloader family
U-Boot
Architecture
Arm 32-bit (from the template)
Console device
ttyS0
Baud rate
115200
Bootloader prompt
ALPINE_DB>
mkimage arch
arm
Connections
fastboot, serial
Kernel load addresses
bootz, zimage

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 (3)

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'ttyS0'
baud_rate115200
bootloader_prompt'ALPINE_DB>'

Fixed settings (6)

VariableValue
bootz_kernel_addr'0x04000000'
bootz_ramdisk_addr'0x05000000'
bootz_dtb_addr'0x04f00000'
base_ip_args'ip=dhcp'
uboot_mkimage_arch'arm'
uboot_tftp_commands[ "setenv loadkernel 'tftpboot {KERNEL_ADDR} {KERNEL}'", "setenv loadinitrd 'tftpboot {RAMDISK_ADDR} {RAMDISK}; setenv initrd_size ${filesize}'", "setenv loadfdt 'tftpboot {DTB_ADDR} {DTB}; fdt addr {DTB_ADDR}; fdt resize; fdt set /soc/uart@fd883000 clock-frequency <375000000>;'"]
{# device_type = "alpine-db" #}
{% extends 'base-uboot.jinja2' %}
{% set console_device = console_device|default('ttyS0') %}
{% set baud_rate = baud_rate|default(115200) %}
{% set bootloader_prompt = bootloader_prompt|default('ALPINE_DB>') %}
{% set bootz_kernel_addr = '0x04000000' %}
{% set bootz_ramdisk_addr = '0x05000000' %}
{% set bootz_dtb_addr = '0x04f00000' %}
{% set base_ip_args = 'ip=dhcp' %}
{% set uboot_mkimage_arch = 'arm' %}
{% set uboot_tftp_commands = [
    "setenv loadkernel 'tftpboot {KERNEL_ADDR} {KERNEL}'",
    "setenv loadinitrd 'tftpboot {RAMDISK_ADDR} {RAMDISK}; setenv initrd_size ${filesize}'",
    "setenv loadfdt 'tftpboot {DTB_ADDR} {DTB}; fdt addr {DTB_ADDR}; fdt resize; fdt set /soc/uart@fd883000 clock-frequency <375000000>;'"]
-%}

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