OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:05 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SPARC Barebones boots on OpenBIOS but not on real SS5 FW
PostPosted: Fri Apr 15, 2022 2:49 pm 
Offline

Joined: Fri Apr 15, 2022 2:29 pm
Posts: 1
Hello.

Recently I was following this tutorial (https://wiki.osdev.org/Sparc_Barebones) and successfully managed to compile and run the code on QEMU's OpenBIOS.

Homever, when I tried to boot it on the same QEMU version but using SS5 firmware which is known to work (tested with Solaris 1.1.2/SunOS 4.1.4), it instead throws a bad magic number in disk label error.

After fixing it (adding "-B ..." to the mkisofs call), it now throws an "Instruction Access Exception" which I have no idea how to fix.

Anybody mind helping me?


Top
 Profile  
 
 Post subject: Re: SPARC Barebones boots on OpenBIOS but not on real SS5 FW
PostPosted: Wed Apr 20, 2022 4:44 am 
Offline
Member
Member

Joined: Tue Apr 03, 2018 2:44 am
Posts: 401
seal331 wrote:
Hello.

Recently I was following this tutorial (https://wiki.osdev.org/Sparc_Barebones) and successfully managed to compile and run the code on QEMU's OpenBIOS.

Homever, when I tried to boot it on the same QEMU version but using SS5 firmware which is known to work (tested with Solaris 1.1.2/SunOS 4.1.4), it instead throws a bad magic number in disk label error.

After fixing it (adding "-B ..." to the mkisofs call), it now throws an "Instruction Access Exception" which I have no idea how to fix.

Anybody mind helping me?


Quoting that page:
Quote:
The following code will provide you a running start on SPARC, but it is one big hack, it has not been written with extension in mind, and neither has it been tested on real hardware.


My only suggestion would be to netboot using perhaps the NetBSD bootloader. The NetBSD bootloader can handle the nitty gritty of loading your kernel, which can be an ELF kernel, over NFS. So you can do build/reboot/debug cycles on your host machine which can also be your boot server, delivering the kernel to load using tftp/NFS.

https://www.netbsd.org/docs/network/netboot/intro.sun.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group