Date: Mon, 21 May 2018 15:11:11 +0530 From: Lakhan Shiva <lakhanshiva@gmail.com> To: soc-status@freebsd.org Subject: [GSOC] Converting PCI driver attachments to be table driven - weekly status report Message-ID: <CAHC0Ygc4XGrOrj=XiNvEVO-LfS3GUWYCDNK0yUrWcpboQDqAxg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
My name is Lakhan Kamireddy and in this year's edition of GSoC I will work on converting PCI driver attachments to be table driven. I've created a wiki page where I've described the project and the milestones [1]. This week I've started preparing the development infrastructure. We're using GitHub as the platform to check-in GSoC code. I am currently checking code to a freebsd fork [2]. Next I've setup the FreeBSD VM - Current 12.0 [3] to build the code that i am planning to write. I was able to do a complete build of the world and then a kernel build. Thereafter, for every check-in, I have done an incremental kernel build to test the code. I have converted drivers like puc, bce, aac and ncr. I have categorized the drivers into three categories. One, trivial two, medium and three, hard depending on the complexity. Currently we have a devmatch infrastructure that looks at all unattached devices on the system and compares their plug and play data to that which has been recorded by kldxref and suggests modules to load. We need the drivers to decorate their PNP data in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers to make it easy for kldxref to find them. Thank you, Lakhan [1] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables <http://linux-arm.org/git?p=arm-dts.git;a=blob;f=versatile_express/vexpress-v2p-ca15-tc1.dts;h=9420053acc14639ffa24e992dfb3bd3eaf5d9071;hb=HEAD> [2] https://github.com/lakhanshiva/freebsd/tree/lakhan-pnpinfo <https://wiki.freebsd.org/SummerOfCode2015/PortingBhyveToArm#preview> [3] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/ <http://linux-arm.org/git?p=arm-dts.git;a=blob;f=versatile_express/vexpress-v2p-ca15-tc1.dts;h=9420053acc14639ffa24e992dfb3bd3eaf5d9071;hb=HEAD>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHC0Ygc4XGrOrj=XiNvEVO-LfS3GUWYCDNK0yUrWcpboQDqAxg>