diff --git a/br-ext-chip-hisilicon/board/hi3516cv200/kernel/hi3518ev200.generic.config b/br-ext-chip-hisilicon/board/hi3516cv200/kernel/hi3518ev200.generic.config index 73ffaee3..d0e87577 100644 --- a/br-ext-chip-hisilicon/board/hi3516cv200/kernel/hi3518ev200.generic.config +++ b/br-ext-chip-hisilicon/board/hi3516cv200/kernel/hi3518ev200.generic.config @@ -668,7 +668,7 @@ CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" # CONFIG_MAC80211_DEBUG_MENU is not set CONFIG_MAC80211_STA_HASH_MAX_SIZE=0 # CONFIG_WIMAX is not set -# CONFIG_RFKILL is not set +CONFIG_RFKILL=y # CONFIG_NET_9P is not set # CONFIG_CAIF is not set # CONFIG_CEPH_LIB is not set diff --git a/building.sh b/building.sh index b688cce2..3c4f3e59 100755 --- a/building.sh +++ b/building.sh @@ -15,7 +15,8 @@ clone() { } fresh() { - date >/tmp/openipc_buildtime.txt + echo -e "\nThe start-stop times\n" >/tmp/openipc_buildtime.txt + date >>/tmp/openipc_buildtime.txt [ -d buildroot-2020.02.12/dl ] && mv buildroot-2020.02.12/dl . make distclean #clean [ -d buildroot* ] && echo -e "\nBuildroot found, OK\n" || make prepare @@ -45,7 +46,6 @@ rename() { mv -v ./output/images/rootfs.cpio ./output/images/rootfs.${soc}.cpio mv -v ./output/images/rootfs.tar ./output/images/rootfs.${soc}.tar date >>/tmp/openipc_buildtime.txt - echo -e "\n\n$(cat /tmp/openipc_buildtime.txt)" } rename_initramfs() { @@ -58,10 +58,13 @@ rename_initramfs() { } autoup_rootfs() { - echo -e "\n\n" + echo -e "\n" curl -L -o ./output/images/u-boot-hi3518ev200-universal.bin https://github.com/OpenIPC/firmware/releases/download/latest/u-boot-hi3518ev200-universal.bin + echo -e "\n" ./output/host/bin/mkimage -A arm -O linux -T firmware -n 'OpenIPC v.2.2.7' -a 0x000000000000 -e 0x000000050000 -d ./output/images/u-boot-hi3518ev200-universal.bin ./output/images/autoupdate-uboot.img + echo -e "\n" ./output/host/bin/mkimage -A arm -O linux -T kernel -C none -n 'OpenIPC v2.2.7' -a 0x000000050000 -e 0x000000250000 -d ./output/images/uImage.${soc} ./output/images/autoupdate-kernel.img + echo -e "\n" ./output/host/bin/mkimage -A arm -O linux -T filesystem -n 'OpenIPC v.2.2.7' -a 0x000000250000 -e 0x000000750000 -d ./output/images/rootfs.squashfs.${soc} ./output/images/autoupdate-rootfs.img } @@ -740,3 +743,6 @@ hi3518ev200_hs303 # OpenIPC # # More examples see here: https://openipc.github.io/wiki/ # + +echo -e "\n\n$(cat /tmp/openipc_buildtime.txt)" +