答复: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-22 Thread 赵 思晨
Hi Gedare Bloom, Hi Ben: Latest news. I just modify the PV's i2c code these days, and now it can read the EEPROM preliminarily by the interrupt not the polling , it is the different way from my previously submitted work(the diff.patch). Without the read eeprom function and other not

Re: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-21 Thread Gedare Bloom
On Tue, Mar 21, 2017 at 12:12 AM, Ben Gras wrote: > Dear all, > > SZ, great initiative. Gedare and Sebastian have commented. > > For my part, can I just check - the implementation is supposed to be > generic to i2c devices, correct? > > If so, can you explain what

答复: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-20 Thread 赵 思晨
Hi all: I think it can use in i2c devices, but i don't test it. and the read_eeprom is using reading the eeprom. and i will modify it in the future, conform my code to the RTEMS code specification. Best regrads Sichen Zhao 发自 Outlook

Re: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-20 Thread Ben Gras
Dear all, SZ, great initiative. Gedare and Sebastian have commented. For my part, can I just check - the implementation is supposed to be generic to i2c devices, correct? If so, can you explain what read_eeprom is for? Is it just as demo? Is the code generic otherwise? Cheers, Ben On

Re: [PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-14 Thread Gedare Bloom
We eventually need all of the combined patches at once in order to merge. If this is functionally working, then it is time to focus on cleaning up. It would be good to separate the testsuite change from the others. I'm not sure the testsuite is mergeable. It would also be best to separate the

[PATCH] modify punitvara's works on BBB i2c, and now can read the eeprom info.

2017-03-14 Thread Sichen Zhao
--- c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 684 -- c/src/lib/libbsp/arm/beagle/include/i2c.h | 18 +- cpukit/dev/i2c/eeprom.c | 24 +- testsuites/samples/i2c0/init.c| 98 - 4 files changed, 777 insertions(+), 47 deletions(-)