[coreboot] [Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?)

Blue Swirl blauwirbel at gmail.com
Tue Nov 11 18:28:18 CET 2008


Crossposted to OpenBIOS and Coreboot lists.


On 11/10/08, François Revol <revol at free.fr> wrote:
> > > The attached patch makes OpenHackware happy again.
>  > > At least qemu-system-ppc can now start debian iso, and mine as well
>  > [...]
>  > > OpenHackware should be fixed instead, but it seems the binary in
>  > > svn
>  > > has been updated after the last sources I found
>  > [...]
>  > > Seems the last update was already about ATAPI...
>  > > Anyone has the latest source used ?
>  > > I could at least fix it to check for bits on errors...
>  >
>  > Rene Rebe recently posted some diff against qemu's OHW diff, but it
>  > appeared to be whitespace-damaged.
>
>
> Ohhh, I didn't even notice ohw.diff in pc-bios/ despite looking for
>  one!
>  I'll try to dig that one on gmane.org.
>
>  I just hope it's easier to build than OpenBIOS...
>
>
>  > > Of course it'd be much better to switch to a real OF instead...
>  > > but I don't have the time for that, couldn't find usable OpenBIOS
>  > > images,
>  >
>  > I once tried to get OpenBIOS working but failed, Laurent appeared to
>  > get some further - any update on that?
>
>
> I tried building it for PPC yesterday, but I only had an powerpc-apple-
>  haiku- gcc around, and it didn't like it... Even after pointing it to
>  find our stdint.h and endian.h (WTF does it need OS headers to build a
>  BIOS ???).
>  It seems to be doing nasty things with m4 macros on C headers, really
>  ugly.

The M4 macro nastiness seems to be limited to the asm files only and
even then the macros  are not used. It should be possible to remove
the macros with little effort.

Maybe they are a leftover from something earlier?

>  > > and it see[m]s CoreBoot v2 and v3 don't support ppc yet.
>  >
>  > I believe CoreBoot is unrelated to ppc, it replaces the x86 BIOS. It
>  > does allow to use OpenBIOS (Open Firmware) as payload but not the
>  > other direction - Blue Swirl used some assembler wizardry to
>  > bootstrap
>  > the sparc OpenBIOS.
>
>
> CoreBoot actually supports more arch than just x86:
>  http://www.coreboot.org/Supported_Chipsets_and_Devices
>
>  But only v1 seemed to have ppc support.

Perhaps PPC support can be revived?


More information about the coreboot mailing list