File:  [NetBSD Developer Wiki] / wikisrc / projects / project / common-boot-cfg.mdwn
Revision 1.6: download - view: text, annotated - select for diffs
Sat May 4 16:42:41 2019 UTC (6 months, 1 week ago) by sevan
Branches: MAIN
CVS tags: HEAD
Markup

[[!template id=project

title="Make /boot.cfg handling machine independent"

contact="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

mentors="""
[Martin Husemann](mailto:martin@NetBSD.org)
"""

category="kernel"
difficulty="medium"
duration="3 months"
done_by=rtr@NetBSD.org

description="""
Several ports support a `/boot.cfg` file. Examples are i386, amd64 (which share a bootloader) and sparc64.

However, they do not share code, nor even the basic command parser. Obviously this is not the NetBSD way to do things
and the situation needs to be improved.

The milestones of this project:

* split the machine dependent parts out
* provide generic, machine independent support for most of the /boot.cfg handling
* leave configuration (like what commands are allowed) to the architecture specific code
* provide means for overriding command handlers (i.e. implement a common command differently)

Due to the organization of the bootstrapping code this is not as easy as it sounds at first sight, but it does not require
deep kernel hacking skills either. Having various hardware available for testing is a bonus, but not required.
"""
]]

[[!tag gsoc]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb