I´ve just completed an small piece of Hardware. Only a 486 16mb EDO an UART. Everything put together on a small pcb-board. Then modified Openbios a little bit, loaded it into a ROM-emulator and go!
*COOL*! The machine boots, complains about the missing RTC (who needs an rtc?), tests the mem ... and then executes :
for (;;);
Ok for that. - but can somebody tell me what I have to do to get a Linuxkernel loaded ? I intend to put an 16bit latch on the isabus and connect a flashdisk there ...
I could write C code to load the kernel image from the first, say, 1k blocks of the disk. But where do I put this image and how I´m gonna start it ?
Please someone gimme a hint on that. I´ll submit the loadcode Ive done then back to this group ... maybe someone wants to use it ?
Regards, Jake
Ah. By the way, this mail was done by Exchange - locked inside a virtual machine that runs under Linux. (Thats the place where it should be ;-)).
eMail: mailto:Joerg.Winter@Disch-GmbH.de
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
On Fri, 28 Jan 2000, [iso-8859-1] Winter J�rg wrote:
for (;;);
First, you need to build a linux bzImage. What I would recommend is to use 2.2.13 because I can give you patches that will allow your linux booted from NVRAM to boot another linux from, say, disk (i.e. linux boots linux without using a bios). Next, you simply need to point the gunzip source pointer at wherever in memory you've put the bzImage.
That's probably all you need. It's about all we need. try it and see.
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
*COOL*!
Well put
for (;;);
Ok for that. - but can somebody tell me what I have to do to get a Linuxkernel loaded ? I intend to put an 16bit latch on the isabus and connect a flashdisk there ...
I could write C code to load the kernel image from the first, say, 1k blocks of the disk. But where do I put this image and how I�m gonna start it ?
So you are in C code (a good start), and you know how to read the image in. If you can read an uncompressed kernel into memory, put it at 0x100000 (1MB) and jump to it in c code like:
#define KERNEL_START 0x100000; static void (*v)() = (void *)KERNEL_START; /* Function prototype */
v(); /* Jump! */
Or you can read a compressed image into something like 0x10000 (64k) and then uncompress it to 0x100000 and jump to it. This is what I do because the compressed images are a third the size of uncompressed ones (at least for linux). The decompressor is just inflate.c from the linux source (a copy is in the openbios source).
- James
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
can i have a copy of this rom-emulator? thanks edwin ----- Original Message ----- From: Winter Jörg joerg.winter@disch-gmbh.de To: openbios@elvis.informatik.uni-freiburg.de Sent: Friday, January 28, 2000 10:50 AM Subject: [OpenBIOS] Fine.
I´ve just completed an small piece of Hardware. Only a 486 16mb EDO an UART. Everything put together on a small pcb-board. Then modified Openbios a little bit, loaded it into a ROM-emulator and go!
*COOL*! The machine boots, complains about the missing RTC (who needs an rtc?), tests the mem ... and then executes :
for (;;);
Ok for that. - but can somebody tell me what I have to do to get a Linuxkernel loaded ? I intend to put an 16bit latch on the isabus and connect a flashdisk there ...
I could write C code to load the kernel image from the first, say, 1k blocks of the disk. But where do I put this image and how I´m gonna start it ?
Please someone gimme a hint on that. I´ll submit the loadcode Ive done then back to this group ... maybe someone wants to use it ?
Regards, Jake
Ah. By the way, this mail was done by Exchange - locked inside a virtual machine that runs under Linux. (Thats the place where it should be ;-)).
eMail: mailto:Joerg.Winter@Disch-GmbH.de
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message