Allwinner dtb overlays on CURRENT. Also, flashrom SPI!
Emmanuel Vadot
manu at bidouilliste.com
Wed Jul 25 21:40:04 UTC 2018
On Wed, 25 Jul 2018 15:14:29 -0500
Kyle Evans <kevans at freebsd.org> wrote:
> On Wed, Jul 25, 2018 at 2:49 PM, Greg V <greg at unrelenting.technology> wrote:
> > Hi,
> >
> > One thing I have noticed with CURRENT on an Orange Pi PC: since we're using
> > device trees imported from Linux, some drivers are not accessible out of the
> > box.
> >
> > So I wrote a couple overlays:
> >
> > Thermal sensor: https://github.com/freebsd/freebsd/pull/162
> >
This is wrong bindings. Yes I know that it's working with our driver
for ths but this is wrong.
1) ths module isn't in ahb but apb.
2) We need nvmem framework to get the sensor calibration data, please
see https://reviews.freebsd.org/D16419
> > SPI: https://github.com/freebsd/freebsd/pull/166
What is the point of the spigen interface ?
If aw_spi is working on H3 (I haven't check but it should), if you
have a good dtb with the spi flash described you can use it directly.
> > But not everyone would figure out how to make and even just use overlays?
> >
> > (if anyone is wondering: place them into /boot/dtb/overlays and add a list
> > of them (filenames including extension) to /boot/loader.conf like so:
> > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ts.dtbo,sun8i-h3-spi.dtbo" ? and
> > reboot)
>
> Just FYI- omitting the extension should also work fine here. If it
> doesn't, that's another bug on its own. =)
>
> > Can someone commit these overlays / add more for other SoCs maybe?
>
> I think manu was working on some thermal sensor stuff earlier (though
> my memory may be wrong), so we'll see what he says.
I am, currently upstreaming bindings/dts changes.
> > P.S. I also wrote spigen support for flashrom:
> > https://github.com/flashrom/flashrom/pull/53
> > With this, I can flash and verify a Winbond W25Q32.V flash chip from my
> > Orange Pi! :)
> >
> > _______________________________________________
> > 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"
> _______________________________________________
> 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