blob: 67a779311c07a42089c0c997613756d004a5aacd [file] [log] [blame]
developer4914e572023-01-30 10:22:29 +08001#@TYPE: Machine
2#@NAME: mediatek filogic
3#@NEEDED_BSPLAYERS: meta-filogic
4#@DESCRIPTION: Machine configuration for running a RDK broadband on mediatek filogic
5#@RDK_FLAVOR: rdkb
6
7include conf/machine/filogic.conf
8
9MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
10
11MACHINE_IMAGE_NAME = "rdkb-generic-broadband-image"
12
13MACHINEOVERRIDES .= ":broadband:filogic:mt7988"
14
15PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
16
17PREFERRED_VERSION_xfsprogs = "4.8.0"
18PREFERRED_VERSION_php_dunfell = "7.1.%"
19PREFERRED_VERSION_php-native_dunfell = "7.1.%"
20
21PREFERRED_PROVIDER_virtual/kernel = "linux-mediatek"
22PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
23PREFERRED_VERSION_linux-mediatek = "5.4.%"
24PREFERRED_VERSION_linux-libc-headers = "5.4"
25
26PREFERRED_PROVIDER_hal-wifi = "hal-wifi-logan"
27PREFERRED_VERSION_iw_filogic = "5.%"
28#wifi bsp from openwrt
29PREFERRED_VERSION_hostapd = "2.10"
30PREFERRED_VERSION_wpa-supplicant = "2.10"
31
32
33#masking files for dunfell build
34require conf/include/filogic-bbmasks.inc
35#require conf/include/rdk-external-src-platform.inc
36
37DISTRO_FEATURES_append = " meshwifi"
38DISTRO_FEATURES_append = " ipv6"
39DISTRO_FEATURES_append = " kernel_in_ubi"
40#DISTRO_FEATURES_append = " switch_gsw_mode"
41DISTRO_FEATURES_append = " fwupgrade_manager"
42#DISTRO_FEATURES_append = " mt76"
43#DISTRO_FEATURES_append = " flow_offload"
44DISTRO_FEATURES_append = " logan"
developerfeb573a2023-10-18 20:10:38 +080045DISTRO_FEATURES_append = " mtk_easymesh"
developer4914e572023-01-30 10:22:29 +080046# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
47#DISTRO_FEATURES_append = " referencepltfm "
48#DISTRO_FEATURES_remove = " ld-is-gold"
49
developera8816d82023-07-12 16:07:42 +080050DISTRO_FEATURES_append = " 2022q3_support"
51DISTRO_FEATURES_remove = " core-net-lib"
52
53DISTRO_FEATURES_append = " kite"
54
developer4914e572023-01-30 10:22:29 +080055BBMASK .= "|meta-filogic/recipes-wifi/"
56
57#for mt7992-be7200
58DISTRO_FEATURES_append = " mt7992-be7200"
59MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','mt7992-be7200',':mt7992-be7200','',d)}"
60#for sdk support
61INHERIT_append = " uninative"
62BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *"
63
64BOOT_SUFFIX = "bin"
65MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
66
67#for secure boot support
68#DISTRO_FEATURES_append = " secure_boot"
69MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
70SECURE_BOOT_KEYNAME_secureboot = "fit_key"
71SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
72FIT_HASH_ALG_secureboot ="sha1"
73HASHED_BOOT_DEVICE_secureboot = "252:0"