diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2015-02-23 10:15:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-02 07:43:25 +0100 |
commit | e9cd1542ccd193f4bd6a6a57e5f0a143759eb997 (patch) | |
tree | a33119ee0f0e7384669edb0944e5480a1e0204b4 /Documentation | |
parent | 603ba8c1ba906a66c71610b8a0a13375461565c2 (diff) | |
download | barebox-e9cd1542ccd193f4bd6a6a57e5f0a143759eb997.tar.gz barebox-e9cd1542ccd193f4bd6a6a57e5f0a143759eb997.tar.xz |
scripts: add socfpga preloader-files importer
Add script to automatically import and fixup the autogenerated handoff files
into the board folder.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/boards/socfpga.rst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/boards/socfpga.rst b/Documentation/boards/socfpga.rst index 70f959b325..e956bccbe2 100644 --- a/Documentation/boards/socfpga.rst +++ b/Documentation/boards/socfpga.rst @@ -67,8 +67,14 @@ To update the handoff files, the following procedure is necessary:: 6. Select the directory `hps_isw_handoff/soc_system_hps_0` under the preloader settings directory 7. Click ``Ok`` than ``Generate`` - 8. Copy the files generated in `software/spl_bsp/generated/` to your - board folder + +Now run the command:: + + scripts/socfpga_import_preloader <SPL_GENERATED_DIR> <ISW_HANDOFF> <BOARD_DIRECTORY> + +where `<SPL_GENERATED_DIR>` is the directory where the bsp-editor generated the files, +`<ISW_HANDOFF>` is the directory where Quartus generated the handoff files, and +`<BOARD_DIRECTORY>` is your board directory under `arch/arm/boards`. The following files are generic and belong into the `arch/arm/mach-socfpga` directory tree: |