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.
The reset command resets U-Boot by restarting it.
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.
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.
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].