* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot
@ 2009-06-22 12:04 Dieter Kiermaier
2009-06-22 12:23 ` André Schwarz
0 siblings, 1 reply; 9+ messages in thread
From: Dieter Kiermaier @ 2009-06-22 12:04 UTC (permalink / raw)
To: u-boot
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
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
Marvell>>
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)
If I now try to ping another machine in the same network:
Marvell>> ping 192.168.2.251
Using egiga0 device
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
^ permalink raw reply [flat|nested] 9+ messages in thread* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 12:04 [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot Dieter Kiermaier @ 2009-06-22 12:23 ` André Schwarz 2009-06-22 12:41 ` Dieter Kiermaier 0 siblings, 1 reply; 9+ messages in thread From: André Schwarz @ 2009-06-22 12:23 UTC (permalink / raw) To: u-boot 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. > > 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) > > 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 ? > > > > 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?? > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 12:23 ` André Schwarz @ 2009-06-22 12:41 ` Dieter Kiermaier 2009-06-22 12:53 ` André Schwarz 0 siblings, 1 reply; 9+ messages in thread From: Dieter Kiermaier @ 2009-06-22 12:41 UTC (permalink / raw) To: u-boot 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) > > > > 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, Talstra?e 16, DE-71570 Oppenweiler > Registergericht: Amtsgericht Stuttgart, HRB 271090 > Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, > Hans-Joachim Reich ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 12:41 ` Dieter Kiermaier @ 2009-06-22 12:53 ` André Schwarz 2009-06-22 13:08 ` Dieter Kiermaier 0 siblings, 1 reply; 9+ messages in thread From: André Schwarz @ 2009-06-22 12:53 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 12:53 ` André Schwarz @ 2009-06-22 13:08 ` Dieter Kiermaier 2009-06-22 15:01 ` Dieter Kiermaier 0 siblings, 1 reply; 9+ messages in thread From: Dieter Kiermaier @ 2009-06-22 13:08 UTC (permalink / raw) To: u-boot 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(rootf > > > >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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 13:08 ` Dieter Kiermaier @ 2009-06-22 15:01 ` Dieter Kiermaier 2009-06-22 15:34 ` André Schwarz 0 siblings, 1 reply; 9+ messages in thread From: Dieter Kiermaier @ 2009-06-22 15:01 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 15:01 ` Dieter Kiermaier @ 2009-06-22 15:34 ` André Schwarz 2009-06-22 15:50 ` Dieter Kiermaier 0 siblings, 1 reply; 9+ messages in thread From: André Schwarz @ 2009-06-22 15:34 UTC (permalink / raw) To: u-boot Dieter, On Mon, 2009-06-22 at 17:01 +0200, Dieter Kiermaier wrote: > 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. this gives lots of things worth looking at them : - are you running on a custom board, i.e. is MDIO known to work properly -> PHY adressing ? - Does your chips require different clocks for 100M/1000M ? - What about mis-strapped link advertisement of the PHY ? Maybe 100M-FD disabled ? Have you tried mii diagnostics ? Have a look at common/cmd_mii.c -> "mii info" and "mii dump" should be your friends. Regards, Andr?? > > 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, 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot 2009-06-22 15:34 ` André Schwarz @ 2009-06-22 15:50 ` Dieter Kiermaier 0 siblings, 0 replies; 9+ messages in thread From: Dieter Kiermaier @ 2009-06-22 15:50 UTC (permalink / raw) To: u-boot Am Montag 22 Juni 2009 17:34:35 schrieb Andr?? Schwarz: Andr??, > Dieter, > > On Mon, 2009-06-22 at 17:01 +0200, Dieter Kiermaier wrote: > > 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. > > this gives lots of things worth looking at them : > > - are you running on a custom board, i.e. is MDIO known to work properly > -> PHY adressing ? > - Does your chips require different clocks for 100M/1000M ? > - What about mis-strapped link advertisement of the PHY ? Maybe 100M-FD > disabled ? > > Have you tried mii diagnostics ? > Have a look at common/cmd_mii.c -> "mii info" and "mii dump" should be > your friends. > I don't think it's a hardware problem. An older u-boot version provided from marvell works without any problems. I have contacted Prafulla from marvell. Maybe he's got an idea what's going on wrong there. Thanks for helping! Dieter > > > Regards, > Andr?? > > > 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, 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <73173D32E9439E4ABB5151606C3E19E201D8E62D09@SC-VEXCH1.marvell.com>]
* [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot [not found] <73173D32E9439E4ABB5151606C3E19E201D8E62D09@SC-VEXCH1.marvell.com> @ 2009-06-22 18:06 ` Dieter Kiermaier 0 siblings, 0 replies; 9+ messages in thread From: Dieter Kiermaier @ 2009-06-22 18:06 UTC (permalink / raw) To: u-boot -------- Original-Nachricht -------- > Datum: Mon, 22 Jun 2009 10:10:20 -0700 > Von: Prafulla Wadaskar <prafulla@marvell.com> > An: "dk-arm-linux at gmx.de" <dk-arm-linux@gmx.de>, "Andr? Schwarz" <andre.schwarz@matrix-vision.de> > CC: "u-boot at lists.denx.de" <u-boot@lists.denx.de> > Betreff: RE: [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot > > > > -----Original Message----- > > From: u-boot-bounces at lists.denx.de > > [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Dieter Kiermaier > > Sent: Monday, June 22, 2009 9:21 PM > > To: Andr? Schwarz > > Cc: u-boot at lists.denx.de > > Subject: Re: [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot > > > > Am Montag 22 Juni 2009 17:34:35 schrieb Andr? Schwarz: > > Andr?, > > > > > Dieter, > > > > > > On Mon, 2009-06-22 at 17:01 +0200, Dieter Kiermaier wrote: > > > > 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. > > > > > > this gives lots of things worth looking at them : > > > > > > - are you running on a custom board, i.e. is MDIO known to work > > > properly > > > -> PHY adressing ? > > > - Does your chips require different clocks for 100M/1000M ? > > > - What about mis-strapped link advertisement of the PHY ? Maybe > > > 100M-FD disabled ? > > > > > > Have you tried mii diagnostics ? > > > Have a look at common/cmd_mii.c -> "mii info" and "mii > > dump" should be > > > your friends. > > > > > > > I don't think it's a hardware problem. > > An older u-boot version provided from marvell works without > > any problems. > Yes, this is not h/w problem, auto-speed negociation was disabled, hence > it was not working with 100baseT, now this problem is resolved, > Please use attached patches to resolve this for current u-boot.git > > The improved version of this driver is already mainlined you can find it > here > http://lists.denx.de/pipermail/u-boot/2009-June/054314.html > > I am sorry I could not update the thread, niether u-boot.git on > git.marvell.com :-(, > I am facing some problem at my end, hopefully I will update everything by > tomorrow. > > > > > > > > > > > > > > > > > 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? > Yes Marvell u-boot and u-boot.git are different uses different address to > save environment variables, so if you altered any of u-boot, environment > will be resetted. > > And they are not same on these both u-boot. u-boot.git are simple and > minimal but enough to boot from nand. Thanks for clarifying these, too. > > > > > > > > > > > > > > > > > > > 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),13 > > > > > > > > >m 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... > Even this problem is resolved in new driver/attached patches. > Many thanks for the quick response! Dieter > Regards. > Prafulla . . -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-06-22 18:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 12:04 [U-Boot] Kirkwood (Sheevaplug) ping crashes(?) U-Boot Dieter Kiermaier
2009-06-22 12:23 ` André Schwarz
2009-06-22 12:41 ` Dieter Kiermaier
2009-06-22 12:53 ` André Schwarz
2009-06-22 13:08 ` Dieter Kiermaier
2009-06-22 15:01 ` Dieter Kiermaier
2009-06-22 15:34 ` André Schwarz
2009-06-22 15:50 ` Dieter Kiermaier
[not found] <73173D32E9439E4ABB5151606C3E19E201D8E62D09@SC-VEXCH1.marvell.com>
2009-06-22 18:06 ` Dieter Kiermaier
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox