Options for FBSD support with LCD device - new project

Emmanuel Vadot manu at bidouilliste.com
Mon Mar 18 23:16:44 UTC 2019


On Mon, 18 Mar 2019 20:57:28 +0000
Kaya Saman <kayasaman at optiplex-networks.com> wrote:

> <snip>
> 
> >>> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the freebsd-arm mailing list