developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 1 | #@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 | |
| 7 | include conf/machine/filogic.conf |
| 8 | |
| 9 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" |
| 10 | |
| 11 | MACHINE_IMAGE_NAME = "rdkb-generic-broadband-image" |
| 12 | |
| 13 | MACHINEOVERRIDES .= ":broadband:filogic:mt7988" |
| 14 | |
| 15 | PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv" |
| 16 | |
| 17 | PREFERRED_VERSION_xfsprogs = "4.8.0" |
| 18 | PREFERRED_VERSION_php_dunfell = "7.1.%" |
| 19 | PREFERRED_VERSION_php-native_dunfell = "7.1.%" |
| 20 | |
developer | b345695 | 2022-11-02 18:02:25 +0800 | [diff] [blame] | 21 | PREFERRED_PROVIDER_virtual/kernel = "linux-mediatek" |
| 22 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 23 | PREFERRED_VERSION_linux-mediatek = "5.4.%" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 24 | PREFERRED_VERSION_linux-libc-headers = "5.4" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 25 | |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 26 | PREFERRED_PROVIDER_hal-wifi = "hal-wifi-cfg80211" |
| 27 | PREFERRED_VERSION_iw_filogic = "5.%" |
| 28 | #wifi bsp from openwrt |
| 29 | #PREFERRED_VERSION_hostapd = "2.11" |
| 30 | #PREFERRED_VERSION_wpa-supplicant = "2.11" |
developer | a265b28 | 2022-12-15 18:20:54 +0800 | [diff] [blame^] | 31 | PREFERRED_VERSION_linux-mac80211 = "6.%" |
| 32 | PREFERRED_VERSION_linux-mt76 = "3.%" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 33 | PREFERRED_VERSION_hostapd = "2.10" |
| 34 | PREFERRED_VERSION_wpa-supplicant = "2.10" |
developer | a265b28 | 2022-12-15 18:20:54 +0800 | [diff] [blame^] | 35 | #PREFERRED_VERSION_linux-mac80211 = "5.15.%" |
| 36 | #PREFERRED_VERSION_linux-mt76 = "2.%" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 37 | |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 38 | #masking files for dunfell build |
| 39 | require conf/include/filogic-bbmasks.inc |
| 40 | #require conf/include/rdk-external-src-platform.inc |
| 41 | |
| 42 | DISTRO_FEATURES_append = " meshwifi" |
| 43 | DISTRO_FEATURES_append = " ipv6" |
| 44 | DISTRO_FEATURES_append = " kernel_in_ubi" |
developer | 8b97714 | 2022-11-23 17:33:06 +0800 | [diff] [blame] | 45 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 46 | DISTRO_FEATURES_append = " fwupgrade_manager" |
developer | b6037b3 | 2022-11-16 17:45:08 +0800 | [diff] [blame] | 47 | DISTRO_FEATURES_append = " flow_offload" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 48 | # kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported |
| 49 | #DISTRO_FEATURES_append = " referencepltfm " |
| 50 | #DISTRO_FEATURES_remove = " ld-is-gold" |
| 51 | |
| 52 | #for sdk support |
| 53 | INHERIT_append = " uninative" |
| 54 | BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *" |
| 55 | |
| 56 | BOOT_SUFFIX = "bin" |
| 57 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 58 | |
developer | 8777631 | 2022-12-02 10:29:28 +0800 | [diff] [blame] | 59 | #for secure boot support |
| 60 | #DISTRO_FEATURES_append = " secure_boot" |
| 61 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 62 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 63 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 64 | FIT_HASH_ALG_secureboot ="sha1" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 65 | HASHED_BOOT_DEVICE_secureboot = "252:0" |