From owner-freebsd-arm@freebsd.org Mon Mar 18 17:34:24 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 549A21548167 for ; Mon, 18 Mar 2019 17:34:24 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from x-ray.optiplex-networks.com (mail.optiplex-networks.com [212.159.80.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15BA76C52F; Mon, 18 Mar 2019 17:34:22 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id 7C47D72235D; Mon, 18 Mar 2019 17:34:19 +0000 (GMT) Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tFDApk5FbRDw; Mon, 18 Mar 2019 17:34:19 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id 32CA1722972; Mon, 18 Mar 2019 17:34:19 +0000 (GMT) X-Virus-Scanned: amavisd-new at x-ray.optiplex-networks.com Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fozQ6vSeBA_7; Mon, 18 Mar 2019 17:34:19 +0000 (GMT) Received: from x220.optiplex-networks.com (unknown [192.168.0.167]) by x-ray.optiplex-networks.com (Postfix) with ESMTPSA id 1649F72235D; Mon, 18 Mar 2019 17:34:19 +0000 (GMT) Subject: Re: Options for FBSD support with LCD device - new project To: Ian Lepore , "freebsd-arm@freebsd.org" References: <8df902f6-20a3-31c4-71ac-91f5d5fdf50d@optiplex-networks.com> <0ecf23e129ca7ac6a92a01bbb34c03f1ac8c6dc8.camel@freebsd.org> From: Kaya Saman Message-ID: Date: Mon, 18 Mar 2019 17:34:18 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <0ecf23e129ca7ac6a92a01bbb34c03f1ac8c6dc8.camel@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 15BA76C52F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kayasaman@optiplex-networks.com designates 212.159.80.20 as permitted sender) smtp.mailfrom=kayasaman@optiplex-networks.com X-Spamd-Result: default: False [-2.08 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[optiplex-networks.com]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; IP_SCORE(-0.02)[country: GB(-0.09)]; MX_GOOD(-0.01)[cached: mail.optiplex-networks.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.14)[-0.140,0]; NEURAL_HAM_MEDIUM(-0.63)[-0.626,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6871, ipnet:212.159.64.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2019 17:34:24 -0000 On 3/18/19 4:07 PM, Ian Lepore wrote: > On Mon, 2019-03-18 at 15:56 +0000, Kaya Saman wrote: >> Many thanks Michael! >> >> >> I have also found this guide too: >> https://www.rototron.info/lcdproc-tutorial-for-raspberry-pi/ >> >> >> It goes through the GPIO connection using a Raspberry Pi and a CF >> HD44780 compatible display. This should also work in a similar >> fashion >> with the Odroid. >> > Before you go too far down this path, you should probably be aware that > odroid isn't really supported on freebsd. There was some initial work > done to support the original C1, but it was basically a drive-by commit > which hasn't been actively supported since then. > > You should consider some well-supported board, something based on an > Allwinner or imx6 SOC would be a good candidate. > > Gpio sounds like about the worst way to connect a display. Something > based on i2c or SPI would be a much better choice. Usually the so- > called "usb" solutions are really just forms of i2c or SPI being bit- > banged by an FTDI chip. Not a horrible solution, but probably not > quite as efficient as native i2c or spi. > > -- Ian > > That was great advise! Thanks Ian :-) Looking at the FreeBSD support for these types of boards, it seems the most common devices are either the Raspberry Pi family and the Beagleboard Black and Green. It looks like both Raspberry Pi 2B and the Beaglebone Black have good support with FreeBSD and both offer SPI headers. I am not sure about the state of the Pi3 as the information comes up with unknown. I'm just reading through the wiki page for the BB Black: https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack right now trying to get a better understanding of things in general. It might be a good option as it sounds fairly easy to deploy FBSD on it. Regards, Kaya