LS1012 bare metal project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1012 bare metal project

1,584件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,426件の閲覧回数
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 件の賞賛
返信

1,426件の閲覧回数
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 件の賞賛
返信