Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-xilinx-helper-native: Install qemu-oe-bridge-helper #44

Open
wants to merge 1 commit into
base: honister-next
Choose a base branch
from

Conversation

cmtptr
Copy link

@cmtptr cmtptr commented Aug 26, 2022

This is required to support runqemu with the "bridge=" option.

This is required to support runqemu with the "bridge=" option.
@cmtptr
Copy link
Author

cmtptr commented Aug 26, 2022

I also have a patch to enhance runqemu to go along with this so that the setup_net_bridge() function uses the QB_NETWORK_DEVICE setting instead of a hard-coded network device which I will be submitting just as soon as I can figure out where and how...

@cmtptr
Copy link
Author

cmtptr commented Sep 14, 2022

There is also another problem with this recipe which I only just discovered. Installing artifacts directly to ${STAGING_BINDIR_NATIVE} seems wrong. In the context of the qemu-xilinx-helper-native recipe, this value is ${BUILDDIR}/tmp/work/${BUILD_ARCH}/..., but in the context of an image recipe (where this variable is referenced from qemuboot-xilinx.bbclass), the value is ${BUILDDIR}/tmp/work/${MACHINE_ARCH}/..., so qemuboot is unable to find the executables installed by this recipe.

I really think it would be best if this recipe would look identical to the qemu-helper-native_1.0.bb recipe from oe-core, but substituting the DEPENDS and RDEPENDS as necessary.
https://github.com/Xilinx/poky/blob/master/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
In rel-v2021.2 this was accomplished by simply requiring the original recipe and then performing the substitutions. Maybe it should revert back to that model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant