Menu Close

Other Common U-Boot Commands

This article talks about other commonly used U-Boot commands that were not covered previously.

For related subjects, please refer to the SOC Table of Contents.

 

Using reset

The reset command resets U-Boot by restarting it.

 

Using run

The run command is used to run commands that are defined in environment variables. For example, we can execute “run bootcmd” to run the boot command stored in bootcmd. The commands must be executable if you wish to use the run command with it.

 

Using mtest

The mtest command is a simple test for the reading and writing for memory and can be used to test the DDR on the development board. The command has the following format.

mtest[start[end[pattern[iterations]]]]

Where start is the starting address of the DRAM you wish to test, and end is the ending address. For example, if we were to test the memory between 0x00000000 and 0x00001000, we would use the command “mtest 00000000 00001000”. If you wish to halt the test at any given time, you may press [Ctrl] + [C].

 

Posted in Textbook and Training Project

Related Articles

Leave a Reply

Your email address will not be published.

Leave the field below empty!