How to make resource are movable from SCFW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make resource are movable from SCFW

Jump to solution
773 Views
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 Kudos
Reply
1 Solution
769 Views
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

 

View solution in original post

0 Kudos
Reply
1 Reply
770 Views
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 Kudos
Reply