From: Mitch D. <mj...@au...> - 2000-05-11 08:40:26
|
NIIBE Yutaka wrote: > > pi...@li... wrote: > > Eventually though, my plan is to migrate some (or all) the > > hardware initialization code in the kernel so that the > > kernel can be standalone. The kernel will be standalone, but will then only work on one type of hardware. We would like to make kernels which work on all boards which have the same CPU core. (Although I don't know if we want to go to the extreme of the people who made Linux kernels which would boot both on Amigas and Ataris... :-) I am familiar with the functioning of a small bootloader that would do the trick nicely. I can't release the source, but it wouldn't take much to rewrite it black-box fashion. This could then be released in source form as a basic template for people to change. Add a HOWTO-for-your-hardware, and I think these problems will be history. > Instead, how about introducing kernel parameter for bootloader passing > to the kernel about CPG, as well as RAM size, command line option and > others? Nice idea. At present, PC bootloaders pass in a number of PC-specific parameters (derived from the BIOS) that the kernel uses. We could pass in values in a similar fashion. Regards, Mitch. -- | mailto:mj...@au... | Not the official view of: | | mailto:mj...@al... | Australian Calculator Opn | | Certified Linux Evangelist! | Hewlett Packard Australia | |