Table 5-11 bootloader environment variables – Kontron AM4211 User Manual

Page 56

Advertising
background image

41

AM4211

www.kontron.com

Table 5-11: Bootloader environment variables

Name

Type

Description

boardmacaddr

Var

Contains the default base MAC address for the OCTEON Ethernet interfaces. This

variable is automatically set by the bootloader when the MAC address was read from

the MMC/KCS interfaces. This should only be set manually when disable_kcs=yes or

ignore_kcserr=yes to provide a “fallback” MAC address, when the KCS/MMC

interface is not available or fails

bootcmd

Script

This variable defines a command string that is automatically executed when the

initial countdown is not interrupted.

This command is only executed when the variable bootdelay is also defined!

bootdelay

Var

After reset, U-Boot will wait this number of seconds before it executes the contents

of the bootcmd variable. If the bootstopkey phrase is typed during this time, the

bootloader command line interface is entered.

Set this variable to 0 boots without delay. Be careful: depending on the contents of

your bootcmd variable, this can prevent you from entering interactive commands

again forever!

Set this variable to -1 to disable autoboot.
default: 5 for flash based bootloader, -1 for RAM resident bootloader

kernel_rootfs_update

Script

Command script to flash a binary image transferred with tftpboot to the active

image flash partition kernel_rootfs

kernel_rootfs_backup_update

Script

Command script to flash a binary image transferred with tftpboot to the backup

image flash partition kernel_rootfs_backup

disable_kcs

Var

yes – completely disable all IPMI KCS access from bootloader
<not set> - use KCS interface to retrieve MAC address and program watchdog et al

(default)

ethact

Var

Default network interface used by network commands (bootp, tftpboot)
default: octmgmt0

linuxcores

Var

Contains the number of CPU cores to allocate to the Linux kernel booted by the

default boot commands
default: 10

linuxmem

Var

Contains the amount of RAM in MB to allocate for the Linux kernel booted by the

default boot comands
default: 2048 (with a 2 Gig) 4096 (with a 4 Gig)

loadaddr

Var

Default load address for network transfers. This is used as a temporary storage for

netbooting and firmware updates.
default: 0x20000000

netretry

Var

<not set> – retry a failed netboot command infinitely with the interface defined by

‘ethact’ environment variable.
no – do not retry failed net boot commands (bootp, tftpboot et al) using all

available interfaces (default)
yes – retry a failed netboot command by iterating through all available interfaces

nuke_user_jffs2

Script

Command script that erases the active image partition of the onboard flash

partition user_jffs2

nuke_user_jffs2_backup

Script

Command script that erases the backup image partition of the onboard flash

partition user_jffs2_backup

uboot_backup_update

Script

Command script to flash a U-Boot binary image transferred with tftpboot to the

backup image bootloader

uboot_update /

bootloaderupdate

Script

Command script to flash a U-Boot binary image transferred with tftpboot to the

active image bootloader

watchdogboot

Var

0 – disable boot monitor watchdog (default)
5...n – timeout in seconds before boot monitor watchdog fires
Note: This is the pBMWD watchdog

Advertising