boards.io

rk3399-rock-pi-4b

Radxa ROCK 4B (ROCK Pi 4B)

Rock pi 4 b

Inheritance

  1. rk3399-rock-pi-4b
  2. base-uboot
  3. base

Key facts

Vendor
Rockchip
Bootloader family
U-Boot
Architecture
Arm 64-bit (AArch64) (from the template)
Console device
ttyS2
Baud rate
1500000
Bootloader prompt
=>
mkimage arch
arm64
Connections
fastboot, serial
Kernel load addresses
image, booti, bootm, uimage

Deploy methods

image overlay usb tftp nbd ssh fastboot u-boot

Boot methods

minimal ssh dfu u-boot uuu grub grub-efi

Boot commands

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

Overridable variables (11)

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
boot_character_delay'10'
test_character_delay'10'
booti_kernel_addr'0x2800000'
booti_ramdisk_addr'0xa200000'
booti_dtb_addr'0x8300000'
bootm_kernel_addr'0x2800000'
bootm_ramdisk_addr'0xa200000'
bootm_dtb_addr'0x8300000'
bootloader_prompt'=>'
console_device'ttyS2'
fastboot_deploy_uboot_commands['setenv autoload no', 'dhcp', 'fastboot udp']

Fixed settings (2)

VariableValue
baud_rate'1500000'
uboot_mkimage_arch'arm64'
# Rock pi 4 b
{# set device_type = "rk3399-rock-pi-4b" #}

{% extends 'base-uboot.jinja2' %}

{% set baud_rate = '1500000' %}
{% set boot_character_delay = boot_character_delay|default('10') %}
{% set test_character_delay = test_character_delay|default('10') %}

{% set booti_kernel_addr = booti_kernel_addr|default('0x2800000') %}
{% set booti_ramdisk_addr = booti_ramdisk_addr|default('0xa200000') %}
{% set booti_dtb_addr = booti_dtb_addr|default('0x8300000') %}

{% set bootm_kernel_addr = bootm_kernel_addr|default('0x2800000') %}
{% set bootm_ramdisk_addr = bootm_ramdisk_addr|default('0xa200000') %}
{% set bootm_dtb_addr = bootm_dtb_addr|default('0x8300000') %}

{% set uboot_mkimage_arch = 'arm64' %}

{% set bootloader_prompt = bootloader_prompt|default('=>') %}
{% set console_device = console_device|default('ttyS2') %}

{% set fastboot_deploy_uboot_commands = fastboot_deploy_uboot_commands|default(['setenv autoload no', 'dhcp', 'fastboot udp']) %}

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