Problem compiling ti-sgx-ddk-km-1.17.4948957 on SDK 6
My system runs on ArchLinux so in order to create the SDK I use AGL Docker server which has debian stretch
Everything is fine creating the SDK except for mariadb-5.5.64.tar.gz which is missing. I downloaded it from their website and yocto was able to finish
The problem I have is not with yocto but with TI's SDK, looking at the regenerated SDK, it looks identical.
For my Beagleboard X15 and Beablebone-AI I needed to recompile the kernel and associated files. TI broke the sdk at rev 4x as I recall. Once I fix it, the whole thing works fine.
In order to get a working Beagleboard X15 I just need to change the device tree. For my beaglebone AI boards I do need to be able to create the kernel and associates modules with the SDK.
Until there is a working SDK I plan to make a custom yocto tree. I don't feel to move to AGL for this, they took too much stuff off.
When using the SDK to do so only u-boot and the kernel compile
For the 2D and 3D GPU, no luck.
In the Makefile we have this for ti-sgx-ddk-km
For compilation
cd `find . -maxdepth 1 -name "ti-sgx-ddk-km*" -type d`; \
make -C ./eurasia_km/eurasiacon/build/linux2/omap_linux ARCH=arm TARGET_PRODUCT=jacinto6evm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR)
For Installation
cd ./eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild; \
make -C $(LINUXKERNEL_INSTALL_DIR) SUBDIRS=`pwd` INSTALL_MOD_PATH=$(DESTDIR) PREFIX=$(SDK_PATH_TARGET) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) modules_install
Generated code is on binary_omap_linux_xorg_release
In yocto build it is different and it is on binary_omap_linux_nulldrmws_release
I had similar results trying to compile that package on Funtoo with my ebuild script.
I will look into the yocto recipe to see the changes. Obviously your scripts for the SDK do not reflect the changes made
Also, when generating the kernel with the SDK it boots fine except that the video stalls at the prompt.
I never had such issue with kernel 4.9 and 4.4
Michel