OrangePiLibra / OrangePi_H5SDK

The Liunx SDK of OrangePi for Allwinner H5
49 stars 24 forks source link

Kernel configs for Orange Pi PC 2 differ in "kernel" and "kernel/arch/arm64/configs/", missing patch. #22

Open znoxx opened 7 years ago

znoxx commented 7 years ago

There is a code scripts/kernel_compile.sh

if [ ! -f $LINUX/.config ]; then make -C $LINUX ARCH=arm64 CROSS_COMPILE=$TOOLS ${PLATFORM}_linux_defconfig echo -e "\e[1;31m Using ${PLATFROM}_linux_defconfig \e[0m" fi

In case .config is not found. This file can be dropper when "make clean" or "make mrproper" is made

Then OrangePiH5_PC2_linux_defconfig is used. But file, located in kernel/arch/arm64/configs/OrangePiH5_PC2_linux_defconfig differs and lacks SUNXI_GPIOKEY setting.

$ diff .config OrangePiH5_PC2_linux_defconfig 29,30d28 < CONFIG_SUNXI_GPIOKEY=y <

Please align them.

BuddyZhang1 commented 7 years ago

@znoxx Hi, firends: According some problem, we use new github to maintain OrangePi PC2, please use new github:

git clone https://github.com/OrangePiLibra/OrangePi.git