[OpenBIOS] [commit] r832 - in trunk/openbios-devel: arch/sparc32 drivers

Blue Swirl blauwirbel at gmail.com
Wed Aug 4 18:56:43 CEST 2010


On Wed, Aug 4, 2010 at 4:45 PM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Blue Swirl wrote:
>
>> Does not work:
>> Trying cdrom...
>> Not a bootable ELF image
>> Not a bootable a.out image
>> No valid state has been set by load or init-program
>>
>> 0 > printenv
>> name                      "options"
>> boot-from                 "disk"
>> boot-args                 ""
>> boot-device               "cdrom cdrom:d"
>> use-generic?              "false"
>> boot-script               ""
>> boot-screen               ""
>> ttyb-rts-dtr-off          "false"
>> ttyb-ignore-cd            "true"
>> ttyb-mode                 "9600,8,n,1,-"
>> ttya-rts-dtr-off          "false"
>> ttya-ignore-cd            "true"
>> ttya-mode                 "9600,8,n,1,-"
>> tpe-link-test?            "true"
>> load-base                 "4000"
>> scroll-lock               "true"
>> skip-netboot?             "false"
>> default-mac-address       "false"
>> pci-probe-mask            "-1"
>> selftest-#megs            "0"
>> screen-#rows              "24"
>> screen-#columns           "80"
>> output-device             "ttya"
>> input-device              "ttya"
>> use-nvramrc?              "false"
>> oem-logo?                 "false"
>> oem-banner                ""
>> oem-banner?               "false"
>> nvramrc                   ""
>> fcode-debug?              "false"
>> diag-switch?              "false"
>> boot-file                 ""
>> boot-command              "boot"
>> auto-boot?                "true"
>>  ok
>> 0 > boot
>> Trying cdrom...
>> Not a bootable ELF image
>> Not a bootable a.out image
>> No valid state has been set by load or init-program
>>  ok
>> 0 > boot cdrom:d
>> Not a bootable ELF image
>> Loading a.out image...
>> Loaded 65536 bytes
>> entry point is 0x4000
>> bootpath: /iommu/sbus/espdma/esp/sd at 2,0:d
>>
>> Jumping to entry point 00004000 for type 00000005...
>> switching to new context:
>>>>
>>>> NetBSD/sparc Secondary Boot, Revision 1.12
>>>> (autobuild at tgm.daemon.org, Wed Apr  9 02:46:11 UTC 2003)
>>
>> Booting netbsd
>>
>> I changed the boot-device like this:
>> diff --git a/arch/sparc32/openbios.c b/arch/sparc32/openbios.c
>> index 60ee180..3624269 100644
>> --- a/arch/sparc32/openbios.c
>> +++ b/arch/sparc32/openbios.c
>> @@ -187,11 +187,11 @@ arch_init( void )
>>                push_str("floppy");
>>                break;
>>        case 'c':
>> -               push_str("disk");
>> +                push_str("disk disk:d");
>>                break;
>>        default:
>>        case 'd':
>> -               push_str("cdrom");
>> +                push_str("cdrom cdrom:d");
>>                break;
>>        case 'n':
>>                push_str("net");
>
> Hmmm that should work. I'm just about to head home now, but can take a look
> later this evening. What's the filename of the ISO image you are using so I
> can use it for testing?

This is NetBSD, they boot from 'd' partition.


More information about the OpenBIOS mailing list