From owner-freebsd-arm@freebsd.org Mon Mar 18 23:16:44 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 DC6761550759 for ; Mon, 18 Mar 2019 23:16:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD989834BD for ; Mon, 18 Mar 2019 23:16:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 42faba37; Tue, 19 Mar 2019 00:16:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=QeLlJ9Og6RtPho+vt3URnntV3/s=; b=M7CNpdAp+TfoRHD0zwsZaooEwL3r 0JZ7rH7Y3PVgHILFVgH3R3EBRz/A43xI1LYkUpcsLPt2qDM195TL5y1lw6MPl+mj Lz3z1SrBLSeoi08xAKbEjBHTlo1TvEl1NaDrzvzRG2Ar6Meq9Tgh54EyVh74eQ0E pR6RFCNPp8z/IMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=S/j81S20FFPms93yUypVPBdBKnMV/JGlBRKEg57iwf37HAtRq3SwQpDx ktEk1ZKP6GcPbr9KRQxqVV7TzRnrINXdePbbYUZW+lortRPgTjQvHNZH97/0Djdf LOMqQTzhwk/9EbXcbZuD6jFyiouK09KaN6rRXpME+X1iHB3wMnw= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id dc9fb9f0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 19 Mar 2019 00:16:40 +0100 (CET) Date: Tue, 19 Mar 2019 00:16:40 +0100 From: Emmanuel Vadot To: Kaya Saman Cc: freebsd-arm@freebsd.org Subject: Re: Options for FBSD support with LCD device - new project Message-Id: <20190319001640.57831a1953ae6c8d2168faa0@bidouilliste.com> In-Reply-To: <35b3045f-817c-5645-d78b-f20b08671850@optiplex-networks.com> References: <8df902f6-20a3-31c4-71ac-91f5d5fdf50d@optiplex-networks.com> <0ecf23e129ca7ac6a92a01bbb34c03f1ac8c6dc8.camel@freebsd.org> <89f5b8d1ab0614ac8d88b5d5f1afc63e640c3c17.camel@freebsd.org> <4EB5C6C1-7DB9-4DEE-BB23-CD1259581271@jeditekunum.com> <004ddba628b94b80845d8e509ddcb648d21fd6c9.camel@freebsd.org> <35b3045f-817c-5645-d78b-f20b08671850@optiplex-networks.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CD989834BD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=M7CNpdAp; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.48 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.75)[-0.748,0]; NEURAL_SPAM_MEDIUM(0.17)[0.174,0]; NEURAL_SPAM_SHORT(0.60)[0.605,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mx-backup.blih.net]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.36)[ip: (-1.08), ipnet: 212.83.160.0/19(3.17), asn: 12876(-0.26), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 23:16:44 -0000 On Mon, 18 Mar 2019 20:57:28 +0000 Kaya Saman wrote: > > > >>> I'm not sure what would give you that impression about i2c and > >>> spi. I > >>> belive they're well-supported on virtually every arm SOC we have > >>> any > >>> support for at all (except maybe amlogic/odroid and exynos, both of > >>> which are rapidly bitrootting from neglect). We have command-line > >>> tools to read and write data to i2c and spi devices from userland, > >>> as > >>> well as programmatic interfaces using ioctl() for higher- > >>> performance > >>> needs like a rasterized spi display. > >>> > >>> I'm the person who does most of the i2c and spi driver work for all > >>> of > >>> freebsd (not just arm), and it's something we use heavily in our > >>> products at $work, so I tend to stay on top of it. > >>> > >>> To enable i2c or spi on any given platform, you usually do have to > >>> touch some FDT code along the way. That's because almost always, > >>> the > >>> pins used by i2c or spi can be used for other things as well, so > >>> the > >>> default config (which we get by importing fdt source code from > >>> linux) > >>> usually isn't set up to enable those devices. > >>> > >>> To enable them you typically have to write and compile a small dts > >>> overlay and set a variable in /boot/loader.conf to have that > >>> overlay > >>> loaded at boot time. None of that is hard, but there is quite a > >>> bit to > >>> explain, more than I can do right here in this email in the middle > >>> of a > >>> $work day. I guess maybe I should write a wiki page for it. > >>> > >>> -- Ian > >> > Finding this thread: https://forum.pine64.org/showthread.php?tid=6232 > > It seems that there is an official image for pine64 platform: > http://ftp.freebsd.org/pub/FreeBSD/releases/arm64/aarch64/ISO-IMAGES/12.0/ > > > Would anyone recommend the Pine64? > > Also which model as there are several: > http://wiki.pine64.org/index.php/Main_Page#PINE64_Devices > > > I could go with A64 or H64, though I wonder if there is a mode basic > model out there? I don't need 4k or even HD graphics, or 'desktop' > related stuff. A serial console would be fine or even vga just as long > as the board is stable and robust and won't crash or hang often. Go for the Pine64-LTS then, H6 (The SoC on Pine H64) isn't supported right now. It should be easy to add support for it but I have no hardware and no time for this now. > > Regards, > > > Kaya > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot