From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 891D2E0053F; Thu, 4 Oct 2018 12:49:04 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 278BDE003D9 for ; Thu, 4 Oct 2018 12:49:02 -0700 (PDT) Received: from [172.16.1.14] (62-178-50-190.cable.dynamic.surfer.at [62.178.50.190]) by ptmx.org (Postfix) with ESMTPSA id C2764709F; Thu, 4 Oct 2018 21:49:01 +0200 (CEST) To: Otavio Salvador References: <20181003102443.29749-1-gary.bisson@boundarydevices.com> <20181003102443.29749-2-gary.bisson@boundarydevices.com> From: Carlos Rafael Giani Message-ID: <4cc00ad5-5e2f-f2d0-1000-42fa44ccf8c3@pseudoterminal.org> Date: Thu, 4 Oct 2018 21:49:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Cc: meta-freescale Mailing List Subject: Re: [PATCH 1/2] imx-vpu-hantro: fix build issue X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 19:49:04 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US I am not aware of the kernel dependencies, so I need to read up on the problems there. Do you have a summary somewhere? Or something half finished that I can use as inspiration and/or informational document? On 2018-10-04 17:47, Otavio Salvador wrote: > On Wed, Oct 3, 2018 at 10:03 AM Carlos Rafael Giani > wrote: >> In addition to this, I think adding a "hantro_config.h" header would be >> useful. That's because we can find this in the Makefile_codec file: >> >> CFLAGS += -DSET_OUTPUT_CROP_RECT -DUSE_EXTERNAL_BUFFER >> -DUSE_OUTPUT_RELEASE -DVSI_API -DIS_G1_DECODER -DENABLE_CODEC_VP8 >> -DVP8_HWTIMEOUT_WORKAROUND -DENABLE_CODEC_MJPEG >> -DGET_FREE_BUFFER_NON_BLOCK -DDOWN_SCALER >> >> and you need to set these flags in your code as well, otherwise you get >> stack corruption. For example, SET_OUTPUT_CROP_RECT enables certain >> fields in openmax_il/source/decoder/codec.h : > We are preparing a headers package that will try to reduce the > dependency on the kernel and reduce a lot the machine specific > packages. I think we could make a package for it, and add it as > dependency. > > Do you wish to propose one? >