From: kevin lyda (kevin at domain suberic.net)
Date: Wed 18 Aug 1999 - 15:03:53 IST
Caolan McNamara spoke thusly:
>Yeah, thats a cunning idea, the device driver stuff is reasonably ok
>to wrap a head around, but I'd be very interested in how he started
>something like the mac port of linux, whats steps do you go through
>to get the fecker up and running from scratch. What bits you port
>first and so on, that'd be mad, but its hard work for him to put
>together a talk like that, but then again maybe hes bored stupid with
>doing the standard arse talks ?
i've seen a few papers on the topic and it's kind of interesting.
the (cross)-compiler, the initial boot code, minimal console stuff
to spew out messages, a little init (like "hello world"). once that
works you get a network driver (or slip) and mount an fs over nfs
(hard disk drivers + bus drivers are harder).
i did an os class in college and we did it in a similar manner with
our own os. (not the nfs part - we didn't really get that far)
one thing is that many arch's outside the micro world are intelligent
and understand things like bootp and tftp at poweron. makes things
easier.
anyway the main idea is to get out of .S files asap and into c where
things get a lot more generic.
kevin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:28 GMT