blob: e39a172516e8cc33ca31d70c1c91cd949c08365f [file] [log] [blame]
developer28fb7222024-04-30 09:52:49 +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:mt7990:bpi4"
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-mt76"
developer7a8894c2024-07-12 14:42:17 +080027PREFERRED_VERSION_iw_filogic = "6.%"
developer28fb7222024-04-30 09:52:49 +080028PREFERRED_VERSION_lua = "5.3.%"
29#wifi bsp from openwrt
30#PREFERRED_VERSION_hostapd = "2.11"
31#PREFERRED_VERSION_wpa-supplicant = "2.11"
32PREFERRED_VERSION_linux-mac80211 = "6.%"
33PREFERRED_VERSION_linux-mt76 = "3.%"
34PREFERRED_VERSION_hostapd = "2.10.3"
35PREFERRED_VERSION_wpa-supplicant_filogic = "2.10.3"
36PREFERRED_VERSION_json-c = "0.15"
37#PREFERRED_VERSION_linux-mac80211 = "5.15.%"
38#PREFERRED_VERSION_linux-mt76 = "2.%"
39
40#masking files for dunfell build
41require conf/include/filogic-bbmasks.inc
42#require conf/include/rdk-external-src-platform.inc
43
44DISTRO_FEATURES_append = " meshwifi"
45DISTRO_FEATURES_append = " ipv6"
46DISTRO_FEATURES_append = " kernel_in_ubi"
47#DISTRO_FEATURES_append = " switch_gsw_mode"
48DISTRO_FEATURES_append = " fwupgrade_manager"
49DISTRO_FEATURES_append = " mt76"
50DISTRO_FEATURES_append = " flow_offload"
51DISTRO_FEATURES_append = " wifi_eht"
52#DISTRO_FEATURES_append = " logan"
53#DISTRO_FEATURES_append = " mtk_easymesh"
54# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
55#DISTRO_FEATURES_append = " referencepltfm "
56#DISTRO_FEATURES_remove = " ld-is-gold"
57BBMASK .= "|meta-filogic-logan/recipes-wifi/"
58#for sdk support
59INHERIT_append = " uninative"
60
61BOOT_SUFFIX = "bin"
62MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
63
64#for secure boot support
65#DISTRO_FEATURES_append = " secure_boot"
66MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
67SECURE_BOOT_KEYNAME_secureboot = "fit_key"
68SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
69FIT_HASH_ALG_secureboot ="sha1"
70HASHED_BOOT_DEVICE_secureboot = "252:0"
71
72# for efuse tools
developerefbd1a12024-06-28 19:12:30 +080073#DISTRO_FEATURES_append = " efuse_tools"
74
75#DISTRO_FEATURES_append = " WanManagerUnificationEnable"
76DISTRO_FEATURES_append = " lan0_as_wan"