Skip to content
Snippets Groups Projects
Commit a81d525c authored by joachim.schmidt's avatar joachim.schmidt
Browse files
parents 5019e710 9fa3de7f
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,8 @@ In my case **\<XILINX\_INSTALL\_FOLDER\>** corresponds to /tools/Xilinx/. ...@@ -47,7 +47,8 @@ In my case **\<XILINX\_INSTALL\_FOLDER\>** corresponds to /tools/Xilinx/.
### Clone of the GIT Scalp Firmware repository (HDL) ### Clone of the GIT Scalp Firmware repository (HDL)
``` ```
$ git https://gitedu.hesge.ch/soma/scalp_firmware.git cd <SCALP_PROJECT_FOLDER>
$ git clone https://gitedu.hesge.ch/soma/scalp_firmware.git
$ cd scalp_firmware $ cd scalp_firmware
$ git checkout SCALP-SAFE-v0.01 $ git checkout SCALP-SAFE-v0.01
``` ```
...@@ -78,6 +79,7 @@ and File -> Export -> Export Hardware -> include bitstream ...@@ -78,6 +79,7 @@ and File -> Export -> Export Hardware -> include bitstream
### Clone of the GIT Scalp PetaLinux repository ### Clone of the GIT Scalp PetaLinux repository
``` ```
$ cd <SCALP_PROJECT_FOLDER>
$ git clone https://gitedu.hesge.ch/soma/scalp_petalinux.git $ git clone https://gitedu.hesge.ch/soma/scalp_petalinux.git
$ cd scalp_petalinux $ cd scalp_petalinux
$ git checkout SCALP-SAFE-v0.2 $ git checkout SCALP-SAFE-v0.2
...@@ -93,17 +95,18 @@ $ petalinux-create --type project -s <path-to-bsp> --name <PROJECT NAME> ...@@ -93,17 +95,18 @@ $ petalinux-create --type project -s <path-to-bsp> --name <PROJECT NAME>
$ cd <PROJECT NAME> $ cd <PROJECT NAME>
``` ```
In my case **\<path-to-bsp\>** corresponds to /home/jo/Documents/Projets/Hepia/scalp_project/scalp_petalinux/bsp/SCALP-SAFE-FIRMWARE-BSP-V0.01.BSP.bsp In my case **\<path-to-bsp\>** corresponds to /home/jo/Documents/Projets/Hepia/scalp_project/scalp_petalinux/bsp/SCALP-SAFE-FIRMWARE-BSP-V0.2.bsp
### Importing hardware configuration ### Importing hardware configuration
**The hardware description of the project must have been exported from Vivado beforehand.** **The hardware description of the project must have been exported from Vivado beforehand.**
``` ```
$ petalinux-config --get-hw-description=<path-to-hw> --silentconfig $ export SCALP_FIRMWARE_PATH="\<PATH_TO_SCALP_FIRMWARE_PROJECT\>"
$ petalinux-config --get-hw-description=$(find ${SCALP_FIRMWARE_PATH=} -name scalp_safe_firmware.xsa) --silentconfig
``` ```
In my case **\<path-to-hw\>** corresponds to /home/jo/Documents/Projets/Hepia/scalp_project/scalp_firmware/designs/vivado/scalp_safe_firmware/2020.2/lin64/scalp_safe_firmware/scalp_safe_firmware.xsa In my case **\<PATH_TO_SCALP_FIRMWARE_PROJECT\>** corresponds to /home/jo/Documents/Projets/Hepia/scalp_project/scalp_firmware/
#### Directory tree #### Directory tree
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment