欢迎光临散文网 会员登陆 & 注册

关于编译coreelec内核和构建coreelec镜像

2023-07-28 23:06 作者:可乐不爱加麦芽糖  | 我要投稿

请谨慎按照以下步骤开始

cd ~

git clone https://github.com/CoreELEC/CoreELEC.git

cd CoreELEC

git checkout coreelec-19

DEVICE=Amlogic-ng make image




cd /home/tony/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/build/linux-f0f6f8833853aff0957785247e6b802e6da4a9d0

make menuconfig

cd /home/tony/CoreELEC/

rm -f /home/tony/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/.stamps/linux/build_target

PROJECT=Amlogic-ce ARCH=arm ./scripts/build linux




cd /home/tony/

rm -Rf CoreELEC/




# run menuconfig and save changes to file at the end

make ARCH=arm64 menuconfig -C build.CoreELEC-Amlogic-ne.aarch64-20/build/linux-67338b900fe31a6e2538847c6e9f08290d1627bf


# copy file to device folder

cp build.CoreELEC-Amlogic-ne.aarch64-20/build/linux-67338b900fe31a6e2538847c6e9f08290d1627bf/.config projects/Amlogic-ce/devices/Amlogic-ne/linux/config_mod.conf


# go to device folder projects/Amlogic-ce/devices/Amlogic-ne/linux

# and copy required changes from config_mod.conf to linux.aarch64.conf

# then build linux or/and image again




# run menuconfig and save changes to file at the end

make ARCH=arm64 menuconfig -C build.CoreELEC-Amlogic-ne.aarch64-20/build/linux-67338b900fe31a6e2538847c6e9f08290d1627bf


# copy file to device folder

cp build.CoreELEC-Amlogic-ne.aarch64-20/build/linux-67338b900fe31a6e2538847c6e9f08290d1627bf/.config projects/Amlogic-ce/devices/Amlogic-ne/linux/config_mod.conf


# go to device folder projects/Amlogic-ce/devices/Amlogic-ne/linux

# and copy required changes from config_mod.conf to linux.aarch64.conf

# then build linux or/and image again


cd /home/tony/CoreELEC

make ARCH=arm64 menuconfig -C build.CoreELEC-Amlogic-ng.arm-19/build/linux-f0f6f8833853aff0957785247e6b802e6da4a9d0

touch /home/tony/CoreELEC/projects/Amlogic-ce/devices/Amlogic-ng/linux/config_mod.conf

cp build.CoreELEC-Amlogic-ng.arm-19/build/linux-f0f6f8833853aff0957785247e6b802e6da4a9d0/.config projects/Amlogic-ce/devices/Amlogic-ng/linux/config_mod.conf

复制mod中的数据到aarch.conf

rm -f /home/tony/CoreELEC/build.CoreELEC-Amlogic-ng.arm-19/.stamps/linux/build_target

PROJECT=Amlogic-ce ARCH=arm ./scripts/build linux


关于编译coreelec内核和构建coreelec镜像的评论 (共 条)

分享到微博请遵守国家法律