PPC Haiku
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.
Quoted 9 lines · François Revol
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#L963It 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.
Quoted 3 lines
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
Quoted 9 lines
Quoted 6 lines
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"...
Quoted 6 lines
Quoted 3 lines
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:
Quoted 2 lines
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!
Quoted 2 lines
Where can I download the ISO ?
http://revolf.free.fr/beos/haiku-boot-cd-ppc.iso
François.
Quoted 11 lines · François Revol
Quoted 9 lines
Quoted 6 lines
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.
Quoted 5 lines
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.
Quoted 14 lines · François Revol
Quoted 13 lines
Quoted 11 lines
Quoted 7 lines
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.
Quoted 7 lines
Quoted 5 lines
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.
Quoted 16 lines · François Revol
Quoted 16 lines · François Revol
Quoted 15 lines
Quoted 11 lines
Quoted 7 lines
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...
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
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. ;-)
Quoted 21 lines · Blue Swirl
Quoted 20 lines · François Revol
Quoted 20 lines · François Revol
Quoted 18 lines
Quoted 11 lines
Quoted 7 lines
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"...
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
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
Quoted 7 lines · Alexander Graf
Quoted 5 lines
Quoted 1 line
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
Ah nice, but it's not in qemu svn yet is it ? ;)
Quoted 10 lines
Quoted 8 lines
Quoted 5 lines
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
J
Quoted 19 lines · Julian Seward
Ah nice, but it's not in qemu svn yet is it ? ;)
Quoted 10 lines
Quoted 8 lines
Quoted 5 lines
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
Quoted 6 lines
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
OK, I try to make it working.
Regards,
Laurent
PPC Fedora [was Re: [Qemu-devel] PPC Haiku]
In reply to Julian SewardQuoted 19 lines · Julian Seward
Ah nice, but it's not in qemu svn yet is it ? ;)
Quoted 10 lines
Quoted 8 lines
Quoted 5 lines
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
Quoted 6 lines
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
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