linux平台arm64内核编译

https://www.kernel.org/
https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.293.tar.xz

编译64位arm内核

sudo apt-get install gcc-aarch64-linux-gnu
cp ./arch/arm64/configs/defconfig .config
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- menuconfig
make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64

编译结果生成 Image Image.gz

mutian@mutian-HP:~/share/linux-4.4.293/arch/arm64/boot$ ls
dts Image Image.gz install.sh Makefile

posted @ 2021-11-30 19:07  牧 天  阅读(1336)  评论(0编辑  收藏  举报