diff --git a/kas/opt/meta-hailo.yml b/kas/opt/meta-hailo.yml index b7ba9aeeb..56f85a9c8 100644 --- a/kas/opt/meta-hailo.yml +++ b/kas/opt/meta-hailo.yml @@ -11,6 +11,10 @@ header: version: 14 +local_conf_header: + hailo_override: | + OVERRIDES .= ":meta-hailo" + repos: meta-hailo: path: ${TOPDIR}/../meta-hailo diff --git a/recipes-kernel/linux/linux-iot2050-6.1.inc b/recipes-kernel/linux/linux-iot2050-6.1.inc index 613a53a8e..271768d01 100644 --- a/recipes-kernel/linux/linux-iot2050-6.1.inc +++ b/recipes-kernel/linux/linux-iot2050-6.1.inc @@ -26,6 +26,8 @@ def get_extra_configs(d): if re.search("pvu-dma", overrides): append_config.append('CONFIG_TI_PVU=y') + if re.search("meta-hailo", overrides): + append_config.append('CONFIG_SWIOTLB_SEGSIZE=256') if append_config: append_config_file = os.path.join(d.getVar('T'), 'iot2050_append_config.cfg')