From nobody Wed Jan 11 22:22:08 2023 X-Original-To: freebsd-embedded@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4Nshxq1p7fz2sLys for ; Wed, 11 Jan 2023 22:22:23 +0000 (UTC) (envelope-from freebsd-embedded@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4Nshxp4nN9z3vvK; Wed, 11 Jan 2023 22:22:22 +0000 (UTC) (envelope-from freebsd-embedded@dino.sk) Authentication-Results: mx1.freebsd.org; none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000002AB59C9.0000000063BF3696.000181A9; Wed, 11 Jan 2023 23:22:14 +0100 Date: Wed, 11 Jan 2023 23:22:08 +0100 From: Milan Obuch To: freebsd-embedded@freebsd.org Cc: lev@FreeBSD.org Subject: Re: Recommended dev board for beginner Message-ID: <20230111232208.5bbf2075@zeta.dino.sk> In-Reply-To: <1b6ef61d-7415-f1f3-254f-6968b305a17a@FreeBSD.org> References: <20230108090755.4f5ff046@inspiron> <86lema3i2a.fsf@peasant.tower.home> <1b6ef61d-7415-f1f3-254f-6968b305a17a@FreeBSD.org> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: Dedicated and Embedded Systems List-Archive: https://lists.freebsd.org/archives/freebsd-embedded List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Nshxp4nN9z3vvK X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, 12 Jan 2023 00:18:40 +0300 Lev Serebryakov 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