How to disable FEC, replace with KPP?

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

How to disable FEC, replace with KPP?

1,874 Views
dluberger
Contributor V

I'm using the i.mx6ul processor. I think that maybe the fact that I'm using the FEC ports as the 8x8 kpp input is possibly causing a kernel hangup.  In the imx_v7_deconfig, there's no line for CONFIG_FEC for me to comment out. How do I disable FEC without causing build errors? If I try setting status="disabled" in the device tree, I get build errors.  Also, I don't see a way to setup pinmux to have the KPP use the FEC pads, which is where my keypad is connected.  I see the example setup for the keypad in the device tree, but that doesn't tell how to setup pin muxing or how to disable the FEC 1 and 2, even though the KPP uses the FEC pads.

Labels (3)
0 Kudos
Reply
2 Replies

1,723 Views
igorpadykov
NXP Employee
NXP Employee

Hi David

to setup pinmux one can look at linux/arch/arm/boot/dts/imx6ul-pinfunc.h

for example:

#define MX6UL_PAD_ENET1_RX_DATA0__KPP_ROW00        0x00c4 0x0350 0x05d0 6 0

imx6ul-pinfunc.h\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

and sect.4.5.2.2 Menu Configuration Options attached Linux Manual for fec driver configuration

Also one can try to disable fec in uboot.

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

0 Kudos
Reply

1,723 Views
dluberger
Contributor V

I tried to disabled FEC via imx_v7_defconfig which is the defconfig I've been using for my kernel build, but CONFIG_FEC isn't one of the options in this defconfig. It's not in imx_v6_v7_defconfig either. my understanding is that imx_v7_defconfig is what I should be using and that I really am not supposed to mess with the any of the settings in that. any time I've tried commenting out any lines in the defconfig file I get build errors.

0 Kudos
Reply