Emulating another SBC with QEMU? (XU4)

Post Reply
tretcherousjoe
Posts: 4
Joined: Fri Sep 20, 2019 12:10 am
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Emulating another SBC with QEMU? (XU4)

Unread post by tretcherousjoe » Fri Sep 20, 2019 12:16 am

Greetings!

Is it possible to emulate another SBC (for example Raspi2) with QEMU?

I have an XU4.

User avatar
mad_ady
Posts: 6674
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 194 times
Been thanked: 148 times
Contact:

Re: Emulating another SBC with QEMU? (XU4)

Unread post by mad_ady » Fri Sep 20, 2019 2:43 am

What do you want to achieve? CPU doesn't need emulation since both systems are armhf. However each soc is different (different gpu, different video decoder block, etc) and these things can't be emulated with qemu.
Tell us what you want to do - maybe there's a less painful way to do it...

tretcherousjoe
Posts: 4
Joined: Fri Sep 20, 2019 12:10 am
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Emulating another SBC with QEMU? (XU4)

Unread post by tretcherousjoe » Fri Sep 20, 2019 3:27 am

I want to have a sort of virtual machine, a sandboxed environment. For example I would like to let an IPFS node to run in this environment.

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: Emulating another SBC with QEMU? (XU4)

Unread post by meveric » Fri Sep 20, 2019 7:08 am

That is what Linux containers (LXC) or Docker is for.
You can even use KVM to directly run virtual machines on the XU4.

Please note, there's a difference between virtualization and emulation.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

tretcherousjoe
Posts: 4
Joined: Fri Sep 20, 2019 12:10 am
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Emulating another SBC with QEMU? (XU4)

Unread post by tretcherousjoe » Thu Sep 26, 2019 7:49 pm

Wonderful! Checked it out, and it is just what I needed, thank you very much!

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests