LS1046A: Bare-Metal header files and driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1046A: Bare-Metal header files and driver

跳至解决方案
2,836 次查看
tomhohenstein
Contributor I

Hello,

I would like to do some bare-metal development on a custom LS1046A board. I know from other processors that there are often header files containing at least definitions for register addresses or even complete drivers which serve as an hardware abstraction layer.

Does NXP provide any of this for the LS1046A processor to support bare-metal developement?

I've searched the LSDK, the QorIQ SDK and in CodeWarrior but did not find anything.

Any help would be much appreciated!

标记 (2)
0 项奖励
回复
1 解答
2,618 次查看
Pavel
NXP Employee
NXP Employee

There are program examples in CW4NET for ARM. These examples contain .h files for eSDHC and qSPI. Use the following path:

C:\Freescale\CW4NET_v2018.01\CW_ARMv8\ARMv8\CodeWarrior_Examples

 

There is a few .h file in u-boot source in SDK 2.0-1703 or LSDK.

Use the following path is LSDK:

flexbuild/packages/firmware/u-boot/include

and

use the following path is SDK 2.0-1703:

QorIQ-SDK-V2.0-20160527-yocto/build_ls1046ardb/tmp/work/ls1046ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include

 

Find the fsl*.h file in these folders.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,619 次查看
Pavel
NXP Employee
NXP Employee

There are program examples in CW4NET for ARM. These examples contain .h files for eSDHC and qSPI. Use the following path:

C:\Freescale\CW4NET_v2018.01\CW_ARMv8\ARMv8\CodeWarrior_Examples

 

There is a few .h file in u-boot source in SDK 2.0-1703 or LSDK.

Use the following path is LSDK:

flexbuild/packages/firmware/u-boot/include

and

use the following path is SDK 2.0-1703:

QorIQ-SDK-V2.0-20160527-yocto/build_ls1046ardb/tmp/work/ls1046ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include

 

Find the fsl*.h file in these folders.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,618 次查看
tomhohenstein
Contributor I

Thank you for your answer even though it is unfortunate that there is no complete bare metal SDK.

0 项奖励
回复