1.toolchain wget -c https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz tar xfv gcc-arm-8.2-2018.11-x86_64-arm-eabi.tar.xz export PATH=`realpath gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu`:$PATH
2.kernel compile export ARCH=arm64 export CROSS_COMPILE=aarch64-linux-gnu- make defconfig make all -j8
3.rootfs wget -c https://buildroot.org/downloads/buildroot-2022.02.tar.gz tar xfv buildroot-2022.02.tar.gz cd buildroot-2022.02 export ARCH=arm64 make menuconfig option Target options = AArch64 (little endian) Target Architecture Variant = cortex-A57 Filesystem images = ext2/3/4 variant (ext4) rm .config make -j 8
4.qemu apt-get install qemu-system-arm
mkdir $PWD/kmodules
qemu-system-
|