* [Qemu-devel] PPC Haiku
@ 2009-02-17 13:48 François Revol
2009-02-17 13:57 ` Laurent Vivier
0 siblings, 1 reply; 11+ messages in thread
From: François Revol @ 2009-02-17 13:48 UTC (permalink / raw)
To: qemu-devel
It seems the ppc OF loader for Haiku finally starts in OpenBIOS on qemu
:)
Though it currently stops here:
http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/platform/openfirmware/arch/ppc/mmu.cpp#L963
It seems OpenBIOS doesn't call the loader with translation turned on or
something alike. I thought OF specs required it, but it seems OpenBIOS
isn't alone there...
We will have to handle this case by creating the mappings ourselves it
seems...
For those interested in trying it, cf.
http://www.haiku-os.org/documents/dev/getting_linux_developer_tools
http://www.haiku-os.org/documents/dev/building_haiku_on_ubuntu_linux_step_by_step
You'd just use "ppc" instead of "x86" when running configure, with gcc4
since gcc2 is useless for ppc (just used for binary compatibility on
x86).
Then you can either build the full image:
jam -q haiku-image
which isn't bootable yet, or just go directly to the boot HFS/ISO:
jam -q haiku-boot-cd-ppc
I use then:
qemu-system-ppc -serial stdio -cdrom generated/haiku-boot-cd-ppc.iso -
boot d
François.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 13:48 [Qemu-devel] PPC Haiku François Revol
@ 2009-02-17 13:57 ` Laurent Vivier
2009-02-17 14:08 ` François Revol
0 siblings, 1 reply; 11+ messages in thread
From: Laurent Vivier @ 2009-02-17 13:57 UTC (permalink / raw)
To: François Revol; +Cc: qemu-devel
Le 17 févr. 09 à 14:48, François Revol a écrit :
> It seems the ppc OF loader for Haiku finally starts in OpenBIOS on
> qemu
> :)
>
> Though it currently stops here:
> http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/platform/openfirmware/arch/ppc/mmu.cpp#L963
>
> It seems OpenBIOS doesn't call the loader with translation turned on
> or
> something alike. I thought OF specs required it, but it seems OpenBIOS
> isn't alone there...
OpenBIOS is running with enabled MMU and doesn't turn it off when it
call the loader.
>
> We will have to handle this case by creating the mappings ourselves it
> seems...
It seems there are pegasos and OpenHackware workaround, did you try
to remove them ?
Could you give me more details ?
Where can I download the ISO ?
Laurent
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 13:57 ` Laurent Vivier
@ 2009-02-17 14:08 ` François Revol
2009-02-17 15:34 ` Blue Swirl
0 siblings, 1 reply; 11+ messages in thread
From: François Revol @ 2009-02-17 14:08 UTC (permalink / raw)
To: qemu-devel
> > It seems OpenBIOS doesn't call the loader with translation turned
> > on
> > or
> > something alike. I thought OF specs required it, but it seems
> > OpenBIOS
> > isn't alone there...
>
> OpenBIOS is running with enabled MMU and doesn't turn it off when it
> call the loader.
Hmm ok so it's because it doesn't find it...
Is there a way to get the OpenBIOS console to serial ?
I tried -prom-env output-device=ttyb or ttya to no avail.
Also tried the OFW thing "com1 io"...
> > We will have to handle this case by creating the mappings ourselves
> > it
> > seems...
>
> It seems there are pegasos and OpenHackware workaround, did you try
> to remove them ?
They are not triggered it seems:
>
> Could you give me more details ?
Anyway here if what it prints:
checking for memory...
0: base = 0x00000000, size = 134217728
1: empty region
total physical memory = 128 MB
suggested page table size = 1048576
need new page table, size = 1048576!
new table at: 0x07d00000
MSR: 0x00003030
found 4 translations
found page table!
no mapping for the exception handlers!
>
> Where can I download the ISO ?
http://revolf.free.fr/beos/haiku-boot-cd-ppc.iso
François.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 14:08 ` François Revol
@ 2009-02-17 15:34 ` Blue Swirl
2009-02-17 16:23 ` François Revol
0 siblings, 1 reply; 11+ messages in thread
From: Blue Swirl @ 2009-02-17 15:34 UTC (permalink / raw)
To: qemu-devel
On 2/17/09, François Revol <revol@free.fr> wrote:
> > > It seems OpenBIOS doesn't call the loader with translation turned
> > > on
> > > or
> > > something alike. I thought OF specs required it, but it seems
> > > OpenBIOS
> > > isn't alone there...
> >
> > OpenBIOS is running with enabled MMU and doesn't turn it off when it
> > call the loader.
>
>
> Hmm ok so it's because it doesn't find it...
>
> Is there a way to get the OpenBIOS console to serial ?
> I tried -prom-env output-device=ttyb or ttya to no avail.
> Also tried the OFW thing "com1 io"...
With OpenBIOS r452 (two days old), you can simply use -nographic.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 15:34 ` Blue Swirl
@ 2009-02-17 16:23 ` François Revol
2009-02-17 17:12 ` Blue Swirl
0 siblings, 1 reply; 11+ messages in thread
From: François Revol @ 2009-02-17 16:23 UTC (permalink / raw)
To: qemu-devel
> On 2/17/09, François Revol <revol@free.fr> wrote:
> > > > It seems OpenBIOS doesn't call the loader with translation
> > > > turned
> > > > on
> > > > or
> > > > something alike. I thought OF specs required it, but it seems
> > > > OpenBIOS
> > > > isn't alone there...
> > >
> > > OpenBIOS is running with enabled MMU and doesn't turn it off
> > > when it
> > > call the loader.
> >
> >
> > Hmm ok so it's because it doesn't find it...
> >
> > Is there a way to get the OpenBIOS console to serial ?
> > I tried -prom-env output-device=ttyb or ttya to no avail.
> > Also tried the OFW thing "com1 io"...
>
> With OpenBIOS r452 (two days old), you can simply use -nographic.
Ah nice, but it's not in qemu svn yet is it ? ;)
François.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 16:23 ` François Revol
@ 2009-02-17 17:12 ` Blue Swirl
2009-02-17 21:47 ` Alexander Graf
0 siblings, 1 reply; 11+ messages in thread
From: Blue Swirl @ 2009-02-17 17:12 UTC (permalink / raw)
To: qemu-devel
On 2/17/09, François Revol <revol@free.fr> wrote:
> > On 2/17/09, François Revol <revol@free.fr> wrote:
> > > > > It seems OpenBIOS doesn't call the loader with translation
> > > > > turned
> > > > > on
> > > > > or
> > > > > something alike. I thought OF specs required it, but it seems
> > > > > OpenBIOS
> > > > > isn't alone there...
> > > >
> > > > OpenBIOS is running with enabled MMU and doesn't turn it off
> > > > when it
> > > > call the loader.
> > >
> > >
> > > Hmm ok so it's because it doesn't find it...
> > >
> > > Is there a way to get the OpenBIOS console to serial ?
> > > I tried -prom-env output-device=ttyb or ttya to no avail.
> > > Also tried the OFW thing "com1 io"...
> >
> > With OpenBIOS r452 (two days old), you can simply use -nographic.
>
>
> Ah nice, but it's not in qemu svn yet is it ? ;)
No, because the previous one (r450) is 9 days old and still nobody has
reported any bugs with it, so it must be perfect and there is no need
to update the image. ;-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 17:12 ` Blue Swirl
@ 2009-02-17 21:47 ` Alexander Graf
2009-02-17 22:17 ` Laurent Vivier
0 siblings, 1 reply; 11+ messages in thread
From: Alexander Graf @ 2009-02-17 21:47 UTC (permalink / raw)
To: qemu-devel@nongnu.org
On 17.02.2009, at 18:12, Blue Swirl <blauwirbel@gmail.com> wrote:
> On 2/17/09, François Revol <revol@free.fr> wrote:
>>> On 2/17/09, François Revol <revol@free.fr> wrote:
>>>>>> It seems OpenBIOS doesn't call the loader with translation
>>>>>> turned
>>>>>> on
>>>>>> or
>>>>>> something alike. I thought OF specs required it, but it seems
>>>>>> OpenBIOS
>>>>>> isn't alone there...
>>>>>
>>>>> OpenBIOS is running with enabled MMU and doesn't turn it off
>>>>> when it
>>>>> call the loader.
>>>>
>>>>
>>>> Hmm ok so it's because it doesn't find it...
>>>>
>>>> Is there a way to get the OpenBIOS console to serial ?
>>>> I tried -prom-env output-device=ttyb or ttya to no avail.
>>>> Also tried the OFW thing "com1 io"...
>>>
>>> With OpenBIOS r452 (two days old), you can simply use -nographic.
>>
>>
>> Ah nice, but it's not in qemu svn yet is it ? ;)
>
> No, because the previous one (r450) is 9 days old and still nobody has
> reported any bugs with it, so it must be perfect and there is no need
> to update the image. ;-)
Can that one boot opensuse cds already? If not, feel free to take this
as a bug report :)
I know Stefan worked on this, but I'm unsure what became of his patch.
Alex
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 21:47 ` Alexander Graf
@ 2009-02-17 22:17 ` Laurent Vivier
2009-02-18 10:08 ` Julian Seward
0 siblings, 1 reply; 11+ messages in thread
From: Laurent Vivier @ 2009-02-17 22:17 UTC (permalink / raw)
To: qemu-devel; +Cc: Alexander Graf
Le 17 févr. 09 à 22:47, Alexander Graf a écrit :
>>> Ah nice, but it's not in qemu svn yet is it ? ;)
>>
>> No, because the previous one (r450) is 9 days old and still nobody
>> has
>> reported any bugs with it, so it must be perfect and there is no need
>> to update the image. ;-)
>
> Can that one boot opensuse cds already? If not, feel free to take
> this as a bug report :)
openSUSE is booting well since openBIOS r448.
Laurent
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-17 22:17 ` Laurent Vivier
@ 2009-02-18 10:08 ` Julian Seward
2009-02-18 10:23 ` Laurent Vivier
2009-02-18 14:05 ` PPC Fedora [was Re: [Qemu-devel] PPC Haiku] Laurent Vivier
0 siblings, 2 replies; 11+ messages in thread
From: Julian Seward @ 2009-02-18 10:08 UTC (permalink / raw)
To: qemu-devel; +Cc: Laurent Vivier
Ah nice, but it's not in qemu svn yet is it ? ;)
> >>
> >> No, because the previous one (r450) is 9 days old and still nobody
> >> has
> >> reported any bugs with it, so it must be perfect and there is no need
> >> to update the image. ;-)
> >
> > Can that one boot opensuse cds already? If not, feel free to take
> > this as a bug report :)
>
> openSUSE is booting well since openBIOS r448.
Almost but not completely perfect ;-)
Yes, openSUSE 11.1 boots ok. No success with Fedora-11-Alpha, though:
cd:0,\ppc\chrp\yaboot.conf: Unknown or corrupt filesystem
Can't open config file
I still get a boot: prompt, but there are no images to boot. Same problem
occurs with F10. Is there any workaround?
This is with the image
http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/test/11-Alpha/Fedora/ppc/iso/Fedora-11-Alpha-ppc-netinst.iso
J
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] PPC Haiku
2009-02-18 10:08 ` Julian Seward
@ 2009-02-18 10:23 ` Laurent Vivier
2009-02-18 14:05 ` PPC Fedora [was Re: [Qemu-devel] PPC Haiku] Laurent Vivier
1 sibling, 0 replies; 11+ messages in thread
From: Laurent Vivier @ 2009-02-18 10:23 UTC (permalink / raw)
To: qemu-devel
Le 18 févr. 09 à 11:08, Julian Seward a écrit :
> Ah nice, but it's not in qemu svn yet is it ? ;)
>>>>
>>>> No, because the previous one (r450) is 9 days old and still nobody
>>>> has
>>>> reported any bugs with it, so it must be perfect and there is no
>>>> need
>>>> to update the image. ;-)
>>>
>>> Can that one boot opensuse cds already? If not, feel free to take
>>> this as a bug report :)
>>
>> openSUSE is booting well since openBIOS r448.
>
> Almost but not completely perfect ;-)
>
> Yes, openSUSE 11.1 boots ok. No success with Fedora-11-Alpha, though:
>
> cd:0,\ppc\chrp\yaboot.conf: Unknown or corrupt filesystem
> Can't open config file
>
> I still get a boot: prompt, but there are no images to boot. Same
> problem
> occurs with F10. Is there any workaround?
>
> This is with the image
>
> http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/test/11-Alpha/Fedora/ppc/iso/Fedora-11-Alpha-ppc-netinst.iso
OK, I try to make it working.
Regards,
Laurent
^ permalink raw reply [flat|nested] 11+ messages in thread
* PPC Fedora [was Re: [Qemu-devel] PPC Haiku]
2009-02-18 10:08 ` Julian Seward
2009-02-18 10:23 ` Laurent Vivier
@ 2009-02-18 14:05 ` Laurent Vivier
1 sibling, 0 replies; 11+ messages in thread
From: Laurent Vivier @ 2009-02-18 14:05 UTC (permalink / raw)
To: qemu-devel
Le 18 févr. 09 à 11:08, Julian Seward a écrit :
> Ah nice, but it's not in qemu svn yet is it ? ;)
>>>>
>>>> No, because the previous one (r450) is 9 days old and still nobody
>>>> has
>>>> reported any bugs with it, so it must be perfect and there is no
>>>> need
>>>> to update the image. ;-)
>>>
>>> Can that one boot opensuse cds already? If not, feel free to take
>>> this as a bug report :)
>>
>> openSUSE is booting well since openBIOS r448.
>
> Almost but not completely perfect ;-)
>
> Yes, openSUSE 11.1 boots ok. No success with Fedora-11-Alpha, though:
>
> cd:0,\ppc\chrp\yaboot.conf: Unknown or corrupt filesystem
> Can't open config file
>
> I still get a boot: prompt, but there are no images to boot. Same
> problem
> occurs with F10. Is there any workaround?
>
> This is with the image
>
> http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/test/11-Alpha/Fedora/ppc/iso/Fedora-11-Alpha-ppc-netinst.iso
Fedora-10 boot CD is now working with openBIOS r456.
To boot, use following command:
boot cd: conf=cd:,\ppc\ppc32\yaboot.conf
Fedora-11 is also working, but kernel hangs somewhere...
Regards,
Laurent
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-02-18 14:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 13:48 [Qemu-devel] PPC Haiku François Revol
2009-02-17 13:57 ` Laurent Vivier
2009-02-17 14:08 ` François Revol
2009-02-17 15:34 ` Blue Swirl
2009-02-17 16:23 ` François Revol
2009-02-17 17:12 ` Blue Swirl
2009-02-17 21:47 ` Alexander Graf
2009-02-17 22:17 ` Laurent Vivier
2009-02-18 10:08 ` Julian Seward
2009-02-18 10:23 ` Laurent Vivier
2009-02-18 14:05 ` PPC Fedora [was Re: [Qemu-devel] PPC Haiku] Laurent Vivier
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).