qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "René Rebe" <rene@exactcode.de>
To: qemu-devel@nongnu.org
Cc: =?ISO-8859-1?Q?Andreas_F=E4r?=@gnu.org,
	ber <andreas.faerber@web.de>, " Revol" <revol@free.fr>,
	"Laurent Vivier" <laurent@lvivier.info>,
	=?ISO-8859-1?Q?Fran=E7ois?=@gnu.org
Subject: Re: [Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?)
Date: Mon, 24 Nov 2008 09:34:28 +0100	[thread overview]
Message-ID: <492A6714.5030406@exactcode.de> (raw)
In-Reply-To: <f43fc5580811231055o34f9178fkfc6693b3a7d803d9@mail.gmail.com>

Blue Swirl wrote:
> On 11/16/08, Laurent Vivier <laurent@lvivier.info> wrote:
>   
>>  Le 16 nov. 08 à 20:32, Blue Swirl a écrit :
>>
>>
>>
>>     
>>> On 11/11/08, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
>>>
>>>       
>>>> Le lundi 10 novembre 2008 à 21:01 +0100, Andreas Färber a écrit :
>>>>
>>>>
>>>>         
>>>>> Am 09.11.2008 um 23:07 schrieb François Revol:
>>>>>
>>>>>
>>>>>           
>>>>>>>>> Though I still can't seem to get OpenHackware to read the CD:
>>>>>>>>> ERROR: ATAPI TEST_UNIT_READY : status 50 != 0x40
>>>>>>>>>
>>>>>>>>>                   
>>>>>>>> I suppose OpenHackware only compares instead of checking the
>>>>>>>>                 
>> ready
>>     
>>>>>>>> bit...
>>>>>>>>
>>>>>>>>                 
>>>>>>>               
>>>>>> 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.
>>>>>
>>>>>
>>>>>           
>>>>>> 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?
>>>>>
>>>>>           
>>>> No, I stopped working on this because I had no time.
>>>>
>>>> In fact, if I remember correctly, OpenHW initializes PCI devices whereas
>>>> OpenBIOS doesn't, I've started working on this but it is too much work
>>>> form me. I had a working OpenBIOS, able to start a kernel (at some
>>>> time), but stopping during boot.
>>>>
>>>> If someone is interested (perhaps) I can find my patches and send them
>>>> (privately).
>>>>
>>>>         
>>> I would be interested. I finally created a PowerPC cross compiler and
>>> I'd like to test OpenBIOS for PPC.
>>>
>>>       
>>  Yes, Andreas had the same request.
>>  For the moment I'm trying to re-create a cross-compiler to test and sort my
>> patches.
>>     
>
> With the attached hack I'm able to boot
> debian-40r5-powerpc-businesscard.iso, though it hangs after:
> Calling quiesce ...
> returning from prom_init
>
> The same happens with 0.8.2, so I think Qemu is in a way "correct".
> Now all I need to do is to find a nice OS that really can be
> installed. Any suggestions?
>   
That's probably due:

 > Second, Linux 2.6 flatten_device_tree stuff in 
arch/powerpc/kernel/prom_init.c
 > check for a return value of 1, as I do not have the IEEE spec on my desk
 > I assumed it means success, and with the change the flattened device
 > tree is no longer empty, helping a great deal continuing to boot ...

As I reported and provided a patch for on 05/06/2008 06:00 PM.
[Qemu-devel] [PATCH] fix PPC OpenHackWare for Linux 2.6

Yours,
  Rene

-- 
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

  reply	other threads:[~2008-11-24  8:34 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07  3:16 [Qemu-devel] qemu-system-ppc broken ? François Revol
2008-11-07  7:08 ` Aurelien Jarno
2008-11-07  7:53   ` François Revol
2008-11-07  8:19     ` [Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?) François Revol
2008-11-07  8:28       ` François Revol
2008-11-09 22:07         ` François Revol
2008-11-09 22:11           ` François Revol
2008-11-10 20:01           ` Andreas Färber
2008-11-10 20:27             ` François Revol
2008-11-10 20:56               ` Andreas Färber
2008-11-10 21:16                 ` François Revol
2008-11-11 17:31                   ` Blue Swirl
2008-11-11 17:58                     ` Andreas Färber
2008-11-11 17:28               ` Blue Swirl
2008-11-11 19:54             ` Laurent Vivier
2008-11-16 19:32               ` Blue Swirl
2008-11-16 19:40                 ` Laurent Vivier
2008-11-23 18:55                   ` Blue Swirl
2008-11-24  8:34                     ` René Rebe [this message]
2008-11-24 16:32                       ` Andreas Färber
2008-11-27 15:13                     ` Shin-ichiro KAWASAKI
2008-11-07 16:38   ` [Qemu-devel] qemu-system-ppc broken ? Laurent Desnogues
2008-11-08  8:57     ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492A6714.5030406@exactcode.de \
    --to=rene@exactcode.de \
    --cc==?ISO-8859-1?Q?Andreas_F=E4r?=@gnu.org \
    --cc==?ISO-8859-1?Q?Fran=E7ois?=@gnu.org \
    --cc=andreas.faerber@web.de \
    --cc=laurent@lvivier.info \
    --cc=qemu-devel@nongnu.org \
    --cc=revol@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).