<div dir="ltr"><div>Dear Yurii,</div><div><br></div><div>Thank you for your kindly reply.</div><div><br></div><div>At this time, I built lastest libbsd successfully.</div><div>Also, I am tring to add USB input files in freebsd\sys\dev\usb\input.</div><div><br></div><div>Question 1)</div><div>As I guess, I think that I should modify Makefile, wscript file. also, I should modify USB input files(atp.c, uep.c, uhid.c, uknd.c, ums.c, etc) according to "Rules for Modifing FreeBSD source".</div><div>Is it correct ?</div><div><br></div><div><div>Question 2)</div>As I test freebsd-to-rtems.py, it just move the ported FreeBSD code only from FreeBSD 9.2 original code to libbsd Freebsd. that is, freebsd-to-rtems.py is not used for changing additional new files from FreeBSD 9.2 original code automatically.</div><div>Is it correct ?</div><div><br></div><div><div>Question 3)</div>As I check libbsd.py file, there is below definitions.</div><div> - def dev_usb_input(mm):</div><div> - def dev_usb_mouse(mm):</div><div><br></div><div>Is there how to use libbsd.py for adding new files(source, header files) easily ?</div><div>Or, I want to know that libbsd.py file is used for which purpose.</div><div><br></div><div>Best Regards,</div><div>Thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-25 19:19 GMT+09:00 Yurii Shevtsov <span dir="ltr"><<a href="mailto:ungetch@gmail.com" target="_blank">ungetch@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-08-25 12:10 GMT+03:00 Thomas Kim <span dir="ltr"><<a href="mailto:thomas73.kim@gmail.com" target="_blank">thomas73.kim@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Dear Yurii,</div><div><br></div><div><div>Thank you very much.</div><div><br></div></div><div>I want to review freeBSD source code.</div><div><br></div><div>Please let me know where is libbsd's README file. there is not README file in current tree (<a href="https://git.rtems.org/rtems-libbsd/tree/" target="_blank">https://git.rtems.org/rtems-libbsd/tree/</a>).</div><div>I want to check "Rules for Modiying FreeBSD source" in REAME file.</div></div></blockquote><div><a href="https://github.com/RTEMS/rtems-libbsd/blob/master/libbsd.txt" target="_blank">https://github.com/RTEMS/rtems-libbsd/blob/master/libbsd.txt</a> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><br></div><div>Also, I want to compare FreeBSD original code and the modified FreeBSD code.</div><div>I guess that FreeBSD original code version is 8.x.</div></div></blockquote><div>it's actually 9.2 (from the readme) <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><br></div><div>Please let me know how to get FreeBSD original code version which was used for libbsd porting work.</div></div></blockquote><div><a href="https://svnweb.freebsd.org/base/release/9.2.0/" target="_blank">https://svnweb.freebsd.org/base/release/9.2.0/</a> It's Subversion <a href="https://www.freebsd.org/doc/handbook/svn.html" target="_blank">https://www.freebsd.org/doc/handbook/svn.html</a> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><br></div><div>Best Regards,</div><div>Thomas.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-21 23:57 GMT+09:00 Yurii Shevtsov <span dir="ltr"><<a href="mailto:ungetch@gmail.com" target="_blank">ungetch@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div><div><div>Hi)<br><br>For porting guide check this blogpost<br><a href="http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html" target="_blank">http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html</a><br></div>Also read libbsd's README, especially "Rules for Modifying FreeBSD Source"<br><br></div>Can't say anything specific about USB HID and WLAN. Definitely WLAN will require porting libraries with auth protocols (WPA\WEP). About HID, you can try searching how input works in RTEMS. Maybe you can implement API in your future HID driver<br></div><br><div><div><div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>
</blockquote></div><br></div>