nanopi/allwinner i2c not working.
Daniel Braniss
danny at cs.huji.ac.il
Tue Oct 6 12:47:50 UTC 2020
> On 6 Oct 2020, at 12:10, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>
>
>
>> On 6 Oct 2020, at 11:41, Emmanuel Vadot <manu at bidouilliste.com> wrote:
>>
>> On Tue, 6 Oct 2020 11:34:26 +0300
>> Andriy Gapon <avg at FreeBSD.org> wrote:
>>
>>> On 06/10/2020 10:32, Daniel Braniss wrote:
>>>> this is what happens with debug on,
>>>>
>>>> ?
>>>> iichb0: twsi_intr: Got interrupt Current msg=0
>>>> iichb0: TWSI_READ: read 8 from 10
>>>> iichb0: twsi_intr: initial status=8
>>>> 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
>>>>
>>>> iichb0: twsi_intr: Got interrupt Current msg=0
>>>> iichb0: TWSI_READ: read 8 from 10
>>>> iichb0: twsi_intr: initial status=8
>>>> 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
>>>>
>>>> ...
>>>
>>>
>>> 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.
>>>
>>> --
>>> Andriy Gapon
>>
>> 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,
>
> well, that will take some time, but starting now.
i2c -s works - finds the devices
but can’t do much else, can’t talk to the device (pn532)
trying to write i get
I2CRWR: errno 1: Operation not permitted’
> btw, is there bootable image somewhere?
>
>>
>> --
>> Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list