Naoum,
You referred us to Timesys for the BSPs. This is what Timesys has to say about the subject:
"You can avoid violating such licenses by following a simple rule: Never integrate any source code that is released under the GPL into your proprietary source code. Linux device drivers for proprietary hardware are the most common development effort that triggers redistribution concerns. If directly compiled into the Linux kernel (which is released under the GPL V2 license), the source code for those device drivers must be released under the GPL."
https://linuxlink.timesys.com/docs/wiki/embedded_linux_development#Intellectual-Property-and-Embedde...
About "derived works" they say:
"Beware of derived works, e.g., adding open source code into your application (polluted code)"
https://linuxlink.timesys.com/3/FAQ#obligations
I hope to be wrong, but to me it looks like copying code from Linux, and probably even taking too much inspiration from it, is a recipe for problems if one intends to distribute the product while keeping the source private.
And the only code I have been able to find in Timesys' website are full Linux kernels and/or multi-megabyte patches affecting tens or hundreds of kernel files, among which the Vybrid MAC-NET core support is intermixed with an existing family of MAC controllers, and needs other infrastructure from the kernel, like the PHY Abstraction Layer, DeviceTrees (for pin multiplexing, clocks, etc), and on and on. So if one only wants to get the minimal, specific code needed to support the Vybrid MAC-NET core, there is certainly a lot of reverse engineering to do.
Certainly this doesn't look like a substitute for the bring-up guides that Freescale published for other uCs, like Kinetis. Or am I missing something?
About MQX's BSP, the situation looks slightly better, if only because it seems to have less infrastructure to cut through. But what about the license?
Any clarification would be welcome.