Re: Recommended dev board for beginner
- Reply: Lev Serebryakov : "Re: Recommended dev board for beginner"
- In reply to: Milan Obuch : "Re: Recommended dev board for beginner"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Jan 2023 11:18:02 UTC
On Wed, 11 Jan 2023 23:22:08 +0100 Milan Obuch <freebsd-embedded@dino.sk> wrote: > On Thu, 12 Jan 2023 00:18:40 +0300 > Lev Serebryakov <lev@FreeBSD.org> wrote: > > > On 10.01.2023 11:32, Dmitry Salychev wrote: > > > > > I'd recommend BeagleBone Black. It's relatively cheap, powerful, > > > easy to boot FreeBSD, got a lot of GPIO pins and even two 32-bit > > > 200 MHz microcontrollers in addition to the main processor. > > > > Are here any instructions how to provide firmware for these > > microcontrollers from booted FreeBSD and communicate with them? > > > > # cat /usr/ports/devel/libpru/pkg-descr > libpru is a library to interface with Programmable Realtime Units on > FreeBSD. Currently only the Texas Instruments PRUs are > supported. Those can be found in the AM18XX and AM33XX (BeagleBone > Black) SoCs. > > # cat /usr/ports/devel/pructl/pkg-descr > pructl is a tool to interface with libpru. > It allows the user to reset the PRU, enable/disable the PRU and to > upload programs to the PRU. > > Disclaimer: I did not test it, yet. That's what I found most probably > relevant. > > How to write and compile/build programs for PRUs is not yet clear to > me, TI's official page is to be found at their page - > https://www.ti.com/tool/PRU-ICSS-INDUSTRIAL-SW - maybe someone could > create something from it, I did not search any further. > > Regards, > Milan > Also, I found https:://github.com/dinuxbg/gnupru - port of gcc and binutils for the TI PRU I/O processor. That's basically shell script for building gcc targetiing PRU. Maybe someone can create a port for it the way devel/gcc-arm-embedded and devel/gcc-msp430-ti-toolchain are done. I think with this everything for creating/managing binaries for PRUs could be done on FreeBSD. Regards, Milan