On 12/21/08, Laurent Vivier laurent@lvivier.info wrote:
Le 21 déc. 08 à 10:19, Blue Swirl a écrit :
On 12/21/08, Laurent Vivier laurent@lvivier.info wrote:
Le 21 déc. 08 à 09:31, Blue Swirl a écrit :
On 12/20/08, Laurent Vivier laurent@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@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.
I fixed it in r303, now I get:
============================================================= OpenBIOS 1.0RC1 [Dec 21 2008 10:01] Initializing PCI devices... 0:0.0 - 1057:2 - /pci/pci - pci 0:1.0 - 1234:1111 - /pci/QEMU,VGA - QEMU,VGA 0:2.0 - 10ec:8029 - /pci/NE2000 - NE2000 0:3.0 - 1095:646 - /pci/pci-ata - pci-ata ata-1: [io ports 0x100-0x107,0x182] drive1 [ATAPI cdrom]: QEMU DVD-ROM ata-2: [io ports 0x200-0x207,0x282] 0:4.0 - 106b:17 - /pci/mac-io - mac-io nvram error detected, zapping pram
No disk found.
*** Boot failure! No secondary bootloader specified ***
Boot does not succeed, but we get to OpenBIOS prompt!