2015-08-26 9:55 GMT+03:00 Thomas Kim <thomas73....@gmail.com>: > Dear Yurii, > > Thank you for your kindly reply. > > At this time, I built lastest libbsd successfully. > Also, I am tring to add USB input files in freebsd\sys\dev\usb\input. > > Question 1) > 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". > Is it correct ? > I'm not sure about which sources exactly are for USB input. But yes, you should modify Makefile or wscript file, to build new sources and later use these binaries. I suggest you to use waf, it's much more convenient.
> > Question 2) > 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. > Is it correct ? > > Question 3) > As I check libbsd.py file, there is below definitions. > - def dev_usb_input(mm): > - def dev_usb_mouse(mm): > > Is there how to use libbsd.py for adding new files(source, header files) > easily ? > Or, I want to know that libbsd.py file is used for which purpose. > You don't need any of *.py to do, what you want > Best Regards, > Thomas > > 2015-08-25 19:19 GMT+09:00 Yurii Shevtsov <unge...@gmail.com>: > >> >> >> 2015-08-25 12:10 GMT+03:00 Thomas Kim <thomas73....@gmail.com>: >> >>> Dear Yurii, >>> >>> Thank you very much. >>> >>> I want to review freeBSD source code. >>> >>> Please let me know where is libbsd's README file. there is not README >>> file in current tree (https://git.rtems.org/rtems-libbsd/tree/). >>> I want to check "Rules for Modiying FreeBSD source" in REAME file. >>> >> https://github.com/RTEMS/rtems-libbsd/blob/master/libbsd.txt >> >>> >>> Also, I want to compare FreeBSD original code and the modified FreeBSD >>> code. >>> I guess that FreeBSD original code version is 8.x. >>> >> it's actually 9.2 (from the readme) >> >>> >>> Please let me know how to get FreeBSD original code version which was >>> used for libbsd porting work. >>> >> https://svnweb.freebsd.org/base/release/9.2.0/ It's Subversion >> https://www.freebsd.org/doc/handbook/svn.html >> >>> >>> Best Regards, >>> Thomas. >>> >>> 2015-08-21 23:57 GMT+09:00 Yurii Shevtsov <unge...@gmail.com>: >>> >>>> Hi) >>>> >>>> For porting guide check this blogpost >>>> >>>> http://ragustechblog.blogspot.in/2015/06/porting-driver-from-freebsd-to-rtems.html >>>> Also read libbsd's README, especially "Rules for Modifying FreeBSD >>>> Source" >>>> >>>> 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 >>>> >>>> >>>> >>> >> >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel