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

André Schwarz andre.schwarz at matrix-vision.de
Mon Jun 22 14:53:44 CEST 2009


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(rootfs)
> > > 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 ?

> > >
> > > 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