developer | c27ead3 | 2023-01-03 16:32:58 +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 | |
| 21 | PREFERRED_PROVIDER_virtual/kernel = "linux-mediatek" |
| 22 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" |
| 23 | PREFERRED_VERSION_linux-mediatek = "5.4.%" |
| 24 | PREFERRED_VERSION_linux-libc-headers = "5.4" |
| 25 | |
developer | 839fc60 | 2023-01-11 19:16:07 +0800 | [diff] [blame^] | 26 | PREFERRED_PROVIDER_hal-wifi = "hal-wifi-logan" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 27 | PREFERRED_VERSION_iw_filogic = "5.%" |
| 28 | #wifi bsp from openwrt |
| 29 | |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 30 | |
| 31 | |
| 32 | #masking files for dunfell build |
| 33 | require conf/include/filogic-bbmasks.inc |
| 34 | #require conf/include/rdk-external-src-platform.inc |
| 35 | |
| 36 | DISTRO_FEATURES_append = " meshwifi" |
| 37 | DISTRO_FEATURES_append = " ipv6" |
| 38 | DISTRO_FEATURES_append = " kernel_in_ubi" |
| 39 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
| 40 | DISTRO_FEATURES_append = " fwupgrade_manager" |
| 41 | #DISTRO_FEATURES_append = " mt76" |
| 42 | #DISTRO_FEATURES_append = " flow_offload" |
| 43 | DISTRO_FEATURES_append = " logan" |
| 44 | #DISTRO_FEATURES_append = " mtk_easymesh" |
| 45 | # kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported |
| 46 | #DISTRO_FEATURES_append = " referencepltfm " |
| 47 | #DISTRO_FEATURES_remove = " ld-is-gold" |
| 48 | |
developer | 839fc60 | 2023-01-11 19:16:07 +0800 | [diff] [blame^] | 49 | BBMASK .= "|meta-filogic/recipes-wifi/" |
developer | c27ead3 | 2023-01-03 16:32:58 +0800 | [diff] [blame] | 50 | #for sdk support |
| 51 | INHERIT_append = " uninative" |
| 52 | BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *" |
| 53 | |
| 54 | BOOT_SUFFIX = "bin" |
| 55 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 56 | |
| 57 | #for secure boot support |
| 58 | #DISTRO_FEATURES_append = " secure_boot" |
| 59 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 60 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 61 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 62 | FIT_HASH_ALG_secureboot ="sha1" |
| 63 | HASHED_BOOT_DEVICE_secureboot = "252:0" |