From nobody Sat Jan 14 11:18:02 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 4NvG4B1qBwz2sklJ for ; Sat, 14 Jan 2023 11:18:18 +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 4NvG491sB4z4McD for ; Sat, 14 Jan 2023 11:18:17 +0000 (UTC) (envelope-from freebsd-embedded@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-embedded@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-embedded@dino.sk; dmarc=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 0000000002B7948B.0000000063C28F6F.00014CC9; Sat, 14 Jan 2023 12:18:07 +0100 Date: Sat, 14 Jan 2023 12:18:02 +0100 From: Milan Obuch To: freebsd-embedded@freebsd.org Subject: Re: Recommended dev board for beginner Message-ID: <20230114121802.33e9c724@zeta.dino.sk> In-Reply-To: <20230111232208.5bbf2075@zeta.dino.sk> References: <20230108090755.4f5ff046@inspiron> <86lema3i2a.fsf@peasant.tower.home> <1b6ef61d-7415-f1f3-254f-6968b305a17a@FreeBSD.org> <20230111232208.5bbf2075@zeta.dino.sk> 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-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.984]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-embedded@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4NvG491sB4z4McD X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Wed, 11 Jan 2023 23:22:08 +0100 Milan Obuch wrote: > 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 > 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