Ethernet not functional on i.MX6DL Sabre Auto
Hi,
I am using a Sabre Auto board with an i.MX6 Dual Lite.
When I compile U-boot with defconfig file mx6dlsabreauto_defconfig, the network is not functionnal. Only the orange LED on the RJ45 port is blinking and dhcp requests never end. In menuconfig I saw numerous unselected options that I guess should be enabled. But event with that, I could not get through:
CONFIG_NET_RANDOM_ETHADDR=yCONFIG_PHYLIB=yCONFIG_NETDEVICES=yCONFIG_FEC_MXC=y
The issue is present in v2017.05 and v2017.07 (did not tried previous versions). Any idea of what could possibly be wrong ?
Boot log follows.
Thank you,
Miquèl
U-Boot 2017.07-dirty (Jul 12 2017 - 16:12:17 +0200)
CPU: Freescale i.MX6DL rev1.1 at 792MHz CPU: Automotive temperature grade (-40C to 125C) at 44C Reset cause: POR Board: MX6Q-Sabreauto revA I2C: ready DRAM: 2 GiB PMIC: PFUZE100 ID=0x10 Flash: 32 MiB NAND: 256 MiB MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA Display: Hannstar-XGA (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17
Retry time exceeded; starting again
Signature · 3 lines
Miquel Raynal, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Hi Miquel,
Quoted 10 lines · Miquel RAYNAL
Hi,
I am using a Sabre Auto board with an i.MX6 Dual Lite.
When I compile U-boot with defconfig file
mx6dlsabreauto_defconfig, the network is not functionnal. Only the orange LED on the RJ45 port is blinking and dhcp requests never end. In menuconfig I saw numerous unselected options that I guess should be enabled. But event with that, I could not get through:
Quoted 7 lines
CONFIG_NET_RANDOM_ETHADDR=yCONFIG_PHYLIB=yCONFIG_NETDEVICES=yCONFIG_FEC_MXC=yThe issue is present in v2017.05 and v2017.07 (did not tried previous versions). Any idea of what could possibly be wrong ?
I don't have my mx6sabreauto handy to investigate this problem.
Does the change below make Ethernet to work again?
https://pastebin.com/VnEdBCa6
Quoted 4 lines · Fabio Estevam
I don't have my mx6sabreauto handy to investigate this problem.
Does the change below make Ethernet to work again?
https://pastebin.com/VnEdBCa6
And here is a patch against u-boot-imx tree (
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary)
No need to change anything in defconfig. Only do:
make mx6sabreauto_defconfig
make
and Ethernet should work with the patch applied.
Please let me know how your test goes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sabreautonet.patch
Type: text/x-patch
Size: 2216 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/68bacb1a/attachment.bin>
Hi Fabio,
Quoted 11 lines · On Wed, 12 Jul 2017 17:17:28 -0300 Fabio Estevam <[email protected]> wrote:
Quoted 4 lines · Fabio Estevam
I don't have my mx6sabreauto handy to investigate this problem.
Does the change below make Ethernet to work again?
https://pastebin.com/VnEdBCa6And here is a patch against u-boot-imx tree (
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary)
Quoted 8 lines
No need to change anything in defconfig. Only do:
make
mx6sabreauto_defconfig
makeand Ethernet should work with the patch applied.
Please let me know how your test goes.
Thank you for the very quick answer, I was not able to test the patch yesterday but now I can confirm it works and Ethernet is functional again on mx6sabreauto design.
The patch you sent does only apply on imx tree though (the path contains mx6sabreauto instead of mx6qsabreauto).
Best regards,
Miquèl
Signature · 3 lines
Miquel Raynal, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Hi Miquel,
Quoted 3 lines · Miquel RAYNAL
Thank you for the very quick answer, I was not able to test the patch yesterday but now I can confirm it works and Ethernet is functional again on mx6sabreauto design.
Thanks for testing!
Quoted 2 lines
The patch you sent does only apply on imx tree though (the path contains mx6sabreauto instead of mx6qsabreauto).
On the latest u-boot-imx tree the mx6sabreauto have been converted to SPL, so the same SPL + u-boot.img can boot mx6q/mx6dl/mx6qp sabreauto boards.
That's the reason we have renamed it from mx6qsabreauto to the more generic mx6sabreauto naming.
Quoted 14 lines · Fabio Estevam
Hi Miquel,
Quoted 3 lines · Miquel RAYNAL
Thank you for the very quick answer, I was not able to test the patch yesterday but now I can confirm it works and Ethernet is functional again on mx6sabreauto design.
Thanks for testing!
Quoted 2 lines
The patch you sent does only apply on imx tree though (the path contains mx6sabreauto instead of mx6qsabreauto).
Quoted 6 lines
On the latest u-boot-imx tree the mx6sabreauto have been converted to SPL, so the same SPL + u-boot.img can boot mx6q/mx6dl/mx6qp sabreauto boards.
That's the reason we have renamed it from mx6qsabreauto to the more generic mx6sabreauto naming.
Right - thanks for fix and testing. I have already merged it into u-boot-imx, thanks !
Best regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================