developer | 9037957 | 2024-05-29 17:23:20 +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:mt7986:aarch64" |
| 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 | |
| 26 | PREFERRED_PROVIDER_virtual/wifi-hal ?= "wifi-hal-generic" |
| 27 | #PREFERRED_PROVIDER_hal-wifi = "hal-wifi-mt76" |
| 28 | PREFERRED_VERSION_iw_filogic = "5.%" |
| 29 | #wifi bsp from openwrt |
| 30 | PREFERRED_VERSION_hostapd = "2.10" |
| 31 | PREFERRED_VERSION_wpa-supplicant = "2.10" |
| 32 | PREFERRED_VERSION_linux-mac80211 = "5.15.%" |
| 33 | PREFERRED_VERSION_linux-mt76 = "2.%" |
| 34 | PREFERRED_VERSION_lua = "5.3.%" |
| 35 | #masking files for dunfell build |
| 36 | require conf/include/filogic-bbmasks.inc |
| 37 | #require conf/include/rdk-external-src-platform.inc |
| 38 | |
| 39 | DISTRO_FEATURES_append = " meshwifi" |
| 40 | DISTRO_FEATURES_append = " ipv6" |
| 41 | DISTRO_FEATURES_append = " kernel_in_ubi" |
| 42 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
| 43 | DISTRO_FEATURES_append = " fwupgrade_manager" |
| 44 | DISTRO_FEATURES_append = " mt76" |
| 45 | DISTRO_FEATURES_append = " flow_offload" |
| 46 | #DISTRO_FEATURES_append = " logan" |
| 47 | #DISTRO_FEATURES_append = " mtk_easymesh" |
| 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" |
developer | f253f24 | 2024-10-17 13:38:50 +0800 | [diff] [blame^] | 51 | DISTRO_FEATURES_remove = " three_gmac" |
developer | 9037957 | 2024-05-29 17:23:20 +0800 | [diff] [blame] | 52 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
| 53 | BBMASK .= "|meta-filogic/recipes-wifi/hal/" |
| 54 | BBMASK .= "|meta-filogic/recipes-wifi/wpa-supplicant/" |
| 55 | BBMASK .= "|meta-filogic/recipes-wifi/hostapd/" |
| 56 | #for sdk support |
| 57 | INHERIT_append = " uninative" |
| 58 | |
| 59 | BOOT_SUFFIX = "bin" |
| 60 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 61 | |
| 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" |
| 68 | HASHED_BOOT_DEVICE_secureboot = "252:0" |
| 69 | |
| 70 | # for efuse tools |
| 71 | #DISTRO_FEATURES_append = " efuse_tools" |
| 72 | |
| 73 | DISTRO_FEATURES_append_broadband = " rdkb_xdsl_ppp_manager" |
| 74 | # REFPLTB-1546 : WiFi HAL 3.0 support for RPI |
| 75 | DISTRO_FEATURES_append_broadband = " halVersion3" |
| 76 | |
| 77 | # Fix MeshAgent build errors |
| 78 | DISTRO_FEATURES_append_broadband = " WanFailOverSupportEnable" |
| 79 | |
| 80 | #rdk-wifi-libhostap support for broadband |
| 81 | DISTRO_FEATURES_append_broadband = " HOSTAPD_2_10" |
| 82 | |
| 83 | # OneWifi feature |
| 84 | DISTRO_FEATURES_append_broadband = " OneWifi" |
| 85 | |
| 86 | # REFPLTB-1775: Sky team's fix for erouter0 IP issue |
| 87 | DISTRO_FEATURES_append_broadband = " RbusBuildFlagEnable" |
| 88 | |
| 89 | INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0" |
| 90 | PACKAGECONFIG_remove_pn-gdb = "readline" |
| 91 | #DISTRO_FEATURES_append_broadband = " offchannel_scan_5g" |