i2c/twsi/allwinner problems.

Andriy Gapon avg at FreeBSD.org
Wed Mar 31 07:06:51 UTC 2021


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


More information about the freebsd-arm mailing list