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-32bit.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-32bit:mt7986-32bit" |
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 | |
| 26 | #masking files for dunfell build |
developer | cc441a0 | 2022-05-09 19:04:26 +0800 | [diff] [blame] | 27 | require conf/include/filogic-bbmasks.inc |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 28 | #require conf/include/rdk-external-src-platform.inc |
| 29 | |
| 30 | DISTRO_FEATURES_append = " meshwifi" |
| 31 | DISTRO_FEATURES_append = " ipv6" |
developer | feea77e | 2022-07-11 18:10:33 +0800 | [diff] [blame] | 32 | DISTRO_FEATURES_append = " kernel_in_ubi" |
developer | eff887c | 2022-07-11 11:39:44 +0800 | [diff] [blame] | 33 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
developer | 915d0d2 | 2022-07-15 15:11:26 +0800 | [diff] [blame] | 34 | DISTRO_FEATURES_append = " fwupgrade_manager" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 35 | DISTRO_FEATURES_append = " mt76" |
developer | b6037b3 | 2022-11-16 17:45:08 +0800 | [diff] [blame] | 36 | DISTRO_FEATURES_append = " flow_offload" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 37 | #DISTRO_FEATURES_append = " logan" |
| 38 | #DISTRO_FEATURES_append = " mtk_easymesh" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 39 | # kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported |
| 40 | #DISTRO_FEATURES_append = " referencepltfm " |
| 41 | #DISTRO_FEATURES_remove = " ld-is-gold" |
developer | f253f24 | 2024-10-17 13:38:50 +0800 | [diff] [blame^] | 42 | DISTRO_FEATURES_remove = " three_gmac" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 43 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 44 | #for sdk support |
| 45 | INHERIT_append = " uninative" |
| 46 | BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *" |
| 47 | |
| 48 | BOOT_SUFFIX = "bin" |
| 49 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 50 | |