Good day!
I am planning to use LS1012 processor in bare metal project.
I didn't find any peripheral drivers, libraries (for example USB 3.0 Mass Storage Class implementation), examples for bare metal case.
Can I use, for example, Linux peripheral drivers for my bar metal project and where can I find them? Are they compatible or I should write my own?
I downloaded Linux SDK and didn't find any sources for peripheral drivers.
If NXP SDK 2.0-1703 is used the following command sequence needed for kernel source:
bitbake -c cleansstate virtual/kernel
bitbake -c patch virtual/kernel
// kernel source code will be available using the following path:
// QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/work/ls1012afrdm-fsl-linux/linux-qoriq/4.1-r0/git
bitbake -c menuconfig virtual/kernel // menu for kernel configuring
Rebuild kernel:
bitbake virtual/kernel
bitbake -c compile -f virtual/kernel
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
And what about compatibility of peripheral drivers?
I must rewrite them from scratch or can adopt (edit some things) and use in my project?