Running U-Boot |
U-Boot is probably the most popular firmware monitor for Linux. It is developed and maintained by DENX Software Engineering (www.denx.de). If you need detailed information on any aspects of U-Boot operation, DENX publishes extensive U-Boot user documentation at their web site. On the STM32F7 microcontrollers, U-Boot runs directly from the internal on-chip Flash. Volatile data (stack, variables, dynamic pool) are maintained in the internal SRAM. External RAM is not used unless you explicitly call a U-Boot command with an argument pointing to a memory location in SDRAM. Please note however that Linux runs from external SDRAM so when you proceed to boot Linux, SDRAM is actively in use. As soon as the board is powered on or reset, the STM32F7 proceeds to boot the U-Boot firmware from the internal Flash printing the following output to the serial console: U-Boot 2010.03-cortexm-2.1.0 (Sep 19 2016 - 11:18:48) If you hit any key on the serial console before the amount of time (number of seconds) defined by the U-Boot bootdelay variable has elapsed, you will enter the U-Boot interactive command monitor. From the command monitor you can run U-Boot commands to examine memory, load an image from Ethernet, boot Linux from a loaded image or perform any other action supported by U-Boot. Use the help command to print out the list of the enabled U-Boot commands: STM32F7-SOM> help As mentioned above, the DENX website publishes detailed documentation describing use of various U-Boot commands. The application notes available on the Emcraft web site describe how to use U-Boot commands to perform specific actions on the STM32F7 system-on-module.
|