Re: Looking for shell access for (minimal) LLDB testing
Jason Bacon <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]> |
On 2/3/21 1:31 PM, Justin Hibbits wrote: > On Mon, 01 Feb 2021 13:16:38 +0100 > Michał Górny <[email protected]> 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 > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "[email protected]" 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"