I created a chroot environment with qemu to get a x86 linux kernel to run on a Raspberry Pi 3. Do you know how to pass the USB port through when running sudo chroot /home/pi/chroot-stretch-i386/ /bin/su -l root
? Is there a config file for that?
Thanks for your help.
sudo chroot...
command you've given doesn't have anything to do with Qemu. It would be theqemu
command that would allow you to define a pass-through.qemu
at any point. Instead, they rely onbinfmt-support
andqemu-user-static
to automatically run foreign-architecture (x86) binaries throughqemu
. So it would seem to be necessary to investigate configuration files in/usr/share/binfmts
to find the wrapper script that will runqemu
for x86 binaries, and then find a suitable place to modify the actualqemu
invocation to enable USB passthrough. I don't have such a set-up at the moment so I cannot check the details, can someone else continue from here?