developer | 28fb722 | 2024-04-30 09:52:49 +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:mt7990:bpi4" |
| 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_hal-wifi = "hal-wifi-mt76" |
| 27 | PREFERRED_VERSION_iw_filogic = "5.%" |
| 28 | PREFERRED_VERSION_lua = "5.3.%" |
| 29 | #wifi bsp from openwrt |
| 30 | #PREFERRED_VERSION_hostapd = "2.11" |
| 31 | #PREFERRED_VERSION_wpa-supplicant = "2.11" |
| 32 | PREFERRED_VERSION_linux-mac80211 = "6.%" |
| 33 | PREFERRED_VERSION_linux-mt76 = "3.%" |
| 34 | PREFERRED_VERSION_hostapd = "2.10.3" |
| 35 | PREFERRED_VERSION_wpa-supplicant_filogic = "2.10.3" |
| 36 | PREFERRED_VERSION_json-c = "0.15" |
| 37 | #PREFERRED_VERSION_linux-mac80211 = "5.15.%" |
| 38 | #PREFERRED_VERSION_linux-mt76 = "2.%" |
| 39 | |
| 40 | #masking files for dunfell build |
| 41 | require conf/include/filogic-bbmasks.inc |
| 42 | #require conf/include/rdk-external-src-platform.inc |
| 43 | |
| 44 | DISTRO_FEATURES_append = " meshwifi" |
| 45 | DISTRO_FEATURES_append = " ipv6" |
| 46 | DISTRO_FEATURES_append = " kernel_in_ubi" |
| 47 | #DISTRO_FEATURES_append = " switch_gsw_mode" |
| 48 | DISTRO_FEATURES_append = " fwupgrade_manager" |
| 49 | DISTRO_FEATURES_append = " mt76" |
| 50 | DISTRO_FEATURES_append = " flow_offload" |
| 51 | DISTRO_FEATURES_append = " wifi_eht" |
| 52 | #DISTRO_FEATURES_append = " logan" |
| 53 | #DISTRO_FEATURES_append = " mtk_easymesh" |
| 54 | # kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported |
| 55 | #DISTRO_FEATURES_append = " referencepltfm " |
| 56 | #DISTRO_FEATURES_remove = " ld-is-gold" |
| 57 | BBMASK .= "|meta-filogic-logan/recipes-wifi/" |
| 58 | #for sdk support |
| 59 | INHERIT_append = " uninative" |
| 60 | |
| 61 | BOOT_SUFFIX = "bin" |
| 62 | MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat" |
| 63 | |
| 64 | #for secure boot support |
| 65 | #DISTRO_FEATURES_append = " secure_boot" |
| 66 | MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}" |
| 67 | SECURE_BOOT_KEYNAME_secureboot = "fit_key" |
| 68 | SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys" |
| 69 | FIT_HASH_ALG_secureboot ="sha1" |
| 70 | HASHED_BOOT_DEVICE_secureboot = "252:0" |
| 71 | |
| 72 | # for efuse tools |
developer | efbd1a1 | 2024-06-28 19:12:30 +0800 | [diff] [blame^] | 73 | #DISTRO_FEATURES_append = " efuse_tools" |
| 74 | |
| 75 | #DISTRO_FEATURES_append = " WanManagerUnificationEnable" |
| 76 | DISTRO_FEATURES_append = " lan0_as_wan" |