blob: f3862597cf101bd58b804728a1242c4dab588693 [file] [log] [blame]
developer4b2684a2022-10-18 16:08:45 +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
developerb3456952022-11-02 18:02:25 +080021PREFERRED_PROVIDER_virtual/kernel = "linux-mediatek"
22PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
23PREFERRED_VERSION_linux-mediatek = "5.4.%"
developer4b2684a2022-10-18 16:08:45 +080024PREFERRED_VERSION_linux-libc-headers = "5.4"
developer4b2684a2022-10-18 16:08:45 +080025
developerae1a6932022-12-29 10:50:33 +080026PREFERRED_PROVIDER_hal-wifi = "hal-wifi-mt76"
developer36207202022-12-08 18:07:04 +080027PREFERRED_VERSION_iw_filogic = "5.%"
28#wifi bsp from openwrt
29#PREFERRED_VERSION_hostapd = "2.11"
30#PREFERRED_VERSION_wpa-supplicant = "2.11"
developera265b282022-12-15 18:20:54 +080031PREFERRED_VERSION_linux-mac80211 = "6.%"
32PREFERRED_VERSION_linux-mt76 = "3.%"
developer0f27dcd2022-12-26 20:07:32 +080033PREFERRED_VERSION_hostapd = "2.10.3"
34PREFERRED_VERSION_wpa-supplicant = "2.10.3"
developera265b282022-12-15 18:20:54 +080035#PREFERRED_VERSION_linux-mac80211 = "5.15.%"
36#PREFERRED_VERSION_linux-mt76 = "2.%"
developer36207202022-12-08 18:07:04 +080037
developer4b2684a2022-10-18 16:08:45 +080038#masking files for dunfell build
39require conf/include/filogic-bbmasks.inc
40#require conf/include/rdk-external-src-platform.inc
41
42DISTRO_FEATURES_append = " meshwifi"
43DISTRO_FEATURES_append = " ipv6"
44DISTRO_FEATURES_append = " kernel_in_ubi"
developer8b977142022-11-23 17:33:06 +080045#DISTRO_FEATURES_append = " switch_gsw_mode"
developer4b2684a2022-10-18 16:08:45 +080046DISTRO_FEATURES_append = " fwupgrade_manager"
developerc27ead32023-01-03 16:32:58 +080047DISTRO_FEATURES_append = " mt76"
developerb6037b32022-11-16 17:45:08 +080048DISTRO_FEATURES_append = " flow_offload"
developerc27ead32023-01-03 16:32:58 +080049#DISTRO_FEATURES_append = " logan"
50#DISTRO_FEATURES_append = " mtk_easymesh"
developer4b2684a2022-10-18 16:08:45 +080051# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
52#DISTRO_FEATURES_append = " referencepltfm "
53#DISTRO_FEATURES_remove = " ld-is-gold"
developerc27ead32023-01-03 16:32:58 +080054BBMASK .= "|meta-filogic-logan/recipes-wifi/"
developer4b2684a2022-10-18 16:08:45 +080055#for sdk support
56INHERIT_append = " uninative"
57BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *"
58
59BOOT_SUFFIX = "bin"
60MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
61
developer87776312022-12-02 10:29:28 +080062#for secure boot support
63#DISTRO_FEATURES_append = " secure_boot"
64MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
65SECURE_BOOT_KEYNAME_secureboot = "fit_key"
66SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
67FIT_HASH_ALG_secureboot ="sha1"
developer36207202022-12-08 18:07:04 +080068HASHED_BOOT_DEVICE_secureboot = "252:0"