Skip to content
Snippets Groups Projects
Commit b7c49195 authored by BRONES Romain's avatar BRONES Romain
Browse files

Update the README

parent 255b43fc
No related branches found
No related tags found
No related merge requests found
......@@ -72,16 +72,31 @@ The TMP directory *should be changed*. It receives all the outputs of the build.
# TMP is not on a NFS, so not on home
TMPDIR = "/put/some/path/"
The following lines shall be set to accomodate the firmware project. Put the names of all the Fimrware variants and a path where the `.xsa` and `.mapt` files can be fetched.
The following lines shall be set to accomodate the firmware project. Put the names of all the Firmware variants and a path where the `.xsa` and `.mapt` files can be fetched.
# PL VARIANTS
HDF_BASE="file://"
PL_VARIANTS_damc-fmc2zup = "FofbNode_CellNode FofbNode_CentralNode FofbNode_CellNode_test FofbNode_CentralNode_test"
PL_VARIANTS_DIR = "/home/sources/diagnostics/broucquart/YOCTO_FOFB/build_damc_fofb/variants_hdf"
==== Linking variant files
The script `build_damc_fofb/variants_hdf/install_link.py` can help to install automatically the links to the `.xsa` and `.mapt` files.
It is based on the tag and name. You need to edit the path that are hard coded at the begining of this script.
Then the links can be automatically switched to new version calling this script.
# For centralnode, test firmware, point to tag 2.1
# if there are tags 2.1.0 and 2.1.3 it will point to te latter
./build_damc_fofb/variants_hdf/install_link.py --test central 2.1
# For cellnode, standard firmware, point to tag 3
# if there are tags 3.1.0 and 3.4.3 it will point to te latter
./build_damc_fofb/variants_hdf/install_link.py cell 3
==== Building
To setup the environment, use the setupsdk script
To setup the environment, use the setupsdk script.
This will automatically cd in build_damc_fofb directory
source setupsdk build_damc_fofb
......@@ -89,3 +104,8 @@ Start the build for the image
bitbake zup-image-soleil-fofb
=== Preparing SD image and filesystem
The system fit in a 8GB SD card.
The script `makesd/prepare-sd.sh` can partition, format and copy files to the SD card.
The script `makesd/bring_files.sh` needs to be adjusted but list the files required to be shipped in the SD card.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment