[Buildroot] Question about pkg-config pc files
Patricia Holden
pholden at nklabs.com
Fri Jul 23 22:21:13 UTC 2021
> More precisely, the current Buildroot master version corresponds to TI
SDK
> 06.01.00.08, so you'll probably need a kernel from the same SDK version.
> Regards,
> Arnout
Arnout, thanks for the help. I am at kernel version 4.9.147-ti-rt-121,
from an older TI-SDK for the Beaglebone X15. Multiple people have added
quite a few drivers and configs to this code, it's locally stored for
Buildroot to use. We have already tested quite a bit of our product
with what we have. I really can't migrate to a new kernel at this point.
This whole exercise is all to get QT5-OpenGL enabled. Any ideas on what
else I can do?
Thanks!
On Fri, Jul 23, 2021 at 4:57 PM Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
> On 23/07/2021 20:52, Patricia Holden wrote:
> > I have a TI specific kernel, I got it directly from a TI SDK. The
> comments in
> > ti-sgx-km Config.in says to use ti-sgx, however, there is no choice in
> packages
> > for ti-sgx. I can only choose "ti-sgx-km" or "ti-gfx". I guess I can
> pull
> > ti-sgx & create package for it. Unless someone else has a better
> suggestion.
>
> ti-sgx consists of two separate packages: ti-sgx-km which is the kernel
> module,
> and ti-sgx-um which is the userspace library.
>
> >
> > On Thu, Jul 22, 2021 at 11:39 PM Baruch Siach <baruch at tkos.co.il
> > <mailto:baruch at tkos.co.il>> wrote:
> >
> > Hi Patricia,
> >
> > On Fri, Jul 23 2021, Patricia Holden wrote:
> > > I switched from ti-gfx to ti-sgx, now I get another error:
> > >
> > >
> >
> /home/patricaholden/williamson/build07062021/Pro3-Linux/buildroot-2020.02/output/build/ti-sgx-km-4519ed3b83d1d72207ddc2874c7eb5e5a7f20d8d/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_armhf/kbuild/services4/srvkm/env/linux/mm.c:69:10:
> > > fatal error: linux/dma-direct.h: No such file or directory
> > > 69 | #include <linux/dma-direct.h>
> > > | ^~~~~~~~~~~~~~~~~~~~
> > >
> > >
> > > I checked linux-headers and only see
> "include/linux/dma-direction.h", no
> > > "include/linux/dma-direct.h".
> >
> > The linux-headers package is for userspace API (uapi) headers that
> are
> > part of the toolchain. dma-direction.h is for kernel code. The
> 'kbuild'
> > part in the path above indicates that you are building a kernel
> module.
> >
> > linux/dma-direct.h was introduced in kernel version 4.16 (commit
> > ea8c64ace866). But ti-sgx-km commit cf7f48cb30a predates this kernel
> by
> > few years. So this it probably a TI kernel that carries the header.
>
> More precisely, the current Buildroot master version corresponds to TI SDK
> 06.01.00.08, so you'll probably need a kernel from the same SDK version.
>
> Regards,
> Arnout
>
> >
> > The BR2_PACKAGE_TI_SGX_KM help text says this:
> >
> > Note: it needs a TI specific kernel to build properly.
> >
> > baruch
> >
> > > Not sure if this is the same file this package is looking for, but
> just
> > > renamed. Looking through config for the kernel to see if I missed
> > > something.
> >
> > --
> > ~. .~ Tk Open
> Systems
> >
> =}------------------------------------------------ooO--U--Ooo------------{=
> > - baruch at tkos.co.il <mailto:baruch at tkos.co.il> - tel:
> +972.52.368.4656,
> > http://www.tkos.co.il <http://www.tkos.co.il> -
> >
> >
> >
> > --
> > Patricia A. Holden
>
--
Patricia A. Holden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210723/71d591a1/attachment-0001.html>
More information about the buildroot
mailing list