developer | 15a4331 | 2022-04-12 11:23:23 +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 | |
developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 13 | MACHINEOVERRIDES .= ":broadband:filogic:mt7986" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 14 | |
developer | b75d67a | 2022-07-12 10:59:26 +0800 | [diff] [blame] | 15 | PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv" |
| 16 | |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 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 | 056d357 | 2022-04-26 13:26:13 +0800 | [diff] [blame] | 24 | PREFERRED_VERSION_linux-libc-headers = "5.4" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 25 | |
developer | ae1a693 | 2022-12-29 10:50:33 +0800 | [diff] [blame] | 26 | PREFERRED_PROVIDER_hal-wifi = "hal-wifi-mt76" |
developer | 7a8894c | 2024-07-12 14:42:17 +0800 | [diff] [blame] | 27 | PREFERRED_VERSION_iw_filogic = "6.%" |
developer | 3620720 | 2022-12-08 18:07:04 +0800 | [diff] [blame] | 28 | #wifi bsp from openwrt |
| 29 | PREFERRED_VERSION_hostapd = "2.10" |
| 30 | PREFERRED_VERSION_wpa-supplicant = "2.10" |
| 31 | PREFERRED_VERSION_linux-mac80211 = "5.15.%" |
| 32 | PREFERRED_VERSION_linux-mt76 = "2.%" |
developer | 783a8a6 | 2024-01-17 12:34:31 +0800 | [diff] [blame] | 33 | PREFERRED_VERSION_lua = "5.3.%" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 34 | #masking files for dunfell build |
developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 35 | require conf/include/filogic-bbmasks.inc |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 36 | #require conf/include/rdk-external-src-platform.inc |
| 37 | |
| 38 | DISTRO_FEATURES_append = " meshwifi" |
| 39 | DISTRO_FEATURES_append = " ipv6" |
developer | feea77e | 2022-07-11 18:10:33 +0800 | [diff] [blame] | 40 | DISTRO_FEATURES_append = " kernel_in_ubi" |
developer | eff887c | 2022-07-11 11:39:44 +0800 | [diff] [blame] | 41 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
developer | 915d0d2 | 2022-07-15 15:11:26 +0800 | [diff] [blame] | 42 | DISTRO_FEATURES_append = " fwupgrade_manager" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 43 | DISTRO_FEATURES_append = " mt76" |
developer | b6037b3 | 2022-11-16 17:45:08 +0800 | [diff] [blame] | 44 | DISTRO_FEATURES_append = " flow_offload" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 45 | #DISTRO_FEATURES_append = " logan" |
| 46 | #DISTRO_FEATURES_append = " mtk_easymesh" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 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" |
developer | f253f24 | 2024-10-17 13:38:50 +0800 | [diff] [blame^] | 50 | DISTRO_FEATURES_remove = " three_gmac" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 51 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 52 | #for sdk support |
| 53 | INHERIT_append = " uninative" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 54 | |
| 55 | BOOT_SUFFIX = "bin" |
| 56 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 57 | |
developer | 28c5a0e | 2023-06-08 13:35:33 +0800 | [diff] [blame] | 58 | #for secure boot support |
| 59 | #DISTRO_FEATURES_append = " secure_boot" |
| 60 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 61 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 62 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 63 | FIT_HASH_ALG_secureboot ="sha1" |
| 64 | HASHED_BOOT_DEVICE_secureboot = "252:0" |
| 65 | |
| 66 | # for efuse tools |
| 67 | #DISTRO_FEATURES_append = " efuse_tools" |