blob: e8bfcd60d300e37b3b6046147468a75bd850dd51 [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
26#masking files for dunfell build
27require conf/include/filogic-bbmasks.inc
28#require conf/include/rdk-external-src-platform.inc
29
30DISTRO_FEATURES_append = " meshwifi"
31DISTRO_FEATURES_append = " ipv6"
32DISTRO_FEATURES_append = " kernel_in_ubi"
developer8b977142022-11-23 17:33:06 +080033#DISTRO_FEATURES_append = " switch_gsw_mode"
developer4b2684a2022-10-18 16:08:45 +080034DISTRO_FEATURES_append = " fwupgrade_manager"
developerb6037b32022-11-16 17:45:08 +080035DISTRO_FEATURES_append = " flow_offload"
developer4b2684a2022-10-18 16:08:45 +080036# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
37#DISTRO_FEATURES_append = " referencepltfm "
38#DISTRO_FEATURES_remove = " ld-is-gold"
39
40#for sdk support
41INHERIT_append = " uninative"
42BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *"
43
44BOOT_SUFFIX = "bin"
45MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
46
developer87776312022-12-02 10:29:28 +080047#for secure boot support
48#DISTRO_FEATURES_append = " secure_boot"
49MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
50SECURE_BOOT_KEYNAME_secureboot = "fit_key"
51SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
52FIT_HASH_ALG_secureboot ="sha1"
53HASHED_BOOT_DEVICE_secureboot = "252:0"