blob: 7ea1f7bdfbf95518f96ad17b8ed2370365536d0d [file] [log] [blame]
developerc27ead32023-01-03 16:32:58 +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-mt76"
27PREFERRED_VERSION_iw_filogic = "5.%"
28#wifi bsp from openwrt
29
30PREFERRED_VERSION_hostapd = "2.10.3"
31PREFERRED_VERSION_wpa-supplicant = "2.10.3"
32
33
34#masking files for dunfell build
35require conf/include/filogic-bbmasks.inc
36#require conf/include/rdk-external-src-platform.inc
37
38DISTRO_FEATURES_append = " meshwifi"
39DISTRO_FEATURES_append = " ipv6"
40DISTRO_FEATURES_append = " kernel_in_ubi"
41#DISTRO_FEATURES_append = " switch_gsw_mode"
42DISTRO_FEATURES_append = " fwupgrade_manager"
43#DISTRO_FEATURES_append = " mt76"
44#DISTRO_FEATURES_append = " flow_offload"
45DISTRO_FEATURES_append = " logan"
46#DISTRO_FEATURES_append = " mtk_easymesh"
47# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
48#DISTRO_FEATURES_append = " referencepltfm "
49#DISTRO_FEATURES_remove = " ld-is-gold"
50
developer86339052023-01-05 13:17:10 +080051BBMASK .= "|meta-filogic/recipes-wifi/hostapd/"
52BBMASK .= "|meta-filogic/recipes-wifi/wpa-supplicant/"
developerb4654222023-01-04 17:24:09 +080053BBMASK .= "|meta-filogic/recipes-wifi/linux-mac80211/"
developerc27ead32023-01-03 16:32:58 +080054#for sdk support
55INHERIT_append = " uninative"
56BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *"
57
58BOOT_SUFFIX = "bin"
59MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
60
61#for secure boot support
62#DISTRO_FEATURES_append = " secure_boot"
63MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
64SECURE_BOOT_KEYNAME_secureboot = "fit_key"
65SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
66FIT_HASH_ALG_secureboot ="sha1"
67HASHED_BOOT_DEVICE_secureboot = "252:0"