blob: 5b732a50edc631c605125c1c3d03a9c99535917d [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +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
developercc441a02022-05-09 19:04:26 +080013MACHINEOVERRIDES .= ":broadband:filogic:mt7986"
developer15a43312022-04-12 11:23:23 +080014
developerb75d67a2022-07-12 10:59:26 +080015PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
16
developer15a43312022-04-12 11:23:23 +080017PREFERRED_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.%"
developer056d3572022-04-26 13:26:13 +080024PREFERRED_VERSION_linux-libc-headers = "5.4"
developer15a43312022-04-12 11:23:23 +080025
developerae1a6932022-12-29 10:50:33 +080026PREFERRED_PROVIDER_hal-wifi = "hal-wifi-mt76"
developer7a8894c2024-07-12 14:42:17 +080027PREFERRED_VERSION_iw_filogic = "6.%"
developer36207202022-12-08 18:07:04 +080028#wifi bsp from openwrt
29PREFERRED_VERSION_hostapd = "2.10"
30PREFERRED_VERSION_wpa-supplicant = "2.10"
31PREFERRED_VERSION_linux-mac80211 = "5.15.%"
32PREFERRED_VERSION_linux-mt76 = "2.%"
developer783a8a62024-01-17 12:34:31 +080033PREFERRED_VERSION_lua = "5.3.%"
developer15a43312022-04-12 11:23:23 +080034#masking files for dunfell build
developercc441a02022-05-09 19:04:26 +080035require conf/include/filogic-bbmasks.inc
developer15a43312022-04-12 11:23:23 +080036#require conf/include/rdk-external-src-platform.inc
37
38DISTRO_FEATURES_append = " meshwifi"
39DISTRO_FEATURES_append = " ipv6"
developerfeea77e2022-07-11 18:10:33 +080040DISTRO_FEATURES_append = " kernel_in_ubi"
developereff887c2022-07-11 11:39:44 +080041#DISTRO_FEATURES_append = " switch_gsw_mode"
developer915d0d22022-07-15 15:11:26 +080042DISTRO_FEATURES_append = " fwupgrade_manager"
developerc27ead32023-01-03 16:32:58 +080043DISTRO_FEATURES_append = " mt76"
developerb6037b32022-11-16 17:45:08 +080044DISTRO_FEATURES_append = " flow_offload"
developerc27ead32023-01-03 16:32:58 +080045#DISTRO_FEATURES_append = " logan"
46#DISTRO_FEATURES_append = " mtk_easymesh"
developer15a43312022-04-12 11:23:23 +080047# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
48#DISTRO_FEATURES_append = " referencepltfm "
49#DISTRO_FEATURES_remove = " ld-is-gold"
developerc27ead32023-01-03 16:32:58 +080050BBMASK .= "|meta-filogic-logan/recipes-wifi/"
developer15a43312022-04-12 11:23:23 +080051#for sdk support
52INHERIT_append = " uninative"
developer15a43312022-04-12 11:23:23 +080053
54BOOT_SUFFIX = "bin"
55MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
56
developer28c5a0e2023-06-08 13:35:33 +080057#for secure boot support
58#DISTRO_FEATURES_append = " secure_boot"
59MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
60SECURE_BOOT_KEYNAME_secureboot = "fit_key"
61SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
62FIT_HASH_ALG_secureboot ="sha1"
63HASHED_BOOT_DEVICE_secureboot = "252:0"
64
65# for efuse tools
66#DISTRO_FEATURES_append = " efuse_tools"