DEVICE_MODEL := NBG7815
DEVICE_DTS_CONFIG := config@nbg7815
SOC := ipq8074
- DEVICE_PACKAGES := ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci \
+ DEVICE_PACKAGES := kmod-fs-f2fs f2fs-tools ipq-wifi-zyxel_nbg7815 kmod-ath11k-pci \
kmod-bluetooth kmod-hwmon-tmp103
endef
TARGET_DEVICES += zyxel_nbg7815
[ -z "$config_mtdnum" ] && reboot
part_num="$(hexdump -e '1/1 "%01x|"' -n 1 -s 168 -C /dev/mtd$config_mtdnum | cut -f 1 -d "|" | head -n1)"
if [ "$part_num" -eq "0" ]; then
- kernelname="0:HLOS"
- rootfsname="rootfs"
- mmc_do_upgrade "$1"
+ CI_KERNPART="0:HLOS"
+ CI_ROOTPART="rootfs"
else
- kernelname="0:HLOS_1"
- rootfsname="rootfs_1"
- mmc_do_upgrade "$1"
+ CI_KERNPART="0:HLOS_1"
+ CI_ROOTPART="rootfs_1"
fi
+ emmc_do_upgrade "$1"
;;
*)
default_do_upgrade "$1"
platform_copy_config() {
case "$(board_name)" in
- spectrum,sax1v1k)
+ spectrum,sax1v1k|\
+ zyxel,nbg7815)
emmc_copy_config
;;
esac