The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
In LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc we basically can nicely run 3 types of things:
full system linux kerne
userland
baremetal
However, more and more, we want nice interfaces to run other third party programs, notably benchmarks like Dhrystone, and notably in userland simulation.
In LKMC d53ffcff18aa26d24ea34b86fb80e4a5694378dc we basically can nicely run 3 types of things:
However, more and more, we want nice interfaces to run other third party programs, notably benchmarks like Dhrystone, and notably in userland simulation.
Currently, we just have a shitty interface for it as shown in https://cirosantilli.com/linux-kernel-module-cheat/#dhrystone
What would be amazing is if we had proper "LKMC packages", maybe similar to: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/116 and the ncould do just:
and then make
userland
,linux
andbaremetal
into regular packages.The packages could also generate Bash command strings to run the packages withing full system Linux simulation.