Core disable on LS1043ardb

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

Core disable on LS1043ardb

跳至解决方案
1,553 次查看
notshure
Contributor IV

Hello to all, my goal is to get my LS1043a board to boot by SD and starting the system by shutting down cores 1, 2 and 3. Once the system is up and running, i would like to see from uboot that such cores are disabled.

I performed a custom boot in which I entered the PBI command to disable the cores.

The procedure I followed is well described and can be found in the following link: Procedure 

I'm starting u-boot, and then so far so good.
But to make sure that the cores are off I went to read the DCFG_CCSR_COREDISR register, at the address 1EE_0094h using the following u-boot command:

md 0x1ee0094 1

The result I get is the following:

0x1ee0094: 0x0e000000

I shouldn't be reading instead:

0x1ee0094: 0x0000000e

since in the datasheet the bits of that register are defined in this way:

Cattura.PNG

0 项奖励
回复
1 解答
1,547 次查看
ufedor
NXP Employee
NXP Employee

U-Boot is natively big-endian, so for little-endian registers it is needed to perform byte swap.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,548 次查看
ufedor
NXP Employee
NXP Employee

U-Boot is natively big-endian, so for little-endian registers it is needed to perform byte swap.

0 项奖励
回复
1,539 次查看
notshure
Contributor IV

Thanks a lot for the answer.

0 项奖励
回复