[Cin] qemu-system-ppc (was: Re: cinelerra-gg on ppc64el )

Andrew Randrianasulu randrianasulu at gmail.com
Fri Feb 22 15:48:24 CET 2019


В сообщении от Friday 22 February 2019 12:24:08 Andrew Randrianasulu написал(а):
> I know emulator can have their own set of bugs, yet for those without ppc
> hardware qemu can emulate something:
>
> http://forum.hyperion-entertainment.com:80/viewtopic.php?f=58&t=4007&start=
>60
>
> from this forum:
> qemu-system-ppc64 -M ppce500 -cpu e5500 -m
> 2048 -kernel /home/christian/Downloads/uImage-4.17-without_corenet -drive
> file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_
>MATE_16.04_PowerPC.img,index=0,if=virtio -net nic,vlan=0,model=e1000 -net
> user,vlan=0 -append "rw root=/dev/vda3" -device virtio-vga -device
> virtio-mouse-pci -device virtio-keyboard-pci
>
> my comment - mttcg (smp acceleration) require host bitness == guest
> bitness, so, use 64-bit build of qemu.
>
> I presonally only tried qemu-system-ppc on 32-bit host.
>
> with http://www.xenosoft.de/vmlinux-4.17-AmigaOne_X1000_X5000.tar.gz
>
> I tried
>
>  qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2040 -smp
> 8  -kernel
> /dev/shm/vmlinux-4.17-AmigaOne_X1000_X5000/QEMU_e5500/uImage-4.17 -display
> sdl,gl=on - and with sdl video output it showed qemu's internal monitor and
> serial output from virtual board - try to ctrl-alt-1 / ctrl-alt-2 for
> switching between outputs .... Note , sdl windows can be stacked one over
> another, so try to move them via window title.
>
> this specific kernel apparently configured for 4 cpu machine, but you can
> try to compile it differently.... (for bigger numbers of cpus).
>
> qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2040 -smp
> 4  -kernel
> /dev/shm/vmlinux-4.17-AmigaOne_X1000_X5000/QEMU_e5500/uImage-4.17
> -nographic
>
> started to output directly to X console, and I again forgot how to quite it
> properly from this mode :/ [*]
>
>
> -----from stdout----
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
>
> ....
> [    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at fe0040000,
> max 4 CPUs
> ....
>
> [    0.339297] smp: Bringing up secondary CPUs ...
> [    0.475285] smp: Brought up 1 node, 4 CPUs
>
>
> qemu maillist:
> https://lists.gnu.org/archive/html/qemu-devel/2019-02/
>
> [*]
> https://superuser.com/questions/1087859/how-to-quit-the-qemu-monitor-when-n
>ot-using-a-gui?rq=1
>
> Ctrl-A , C ... it seems
>
> Note, this is BE (big endian) machine, and e5500  doesn't support altivec.
> -cpu g4 will give you altivec, yet emulated Mac machines (-M mac99, -M
> g3beige for qemu-system-ppc) are single-processor only, so compiling stuff
> (esp. like Cinelerra) will take a lot of time ..


Actually, I'm building with ppc64le as emulated by qemu right now.

https://buggy.link/2018/01/31/ppc64le-on-x86_64-qemu-full-system-emulation.html

https://wiki.alpinelinux.org/wiki/Ppc64le

qemu-system-ppc64 -m 1024 -hda alpine_disk.img -cdrom 
alpine-vanilla-3.7.0-ppc64le.iso -display sdl,gl=on

(yes, it works with graphics, even if I was forced to use 'xf86-video-fbdev' via 
custom xorg.conf due to nomodeset kernel option)

It seems few third-party libs in Cinlerra-GG fail to guess os correctly, but 
replasing their config.guess with one provided by package (automake-1.15) fixed 
this error ...

https://bugzilla.redhat.com/show_bug.cgi?id=1139354

ooops, guess liba52 from thirdparty just wrongly guessed oss as soundsystem :}
time to fix this too

>
> В сообщении от Thursday 21 February 2019 01:52:36 Daniel Reurich написал(а):
> > That works...
> >
> > Is there an included recipe for building .debs using the standard debian
> > tool chain?
> >
> > Thanks,
> > 	Daniel
> >
> > On 21/02/19 10:52, Good Guy wrote:
> > > https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=summary
> > > https://www.cinelerra-gg.org/downloads/
> > > and:
> > > git clone "git://git.cinelerra-gg.org/goodguy/cinelerra.git
> > > <http://git.cinelerra-gg.org/goodguy/cinelerra.git>"
> > >
> > > if this is not all that it takes, let me know...
> > >
> > > gg
> > >
> > >
> > >
> > > On Wed, Feb 20, 2019 at 2:28 PM Daniel Reurich <daniel at centurion.net.nz
> > > <mailto:daniel at centurion.net.nz>> wrote:
> > >
> > >     Hi,
> > >
> > >     I'm a Developer for Devuan GNU/Linux - the Debian fork.  I've been
> > > using cinelerra on and of for casual video editing for years.... I'm
> > > stuck on it and can't seem to find anything else that is open source
> > > and has the features I like.
> > >
> > >     Anyway, I have a RaptorCS TalosII server - 64bit powerppc with dual
> > >     8core - 4 symmetric threads per core running Devuan GNU/Linux - see
> > >     www.devuan.org <http://www.devuan.org> - ( my other time consuming
> > >     hobby ).  I would like to
> > >     build cinelerra-gg for the ppc64el architecture - mostly to use as
> > > at this stage as a render node for a project I"m working on.
> > >
> > >     What I'd like is a url to the git repo so I can pull the source
> > > tree - I prefer this to using tar balls.
> > >
> > >     Thanks,
> > >             Daniel.
> > >
> > >     --
> > >     Daniel Reurich
> > >     Centurion Computer Technology (2005) Ltd.
> > >     021 797 722
> > >
> > >     --
> > >     Cin mailing list
> > >     Cin at lists.cinelerra-gg.org <mailto:Cin at lists.cinelerra-gg.org>
> > >     https://lists.cinelerra-gg.org/mailman/listinfo/cin




More information about the Cin mailing list