[Mailinglist] RTOS HELP
hashir n a
hashir_n_a at hotmail.com
Tue Jan 4 18:16:59 IST 2005
Sorry,this isn't regarding linux. But this might be helpful for all those
people who are interested in Embedded systems and OS's. Especially those who
are making their own OS.
I have a RTOS kernel source. Since it isnt linux,theres isnt a MAKEFILE
so i cant do anything like 'make config' etc like we do with the Linux
Kernel. Now This source is for the x386 Architecture. My doubt is how to use
build this source and use this kernel.
The source contains *.c and a few *.asm files. The source is for the
386 in the protected mode.
I did a little googling and found this site.
This explains a lot about Protected Mode and how to boot a floppy into
protected mode. Contains SOURCE CODE too.The source is in assembly and can
be compiled with NASM. nasm abc.asm . and dd if=abc of=/dev/fd0 and boot
the floppy to boot into Protected Mode.
The final line in the source code is
spin : jmp spin ; Loop
This causes this to go into a infinite loop.
1) How to compile the source kernel ? It has .c's that have references to
asm files and vice versa.
2) Finally use the above code to run the kernel. Instead of jmp spin ,if i
change that to jmp my_kernel. Wouldnt that start my kernel?
3) Can i use GRUB or LILO to do the same?
Is there anyway i can use the Kernel Source to Learn about it?
ANY IDEAS and ANY LINKS?
Hope My Doubt is CLEAR.
Hashir N A
More information about the Mailinglist