Date: Wed, 31 Mar 2021 10:06:47 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Daniel Braniss <danny@cs.huji.ac.il>, "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: i2c/twsi/allwinner problems. Message-ID: <4e386f9f-33aa-fa91-0fc3-fd44b34632ed@FreeBSD.org> In-Reply-To: <CB54E711-FC72-44E3-BB69-916E470C490E@cs.huji.ac.il> References: <CB54E711-FC72-44E3-BB69-916E470C490E@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e386f9f-33aa-fa91-0fc3-fd44b34632ed>