You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dynamic-layers/xilinx-core/recipes-bsp/device-tree/device-tree.bbappend a python function sets up FILESEXTRAPATHS and SRC_URI
with the path to PetaLinux scripts as below:
The last line appends the full path of the scripts directory to the SRC_URI.
Because meta-xilinx-core layer.conf sets PLNX_SCRIPTS_PATH as PLNX_SCRIPTS_PATH = "${LAYERDIR}/gen-machine-conf/gen-machine-scripts" and PetaLinux extracts meta-xilinx-core under the project components folder this means that SRC_URI contains a full path to a file under the build folder: file://<...snip machine specific folder...>/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/gen-machine-scripts
This means that the sstate cache for device-tree and all dependant recipes (including the kernel, drivers and anything that depends on them!) is dependant on the location of the build and shared network sstate cache servers don't work properly.
It seems to me that the final append to SRC_URI probably shouldn't be using plnx_scriptspath but just the names of the particular scripts needed under that path.
Best Regards,
Phil Dawson
The text was updated successfully, but these errors were encountered:
vishwamartur
added a commit
to vishwamartur/meta-petalinux
that referenced
this issue
Oct 31, 2024
Related to Xilinx#34
Update `SRC_URI` in `device-tree.bbappend` to avoid using the full path to the PetaLinux scripts directory.
* Remove the line that appends `plnx_scriptspath` to `SRC_URI`.
* Append the names of the particular scripts needed under `plnx_scriptspath` to `SRC_URI`.
Hi,
In
dynamic-layers/xilinx-core/recipes-bsp/device-tree/device-tree.bbappend
a python function sets up FILESEXTRAPATHS and SRC_URIwith the path to PetaLinux scripts as below:
The last line appends the full path of the scripts directory to the SRC_URI.
Because meta-xilinx-core layer.conf sets PLNX_SCRIPTS_PATH as
PLNX_SCRIPTS_PATH = "${LAYERDIR}/gen-machine-conf/gen-machine-scripts"
and PetaLinux extracts meta-xilinx-core under the project components folder this means that SRC_URI contains a full path to a file under the build folder:file://<...snip machine specific folder...>/components/yocto/layers/meta-xilinx/meta-xilinx-core/gen-machine-conf/gen-machine-scripts
This means that the sstate cache for device-tree and all dependant recipes (including the kernel, drivers and anything that depends on them!) is dependant on the location of the build and shared network sstate cache servers don't work properly.
It seems to me that the final append to SRC_URI probably shouldn't be using
plnx_scriptspath
but just the names of the particular scripts needed under that path.Best Regards,
Phil Dawson
The text was updated successfully, but these errors were encountered: