[OpenBIOS] Getting Closer With Booting AIX? I Would Like to Help Please.

Kenneth Salerno kennethsalerno at yahoo.com
Mon May 23 23:44:48 CEST 2011


----- Original Message -----

From: Andreas Färber <andreas.faerber at web.de>
To: The OpenBIOS Mailinglist <openbios at openbios.org>
Cc: 
Sent: Monday, May 23, 2011 4:14 PM
Subject: Re: [OpenBIOS] Getting Closer With Booting AIX? I Would Like to Help Please.

Am 23.05.2011 um 20:08 schrieb Kenneth Salerno:

> can someone please look into this change I always have to make to get OpenBIOS ppc64 to compile? :)
> 
> --- arch/ppc/qemu/methods.c.ORIG        2011-05-23 14:00:23.832161400 -0400
> +++ arch/ppc/qemu/methods.c     2011-05-23 14:00:36.769661400 -0400
> @@ -38,7 +38,7 @@
>  rtas_instantiate( void )
>  {
>         ucell physbase = POP();
> -       ucell s=0x1000, size = (ucell)of_rtas_end - (ucell)of_rtas_start;
> +       ucell s=0x1000, size = (ducell)of_rtas_end - (ducell)of_rtas_start;
>         unsigned long virt;
> 
>         while( s < size )

First mention thereof, no error here.

Anyway, the real fix will be to change the cell size on ppc64 to 64-bit and to revert any workarounds for 32-bit ucell I applied before. That way, the size of ucell will be large enough for ptrdiff_t, too.

Now that I have QEMU working again for debugging, I'll focus on the cell issue the next days.

If you feel tempted to investigate the magic 260 further that would be appreciated. You posted logs of -m 1024, does it work with -m 259 and break with -m 260? Or is it different numbers on your host?

Cheers,
Andreas

--OpenBIOS                http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you


The reason no one else has noticed this ucell/ducell compiler warning is because I'm probably the only one using such a recent version of GCC as my cross-compiler. It gets caught with -Werror

Ken




More information about the OpenBIOS mailing list