Date: Tue, 6 Oct 2020 15:47:39 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: Andriy Gapon <avg@FreeBSD.org>, "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: nanopi/allwinner i2c not working. Message-ID: <6416CA90-AB4C-4F8A-BCF4-7C9E5A4F2F8D@cs.huji.ac.il> In-Reply-To: <29A34854-E792-48CE-AF0A-E4C605BDFC3B@cs.huji.ac.il> References: <234D06ED-C99F-477E-8D95-492979084E7A@cs.huji.ac.il> <d154f62f-cf41-aaac-4bae-89ee48163afa@FreeBSD.org> <E2E23A4F-9D51-4803-BFF1-B5B2BBE56576@cs.huji.ac.il> <7934CE38-DC3F-450A-A131-19A7F88DA9EC@cs.huji.ac.il> <e1dd71e2-9ee3-380d-7be9-601a3015652c@FreeBSD.org> <20201006104119.28f2262d47107d41025d193f@bidouilliste.com> <29A34854-E792-48CE-AF0A-E4C605BDFC3B@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 6 Oct 2020, at 12:10, Daniel Braniss <danny@cs.huji.ac.il> wrote: >=20 >=20 >=20 >> On 6 Oct 2020, at 11:41, Emmanuel Vadot <manu@bidouilliste.com> = wrote: >>=20 >> On Tue, 6 Oct 2020 11:34:26 +0300 >> Andriy Gapon <avg@FreeBSD.org> wrote: >>=20 >>> On 06/10/2020 10:32, Daniel Braniss wrote: >>>> this is what happens with debug on, >>>>=20 >>>> ? >>>> iichb0: twsi_intr: Got interrupt Current msg=3D0 >>>> iichb0: TWSI_READ: read 8 from 10 >>>> iichb0: twsi_intr: initial status=3D8 >>>> iichb0: twsi_intr: Send the address >>>> iichb0: TWSI_WRITE: Writing 48 to 8 >>>> iichb0: TWSI_WRITE: Writing c4 to c >>>> iichb0: twsi_intr: Done with interrupts >>>>=20 >>>> iichb0: twsi_intr: Got interrupt Current msg=3D0 >>>> iichb0: TWSI_READ: read 8 from 10 >>>> iichb0: twsi_intr: initial status=3D8 >>>> iichb0: twsi_intr: Send the address >>>> iichb0: TWSI_WRITE: Writing 48 to 8 >>>> iichb0: TWSI_WRITE: Writing c4 to c >>>> iichb0: twsi_intr: Done with interrupts >>>>=20 >>>> ... >>>=20 >>>=20 >>> Sorry, if I missed it, is this with any of the patches I suggested = earlier? >>> Additionally, it looks like manu still hasn't merged r363021 ? >>> That could be the root cause of the problem that you see. >>>=20 >>> --=20 >>> Andriy Gapon >>=20 >> Mhm yes it seems that I've might miss a few commits to mfc. >> I'll try to have a look today. >> Daniel, could you test 13-CURRENT just to confirm that it's fixed in >> head ? >> Thanks, >=20 > well, that will take some time, but starting now. i2c -s works - finds the devices but can=E2=80=99t do much else, can=E2=80=99t talk to the device (pn532) trying to write i get I2CRWR: errno 1: Operation not permitted=E2=80=99 > btw, is there bootable image somewhere? >=20 >>=20 >> --=20 >> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org> >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6416CA90-AB4C-4F8A-BCF4-7C9E5A4F2F8D>