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" |
| 51 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
| 52 | BBMASK .= "|meta-filogic/recipes-wifi/hal/" |
| 53 | BBMASK .= "|meta-filogic/recipes-wifi/wpa-supplicant/" |
| 54 | BBMASK .= "|meta-filogic/recipes-wifi/hostapd/" |
| 55 | #for sdk support |
| 56 | INHERIT_append = " uninative" |
| 57 | |
| 58 | BOOT_SUFFIX = "bin" |
| 59 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 60 | |
| 61 | #for secure boot support |
| 62 | #DISTRO_FEATURES_append = " secure_boot" |
| 63 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 64 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 65 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 66 | FIT_HASH_ALG_secureboot ="sha1" |
| 67 | HASHED_BOOT_DEVICE_secureboot = "252:0" |
| 68 | |
| 69 | # for efuse tools |
| 70 | #DISTRO_FEATURES_append = " efuse_tools" |
| 71 | |
| 72 | DISTRO_FEATURES_append_broadband = " rdkb_xdsl_ppp_manager" |
| 73 | # REFPLTB-1546 : WiFi HAL 3.0 support for RPI |
| 74 | DISTRO_FEATURES_append_broadband = " halVersion3" |
| 75 | |
| 76 | # Fix MeshAgent build errors |
| 77 | DISTRO_FEATURES_append_broadband = " WanFailOverSupportEnable" |
| 78 | |
| 79 | #rdk-wifi-libhostap support for broadband |
| 80 | DISTRO_FEATURES_append_broadband = " HOSTAPD_2_10" |
| 81 | |
| 82 | # OneWifi feature |
| 83 | DISTRO_FEATURES_append_broadband = " OneWifi" |
| 84 | |
| 85 | # REFPLTB-1775: Sky team's fix for erouter0 IP issue |
| 86 | DISTRO_FEATURES_append_broadband = " RbusBuildFlagEnable" |
| 87 | |
| 88 | INCOMPATIBLE_LICENSE = "GPL-3.0 LGPL-3.0 AGPL-3.0" |
| 89 | PACKAGECONFIG_remove_pn-gdb = "readline" |
| 90 | #DISTRO_FEATURES_append_broadband = " offchannel_scan_5g" |