diff --git a/kernel-qemu-4.14.79-stretch b/kernel-qemu-4.14.79-stretch index ab01d5c..c663dd2 100644 Binary files a/kernel-qemu-4.14.79-stretch and b/kernel-qemu-4.14.79-stretch differ diff --git a/kernel-qemu-4.19.50-buster b/kernel-qemu-4.19.50-buster index 60d3277..a7fd08f 100755 Binary files a/kernel-qemu-4.19.50-buster and b/kernel-qemu-4.19.50-buster differ diff --git a/tools/.gitignore b/tools/.gitignore index 7b429b0..e4a56f3 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -1,2 +1,4 @@ -linux -build-kernel-qemu.conf +/linux +/build-kernel-qemu.conf +/qemu-kernel-* +/versatile-pb.dtb diff --git a/tools/build-kernel-qemu b/tools/build-kernel-qemu index 9a9a1bb..f9d2f88 100755 --- a/tools/build-kernel-qemu +++ b/tools/build-kernel-qemu @@ -22,7 +22,7 @@ fi if [ "$INSTALL_PACKAGES" ] ; then sudo apt-get update - sudo apt-get install git libncurses5-dev gcc-arm-linux-gnueabihf + sudo apt-get install git libncurses5-dev gcc-arm-linux-gnueabihf flex bison fi mkdir -p $BUILD_DIR $TARGET_DIR @@ -41,6 +41,8 @@ if [ "$USE_GIT" ] ; then fi cd linux if [ "$COMMIT" ] ; then + git reset --hard + git clean -xdf git checkout "$COMMIT" fi else @@ -85,6 +87,7 @@ if [ $USB_WEBCAM_MODULES ] ; then fi cat $SOURCE_DIR/config_ip_tables >> .config +cat $SOURCE_DIR/config_loopdev >> .config make -k ARCH=arm CROSS_COMPILE=${TOOLCHAIN}- $KERNEL_MAKE_CONFIG make -k ARCH=arm CROSS_COMPILE=${TOOLCHAIN}- bzImage dtbs diff --git a/tools/build-kernel-qemu.conf-4.14.79 b/tools/build-kernel-qemu.conf-4.14.79 new file mode 100644 index 0000000..76dc9ec --- /dev/null +++ b/tools/build-kernel-qemu.conf-4.14.79 @@ -0,0 +1,2 @@ +INSTALL_PACKAGES=true +COMMIT=raspberrypi-kernel_1.20181112-1 diff --git a/tools/config_loopdev b/tools/config_loopdev new file mode 100644 index 0000000..0382864 --- /dev/null +++ b/tools/config_loopdev @@ -0,0 +1,8 @@ +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 + +CONFIG_MD=y +CONFIG_BLK_DEV_DM=y +CONFIG_DM_CRYPT=y +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_XTS=y diff --git a/tools/qemu-kernel-4.19.50 b/tools/qemu-kernel-4.19.50 deleted file mode 100755 index 60d3277..0000000 Binary files a/tools/qemu-kernel-4.19.50 and /dev/null differ diff --git a/tools/versatile-pb.dtb b/tools/versatile-pb.dtb deleted file mode 100644 index 1ec16f5..0000000 Binary files a/tools/versatile-pb.dtb and /dev/null differ