How to make resource are movable from SCFW

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

How to make resource are movable from SCFW

ソリューションへジャンプ
703件の閲覧回数
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 解決策
699件の閲覧回数
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 返信
700件の閲覧回数
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 件の賞賛
返信