Power Developer
https://powerdeveloper.org/forums/

Stage I completed!
https://powerdeveloper.org/forums/viewtopic.php?f=25&t=1035
Page 1 of 1

Author:  Sonic [ Fri Dec 08, 2006 1:08 am ]
Post subject:  Stage I completed!

The first stage of the project completed! BootX works correctly. It sets up graphical display, shows a familiar Apple logo, loads the kernel and drivers (currently only AppleRAID) and starts up the kernel.
BootX is able to read MacOS X CD (native Apple CD with Apple partition map and HFS+ filesystem) and launch the kernel directly from it.
At this point the whole thing freezes (however this can be not 100% true, i've forgotten to turn on debug mode for the kernel, will try it today).
Now the project enters Stage II. I will connect a bunch of LEDs to the parallel port and play with recompiled OpenDarwin kernel with inserted output of diagnostics codes to these LEDs. This is the simplest way to debug lowlevel stuff, even simpler than using serial port, it requires just one command to perform the output.
I guess i've messed up something with memory relocation in BootX.

BootX still has two noncritical known problems:
1. Direct hardware VGA video driver doesn't work, it sets up the card incorrectly. Fixing it requires lots of time and efforts, i don't have necessary resources. This affects older firmware than 1.2 (so it mainly relates to Pegasos-1 users)
2. Keyboard checking (Cmd-V pressing) is still not implemented (i've just decided to leave it for now, however this is fixable and will be fixed).

Author:  SoundSquare [ Fri Dec 08, 2006 1:29 am ]
Post subject: 

:shock: :shock: :shock:

you finally made it ?
that's awesome Sonic ! Can't wait to see the real thing ! congrats !!!!!

Author:  Sonic [ Fri Dec 08, 2006 2:49 am ]
Post subject: 

Okay, i'll ask my wife to make a video of the bootup process with her cellphone's camera... My DV is in the repair center.
However you won't see much. Just familiar gray Apple logo. :D Okay, i'll make another one, with debug enabled, telling what happens, this could be more entertaning. :)
And i'm going to find a way to commit my work to GIT or somewhere else (if the repository completely broken). I definitely need some good backup.

Author:  Sonic [ Mon Dec 11, 2006 12:31 am ]
Post subject:  Checked with debug

Yes - no life symptoms from the kernel. Just a black screen in debugging mode. This means the kernel freezes at some early point. Or i pass parameters in a wrong way (messed up with relocations).
Now it's time to actually build a LED dongle for the parallel port...

Author:  frostwork [ Mon Dec 11, 2006 1:31 am ]
Post subject: 

Hi!
I'm sure you know it, but I'll better post it anyway:
"ALT"+"APPLE"+"o"+"f" should show you the openfirmware during boot

Author:  Sonic [ Mon Dec 11, 2006 7:31 am ]
Post subject: 

Heh...
I know how to access OpenFirmware on the Pegasos. :D BTW, it's not ALT+Apple+O+F.
BootX is started from OpenFirmware then. It loads the kernel, drivers and jumps to the kernel. No more OpenFirmware at this point.
BootX does its job well. Now i'm going to add some debug information output to the kernel in order to see where it dies.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/