TIDL Library on BBY-AI

Has anyone tried to build tidl library on beagleboney(am67a) processor. Texas Instruments has released the image for am67a which works with edge ai

Not yet, the dual dsp is the reason we are evaluating the Beagley-ai. The build instructions from Ti, appear to be complete. You should be able to get it up with the information in the TI Deep Learning guide.

You will have to create a device tree overlay because the C7x is disabled in the k3-j722s base device tree. I don’t see any of the that in the beagley-ai base tree, yet.

I tried but failed so i downloaded the bin file for j722s edge ai sdk from Texas Instruments and since my ubuntu was 24 and the setup files were compatible with ubuntu 22.0.4LTS so i made some changes in sh files and use alias for tftpd as tftpd-hpa . I was following this 1.1.4. Download and Install the SDK — Processor SDK Linux Documentation compared the device tree overlay of both beaglebone images and ti edge ai image there was vast difference. And there was no given source for texas instruments so had to begin from the start. Currently skippping this for now . Let me know if anyone finds success. And in device tree overlay for me C7x was enabled . check out openbeagleboard device tree these were enabled and defined.

I will let you know because that is something that is needed here.
You can go into ti/ and parse and extract then back peddle.

It does have the shared memory mapped out in k3-am67a-beagley-ai.dts
Did not find anything else, and it was not clear from ti’s sysconfig what needs to be enabled.

from k3*

c7x_0_dma_memory_region: c7x-dma-memory@a3000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3000000 0x00 0x100000>;
			no-map;
		};

		c7x_0_memory_region: c7x-memory@a3100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa3100000 0x00 0xf00000>;
			no-map;
		};

		c7x_1_dma_memory_region: c7x-dma-memory@a4000000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4000000 0x00 0x100000>;
			no-map;
		};

		c7x_1_memory_region: c7x-memory@a4100000 {
			compatible = "shared-dma-pool";
			reg = <0x00 0xa4100000 0x00 0xf00000>;
			no-map;
		};

Did find this in k3-j722s


	c7x_0: dsp@7e000000 {
		compatible = "ti,am62a-c7xv-dsp";
		reg = <0x00 0x7e000000 0x00 0x00200000>;
		reg-names = "l2sram";
		ti,sci = <&dmsc>;
		ti,sci-dev-id = <208>;
		ti,sci-proc-ids = <0x30 0xff>;
		resets = <&k3_reset 208 1>;
		firmware-name = "j722s-c71_0-fw";
		status = "disabled";
	};

	c7x_1: dsp@7e200000 {
		compatible = "ti,am62a-c7xv-dsp";
		reg = <0x00 0x7e200000 0x00 0x00200000>;
		reg-names = "l2sram";
		ti,sci = <&dmsc>;
		ti,sci-dev-id = <268>;
		ti,sci-proc-ids = <0x31 0xff>;
		resets = <&k3_reset 268 1>;
		firmware-name = "j722s-c71_1-fw";
		status = "disabled";
	};

I had some errors linking to am62 and this must have been the source of those, from that file.

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/phy/phy-cadence.h>
#include <dt-bindings/phy/phy-ti.h>

#include "k3-am62p5.dtsi"

That file is a train wreck, am64, j722, j721 references.

Yeah i was using sources from TI provided image and was comparing the dtsi files of both through meld tool there is much difference. And after somewhat try i build an image and when flashed to BBY it failed to initialise the terminal. Well great you found it in k3-j722s i was comparing the evm image