That is the idea yes.louisb wrote:Does this mean that we can build any packages on this VM and they will be identical to those built on the pi? But with more ram available for compiling.
The main potential issue is that some system calls may be missing from qemu which may break some programs the build process tries to run. Also build processes that use ill-advised detection techniques may also break or do the wrong thing (that issue also applies to building on higher hardware than the target though).What if any are the difficulties with this?
YesCan you do apt-get update in the Raspbian chroot?
dunno yet.Finnaly what is the compile speed compared to the pi?
Yes, that is why I set things up inside a virtualbox VM.bbb wrote:Am I right in thinking the switch to user mode emulation means the host has to be Linux (and not windows) ?
I'm not masochistic enough to compile on a Pi but based on a test build of apt on my pentium G system this seems to be slightly slower than building on an imx.louisb wrote:Finnaly what is the compile speed compared to the pi?
Is there a link for this (should there be?) anywhere on the Raspbian website?plugwash wrote:
I've just put together a new virtualbox dev vm for debian and raspbian.
The host system is ubuntu precise and was chosen because it's a LTS release and it ships with a nice modern qemu (unlike debian squeeze which is getting rather long in the tooth).
http://archive.raspbian.org/qemu/rpi-qe ... ev.tar.bz2
Code: Select all
real 22m31.630s user 19m34.157s sys 0m24.718s
Code: Select all
real 59m52.982s user 57m31.910s sys 0m55.460s
remember normal ifconfig only shows interfaces that are up, do "ifconfig -a" to show all interfaces. If you don't have an eth0 but do have an eth1 or so then you probablly want to clear out /etc/udev/rules.d/70-persistent-net.rulesGoneWithTheWind wrote:There's something strange...
I downloaded the VM, booted it with VirtualBox (on a Mac Host) but I can't get the network to work ! It kind of defeats the purpose since I can't git xbmc in order to build it in chroot...
Anyone can help me ?
ps: when doing a ifconfig, the only interface available is lo.