This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Conversation
Contributor
Author
|
To use the backport driver, modify GSRD's diff --git a/build.sh b/build.sh
index 014db24..930e0d9 100755
--- a/build.sh
+++ b/build.sh
@@ -143,6 +143,7 @@ build_setup() {
echo -e "\n[INFO] Update bblayers.conf"
bitbake-layers add-layer ../meta-intel-fpga
bitbake-layers add-layer ../meta-intel-fpga-refdes
+ bitbake-layers add-layer ../meta-ofs
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
@@ -166,6 +167,8 @@ build_setup() {
echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-socfpga-lts"' >> conf/site.conf
echo "PREFERRED_VERSION_linux-socfpga-lts = \"`cut -d. -f1-2 <<< "$LINUX_VER"`%\"" >> conf/site.conf
echo "KBRANCH = \"$LINUX_SOCFPGA_BRANCH\"" >> conf/site.conf
+ # Linux DFL
+ echo "MACHINE_ESSENTIAL_EXTRA_RDEPENDS += \"intel-fpga-dfl-mod\"" >> conf/site.conf
# U-boot
echo 'PREFERRED_PROVIDER_virtual/bootloader = "u-boot-socfpga"' >> conf/site.conf
echo "UBOOT_CONFIG:${MACHINE} = \"$UB_CONFIG\"" >> conf/site.confhttps://docs.yoctoproject.org/kernel-dev/common.html#incorporating-out-of-tree-modules |
2d56def to
98a2d12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an early draft that substitues the Linux DFL backport driver for the Linux DFL kernel, to build against the existing kernel used in the Yocto image, e.g., the IOTG Yocto BSP kernel or the GSRD SoC FPGA kernel.
This complements OFS/linux-dfl-backport#115 and OFS/linux-dfl-backport#116.