
Emcraft Systems
Image Type: ARM Linux Kernel Image (uncompressed)
...
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.33-arm1 ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite
2010q1-189) ) #1 Fri Dec 9 15:43:44 MSK 2013
...
To load the image into the Flash, use the U-Boot
update
macro:
STM32F4X9-SOM> setenv image vlad/networking.uImage
STM32F4X9-SOM> run update
...
TFTP from server 172.17.0.1; our IP address is 172.17.5.100
Filename 'vlad/networking.uImage'.
...
Loading: #################################################################
#################################################################
#############
done
Bytes transferred = 2084704 (1fcf60 hex)
................................ done
Un-Protected 32 sectors
................................ done
Erased 32 sectors
Copy to Flash... done
STM32F4X9-SOM>
Reset the board and verify that the newly programmed image boots on the target in the
autoboot mode:
STM32F4X9-SOM> reset
resetting ...
U-Boot 2010.03-linux-cortexm-1.12.0 (Dec 9 2013 - 17:19:37)
...
Starting kernel ...
...
init started: BusyBox v1.17.0 (Dec 9 2013 - 17:19:37)
~ #
5.6. U-Boot Build
The BSP distribution comes with U-Boot pre-built for the STM32F4 SOM board. If however
you need to re-build U-Boot for your board, please follow the instructions below:
1.
Install the Linux STM32F4 distribution to the development host, as described in the Linux
Cortex-M User's Manual.
2.
From the top of the Linux STM32F4 installation, activate the Linux STM32F4 cross-
compile environment by running
. ACTIVATE.sh
.
3.
Go to the U-Boot source directory (
cd u-boot/
).
4.
Depending on the revision of the SOM, run the following commands:
o
for the STM32F4 SOM revision 1A:
[psl@pvr u-boot]$ make stm-som-1a_config
...for STM-SOM Rev 1A
Configuring for stm-som-1A board...
[psl@pvr u-boot]$ make -s
o
For the STM32F4 SOM revision 2A:
[psl@pvr u-boot]$ make stm-som_config
Emcraft Systems STM32F4 SOM Starter Kit Guide
10/12
Release 1.12.0