Okay, I will try to answer for some of the question, but I forgot many things about low level kernel stuff. On Tue, 2010-09-07 at 16:35 +0530, C K Kashyap wrote: > Well, > Let me try again .. I'll put it in question form > > 1. Does muistring get loaded at 1M phy mem byt GRUB? Generally, muistring and other images loaded by Grub with multiboot spec, it's not a kernel thing. Muistring just read multiboot data to run/map images. > 2. Does muistring use the intel segmentation or bypass it by having 0 > base address in the descriptors? hm, I guess it's better to read amd documentation about long mode to get more sense how it works. > 3. Does muistring use LDT? > 4. Does muistring use a separate page directory for every service? > 5. Does muistring use only 2 priv levels? I remember minix uses ring 1 > for all system tasks muistring use 2 priv. levels, like linux for example. all services and user space tasks working in ring 1. > 6. What does the mem layout look like once kernel has done all the > initialization and is about to schedule the first task? what exactly do you mean about mem layout ? do you mean how kernel maps images ? or you mean some kind of virtual memory layout ??? > > I know that I'll get all the answers if I go over the code - I am just > trying to get a heads up. I guess that it's better to try get the answers from the sources anyway, but with help ) I have an idea about it, if you want to make a more sense about microkernel stuff I can help you with it. But I guess that it's better to write some documentation about it, currently I'm busy with other tasks, but if you will provide some questions, documentation structure, I will able to help you with answers, and I will able to create a documentation draft (with your help too). what do you think about it ? > > An unrelated question ... have you folks considered busybox and nanox > for JARIOS yet? well, as I mentioned before - we need to focus on platform itself, but ... when we will port uclibc fully it will be very simple to port busybox or complete core utils porting ... before porting we need to finish many other more important tasks. but now there are few people only and I think it will be a long time to get it work.
Thanks, > > > On Tue, Sep 7, 2010 at 4:17 PM, Alfeiks Kaanoken <[email protected]> wrote: > > Hi, > > On Tue, 2010-09-07 at 08:35 +0530, C K Kashyap wrote: > >> I was referring to both actually but like you said, the early > >> initialization is standard. I looked at boot.S and it looks straight > >> forward ... I was having trouble around the apboot and smp init (since > >> I dont have prior experience in either - minix that I followed for > >> some time does not have smp support yet). > > SMP initialization is quite simple, usuallu u have initialization code > > for boot processor and other initialization code for other processors. > > This is generic one for all kernels. > >> > >> So yes, your description of the muistring initialization would be of > >> great help. Including things like what are the important data > >> structures and their initial states. > > hmm, what do you mean with that ? > > I mean a very general things, i.e. how microkernel init subsystems, load > > and run services from grub etc ... > >> And processor level > >> datastructures - like the GDT, PD etc > > It mostly generic too. > > > > Thanks, > >> > >> On Mon, Sep 6, 2010 at 8:09 PM, Alfeiks Kaanoken <[email protected]> > >> wrote: > >> > Hi, > >> > On Mon, 2010-09-06 at 19:34 +0530, C K Kashyap wrote: > >> >> Hi, > >> >> I was wondering if there's a writeup on the bootup sequence of > >> >> muistring? > >> > No, there are no documentation about muistring microkernel ... > >> > but you can find out arch specific code there - kernel/arch/amd64/src > >> > the early boot up code located in boot.S > >> >> I'm having a little difficulty in following the application processor > >> >> initialization etc. I have not gone over that intel document in detail > >> >> but I was thinking if there is a lucid explanation in the code itself, > >> >> that would help. > >> > Generally, the early initialization process is very similar to the other > >> > kernels. > >> > btw, if you mean how muistring boot the system I can explain it in few > >> > words. > >> > > >> > Thanks, > >> >> Any suggestion on how I could get up to speed with the current state > >> >> of the kernel as is what exactly it does. > >> >> > >> > -- > >> > Alfeiks Kaanoken, > >> > Team Lead/Project Founder > >> > of the Jari OS project. > >> > http://jarios.org > >> > > >> > > >> > >> > >> > > -- > > Alfeiks Kaanoken, > > Team Lead/Project Founder > > of the Jari OS project. > > http://jarios.org > > > > > > > -- Alfeiks Kaanoken, Team Lead/Project Founder of the Jari OS project. http://jarios.org _______________________________________________ Jarios-dev mailing list [email protected] http://lists.jarios.org/cgi-bin/mailman/listinfo/jarios-dev
