Hi,
The latest image for the PocketBeagle is from 2020 and it uses older libraries that are not compatible with Onnx (high-performance inference engine for machine learning models).
There is a newer image that supports Onnx ( [AM335x 12.2 2023-10-07 4GB microSD IoT] but not the PocketBeagle.
Do you know what it would take to change this image to support (only) the PocketBeagle?
Who created the images for the PocketBeagle2?
I assume there are specific file that define/configure the peripherals on the specific HW? Do you know what they are?
Hello…there are many ways to go about promoting a build of linux kernels and having access to the am335x on the Pocket Beagle.
Buildroot
Poky/Yocto
CROSS_COMPILE from scratch
Those name a few ideas. I am not exactly sure how well the am335x will do with ONNX libraries but one can try. The Pocket Beagle and the BBB all use similar images. If you do not have a micro SD Card for the image, you may be out of luck.
You can use images from beagleboard.org or make your own. This is not a limitation.
I know this is what you posted. Maybe try an updated image from here: rcn-ee.net or rcn-ee.com? From what I heard, there are some issues with the 6.1.x kernels and I have not tested them to completion. Those rcn-ee.com images are only testers and not official images. But, one can test away.
Seth, thank you for the detailed response. I may need to ping you again as I go about promoting the the older kernel image (I have the SD card version of the hardware).
Robert, thanks as well for the response. we built a docker container with the newer BBB image that supports Onnx runtime. I couldn’t run it on the (older) hardware because the newer image runtime libs collide (i.e. incompatible) with the older image. Updating just the offending libs was unsuccessful, hence my questions above.
No issue. whenever. I am around. @IlanT1 , if you ping and I reply too quickly, it is because I sit in front of this desktop usually just pretending to know things! Sometimes, I actually fix stuff too.
My code to open and use the serial port (successfully) on the PocketBeagle with bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz image fails to work with the am335x-debian-12.2-iot-armhf-2023-10-07-4gb.img.xz image.
Also, in the description of the am335x-debian-12.2-iot-armhf-2023-10-07-4gb.img.xz, it says BeagleBone Black and not Pocketbeagle, whereas in the description of the bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz it lists both the BBB and PB.
Using ttyS2 (instead of ttyO2) and selecting the correct file to configure UART2 (uboot_overlay_addr4=/lib/linux-image-5.10.168-ti-r72/overlays/BB-UART2-00A0.dtbo) in uEnv.txt did the trick and I’m able to use UART2 now!