diff --git a/target/linux/meson/Makefile b/target/linux/meson/Makefile index 1b274a0c186c43..19e97332af953d 100644 --- a/target/linux/meson/Makefile +++ b/target/linux/meson/Makefile @@ -24,7 +24,8 @@ DEFAULT_PACKAGES += \ mkf2fs \ automount \ resize2fs \ - partx-utils + partx-utils \ + losetup KERNELNAME:=Image dtbs diff --git a/target/linux/meson/base-files/etc/rc.local b/target/linux/meson/base-files/etc/rc.local new file mode 100644 index 00000000000000..d8c0b60c452629 --- /dev/null +++ b/target/linux/meson/base-files/etc/rc.local @@ -0,0 +1,5 @@ +# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +bash /root/resize.sh +exit 0 diff --git a/target/linux/meson/base-files/root/resize.sh b/target/linux/meson/base-files/root/resize.sh new file mode 100755 index 00000000000000..f9f1d3bf393c9d --- /dev/null +++ b/target/linux/meson/base-files/root/resize.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +parted /dev/mmcblk1 resizepart 2 100% +losetup /dev/loop0 /dev/mmcblk1p2 +resize2fs -f /dev/loop0 +echo "# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +exit 0">/etc/rc.local +rm -rf /root/resize.sh && reboot diff --git a/target/linux/meson/meson8b/config-6.1 b/target/linux/meson/meson8b/config-6.1 index 4d67b29e1883ed..d453111489d6e7 100644 --- a/target/linux/meson/meson8b/config-6.1 +++ b/target/linux/meson/meson8b/config-6.1 @@ -120,25 +120,47 @@ CONFIG_CRC16=y CONFIG_CRC7=y CONFIG_CRC_ITU_T=y CONFIG_CRYPTO_AES_ARM=y +CONFIG_CRYPTO_AES_ARM_BS=y +CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=y +CONFIG_CRYPTO_ARCH_HAVE_LIB_CURVE25519=y +CONFIG_CRYPTO_ARCH_HAVE_LIB_POLY1305=y +CONFIG_CRYPTO_BLAKE2B=y +CONFIG_CRYPTO_BLAKE2B_NEON=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CHACHA20_NEON=y CONFIG_CRYPTO_CMAC=y CONFIG_CRYPTO_CRC32=y CONFIG_CRYPTO_CRC32C=y +CONFIG_CRYPTO_CRC32_ARM_CE=y +CONFIG_CRYPTO_CRYPTD=y +CONFIG_CRYPTO_CURVE25519_NEON=y CONFIG_CRYPTO_DRBG=y CONFIG_CRYPTO_DRBG_HMAC=y CONFIG_CRYPTO_DRBG_MENU=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_JITTERENTROPY=y CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y +CONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y +CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y CONFIG_CRYPTO_LIB_SHA1=y CONFIG_CRYPTO_LIB_SHA256=y CONFIG_CRYPTO_LIB_UTILS=y +CONFIG_CRYPTO_NHPOLY1305=y +CONFIG_CRYPTO_NHPOLY1305_NEON=y +CONFIG_CRYPTO_POLY1305_ARM=y CONFIG_CRYPTO_RNG=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_RNG_DEFAULT=y CONFIG_CRYPTO_RSA=y CONFIG_CRYPTO_SEQIV=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA1_ARM=y +CONFIG_CRYPTO_SHA1_ARM_NEON=y CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_SHA256_ARM=y CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_SHA512_ARM=y +CONFIG_CRYPTO_SIMD=y CONFIG_CURRENT_POINTER_IN_TPIDRURO=y CONFIG_DCACHE_WORD_ACCESS=y CONFIG_DEBUG_INFO=y