Setenv linux 'tftp $ linux-2.6.x.img' line is equivalent of typing tftp 0x21400000 linux-2.6.x.img but combined with others and stored in flash, it allows you to save time, and automate. Here is a summary of several variables built to make a network loading of linux easier : You can create script or complex variables, which prevents you to type commands. Refer to the U-Boot manual page for the command line interface. Version - print monitor, compiler and linker version Tftpboot- boot image via network using TFTP protocol Showvar - print local hushshell variables Saveenv - save environment variables to persistent storage Run - run commands in an environment variable Protect - enable or disable FLASH write protection Ping - send ICMP ECHO_REQUEST to network host Nfs - boot image via network using NFS protocol Mm - memory modify (auto-incrementing address) Loady - load binary file over serial line (ymodem mode) Loadx - load binary file over serial line (xmodem mode) Loadb - load binary file over serial line (kermit mode) Itest - return true/false on integer compare Imxtract- extract a part of a multi-image Iminfo - print header information for application image Here is a selection of useful commands :īootd - boot default, i.e., run 'bootcmd'īootm - boot application image from memoryīootp - boot image via network using BOOTP/TFTP protocolīootz - boot Linux zImage image from memoryĬoninfo - print console devices and informationĭhcp - boot image via network using DHCP/TFTP protocolįatinfo - print information about filesystemįatload - load binary file from a dos filesystemįatls - list files in a directory (default /)įatwrite- write file into a dos filesystemįdt - flattened device tree utility commands The help command show a brief summary of the built-in commands of U-Boot. Printenv this command print the current variables Saveenv this command saves variables previously set in the environment permanent storage space Setenv this command is used to set variables Please check the FAQ page about Driver Model in U-Boot for more information. Now U-Boot moves to the Driver model and use of the Device Tree. ![]() Note however that it is possible to avoid this step and to directly boot Linux from AT91Bootstrap, in a production phase for instance. It is responsible of configuring main interfaces and launching a Linux system. U-Boot takes place in the Linux demo as a third stage bootloader. Thematic documentation is also available in the doc/ directory. Note that a detailed documentation is simply available in the source code package as the README file. U-Boot documentation is very rich in addition to the official U-Boot website, several others are dealing with U-Boot getting started or configuration. It is of course available for AT91 ARM processors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |