Hi Juergen, 2014-05-06 11:39 GMT+02:00 Juergen Borleis <[email protected]>:
> > - What is the criteria for selecting the placement of rules file between > > "bsp" and "platform"? (what is exactly the difference between bsp and > > platform) > > If there are no special requirements for a specific platform, you will use > the > generic PTXdist rule files. For example the platform and the application > works > perfectly with the generic installation of the udev package. > This part is clear. > > If your platform has very special requirements to make it work, you add > more > rule files or replace generic ones inside the platform. For example the > platform needs some special tweaks within the udev package. Then the > modified > udev package rule files are located inside the platform and the generic > ones > from PTXdist are not used anymore. > OK... > > If the BSP has more requirements to make a specific application work on a > specific platform it must be able to overrule all other rules files. In > this > case you place them in the rules/ directory of the BSP. For example the > [...] But this is where it starts to get confusing. I don't quite understand the difference between the "BSP" and the "platform". Take the following example from the mini2440 BSP. It applies to the projectroot dir but I assume here the same logic as for the rules/ dir applies. The BSP's projectroot contains: /etc/rc.once.d/tscalibrate On the other hand, in configs/platform-mini2440/projectroot, we have among other files: /etc/ts.conf /etc/profile.environment So what's the reason why some of these files end up in the BSP level and others in the platform level? None of them seems to be more or less generic than the others. (Sorry for all the questions, I am just trying to figure out where should I put my modified rule files) > - I also have some patches that fix some minor issues in (Linux) device > > drivers related to the mini2440. What is the proper procedure for this? > > Should I send them to the OSELAS mailing list? Or perhaps this is not the > > proper place for this? > > For S3C2440 SoC related drivers the corresponding Linux mailing lists are > the > correct destination. Upstream is always the best solution. Sometimes the > changes get not accepted, then I collect and keep them in my BSP. > > Just show us your modifications and we can discuss how to deal with them. > OK, will do :) Guillermo Rodriguez
