[OpenBIOS] [PATCH] qemu better support

Laurent Vivier laurent at lvivier.info
Sun Dec 21 10:55:40 CET 2008

Le 21 déc. 08 à 10:19, Blue Swirl a écrit :

> On 12/21/08, Laurent Vivier <laurent at lvivier.info> wrote:
>> Le 21 déc. 08 à 09:31, Blue Swirl a écrit :
>>> On 12/20/08, Laurent Vivier <laurent at lvivier.info> wrote:
>>>> This patches copies all needed ppc files to qemu and modifies them.
>>>> The generated OpenBIOS image must be loaded at adresse 0xfff00000  
>>>> by
>> Qemu.
>>>> It is able to load Yaboot from disk and Yaboot is able to load  
>>>> Linux,
>> but
>>>> Linux hangs somewhere... of course it needs more work (but this  
>>>> cleans
>> up my
>>>> patch queue).
>>>> Thank you to Blue Swirl and Aurélien Jarno for their help.
>>>> Signed-off-by: Laurent Vivier <Laurent at lvivier.info>
>>> Thanks, applied as r301. The patch introduces new warnings, but I'll
>>> fix them next.
>> Thank you. Sorry for the warnings. Do you want I correct them ?
> Fixed in r302, everything is clean now.
> I noticed the part of ldscript in my version that avoids NVRAM was not
> included, so there are attempts to execute code at 0xfff04000. Maybe
> that causes some the problems you see?

I don't know. But I realize I've integrated your patch partially.  
Could you correct this ?
There is the missing NVRAM part in the ldscript (and more...), and  
arch/ppc/qemu/start.S doesn't include the modification you made about  
the SRI vector.

Feel free to correct all of this as you want.

----------------------- Laurent Vivier ----------------------
"The best way to predict the future is to invent it."
- Alan Kay

More information about the OpenBIOS mailing list