Skip to content

fallen/NetBSD-lm32_init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetBSD-lm32_init

This is the /sbin/init static sample program for NetBSD/lm32 bring up purpose

If your system uses BSD make, please use gmake (GNU make) command.

To compile and install this /sbin/init into your already generated kernel ELF please do:

$ cd edgebsd-src # Go to the root dir of NetBSD or EdgeBSD src

$ make -C init_src clean init install

By default it will try to insert the ramdisk into the GENERIC_MFS kernel, you can select another kernel by providing the "kernel" variable like this:

$ make -C init_src kernel=GENERIC clean init install

Also, by default it will try to insert the ramdisk into the kernel ELF without debugging symbols ("netbsd"), and not the "netbsd.gdb" one.

To use the "netbsd.gdb" one, please provide the debug=1 variable to make:

$ make -C init_src debug=1 clean init install

About

NetBSD/lm32 static /sbin/init sample program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published