Network Issue with Mini2440

Kamel BOUHARA k.bouhara at gmail.com
Sat Mar 24 03:35:46 EDT 2012


Hello,

Sorry for the pm but I still wait the bellow message to be approved by the
mailing list admin and it seems he takes a week ;).

Can you please look at it.

Le 23 mars 2012 19:17, Kamel BOUHARA <k.bouhara at gmail.com> a écrit :

> Hi Juergen,
>
> Ok, it light me on the way that my board don't use an eeprom to set the
> FEC address so I probably have to fix that somewhere ...maybe a macro
> #define NO_EEPROM or something like that ??
>
> Can you, please, show me the *md -s /dev/phy0* command output from you
> mini6410.
>
> Thanks.
>
> ---------- Message transféré ----------
> De : Juergen Beisert <jbe at pengutronix.de>
> Date : 23 mars 2012 09:22
> Objet : Re: Network Issue with Mini2440
> À : barebox at lists.infradead.org
> Cc : Kamel BOUHARA <k.bouhara at gmail.com>
>
>
>
> Hi Kamel,
>
> Kamel BOUHARA wrote:
> > I'm trying to port the last release of barebox to my sbc2440-III board
> with
> > the base config. of a mini2440 but unfortunately I'm facing a network
> issue
> > when trying to boot from nfs or to load files with tftp.
> >
> > After checking all the parameters (pll, ram init etc.) I figured out that
> > the chip select and interrupt pinout were not good and I changed them to
> > fit with my board schematic.
> > So I have a well boot on barebox everything seems to work as you can see
> > here :
> > [...]
>
> I changes the DM9000 driver recently. So, I tested both DM9000 revisions I
> have access to (based on the Barebox's next branch).
>
> First on the Mini2440. It comes with a DM9000E:
>
> ---------------------------------------------------------------------------
>
> mini2440:/ tftp barebox-mini2440 /dev/ram0
> TFTP from server 192.168.1.7 ('barebox-mini2440' -> '/dev/ram0')
>        #################################
> mini2440:/ go /dev/ram0
> ## Starting application at 0x30000000 ...
>
> barebox 2012.02.0-00259-g773e35b (Mar 23 2012 - 08:53:16)
>
> Board: Mini 2440
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB
> 3,3V 8-bit)
> Bad block table found at page 65472, version 0x01
> Bad block table found at page 65408, version 0x01
> nand_read_bbt: Bad block at 0x019e0000
> nand_read_bbt: Bad block at 0x02540000
> dm9000 at dm90000: Found DM9000E at i/o: 0x20000300
> s3c_mci at mci0: registered as mci0
> refclk:    12000 kHz
> mpll:     405000 kHz
> upll:      48000 kHz
> fclk:     405000 kHz
> hclk:     101250 kHz
> pclk:      50625 kHz
> SDRAM1:   CL2 at 101MHz
> Malloc space: 0x33a00000 -> 0x33dfffff (size  4 MB)
> Stack space : 0x339f8000 -> 0x33a00000 (size 32 kB)
> envfs: wrong magic on /dev/env0
> no valid environment found on /dev/env0. Using default environment
> running /env/bin/init...
>
> Hit any key to stop autoboot:  3
> mini2440:/ devinfo eth0
> resources:
> driver: none
>
> Parameters:
>          ipaddr = 192.168.1.241
>         ethaddr = 36:CF:EC:0D:18:Bd
>         gateway = <NULL>
>         netmask = 255.255.255.0
>        serverip = 192.168.1.7
> mini2440:/ ping 192.168.1.7
> phy0: Link is up - 100/Full
> host 192.168.1.7 is alive
>
> ---------------------------------------------------------------------------
>
> And here with my Mini6410. This comes with a DM9000A like your system.
>
> ---------------------------------------------------------------------------
>
> barebox 2012.02.0-00259-g773e35b-dirty (Mar 23 2012 - 09:19:48)
>
> Board: Mini 6410
> Will write 0x00021300
> dm9000 at dm90000: Found DM9000A at i/o: 0x18000300
> eth at eth0: got MAC address from EEPROM: 08:90:90:90:90:90
> refclk:    12000 kHz
> apll:     532000 kHz
> mpll:     532000 kHz
> CPU:      532000 kHz
> hclkx2:   266000 kHz
> hclk:     133000 kHz
> pclk:      66500 kHz
> Malloc space: 0x57bc0000 -> 0x57fbffff (size  4 MB)
> Stack space : 0x57bb8000 -> 0x57bc0000 (size 32 kB)
> Open /dev/env0 No such file or directory
> no valid environment found on /dev/env0. Using default environment
> running /env/bin/init...
>
> Hit any key to stop autoboot:  3
> mini6410:/ devinfo eth0
> resources:
> driver: none
>
> Parameters:
>          ipaddr = 192.168.1.187
>         ethaddr = 08:90:90:90:90:90
>         gateway = 192.168.1.1
>         netmask = 255.255.255.0
>        serverip = 192.168.1.7
> mini6410:/ ping 192.168.1.7
> phy0: Link is up - 100/Full
> host 192.168.1.7 is alive
>
> ---------------------------------------------------------------------------
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K.                              | Juergen Beisert
>   |
> Linux Solutions for Science and Industry      | http://www.pengutronix.de/ |
>
>
>
> --
>
> _______________________________
> *Kamel BOUHARA*
> 62 Bis Rue Carnot
> 60610 Lacroix Saint-Ouen
>
> Tel :  +33617832904
>
>
>


-- 

_______________________________
*Kamel BOUHARA*
62 Bis Rue Carnot
60610 Lacroix Saint-Ouen

Tel :  +33617832904
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20120324/26ee25d3/attachment.html>


More information about the barebox mailing list