qemu: Question about including Facebook's Yosemite board

Joel Stanley joel at jms.id.au
Mon May 2 12:36:19 AEST 2016


On Sun, May 1, 2016 at 5:57 AM, Teddy Reed <teddy.reed at gmail.com> wrote:
> I'd like to model the Facebook Yosemite board in QEMU, which from the
> QEMU model perspective, is almost equivalent to the Palmetto. The only
> requirement for the board, outside of the AST2400 capabilities, is the
> inclusion of 2 flashes.
>
> Here's an example of what I mean:
> https://github.com/theopolis/qemu/blob/bc20ef6a7a17f8424571234d4429e7e6b67f17e8/hw/arm/fbyosemite-bmc.c#L78

Great! This is really useful.

> If you don't mind including those flash definitions in the Palmetto
> model I can save some QEMU complexity by not adding another board
> definition, which IMO is ideal. If that's the case, I can also submit
> a patch to add the flashes ASAP.

I'm torn. Similar to Andrew's work to get the GEM ethernet device
working in the palmetto board, I'm not sure we want to add hacks to
that don't represent the physical system. OTOH, it's nice to be able
to boot a flash image in Qemu.

What do you think?

Cheers,

Joel


More information about the openbmc mailing list