How to make resource are movable from SCFW

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

How to make resource are movable from SCFW

跳至解决方案
774 次查看
darsh_dev
Contributor V

Hi,

I am working on imx8qxp B0 and yocto 5.4.47 release.

I try to change the pin muxing of QSPI, FLEXCAN and use as GPIO and UART0_RTS respectively from the uboot and kernel, but it can not set as expected.

i go through the SCFW_1.6.0 source code and found that there are below code

/* Move some pads not in the M4_0 subsystem */
BRD_ERR(rm_set_pad_movable(pt_boot, SC_P_FLEXCAN0_RX,
SC_P_FLEXCAN2_TX, SC_TRUE));
BRD_ERR(rm_set_pad_movable(pt_boot,SC_P_USB_SS3_TC1,
SC_P_USB_SS3_TC1, SC_TRUE));
BRD_ERR(rm_set_pad_movable(pt_boot,SC_P_USB_SS3_TC3,
SC_P_USB_SS3_TC3, SC_TRUE));
BRD_ERR(rm_set_pad_movable(pt_boot, SC_P_QSPI0A_DATA0,
SC_P_COMP_CTL_GPIO_1V8_3V3_QSPI0B, SC_TRUE));

I have change in above code from SC_TRUE to SC_FALSE and it working fine.

I want know, which is the valid way to make all this type of resource access available for uboot and kernel from SCFW?

Regards,

Darshak

0 项奖励
回复
1 解答
770 次查看
igorpadykov
NXP Employee
NXP Employee

Hi darshak_patel

 

one can look at  modifying default configuration  flexcan example on below link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
771 次查看
igorpadykov
NXP Employee
NXP Employee

Hi darshak_patel

 

one can look at  modifying default configuration  flexcan example on below link

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

 

0 项奖励
回复