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

wip:Try with FPGA manager

parent 148d6c39
Branches
No related tags found
No related merge requests found
Showing
with 907 additions and 210 deletions
FofbNode_CellNode_0.0.0-58-g8b459c6a-laboca-el7-1.ica_ch1.mapt
\ No newline at end of file
This diff is collapsed.
FofbNode_CellNode_0.0.0-58-g8b459c6a-laboca-el7-1.ica
FofbNode_CentralNode_0.4.1-2-g8b459c6a-laboca-el7-1.ica
......@@ -9,7 +9,7 @@ INITSCRIPT_NAME = "fofb-opcua-server.sh"
INITSCRIPT_PARAMS = "defaults 91"
inherit update-rc.d
SRC_URI = " file://app.mapt \
SRC_URI = " file://app_*.mapt \
file://devices.dmap \
file://generic_chimeratk_server_configuration.xml \
file://fofb-opcua-server.sh \
......@@ -22,12 +22,19 @@ FILES_${PN}+="/etc/init.d/fofb-opcua-server.sh"
do_compile() {
# Replace BAR by 0
awk 'FNR>1 {$5=0} {print}' ${WORKDIR}/app.mapt > ${WORKDIR}/app_bar0.mapt
for f in ${WORKDIR}/app_*.mapt
do
awk 'FNR>1 {$5=0} {print}' $f > ${WORKDIR}/bar0_$(basename $f)
done
}
do_install() {
install -d ${D}/opt/fofb-opcua-server/
install -m 0644 ${WORKDIR}/app_bar0.mapt ${D}/opt/fofb-opcua-server/app.mapt
for f in ${WORKDIR}/bar0_*.mapt
do
b=$(basename $f)
install -m 0644 $f ${D}/opt/fofb-opcua-server/${b#"bar0_"}
done
install -m 0644 ${WORKDIR}/devices.dmap ${D}/opt/fofb-opcua-server/devices.dmap
install -m 0644 ${WORKDIR}/generic_chimeratk_server_configuration.xml ${D}/opt/fofb-opcua-server/generic_chimeratk_server_configuration.xml
......
FofbNode_CellNode_0.0.0-58-g8b459c6a-laboca-el7-1.ica
File added
FofbNode_CentralNode_0.4.1-2-g8b459c6a-laboca-el7-1.ica
FofbNode_CellNode_0.0.0-58-g8b459c6a-laboca-el7-1.ica.xsa
\ No newline at end of file
# Written from techlab demo. Only one FPGA is targeted for us
PL_VARIANTS_damc-fmc2zup = "zu11eg zu19eg"
ZUP_FPGA_VARIANT ?= "zu11eg"
PL_VARIANTS_damc-fmc2zup = "cellnode centralnode"
ZUP_FPGA_VARIANT ?= "cellnode"
# Default variant is selected if fpga-manager is not enabled
PL_DEFAULT_VARIANT_damc-fmc2zup = "${ZUP_FPGA_VARIANT}"
# Give info on the HDF file
......
......@@ -20,9 +20,6 @@ IMAGE_FEATURES_append = " \
debug-tweaks \
"
# If we want FPGA manager
#IMAGE_FEATURES_append = " fpga-manager"
# Add applications
IMAGE_INSTALL_append = " packagegroup-zup-support"
IMAGE_INSTALL_append = " util-linux glibc-utils sudo"
......@@ -31,6 +28,7 @@ IMAGE_INSTALL_append = " deviceaccess"
IMAGE_INSTALL_append = " deviceaccess-python-bindings"
IMAGE_INSTALL_append = " fofb-opcua-server"
IMAGE_INSTALL_append = " xilinx-xvc-server"
IMAGE_FEATURES_append = " fpga-manager"
#IMAGE_INSTALL_append = " python3-pytango"
# We do not need that
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment