Date: Thu, 1 Apr 2021 08:46:26 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Andriy Gapon <avg@FreeBSD.org> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: i2c/twsi/allwinner problems. Message-ID: <7F808A6C-B109-459C-975C-AB4769AD8226@cs.huji.ac.il> In-Reply-To: <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org> References: <CB54E711-FC72-44E3-BB69-916E470C490E@cs.huji.ac.il> <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 31 Mar 2021, at 10:06, Andriy Gapon <avg@FreeBSD.org> wrote: >=20 > 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=E2=80=99m willing to test if with my = program (it reads RFIDs >> using a board with PN532),| >=20 > 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? >=20 > --=20 > Andriy Gapon i need to enable the second i2c, but my old overlay no longer works, can = someone=20 please send me the overlay needed to enable it? thanks, danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F808A6C-B109-459C-975C-AB4769AD8226>