Hey Beagle Board.
I’ve just bought a BeagleY-AI and i’m having trouble utalising the C7x’s on the board.
I have some unit tests I ran on my TDA4v-LOW, but when I try to run them on the BeagleY-AI I get errors missing some librarys:
error while loading shared libraries: libtivision_apps.so.8.6.0
I can copy them off another board and try to run my model, but then i run into another error:
MEM: ERROR: Failed to initialize DMA HEAP [/dev/dma_heap/edgeai_shared-memories] !!!
My question is, is there a guide to setup the beagleY-AI correctly for using the C7x’s.
I assume I need to configure some memmory somewhere?
Or is there some sample code I can run to verify my C7x is working?
Cheers.
I do not think you can use that shared library on your board. On the podcast they mentioned that an example is very close but we are still waiting for it to arrive. Looking forward to that, but I think the chip is very new and the software is still a bit behind.
If you don’t mind please share the link to that information. Can I assume you are trying to get C7x up and have not had much luck at it?
https://www.youtube.com/live/0DAl_4b1Ky4?si=I9e4VjTZKrmoeDal. 58 minutes in. Episode 5.
I tried to get the C7X running but think we need to wait for the experts.
Here is my efforts. BeagleY-AI and the C7x coprocessor | by Olof Astrand | Jul, 2024 | Medium
The TI software is a bit confusing and might not be possible to use yet.
I went through your efforts link and there is still quite some installation needed. You had some comments, that some things are not supported yet. But following your instruction I would get inference working on the DSPs?
Yes. But we also need fixes in the beagle Linux tree. From discord they say:
What I’m thinking now is to generate new memory map and compile C7 firmware from Firmware Builder, and populate the values into k3-am67a-beagley-ai.dts
. Would it work? Would be great if you can give me a list of dtsi files that I need to look at.
…… By the end of the week they will most likely have a new better version. Getting the compiler environment is probably good though.
Thanks for the updates fellas.
My Colleague is working on the c7x in the background, I will update here when she Cracks it!
Cheers.
I managed to get the hello world program to run anyway. Here is what I did, Hello world on the C7x DSP coprocessor with the BeagleY-AI | by Olof Astrand | Aug, 2024 | Medium Next step is to get something more useful running.
1 Like
Hello @Olof_Astrand ,
So, is it safe to say that the C7x cores are PRU enabled and need a resource_table.h file or files in some cases?
See, I got used to using GPIO and PWM but not from the PRUs or other coprocessors on the beagleboard.org boards. I am interested. For what it is worth for now, I have not purchased the BeagleY-AI yet. I will have to wait. This is indeed interesting.
I will be following along, i.e. another reason to post here in the case you come back to show the builds.
Seth
Where did you find that information in sysconfig. The version here that was downloaded from ti does not have the same information that you are showing?
You have to load and then save and then reload the example.syscfg with the latest version. 1.21 SYSCONFIG IDE, configuration, compiler or debugger | TI.com. But if you find an easier way please tell me. There is a little too much patching by hand by using my method. I will publish the patched version of the source code next week. If you load directly with 1.21 it does not work.
All mine has is a drop down for the j722/am67. It does not have any examples with it, at least none that I have found. Where did you find the example?
Update, just tried to use CCS and it does not list am67 or j722. Even updated and nothing. Where did you get your version of CCS was it from a non-USA site?
Has anyone been able to get the restricted software dev kit? https://www.ti.com/drr/opn/J722S-SW Maybe that is the key to getting the coprocessors working.
This is starting to smell really bad.
What I did was to remove ccs and installed ccs-theia. Nothing about the am67. Install the 12.8 (this will be the last release) nothing about the am67.
That is interesting, to say the least.
How were you able to get ccs/ccs-thiea to work. It has a drop down for a BBB, but nothing is available. I let it upgrade and still nothing.
That link takes me to the secure login, however I need to see the entry path. I looked at the options and its not on the side zoned for USA.
Just found this about the r5.
Here is some more it appears the stuff is in this sdk.
ti-processor-sdk-rtos-j722s-evm-09_02_00_05.tar.gz That is not restricted software and available from the SDK page
I could not find the inbound link, your link takes me to the log in page for secure downloads. We have been approved in the past, however I need to see what I am getting into before clicking. Did a search for the sw package and did not find it. You might be zoned out and USA entry points are served a different page without the security. They usually have a lock or something visible, none of the packages had a lock visible, or I just did not notice if they did.
This is starting too do more than smell, if stuff was working you would find simple “blinky” examples to get end users up to speed. You don’t find that, at least I have not. I will look those RTOS packages over and hopefully find something about the DSP.