Hi, Mark!
On Tue, Aug 29, 2000 at 12:16:09PM -0700, you wrote the following:
quoted
I downloaded the kernel and tried it. It starts booting, but it hangs
right after initializing the the OpenPIC. :-( I'll download the source
code tonight and try to look at it, although I don't have much hopes
gotta learn though.
Is there any book that you recommend to get me started? Any other
docs/tips?
Oops, I should have included the sandpoint switch settings. For
this version of the kernel, the sandpoint switches must be set as
follows:
S4,S3: up, down
S5: down
S6: down (yours is probably up which is why it hung in openpic)
Try this and see if it helps.
It did! The kernel boots fine now all the way through.
Thanks a lot!
Another question: what would be the best way to go about booting Linux
from the flash? Would flashing the kernel in instead of the dink32
monitor do the trick, or does dink32 do some important initializations
that are needed for the kernel to boot?
--
Alex Shnitman | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
*Real* programmers use
cat > a.out
No way, /real/ programmers use
zcat > a.out
'cause you can type faster that way.
-- from a Slashdot discussion
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Alex Shnitman wrote:
Hi, Mark!
On Tue, Aug 29, 2000 at 12:16:09PM -0700, you wrote the following:
quoted
quoted
I downloaded the kernel and tried it. It starts booting, but it hangs
right after initializing the the OpenPIC. :-( I'll download the source
code tonight and try to look at it, although I don't have much hopes
gotta learn though.
Is there any book that you recommend to get me started? Any other
docs/tips?
Oops, I should have included the sandpoint switch settings. For
this version of the kernel, the sandpoint switches must be set as
follows:
S4,S3: up, down
S5: down
S6: down (yours is probably up which is why it hung in openpic)
Try this and see if it helps.
It did! The kernel boots fine now all the way through.
Thanks a lot!
Another question: what would be the best way to go about booting Linux
from the flash? Would flashing the kernel in instead of the dink32
monitor do the trick, or does dink32 do some important initializations
that are needed for the kernel to boot?
Yeah, at the moment, it does rely on DINK to do some initial setup (memory
controller, et. al.). If you want, you can put that in the code yourself and
then you can get rid of DINK. If you don't want to do that, you can still put
the kernel in flash (somewhere that doesn't overwrite DINK or the execption
vectors) as long as you have enough flash on your PPMC module. You can then
do something like "env BOOT=<address>" to cause DINK to automatically jump to
that address--that's should be the address of the linux ppc bootloader--and
the kernel will boot up for you without your intervention.
Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
I have code that initializes (some of) the sandpoint hardware -
enough to get the sandpoint to copy and gunzip stuff (code etc)
from the floppy disk to memory. I program it into the PPMC
flash memory and use it to load a proprietary OS. The floppy
code polls the floppy controller so I don't need to have
interrupts and DMA in the bootloader.
I also have code that knows how to initialize a couple of
different VGA cards that I use.
If someone was interested in making a more useful bootloader
for linux/sandpoint I'd look into cleaning it up (removing
the proprietary stuff) and releasing the code.
Bob.
Alex Shnitman wrote:
On Tue, Aug 29, 2000 at 12:16:09PM -0700, you wrote the following:
quoted
quoted
I downloaded the kernel and tried it. It starts booting, but it hangs
right after initializing the the OpenPIC. :-( I'll download the source
code tonight and try to look at it, although I don't have much hopes
gotta learn though.
Is there any book that you recommend to get me started? Any other
docs/tips?
Oops, I should have included the sandpoint switch settings. For
this version of the kernel, the sandpoint switches must be set as
follows:
S4,S3: up, down
S5: down
S6: down (yours is probably up which is why it hung in openpic)
Try this and see if it helps.
It did! The kernel boots fine now all the way through.
Thanks a lot!
Another question: what would be the best way to go about booting Linux
from the flash? Would flashing the kernel in instead of the dink32
monitor do the trick, or does dink32 do some important initializations
that are needed for the kernel to boot?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Bob Doyle wrote:
If someone was interested in making a more useful bootloader
for linux/sandpoint I'd look into cleaning it up (removing
the proprietary stuff) and releasing the code.
I've got code that boots a kernel image over ethernet, but I've been
experimenting mostly on a different platform to the Sandpoint. I'm
planning a release around October, when I should have the time. The
architecture of mine is quite modular, so it should be easy to insert
things like the floppy and vga drivers, using my code as glue.
- Adrian Cox
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/