Browse Source

Merge pull request #89 from core-process/master

add loopdev support
master
Dhruv Vyas 5 years ago
committed by GitHub
parent
commit
afe411f2c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. BIN
      kernel-qemu-4.14.79-stretch
  2. BIN
      kernel-qemu-4.19.50-buster
  3. 6
      tools/.gitignore
  4. 5
      tools/build-kernel-qemu
  5. 2
      tools/build-kernel-qemu.conf-4.14.79
  6. 8
      tools/config_loopdev
  7. BIN
      tools/qemu-kernel-4.19.50
  8. BIN
      tools/versatile-pb.dtb

BIN
kernel-qemu-4.14.79-stretch

Binary file not shown.

BIN
kernel-qemu-4.19.50-buster

Binary file not shown.

6
tools/.gitignore

@ -1,2 +1,4 @@
linux
build-kernel-qemu.conf
/linux
/build-kernel-qemu.conf
/qemu-kernel-*
/versatile-pb.dtb

5
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

2
tools/build-kernel-qemu.conf-4.14.79

@ -0,0 +1,2 @@
INSTALL_PACKAGES=true
COMMIT=raspberrypi-kernel_1.20181112-1

8
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

BIN
tools/qemu-kernel-4.19.50

Binary file not shown.

BIN
tools/versatile-pb.dtb

Binary file not shown.
Loading…
Cancel
Save