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 | ae1a693 | 2022-12-29 10:50:33 +0800 | [diff] [blame] | 26 | PREFERRED_PROVIDER_hal-wifi = "hal-wifi-mt76" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 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 | 0f27dcd | 2022-12-26 20:07:32 +0800 | [diff] [blame] | 33 | PREFERRED_VERSION_hostapd = "2.10.3" |
| 34 | PREFERRED_VERSION_wpa-supplicant = "2.10.3" |
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 | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 47 | DISTRO_FEATURES_append = " mt76" |
developer | b6037b3 | 2022-11-16 17:45:08 +0800 | [diff] [blame] | 48 | DISTRO_FEATURES_append = " flow_offload" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 49 | #DISTRO_FEATURES_append = " logan" |
| 50 | #DISTRO_FEATURES_append = " mtk_easymesh" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 51 | # kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported |
| 52 | #DISTRO_FEATURES_append = " referencepltfm " |
| 53 | #DISTRO_FEATURES_remove = " ld-is-gold" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 54 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
developer | 4b2684a | 2022-10-18 16:08:45 +0800 | [diff] [blame] | 55 | #for sdk support |
| 56 | INHERIT_append = " uninative" |
| 57 | BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *" |
| 58 | |
| 59 | BOOT_SUFFIX = "bin" |
| 60 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 61 | |
developer | 8777631 | 2022-12-02 10:29:28 +0800 | [diff] [blame] | 62 | #for secure boot support |
| 63 | #DISTRO_FEATURES_append = " secure_boot" |
| 64 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 65 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 66 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 67 | FIT_HASH_ALG_secureboot ="sha1" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 68 | HASHED_BOOT_DEVICE_secureboot = "252:0" |