Gavinmc42 wrote: ↑
Sun Apr 29, 2018 1:25 am
Am I right that this could speed up porting 32bit stuff to Aarch64 Pi's?
Yes, absolutely, for example I built 64-bit firefox-59.0.2 that way yesterday for the RPi3, in 1 hr 44 mins from source (just pushed to the binhost, btw). That's more than an order of magnitude faster than building locally on an RPi3 (assuming the latter didn't swap itself to death first ^-^).
The technique is quite a popular one in the embedded development community (see e.g. this post
from 2012, for 32-bit arm), and QEMU's syscall mapping etc. has gotten good enough for aarch64 to allow it to be used for (most
) 64-bit build targets for the RPi3 now.
It is worth getting a reasonably spec'd machine to use as the PC buildserver, if you go down this route. With sufficient memory, you can even mount the target rootfs in RAM while working on it ^-^