[U-Boot] Ethernet on FDI3250 board
Jonatan Personal
jonafischer at gmail.com
Wed Aug 31 17:26:30 CEST 2016
Hi Vladimir, yes the problem is resolved, it was a problem with the size of
uboot image when enabling MII commands. I was copying just 256KB to nand
flash and the image was a little larger than that, so I increased the uboot
memory section in nand flash and it started working fine. Thanks for your
concern.
Kind regards, Jonatan.
2016-08-31 6:49 GMT-03:00 Vladimir Zapolskiy <vz at mleia.com>:
> Hi Jonatan,
>
> On 13.04.2016 22:50, Jonatan Personal wrote:
> > Hi everyone, I'm working on a FDI3250 board (after a long time I
> purchased
> > this board, I finally found time to work on it) and I'm facing a problem
> > with uboot and ethernet. I know from commit logs that Vladimir Zapolskiy
> is
> > working on a LPC3250 based board and is developing all or parts of the
> > ethernet driver for this SoC.
>
> to get timely answers please add me to Cc or To list.
>
> > I'm working using buildroot 2016.02 which has
> > support for uboot version 2016.01. I added the definitions of my board to
> > the uboot sources based on devkit3250 board, and I got a working image
> only
> > if I disable (comment using a C block comment /* ... */) all ethernet
> > related configuration settings. If I enable ethernet and write the
> > configuration settings that I think make sense for my board (FDI3250 uses
> > KSZ8041NL Micrel phy), uboot hangs. For now, ethernet connector and
> > magnetics are not populated (I'm waiting for a DigiKey package to finish
> > it, the downside of living in the wrong side of the world), I don't think
> > this should be a problem, but just in case I want to describe my actual
> > setup.
> >
> > My configuration settings for ethernet:
> > /*
> > * Ethernet
> > * JF: Ethernet not working for now, review eth driver later...
> > */
> > #define CONFIG_RMII
> > #define CONFIG_PHY_MICREL
> > #define CONFIG_LPC32XX_ETH
> > #define CONFIG_PHYLIB
> > #define CONFIG_PHY_ADDR 0x0001
> > #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
> > #define CONFIG_CMD_MII
> > #define CONFIG_CMD_PING
> > #define CONFIG_CMD_DHCP
> >
> > Console output when ethernet is disabled:
> >
> > U-Boot 2016.01 (Apr 12 2016 - 14:56:14 -0300)
> >
> > CPU: NXP LPC32XX
> > CPU clock: 266MHz
> > AHB bus clock: 133MHz
> > Peripheral clock: 13MHz
> > I2C: ready
> > DRAM: 64 MiB
> > WARNING: Caches not enabled
> > NAND: 512 MiB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: Net Initialization Skipped
> > No ethernet found.
> > Hit any key to stop autoboot: 0
> > =>
> >
> > Console output when ethernet is enabled:
> >
> > U-Boot 2016.01 (Apr 13 2016 - 15:29:03 -0300)
> >
> > CPU: NXP LPC32XX
> > CPU clock: 266MHz
> > AHB bus clock: 133MHz
> > Peripheral clock: 13MHz
> > I2C: ready
> > DRAM: 64 MiB
> >
> >
> > Please Vladimir (or someone else who is familiar with lpc32xx code) can
> you
> > give me a pointer of what can be happening with the ethernet driver?
> >
>
> Since it is an old problem, please let me confirm that you still
> experience the problem.
>
> --
> With best wishes,
> Vladimir
>
--
Ing. Jonatan R. Fischer
----------------------------------------------------
Laboratorio de Instrumentación y Control
Facultad de Ingeniería
Universidad Nacional de Mar del Plata
Juan B. Justo 4302
Mar del Plata, Buenos Aires, Argentina
Codigo Postal: 7600
Tel: 54 - 223 - 481 - 6600 interno: 254
e-mail adicional: jfischer at fi.mdp.edu.ar
----------------------------------------------------
More information about the U-Boot
mailing list