Create a temp qemu image for test the lastest linux kernel. Tested on ubuntu 16.04 x86_64
config.qemu-x86_64 the kernel config file can be used as the basic config when use qemu-x86_64
format.sh format the rootfs rootfs.img
genroot.py all local files to the rootfs
mount.sh mount the rootfs
README.md this file
run.sh start virtual machine with current kernel
umount.sh umount the rootfs
put all files to root of kernel source tree
>cp config.qemu-x86_64 .config
>make oldconfig
>make menuconfig
do your own config
>make
>dd if=/dev/zero of=rootfs.img seek=<the size you like> bs=1024 count=0
>fdisk rootfs.img
>./format.sh
>mkdir rootfs
>./mount.sh
>./genroot.py
>./umount.sh
>./run.sh
and read the script for all the detail, make your own change.
libdwarf-dev libbfd-dev libelf-dev libnuma-dev libunwind-dev zlib1g-dev lblzma-dev ibpfm4-dev libdw-dev libaudit-dev libssl-dev libslang2-dev libgtk2.0-dev libperl-dev binutils-dev libiberty-dev libpython-dev