<div dir="ltr">Hi,<div><br></div><div>Yes.</div><div><br></div><div>Have you worked on I2C driver for BBB as me and Ben directed you ? </div><div><br></div><div>Sure you can prepare an appropriate proposal and send to community. </div><div><br></div><div>Best regards,</div><div>Punit Vara</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 15, 2017 at 7:34 PM, 赵思晨 <span dir="ltr"><<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi PV:</div><div>Do you still remember me?</div><div>I wanna join the GSOC 2017 under RTEMS, and i saw you are the mentor, so i wanna ask you if i have the opportunity to apply the GSOC 2017?</div><div><br></div><div>thank you</div><div>Sichen</div><div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "punit vara";<<a href="mailto:punitvara@gmail.com" target="_blank">punitvara@gmail.com</a>>;</div><div><b>发送时间:</b> 2017年1月14日(星期六) 下午5:15</div><div><div class="h5"><div><b>收件人:</b> "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>><wbr>; </div><div></div><div><b>主题:</b> Re: 回复: 回复: 回复: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems</div></div></div></div><div><div class="h5"><div><br></div><div dir="ltr">There are I am trying to transmit address of offset. Address of offset is 32 bit and buffer can hold 16 bit so CNT =2. Read data sheet  for how to program i2c</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 14, 2017 at 7:51 AM, 赵思晨 <span dir="ltr"><<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>So what's progress of your i2c code. I run your code and stack at CNT print. like screenshots below</div><div><img src="cid:C05BFE50@FD529B70.F349C958"></div><div><br></div><div>and in the bbb-i2c.c:</div><div><img src="cid:01CFF45C@36A2C278.F349C958"></div><div><div><br></div><div>you give 0x02 to no_bytes, then while(0 != no_bytes), i think it stack here forever. so i don't understand here.</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "punit vara";<<a href="mailto:punitvara@gmail.com" target="_blank">punitvara@gmail.com</a>>;</div><div><b>发送时间:</b> 2017年1月14日(星期六) 凌晨1:34</div><div><b>收件人:</b> "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>><wbr>; </div><div></div><div><b>主题:</b> Re: 回复: 回复: 回复: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems</div></div><div><div class="m_-995180890954075321h5"><div><br></div>Yes! Currrently it's not happening. So have to modify the code so that<br>it prints EEPROM info value.<br><br>On Fri, Jan 13, 2017 at 5:45 PM, 赵思晨 <<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>> wrote:<br>> Hi PV:<br>> What's the phenomenon when run your i2c0 code? print the eeprom info?<br>><br>><br>> ------------------ 原始邮件 ------------------<br>> 发件人: "punit vara";<<a href="mailto:punitvara@gmail.com" target="_blank">punitvara@gmail.com</a>>;<br>> 发送时间: 2017年1月11日(星期三) 下午4:50<br>> 收件人: "Ben Gras"<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.com</a>><wbr>;<br>> 抄送: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>> 主题: Re: 回复: 回复: 回复: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems<br>><br>> Hi<br>><br>> Yeah It would be good to merge I2C to RTEMS.<br>><br>> SiChen, You can find my I2C code on following link.<br>><br>> <a href="https://github.com/punitvara/rtems/blob/new/c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c" target="_blank">https://github.com/punitvara/r<wbr>tems/blob/new/c/src/lib/libbsp<wbr>/arm/beagle/i2c/bbb-i2c.c</a><br>><br>> This code is interrupt driven so if you can first check this code with just<br>> polling I2C first, It would be great start and you can also push that code<br>> for merging followed by adding interrupt driven code to it.<br>><br>> Following is the application to test my I2C code<br>><br>> <a href="https://github.com/punitvara/rtems/tree/new/testsuites/samples/i2c0" target="_blank">https://github.com/punitvara/r<wbr>tems/tree/new/testsuites/sampl<wbr>es/i2c0</a><br>><br>> Feel free to modify I2c driver code and application code as you wish. You<br>> can also ping me if you need further need.<br>><br>> Best Regards,<br>> Punit vara<br>><br>> On Wed, Jan 11, 2017 at 12:25 PM, Ben Gras <<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.com</a>> wrote:<br>>><br>>> PV (CCed) is the student who worked on I2C last year.<br>>><br>>> Hi PV,<br>>><br>>> We have a volunteer to help continue to work on I2C / merge it! It would<br>>> be great if I2C were merged so your work doesn't go to waste.<br>>><br>>> Can you help him/her get up to speed on where the code is and what still<br>>> needs to be done?<br>>><br>>> Cheers,<br>>><br>>> Ben<br>>><br>>><br>>> On 11-01-17 07:18, 赵思晨 wrote:<br>>><br>>> Hi ben:<br>>> i think i can start the iic works. so what need i do?<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2017年1月10日(星期二) 晚上7:40<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems<br>>><br>>> Hi!<br>>><br>>> It is OK to ask directly. Nice and clear!<br>>><br>>> What I said was just a suggestion. If you can finish the I2C work (or even<br>>> make significant progress), it will be a clear signal you are a candidate.<br>>><br>>> It is not required and also (sorry!) not a guarantee that RTEMS will pick<br>>> you as a student. But it will be a much better demonstration of work skill<br>>> than almost any other student. And also much easier to do than the project<br>>> you suggest. That's why I suggest it.<br>>><br>>> On 10-01-17 11:32, 赵思晨 wrote:<br>>><br>>> I understand what you mean, so i need to finish the iic work , and then<br>>> the RTEMS will consider choose me and my idea to join the GSOC 2017 project?<br>>> maybe i ask a little directly.<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2017年1月10日(星期二) 下午2:57<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems<br>>><br>>> There is not one.<br>>><br>>> But it is a good exercise to show that you are a bit up to speed with<br>>> RTEMS.<br>>><br>>> Finishing and integrating the I2C work is MUCH easier than the project you<br>>> suggest, so it would be a good initial test for success and show the RTEMS<br>>> people that you are willing to put in the work and be a very welcome<br>>> contribution in itself.<br>>><br>>><br>>> On 10-01-17 07:08, 赵思晨 wrote:<br>>><br>>> I do not know what the relationship between iic and Wireless LAN Driver。<br>>><br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年12月28日(星期三) 晚上10:46<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: 回复: 回复: 回复: Coder from China about the rtems<br>>><br>>> It would look truly excellent on your application if you can finish<br>>> integrating the I2C code that was left over from last year and get it merged<br>>> into mainline.<br>>><br>>> I and the student can probably help you a bit.<br>>><br>>><br>>> On 28-12-16 15:34, 赵思晨 wrote:<br>>><br>>> Yes!<br>>> i wanna use the usb for wireless , so i don't know if the rtems has the<br>>> usb driver for BBB bsp, or i need to write one.<br>>> so i consider the workload is too heavy for the deadline.<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年12月28日(星期三) 晚上10:23<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: 回复: 回复: Coder from China about the rtems<br>>><br>>> Interesting idea!<br>>><br>>> I would guess the only chance of success would  be to use libbsd to use<br>>> the freebsd wifi drivers for this.<br>>><br>>> The BBB does not have a wifi chip built in (right?), so are you intending<br>>> to use one over USB?<br>>><br>>><br>>> On 28-12-16 15:19, 赵思晨 wrote:<br>>><br>>> ben:<br>>> i wanna add the Wireless LAN Driver on rtems of bbb bsp, so the rtems can<br>>> applied to many scenes such as unmanned aerial vehicle.<br>>> but i afraid the time is not enough for the heavy workload.  so what do<br>>> you think so?<br>>><br>>> best regards<br>>> sichen zhao<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年12月28日(星期三) 晚上10:04<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: 回复: Coder from China about the rtems<br>>><br>>> Hi,<br>>><br>>> Yes I remember you :-)<br>>><br>>> I would be happy to chat over email, sure.<br>>><br>>> What would you like to do for RTEMS?<br>>><br>>> Cheers,<br>>><br>>> Ben<br>>><br>>><br>>> On 28-12-16 08:02, 赵思晨 wrote:<br>>><br>>> Hi ben:<br>>> Still remember me? i am the student from china who asked you about the<br>>> rtems. i see the gsoc 2017 is gonna start, and i wanna join the rtems<br>>> project. and i have a idea about the rtems project, i realized that you are<br>>> the mentor in 2016 rtems project , i wanna explain my idea about rtems<br>>> project,  i would be very grateful if you can have a detail conversation<br>>> with me.<br>>> thank you!<br>>><br>>> best regards<br>>> sichen zhao<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年10月2日(星期天) 凌晨0:34<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: 回复: Coder from China about the rtems<br>>><br>>> Great to hear that you want to participate in gsoc 2017! Doing some work<br>>> ahead of that will definitely help your chances of being picked as a<br>>> student. Assuming RTEMS is picked for GSOC :-)<br>>><br>>><br>>> On 10/01/2016 02:40 PM, 赵思晨 wrote:<br>>><br>>> thank you!<br>>> I wanna add the ethernet support on the bbb bsp,and achieve a kind of<br>>> application on bbb, what' s more, i want to participate the gsoc 2017<br>>><br>>> best regards<br>>> sichen zhao<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年9月29日(星期四) 晚上7:34<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: 回复: Coder from China about the rtems<br>>><br>>> Hi sichen zhao!<br>>><br>>> I have never done this myself. However I know that this is possible using<br>>> libbsd in RTEMS. With libbsd you can use FreeBSD drivers in RTEMS easier.<br>>> (It makes the porting easier.)  However this is not really easy to build<br>>> from a single source repo as it should be :(. It takes work.<br>>><br>>> Someone who has done this for network + BBB:<br>>><br>>><br>>> <a href="http://ragustechblog.blogspot.nl/2015/06/rtems-libbsd-for-beaglebone-black.html" target="_blank">http://ragustechblog.blogspot.<wbr>nl/2015/06/rtems-libbsd-for-be<wbr>aglebone-black.html</a><br>>><br>>> What are you desires for using BBB+RTEMS?<br>>><br>>> Cheers,<br>>><br>>> Ben<br>>><br>>><br>>> On 09/28/2016 03:14 PM, 赵思晨 wrote:<br>>><br>>> thank you for your time !<br>>> I am working on the internet support in bbb,but i have no idea how to<br>>> transplant the tcp/ip protocol,i realized In the GSOC project, your team<br>>> want to improve the bbb bsp support, so do you transplant the protocol and<br>>> make bbb connect to the internet successfully?<br>>><br>>> best regards<br>>> sichen zhao<br>>><br>>><br>>> ------------------ 原始邮件 ------------------<br>>> 发件人: "beng";<<a href="mailto:beng@shrike-systems.com" target="_blank">beng@shrike-systems.co<wbr>m</a>>;<br>>> 发送时间: 2016年9月28日(星期三) 晚上8:56<br>>> 收件人: "赵思晨"<<a href="mailto:sichen.zhao@qq.com" target="_blank">sichen.zhao@qq.com</a>>;<br>>> 主题: Re: Coder from China about the rtems<br>>><br>>> Hi!<br>>><br>>> Depends :-)<br>>><br>>> If they are a few simple things, sure, go ahead. If you are interested in<br>>> contributing back, even more.<br>>><br>>><br>>> On 09/28/2016 02:55 PM, 赵思晨 wrote:<br>>><br>>> Hi Ben Gras:<br>>><br>>> My name is SiChen Zhao,I am a student from China NanJing University,I have<br>>> been studied the rtems for some days,I realized that you are the mentor of<br>>> the GSOC beagleboard BSP projects,now i have some questions about the rtems<br>>> on BBB,can you help me?thank you very much.<br>>><br>>> best regards<br>>> sichen zhao<br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>><br></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>