LS1012 bare metal project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1012 bare metal project

576 Views
vladimir_kureno
Contributor I

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.

Labels (1)
0 Kudos
2 Replies

418 Views
Pavel
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

418 Views
vladimir_kureno
Contributor I

And what about compatibility of peripheral drivers?

I must rewrite them from scratch or can adopt (edit some things) and use in my project?

0 Kudos