AnsweredAssumed Answered

imx7d: Rev D: FEC1 in u-boot for 4.1.15_2.0.0_ga release

Question asked by srikanth krishnakar on Sep 18, 2017
Latest reply on Sep 19, 2017 by srikanth krishnakar

Hi igorpadykov,

 

I am looking for ENET2 i.e FEC1 initialization on i.MX7D Rev-D u-boot-imx-2016.03 that is from imx_4.1.15_2.0.0_ga release, but unfortunately I see I cannot switch the FEC via. ethact and it defaults to FEC0 only, but when kernel boots I can see both FEC0 and FEC1 are functional. Although the u-boot reports both MII devices but does not recognize the FEC1 while switching as shown below:

 

-------------------------------------------------

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 15 2017 - 18:57:13 +0530)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 36C
Reset cause: POR
Board: i.MX7D SABRESD RevA
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC0
Normal Boot
Hit any key to stop autoboot: 0

-------------------------------------------------

 

FEC1 test:

-------------------------------------------------

=> mii info
PHY 0x00: OUI = 0x180361, Model = 0x18, Rev = 0x09, 100baseT, FDX
PHY 0x01: OUI = 0x180361, Model = 0x18, Rev = 0x09, 10baseT, HDX
=> mii device
MII devices: 'FEC0'
Current device: 'FEC0'
=> printenv ethact
ethact=FEC0
=> setenv ethact FEC1
=> printenv ethact
ethact=FEC1
=> saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
=> reset
resetting ...


U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 15 2017 - 18:57:13 +0530)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 38C
Reset cause: POR
Board: i.MX7D SABRESD RevA
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC0
Normal Boot
Hit any key to stop autoboot: 0
=>

-------------------------------------------------

 

Is there a pin conflict due to which only FEC0 is set in the u-boot of imx7dsabresd ? Can you kindly confirm on availability of FEC1 (ENET2) at u-boot level for i.MX7D SabreSD Rev-D ? If at all this can enabled along with FEC0 without any other conflicts ?

 

Thanks in Advance!

-Srikant

Outcomes