Re: Building powerpc (32-bit) packages on amd64
canardo909 <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]> |
I tried to cross-compile as indicated. On a linux machine with 16GB ram (ubuntu 18.04 LTS with Qemu 2.11.1), I run FreeBSD ppc64 12.1 in Qemu Command line sudo qemu-system-ppc64 -M pseries-2.12-sxxm -smp 2 -mem-path /dev/hugepages -drive file=qfreebsdppc64.qcow -m 12G does not work, and I get the following errors (and Qemu does not start) qemu-system-ppc64: unable to map backing store for guest RAM: Cannot allocate memory qemu-system-ppc64: Requested safe bounds check capability level not supported by tcg, try a different value for cap-sbbc After searching on the web, I found the following arguments to add -machine cap-sbbc=broken,cap-ibs=broken The full command line I'm using is then sudo qemu-system-ppc64 -M pseries-2.12-sxxm -smp 2 -mem-path /dev/hugepages -drive file=qfreebsdppc64.qcow -m 12G -machine cap-sbbc=broken,cap-ibs=broken I still get the error qemu-system-ppc64: unable to map backing store for guest RAM: Cannot allocate memory but FreeBSD ppc64 runs. problem is : it is REALLY slow, like 10 times slower than my Powerbook G4 So I tried the following start command (without hugepage, and only 2GB ram) sudo qemu-system-ppc64 -M pseries-2.12-sxxm -smp 2 -drive file=qfreebsdppc64.qcow -m 2G -machine cap-sbbc=broken,cap-ibs=broken It runs, but also REALLY slow. Is there something I'm missing in my settings ? Should I use a more recent version of Qemu ? > Date: Sat, 9 Nov 2019 01:25:35 -0500 > From: Daniel Benjamin Miller <[email protected]> > To: [email protected] > Subject: Building powerpc (32-bit) packages on amd64 > > 1. Run a FreeBSD-CURRENT (powerpc64) virtual machine under Linux, using > the command sudo qemu-system-ppc64 -M pseries-2.12-sxxm -smp 2 -mem-path > /dev/hugepages -drive file=bsd.img -m 12G -boot c as my boot command. > (Before this, you'll need to have a CD attached, of course, in order to > install it.) _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"