I implemented missing methods etc. to make OpenBIOS obey Qemu's -nographic
flag. This means that Linux can automatically select the correct console
device, screen or serial.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Hi,
I finally learnt how to use Quilt to manage patches. The previous patch is
now in several parts, which should be easier to handle.
The order of applying should be:
autocrosscflags.diff
vga.diff
cleanup.diff
console-nographic.diff
64_bit_fixes.diff
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
* Wessel, Jason <jason.wessel(a)windriver.com> [060616 00:08]:
>
> I started porting the OpenBIOS to the PPC qemu, and I was curious of the state
> of the PearPC portion of the OpenBIOS. I thought I check and ask if there is
> another branch or if someone was already working in this area or had it
> working.
Very cool!
PearPC pretty much stayed unsupported since I never got the ADB portion
of the code to work properly. PearPC uses "PC style serial ports" as
well..
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info(a)coresystems.de • http://www.coresystems.de/
Take a look at the briq code. I hand crafted the device tree, but I
was able to get to the point of booting Linux from an IDE drive.
Things failed at that point because I didn't have the interrupts set
up correctly. There should not be any serious problems getting PPC to
work.
Greg
On Jun 15, 2006, at 4:08 PM, Wessel, Jason wrote:
>
> I started porting the OpenBIOS to the PPC qemu, and I was curious
> of the state of the PearPC portion of the OpenBIOS. I thought I
> check and ask if there is another branch or if someone was already
> working in this area or had it working.
>
> I would be happy to collaborate and share some patches.
>
> Nothing really works at this point, but it is further along then
> having nothing:
>
> >> =============================================================
> >> OpenBIOS 1.0RC1 [Jun 15 2006 16:42]
> >> current nvram:
> >> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> >> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> >> nvram error detected, zapping pram
> >> Initializing PCI devices...
> >> ide0: [io ports 0x1f0-0x1f7,0x3f6]
> >> drive0 [ATA disk]: QEMU HARDDISK
> >> drive1 [ATAPI floppy]: QEMU CD-ROM
> >> Initializing ADB driver
> >> Autobooting disabled - dropping into OpenFirmware
> No cdrom found
> Output device /pci/pci6666,6666 not found.
> /pci/via-cuda/adb has no read method.
> Output device screen not found.
> Input device keyboard not found.
>
> 0 >
>
>
> I get that on the serial port for PPC qemu, and now I have to work
> backwards to fix it up correctly. Serial input doesn't work quite
> right and that will probably be the first hurdle.
>
> Any pointers to active or recent projects in this area would be
> appreciated.
>
> Cheers,
> Jason.
>
> --
> OpenBIOS http://openbios.org/
> Mailinglist: http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
I started porting the OpenBIOS to the PPC qemu, and I was curious of the
state of the PearPC portion of the OpenBIOS. I thought I check and ask
if there is another branch or if someone was already working in this
area or had it working.
I would be happy to collaborate and share some patches.
Nothing really works at this point, but it is further along then having
nothing:
>> =============================================================
>> OpenBIOS 1.0RC1 [Jun 15 2006 16:42]
>> current nvram:
>> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>> nvram error detected, zapping pram
>> Initializing PCI devices...
>> ide0: [io ports 0x1f0-0x1f7,0x3f6]
>> drive0 [ATA disk]: QEMU HARDDISK
>> drive1 [ATAPI floppy]: QEMU CD-ROM
>> Initializing ADB driver
>> Autobooting disabled - dropping into OpenFirmware
No cdrom found
Output device /pci/pci6666,6666 not found.
/pci/via-cuda/adb has no read method.
Output device screen not found.
Input device keyboard not found.
0 >
I get that on the serial port for PPC qemu, and now I have to work
backwards to fix it up correctly. Serial input doesn't work quite right
and that will probably be the first hurdle.
Any pointers to active or recent projects in this area would be
appreciated.
Cheers,
Jason.
This patch adds automatic detection of cross-compiler CFLAGS. There is some
problem with dictionary:
Dumping final dictionary to 'obj-sparc64/bootstrap.dict'
Compiling dictionary 1/2
Dictionary initialization finished.
base is not defined.
interactive? is not defined.
(to) is not defined.
linefeed is not defined.
interpretion finished. 4 errors occured.
dictionary not dumped to file.
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
I've noticed two things over the weekend.
1) sun-parts seems to be off by 1 (it is counting the vtoc as the first partition, which it should not , AFAIK). I will submit a patch when I get a chance.
2) I am getting a bit further with the Solaris boot if I enable all the QEMU debugging (-d in_asm,exec,cpu,op,int,out_asm).
SunOS starts and then I get message:
Cannot load drivers for sd(0,2,0)@0,0:b (or :a with the sun-parts fix)
Can't load the root filesystem
I thinks QEMU emulates SCSI 3 and Solaris wants SCSI 1 or 2. Can we load drivers or emulate a supported environment?
There seems to be some sort of timing issue with the startup. If I disable all QEMU debugging, it starts about1 in 20 times. If I enable it all, about 1 in 2 times.
Hope this helps.
Regards,