[U-Boot] [PATCH v5 06/21] imx6: icorem6: Add ENET support

Jagan Teki jagannadh.teki at gmail.com
Wed Sep 28 21:15:55 CEST 2016


On Thu, Sep 29, 2016 at 12:41 AM, Joe Hershberger
<joe.hershberger at gmail.com> wrote:
> On Wed, Sep 28, 2016 at 1:28 PM, Jagan Teki <jteki at openedev.com> wrote:
>> From: Jagan Teki <jagan at amarulasolutions.com>
>>
>> Add enet support for engicam icorem6 qdl starter kit.
>> - Add pinmux settings
>> - Add board_eth_init
>>
>> TFTP log:
>> --------
>> Net:   FEC [PRIME]
>> Hit any key to stop autoboot:  0
>> icorem6qdl> tftpboot {fdt_addr} imx6dl-icore.dtb
>> Using FEC device
>> TFTP from server 192.168.2.96; our IP address is 192.168.2.75
>> Filename 'imx6dl-icore.dtb'.
>> Load address: 0x0
>> Loading: ######
>>          1.3 MiB/s
>> done
>> Bytes transferred = 28976 (7130 hex)
>> CACHE: Misaligned operation at range [00000000, 00007130]
>> icorem6qdl>
>>
>> Cc: Joe Hershberger <joe.hershberger at ni.com>
>> Cc: Peng Fan <peng.fan at nxp.com>
>> Cc: Stefano Babic <sbabic at denx.de>
>> Cc: Fabio Estevam <fabio.estevam at nxp.com>
>> Cc: Matteo Lisi <matteo.lisi at engicam.com>
>> Cc: Michael Trimarchi <michael at amarulasolutions.com>
>> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>> ---
>>  board/engicam/icorem6/icorem6.c     | 72 +++++++++++++++++++++++++++++++++++++
>>  configs/imx6qdl_icore_mmc_defconfig |  4 +++
>>  include/configs/imx6qdl_icore.h     | 12 +++++++
>>  3 files changed, 88 insertions(+)
>>
>
> ...
>
>> diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig
>> index a658f4b..d304693 100644
>> --- a/configs/imx6qdl_icore_mmc_defconfig
>> +++ b/configs/imx6qdl_icore_mmc_defconfig
>> @@ -14,6 +14,8 @@ CONFIG_SYS_MAXARGS=32
>>  # CONFIG_CMD_IMLS is not set
>>  CONFIG_CMD_BOOTZ=y
>>  CONFIG_CMD_GPIO=y
>> +CONFIG_CMD_MII=y
>> +CONFIG_CMD_PING=y
>>  CONFIG_CMD_MEMTEST=y
>>  CONFIG_CMD_MMC=y
>>  CONFIG_CMD_CACHE=y
>> @@ -23,5 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
>>  CONFIG_CMD_FAT=y
>>  CONFIG_CMD_FS_GENERIC=y
>>  CONFIG_OF_LIBFDT=y
>> +CONFIG_FEC_MXC=y
>>  CONFIG_MXC_UART=y
>> +CONFIG_NETDEVICES=y
>>  CONFIG_IMX_THERMAL=y
>
> I guess this board can't use CONFIG_DM_ETH for some reason?

True I will remove and send the patch.

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list