[U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot

Dieter Kiermaier dk-arm-linux at gmx.de
Mon Jun 22 17:01:21 CEST 2009


Am Montag 22 Juni 2009 15:08:20 schrieb Dieter Kiermaier:

This seems to be an issue regarding Gigabit / 100MBits uplink with current 
marvell git u-boot.

If I work with 100MBit/s network show the reported errors.
With gigabit connection everything seems to be working fine until now.

André, thanks for your help!
Dieter


> Am Montag 22 Juni 2009 14:53:44 schrieb André Schwarz:
> > On Mon, 2009-06-22 at 14:41 +0200, Dieter Kiermaier wrote:
> > > André,
> > >
> > > > Dieter,
> > > >
> > > > On Mon, 2009-06-22 at 14:04 +0200, Dieter Kiermaier wrote:
> > > > > Hi all,
> > > > >
> > > > > I've tried the first time booting a self compiled u-boot from
> > > > > git.marvell.com U-Boot can be downloaded and started with openocd
> > > > > quite well.
> > > > > Boot messages (version is dirty due to a comment in board file):
> > > > >
> > > > > U-Boot 2009.06-rc2-02207-g14c575a-dirty (Jun 22 2009 - 13:40:45)
> > > > > Marvell-Sheevaplug
> > > > >
> > > > > SoC:   Kirkwood 88F6281_A0
> > > > > DRAM:  512 MB
> > > > > NAND:  512 MiB
> > > > > *** Warning - bad CRC or NAND, using default environment
> > > >
> > > > most propably you'll need to save the environment.
> > >
> > > Also saving environment doesn't help.
> > > The bad CRC message disappered as expected but that's all what
> > > happened.
> > >
> > > > > In:    serial
> > > > > Out:   serial
> > > > > Err:   serial
> > > > > Net:   egiga0
> > > > > 88E1116 Initialized on egiga0
> > > > > Hit any key to stop autoboot:  0
> > > > > Marvell>>
> > > >
> > > > type "save" here and "reset".
> > > >
> > > > > Environment is broken only with marvell git u-boot. Preflashed
> > > > > u-boot find environment is ok.
> > > > > Does sheevaplug u-boot from marvell git use other environment
> > > > > settings than preflashed u-boot?
> > > > >
> > > > > Marvell>> printenv
> > > > > bootcmd=${x_bootcmd_kernel}; setenv bootargs ${x_bootargs}
> > > > > ${x_bootargs_root}; bootm 0x6400000;
> > > > > bootdelay=3
> > > > > baudrate=115200
> > > > > x_bootargs=console=ttyS0,115200
> > > > > mtdparts=orion_nand:512k(uboot),3m at 1m(kernel),1m at 4m(psm),13m at 5m(roo
> > > > >tf s) rw x_bootcmd_kernel=nand read 0x100000 0x6400000 0x300000
> > > > > x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2
> > > > > stdin=serial
> > > > > stdout=serial
> > > > > stderr=serial
> > > > > ethaddr=00:50:43:e0:b9:d8
> > > > > ethact=egiga0
> > > > > ipaddr=192.168.2.75
> > > > >
> > > > > (ipaddr is set after bootup with setenv ipaddr 192.168.2.75)
> >
> > Did you try "bootp" or "dhcp" to set up the I/F ?
>
> Yes, but everytimes the same:
> Marvell>> dhcp
> BOOTP broadcast 1
>
> ... machine hangs and only a reset helps...
>
>
> U-Boot 2009.06-rc2-02207-g14c575a-dirty (Jun 22 2009 - 13:40:45)
> Marvell-Sheevaplug
>
> SoC:   Kirkwood 88F6281_A0
> DRAM:  512 MB
> NAND:  512 MiB
> *** Warning - bad CRC or NAND, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   egiga0
> 88E1116 Initialized on egiga0
> Hit any key to stop autoboot:  0
> Marvell>> bootp
> BOOTP broadcast 1
>
> ...the same here again...
>
> It seems that the network would be activated (1 blink on the activity LED)
> but nothing more happens.
>
> > > > > If I now try to ping another machine in the same network:
> > > > > Marvell>> ping 192.168.2.251
> > > > > Using egiga0 device
> > > >
> > > > maybe your MAC is missing ? environment ?
> > >
> > > MAC is available in default (compiled in environment) as shown in env
>
> above:
> > > > > ethaddr=00:50:43:e0:b9:d8
> > >
> > > Also writing a new MAC to environment / savenenv / reset made no
> > > difference :(
> > >
> > > > > This is all what happens - no response from board, CTRL-C doesn't
> > > > > work. Only a hard reset will get the board up again.
> > > > >
> > > > > Do I have to change something in the default board configuration to
> > > > > succesfullly use networking on the sheevaplug?
> > > > >
> > > > > u-boot is build with following commands:
> > > > >
> > > > > make ARCH=arm sheevaplug_config
> > > > > make
> > > > >
> > > > > I get no errors during build.
> > > > >
> > > > > My gcc version is:
> > > > > arm-none-linux-gnueabi-gcc (GCC) 4.2.0 20070413 (prerelease)
> > > > >
> > > > > Any help would be appreciated,
> > > > > Dieter
> > > >
> > > > Regards,
> > > >
> > > > André
> > >
> > > Dieter
> > >
> > > > > _______________________________________________
> > > > > U-Boot mailing list
> > > > > U-Boot at lists.denx.de
> > > > > http://lists.denx.de/mailman/listinfo/u-boot
> > > >
> > > > MATRIX VISION GmbH, Talstrae 16, DE-71570 Oppenweiler
> > > > Registergericht: Amtsgericht Stuttgart, HRB 271090
> > > > Geschftsfhrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner,
> > > > Hans-Joachim Reich
> >
> > MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
> > Registergericht: Amtsgericht Stuttgart, HRB 271090
> > Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner,
> > Hans-Joachim Reich




More information about the U-Boot mailing list