[Barrelfish-users] armv7,armv8 on QEMU?

Reto Achermann reto.achermann at inf.ethz.ch
Sat Jul 22 17:27:16 CEST 2017


Hi,

platforms/Hakefile defines the following target for qemu-system-aarch64

$ make qemu_a57v

QEMU will boot a UEFI firmware which then loads the Hagfish 
(http://git.barrelfish.org/?p=Hagfish;a=summary) bootloader. Hagfish then loads 
the Barrelfish modules. First, the generic boot driver sets up the hardware such 
that the CPU driver will be running in high addresses and EL1.

Note, Barrelfish does not run on qemu-system-aarcht64 at the moment (or anymore).

-- Reto

On 22/07/17 01:04, Timothy Roscoe wrote:
> 
> Hi Mark,
> 
> [ I'm forwarding this to barrelfish-users at lists.inf.ethz.ch; note that
>    email to barrelfish-users-owner at lists.inf.ethz.ch only goes to the
>    administrator of the mailing list. ]
> 
> As you know, we tend to focus on the ARM FVPs, since they are the best
> simulators out there that we've found.  However, there *are* GEM5
> targets for both ARMv7-A and ARMv8-A - 'make help-boot' should list
> them.
> 
> That said, I'm not sure we test GEM5 as part of the current CI tests -
> someone else (Simon?) might be able to confirm or deny this.
> 
> If gem5_armv7 is failing in Kaluga, it's probably because Kaluga has
> incorrect or missing information about where the devices are on the
> VersatileExpress board.  We're in the process of improving how device
> drivers are started, and as part of that it probably makes sense for
> us to add GEM5 regressions to the test harness.
> 
> As for Qemu, I'm much less sure about bootloaders.  Qemu does at least
> emulate the same platform as GEM5, but both a fairly patchy in their
> emulation.
> 
> David wrote the more recent standardized bootloader we use for ARM
> platforms, and may be able to shed light on what's needed for ARMv7
> and/or ARMv8 to boot in Qemu.
> 
> David, Simon?
> 
>   -- Mothy
> 
> 
> 
> 
> 
> 
> At Thu, 20 Jul 2017 22:37:42 -0400, "Goldstein, Mark" <markgoldstein at g.harvard.edu> wrote:
>> Hi Barrelfish Users,
>>
>> Writing from Harvard University.
>>
>> Does anyone have information to share about booting armv7 and armv8
>> Barrelfish on virtualized platforms? We have had some success with ARM
>> Fixed Virtual Platforms, but are hoping that someone might have information
>> about QEMU or Gem5. We have been running armv7 successfully on Pandaboard
>> (this works really well) but would like to move to just
>> virtualized/emulated environments if possible.
>>
>> In particular,
>>
>> - We don't have a few of things necessary for arm QEMU (documented here
>> <https://github.com/Harvard-PRINCESS/Guppy/wiki/Emulated-ARM-boot-sequences,-v7-and-v8>).
>> Are there any bootloaders hanging around somewhere other than the
>> Barrelfish tree that people have used?
>>
>> - gem5 Armv7 gets part way through a slow startup but crashes on SKB/Kaluga
>> modules.
>>
>> Best,
>> Mark Goldstein
>>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> 


More information about the Barrelfish-users mailing list