This repo helps to build and run the Linux kernel and busybox for the user land. The scripts incorporate knowledge needed to facilitate ramping up on the Linux kernel debugging.
Also there is an example of building an out-of-tree kernel module LookSee
For
arm64, please switch to thearm64branch. I'll merge it intomasterwhen I have time.
Eye candy:
To clone:
git clone --recursive https://github.com/kromych/no-name-linux.gitTo build the kernel:
./010-build-kernel.shTo build the root filesystem:
./029-build-rootfs.sh To build the bootable image (you can also use it to boot a PC)
./091-mkimg-losetup.shTo run:
./run.shTo debug:
./run.sh waitdebugand run ./attach-gdb.sh in another console window/tab.
To supress graphic output, and run in the text mode:
./run.sh serialIn this case, you'll need to use Ctrl+A followed by C to QEMU's monitor.
If you want some binaries (statically linked) to go into the initrd, place
them under ./bin in this repo.


