Running i386 binaries with QEMU ?

Ask questions about Arch Linux ARM. Please search before making a new topic.

Running i386 binaries with QEMU ?

Postby dhead666 » Sun Mar 23, 2014 9:13 am

I'm interest in running i386 binaries on my Armv7 device, Cubox-i2, mainly in order to get my Brother MFC-7860DW printer work with the Cubox-i.
From what I gather while for the lpr driver only binaries exist, for the Cupswrapper sources are available so I might be able to readapt the code to call qemu-i386 (still need to test this theory).

It doesn't seems like qemu is on the ALARM repositories so I guess I should create my own package.

What I like to know is there any limitation that I'm not aware of in running or building qemu on/for Armv7h ?
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: Running i386 binaries with QEMU ?

Postby moonman » Sun Mar 23, 2014 10:11 am

qemu is buggy. qemu-386 can interpret x86 executable on arm. How are you going to use it to interpret a binary driver (which is something you can't execute)? you might have to run the whole x86 cups and it's dependencies, probably easier if you set up a whole x86 chroot. Though last time I tried it, it did not work because of a bug in qemu (which is fixed now supposedly: https://bugs.launchpad.net/qemu/+bug/739785)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Running i386 binaries with QEMU ?

Postby dhead666 » Sun Mar 23, 2014 5:14 pm

@moonman

The cupswrapper isn't the issue as the source code is available.
From a quick glace in the source it look like the cupswrapper is executing binaries from the lpr driver.

I'm not sure how Linux is handling the lpr driver and if all the binaries are executable
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 12 guests