-
Make Linux code easy to learn for beginners.
-
Make Linux source code easy to read and debug to follow the code path.
- Install
VSCode
,C/C++ extension
andgdb-multiarch
on a Linux distro. - Using
./build_toolchain.sh
to build musl-gcc toolchain. - Using
./build_linux.sh
to build the linux source code. - Using
./make_initramfs.sh
to make initramfs including busybox. - Using
./run.sh
to start the qemu and press F5 to start the debugger.
- Linux: https://www.kernel.org/
- musl libc: https://musl.libc.org/
- busybox: https://www.busybox.net/
- musl-cross-make: https://github.com/richfelker/musl-cross-make
-
Focus on arm64(aarch64) only. Maybe not right for other architecture(amd64, ia64...) or 32bit architecture(i386, arm...).
-
Learning purpose only and DO NOT use my modified code in production before tests.
-
Some of my modification may be not the orginal intent of upstream source code. Please refer to upstream source code if you want to contribute to upstream repo.