UBootManual

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年5月7日 (四) 10:33的版本

目录

Abstract

Introduction

Copyright

Disclaimer

Availability

Credits

Translations

Feedback

Conventions

Embedded Linux Development Kit

ELDK Availability

ELDK Getting Help

Supported Host Systems

Supported Target Architectures

Installation

Product Packaging

Downloading the ELDK

Initial Installation

Installation and Removal of Individual Packages

Removal of the Entire Installation

Working with ELDK

Switching Between Multiple Installations

Mounting Target Components via NFS

Rebuilding ELDK Components

ELDK Source Distribution

Rebuilding Target Packages

Rebuilding ELDT Packages

ELDK Packages

List of ELDT Packages

List of Target Packages

Rebuilding the ELDK from Scratch

ELDK Build Process Overview

Setting Up ELDK Build Environment

build.sh Usage

Format of the cpkgs.lst and tpkgs.lst Files

Notes for Solaris 2.x Host Environment

System Setup

Serial Console Access

Configuring the "cu" command

Configuring the "kermit" command

Using the "minicom" program

Permission Denied Problems

Configuration of a TFTP Server

Configuration of a BOOTP / DHCP Server

Configuring a NFS Server

Das U-Boot

Current Versions

Unpacking the Source Code

Configuration

Installation

Before You Begin

Installation Requirements

Board Identification Data

Installation Using a BDM/JTAG Debugger

Installation using U-Boot

Tool Installation

Initialization

Initial Steps

The First Power-On

U-Boot Command Line Interface

Information Commands

bdinfo - print Board Info structure

coninfo - print console devices and informations

flinfo - print FLASH memory information

iminfo - print header information for application image

help - print online help

Memory Commands

base - print or set address offset

crc32 - checksum calculation

cmp - memory compare

cp - memory copy

md - memory display

mm - memory modify (auto-incrementing)

mtest - simple RAM test

mw - memory write (fill)

nm - memory modify (constant address)

loop - infinite loop on address range

Flash Memory Commands

cp - memory copy

flinfo - print FLASH memory information

erase - erase FLASH memory

protect - enable or disable FLASH write protection

mtdparts - define a Linux compatible MTD partition scheme=

Execution Control Commands

source - run script from memory

bootm - boot application image from memory

go - start application at address 'addr'

Download Commands

bootp - boot image via network using BOOTP/TFTP protocol

dhcp - invoke DHCP client to obtain IP/boot params

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

loads - load S-Record file over serial line

rarpboot- boot image via network using RARP/TFTP protocol

tftpboot- boot image via network using TFTP protocol

Environment Variables Commands

printenv- print environment variables

saveenv - save environment variables to persistent storage

setenv - set environment variables

run - run commands in an environment variable

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

Flattened Device Tree support

fdt addr - select FDT to work on

fdt list - print one level

fdt print - recursive print

fdt mknode - create new nodes

fdt set - set node properties

fdt rm - remove nodes or properties

fdt move - move FDT blob to new address

fdt chosen - fixup dynamic info

Special Commands

i2c - I2C sub-system

Storage devices

Miscellaneous Commands

echo - echo args to console

reset - Perform RESET of the CPU

sleep - delay execution for some time

version - print monitor version

? - alias for 'help'

U-Boot Environment Variables

U-Boot Scripting Capabilities

U-Boot Standalone Applications

"Hello World" Demo

Timer Demo

Processor cache considerations

Running on core other than core 0

U-Boot Image Formats

U-Boot Advanced Features

Boot Count Limit