Date: Thu, 4 Feb 2021 07:24:18 -0600 From: Jason Bacon <bacon4000@gmail.com> To: freebsd-ppc@freebsd.org Subject: Re: Looking for shell access for (minimal) LLDB testing Message-ID: <d3533c86-b9d8-72c3-8eaa-22d3c9b23224@gmail.com> In-Reply-To: <20210203133122.6518402f@ralga.knownspace> References: <d38de711f8018b29a8691094e13f6c42cfd9733a.camel@gentoo.org> <20210203133122.6518402f@ralga.knownspace>
index | next in thread | previous in thread | raw e-mail
On 2/3/21 1:31 PM, Justin Hibbits wrote: > On Mon, 01 Feb 2021 13:16:38 +0100 > Michał Górny <mgorny@gentoo.org> wrote: > >> Hello, >> >> I'm working on modernizing LLDB's FreeBSD support. As a part of that, >> I have to port all architecture-specific code to a new process plugin >> architecture, and I'd prefer to test that my code actually works ;-). >> >> Sadly, FWICS FreeBSD doesn't work under qemu-system-ppc [1], and my >> attempts seem to confirm that. For this reason I'd like to ask -- >> would someone be able to grant me user-privilege shell access to a >> machine (or VM) running 32-bit FreeBSD on PowerPC for a few days? >> >> I probably won't need root access, though rsync(1) installed would be >> helpful. I'm going to need around 1G of disk space but I can try to >> squeeze in less than that if necessary. All builds are done on my >> home machine via a cross-compiler, so I won't be using much CPU or >> memory, just some network bandwidth to transfer the data. >> >> TIA for your help. >> >> [1] https://wiki.freebsd.org/QemuRecipes#powerpc >> > Hi Michał, > > I don't have a 32-bit powerpc system available for you to use, but you > should be able to run lldb just fine on the FreeBSD powerpc64 Qemu > recipe. Do you need a 32-bit kernel, or just 32-bit userland? > > If you need a 32-bit kernel, I have successfully run FreeBSD on a > Book-E qemu, so if you can build a MPC85XX kernel, you can run in that. > > - Justin > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" I had some trouble with FreeBSD under qemu a while back and the solution was to specify am older cpu architecture, namely pseries-2.5: #!/bin/sh -e ########################################################################## # Script description: # Install/boot FreeBSD-powerpc on qemu # # History: # Date Name Modification # 2018-07-07 Jason Bacon Begin # # https://wiki.freebsd.org/QemuRecipes ########################################################################## usage() { printf "Usage: $0 install|boot disk-image raw|qcow2 [cd-image]\n" exit 1 } ########################################################################## # Main ########################################################################## if [ $# -lt 3 ]; then usage fi cmd=$1 diskimage=$2 format=$3 case $cmd in install) cdimage=$4 set -x if [ ! -e $diskimage ]; then qemu-img create -f $format $diskimage 20g fi # qemu-system-ppc64 -nographic # qemu-system-ppc64 -m 2048 -machine pseries-2.5 qemu-system-ppc64 -m 2048 -machine pseries-2.5 \ -cdrom $cdimage -drive file=$diskimage,format=$format -boot d ;; boot) qemu-system-ppc64 -m 2048 -machine pseries-2.5 \ -drive file=$diskimage,format=$format -boot c ;; *) usage ;; esac -- Earth is a beta site.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3533c86-b9d8-72c3-8eaa-22d3c9b23224>
