Hi All,
I’m playing with BeagleBone Green (based on BeagleBone Black) and trying to figure out how to use PRU and other hardware functions. However, I got a bit stuck.
What have I done so far?
- Cloned the latest version of Nerves Livebook and burned the image. Livebook works without an issue, including GPIO outputs.
- Using SSH, I logged into the IEx.
- I tried following the tutorial from the official page: GitHub - nerves-project/nerves_system_bbb: Base Nerves system configuration for the BeagleBone-based boards but none of the instructions work.
For example, I tried loading the ADC overlay (the command returned 0):
cmd("fw_setenv uboot_overlay_addr4 /lib/firmware/BB-ADC-00A0.dtbo")
But the directory /sys/bus/iio/devices/
remained empty.
The same thing with SPI and PRU.
I also tried adding the lines to livebook/config/provisioning.conf
, for example:
uboot_setenv(uboot-env, "uboot_overlay_addr4", "/lib/firmware/BB-ADC-00A0.dtbo")
And then I called mix deps.get
and mix firmware
(and burn), but that didn’t change anything.
Any ideas what I might be doing wrong?
Thanks