User Tools

Site Tools


zed_yocto_u-boot_commands

This is an old revision of the document!


Table of Contents

Overview

U-Boot commands supported by the standard Yocto/meta-xilinx-bsp build.

Commands

Informational commands

version

U-Boot 2018.01 (May 18 2019 - 17:11:06 +0000)

arm-poky-linux-gnueabi-gcc (GCC) 8.2.0
GNU ld (GNU Binutils) 2.31.1.20181224

bdinfo

arch_number = 0x00000000
boot_params = 0x00000000
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size     = 0x20000000
baudrate    = 115200 bps
TLB addr    = 0x1FFF0000
relocaddr   = 0x1FF3B000
reloc off   = 0x1BF3B000
irq_sp      = 0x1EB1AEE0
sp start    = 0x1EB1AED0
ARM frequency = 666 MHz
DSP frequency = 0 MHz
DDR frequency = 533 MHz
Early malloc usage: 5a4 / 600
fdt_blob = 1ffa7fc0

coninfo

List of available devices:
serial@e0001000 00000007 IO stdin stdout stderr 
serial   00000003 IO

More commands

base - print or set address offset

boot - boot default, i.e., run 'bootcmd'

bootd - boot default, i.e., run 'bootcmd'

bootefi - Boots an EFI payload from memory

bootelf - Boot from an ELF image in memory

bootm - boot application image from memory

bootp - boot image via network using BOOTP/TFTP protocol

bootvx - Boot vxWorks from an ELF image

bootz - boot Linux zImage image from memory

clk - CLK sub-system

cmp - memory compare

cp - memory copy

crc32 - checksum calculation

dcache - enable or disable data cache

dfu - Device Firmware Upgrade

dhcp - boot image via network using DHCP/TFTP protocol

dm - Driver model low level access

echo - echo args to console

editenv - edit environment variable

env - environment handling commands

exit - exit script

ext2load- load binary file from a Ext2 filesystem

ext2ls - list files in a directory (default /)

ext4load- load binary file from a Ext4 filesystem

ext4ls - list files in a directory (default /)

ext4size- determine a file's size

ext4write- create a file in the root directory

false - do nothing, unsuccessfully

fatinfo - print information about filesystem

fatload - load binary file from a dos filesystem

fatls - list files in a directory (default /)

fatsize - determine a file's size

fatwrite- write file into a dos filesystem

fdt - flattened device tree utility commands

fpga - loadable FPGA image support

fstype - Look up a filesystem type

go - start application at address 'addr'

gpio - query and control gpio pins

help - print command description/usage

icache - enable or disable instruction cache

iminfo - print header information for application image

imxtract- extract a part of a multi-image

itest - return true/false on integer compare

load - load binary file from a filesystem

loadb - load binary file over serial line (kermit mode)

loads - load S-Record file over serial line

loadx - load binary file over serial line (xmodem mode)

loady - load binary file over serial line (ymodem mode)

loop - infinite loop on address range

ls - list files in a directory (default /)

md - memory display

mdio - MDIO utility commands

mii - MII utility commands

mm - memory modify (auto-incrementing address)

mmc - MMC sub system

mmcinfo - display MMC info

mw - memory write (fill)

nfs - boot image via network using NFS protocol

nm - memory modify (constant address)

ping - send ICMP ECHO_REQUEST to network host

printenv- print environment variables

pxe - commands to get and boot from pxe files

reset - Perform RESET of the CPU

run - run commands in an environment variable

save - save file to a filesystem

saveenv - save environment variables to persistent storage

setenv - set environment variables

sf - SPI flash sub-system

showvar - print local hushshell variables

size - determine a file's size

sleep - delay execution for some time

source - run script from memory

spl - SPL configuration

sysboot - command to get and boot from syslinux files

test - minimal test like /bin/sh

tftpboot- boot image via network using TFTP protocol

tftpput - TFTP put command, for uploading files to a server

thordown- TIZEN "THOR" downloader

true - do nothing, successfully

usb - USB sub-system

usbboot - boot from USB device

zed_yocto_u-boot_commands.1558357488.txt.gz · Last modified: 2019/05/20 13:04 by rpjday