i2c/twsi/allwinner problems.

Daniel Braniss danny at cs.huji.ac.il
Thu Apr 1 05:46:35 UTC 2021



> On 31 Mar 2021, at 10:06, Andriy Gapon <avg at FreeBSD.org> wrote:
> 
> On 30/03/2021 12:58, Daniel Braniss wrote:
>> |hi all, after some time, I decided to try FreeBSD 13 on my all winner (nano
>> neo) and got it working only with debugging on, so I started cherry picking till
>> I got it working, replacing printfs with DELAY and this is is now working, of
>> course not the correct solution, but if someone with better i2c knowledge can
>> propose a better solution I’m willing to test if with my program (it reads RFIDs
>> using a board with PN532),|
> 
> I see quite a lot of those "cherry-picks" and they are a mix of explicit delays
> and printfs (via debug_).
> Also, the driver has completely separate code paths for polling mode and
> interrupt mode.  I see that both are heavily modified.
> Do you actually use both modes?
> 
> -- 
> Andriy Gapon

i need to enable the second i2c, but my old overlay no longer works, can someone 
please send me the overlay needed to enable it?

thanks,
	danny



More information about the freebsd-arm mailing list