關(guān)于編譯coreelec內(nèi)核和構(gòu)建coreelec鏡像
請謹(jǐn)慎按照以下步驟開始
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
復(fù)制mod中的數(shù)據(jù)到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