On Tue, Mar 24, 2020 at 5:31 PM Jon Morss <[email protected]> wrote:
>
> After recently upgrading my BBAI via the link below, the Cloud9 TIDL 
> classification example fails for CMEM error.
> Link used to upgrade BBAI
> https://beagleboard.org/upgrade

> CMEM Error: init: major version mismatch between interface and driver.
> CMEM Error:     needs driver version 0x4160000, got 0x4150002
> TIOCL FATAL: The cmemk kernel module is not installed. Consult the OpenCL 
> UserGuide at http://software-dl.ti.com/mctools/esd/docs/opencl/index.html

Yeap, I've been busy upgrading both Debian Stretch & Buster to TI's
sdk  06.02.00.81

https://github.com/beagleboard/Latest-Images/issues/11

To fix your problem, two fixes:

Fix 1: update "./update_kernel.sh" so stretch uses cmem 4.16.00.00 on
kernel modules:
https://github.com/RobertCNelson/boot-scripts/commit/43e2e0e554b10d779fdbc730bb0d5d197e467d02

Run:

cd /opt/scripts/tools/
git pull

Fix 2: switch your current version of cmem: (the kernel update script
will fix it going forward, but this will fix your version today)

Run:

sudo apt update
sudo apt remove ti-cmem-4.15.00.02-modules-`uname -r` --purge
sudo apt install ti-cmem-4.16.00.00-modules-`uname -r`
sudo depmod -a
sudo update-initramfs -uk `uname -r`

and reboot..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgRKwH0%2BKjX3vP_ywWRVh%3D%2B-4z3naERRD536Z%2BDdrq4xQ%40mail.gmail.com.

Reply via email to