[meta-ti] [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

Ruei, Eric e-ruei1 at ti.com
Fri Jul 13 12:21:46 PDT 2018


The kernel module is the same for all window system.
The DDK 1.17 provides three window systems (nulldrmws, wayland and org (default)).
 I can create the one for nulldrmws by export the environment variable WINDOW_SYSTEM=nulldrmws
Is there a way that I can do that at the recipe?

Best regards,

Eric



-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, July 13, 2018 3:15 PM
To: Ruei, Eric
Cc: meta-ti at yoctoproject.org
Subject: Re: [meta-ti] [PATCH v3 3/3] ti-sgx-ddk-km: add k3 (AM654x) support

On Fri, Jul 13, 2018 at 03:10:16PM -0400, Eric Ruei wrote:
> - add K3 (AM654x) support based on SGX DDK 1.17
> 
> Signed-off-by: Eric Ruei <e-ruei1 at ti.com>
> ---
>  ...gx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
>  copy recipes-bsp/powervr-drivers/{ti-sgx-ddk-km_1.14.3699939.bb => ti-sgx-ddk-km_1.17.4948957.bb} (75%)
> 
> diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> similarity index 75%
> copy from recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
> copy to recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> index a4eb82a..3ce9105 100644
> --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb
> +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb
> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9
>  
>  inherit module
>  
> -COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
> +COMPATIBLE_MACHINE = "k3"
>  
>  MACHINE_KERNEL_PR_append = "o"
>  PR = "${MACHINE_KERNEL_PR}"
> @@ -26,11 +26,9 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
>  
>  S = "${WORKDIR}/git"
>  
> -SRCREV = "d2b3959738cfcc6209e8e882d1989de790866c8f"
> +SRCREV = "b630d462f5fbb86e5f98965ba1af35da1207822f"
>  
> -TARGET_PRODUCT_omap-a15 = "jacinto6evm"
> -TARGET_PRODUCT_ti33x = "ti335x"
> -TARGET_PRODUCT_ti43x = "ti437x"
> +TARGET_PRODUCT_k3 = "ti654x"
>  
>  EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
>  
> @@ -39,5 +37,5 @@ do_compile_prepend() {
>  }
>  
>  do_install() {
> -    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
> +    make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install

BTW, are these binaries with X11 or Wayland support? I see path has xorg here ^^^


>  }
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list