Skip to contentSkip to conversation

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

U-Boot Dieter Kiermaier 2 participants 8 messages Jun 22, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Dieter,

Quoted 6 lines · Dieter Kiermaier

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

Quoted 7 lines

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.

Quoted 8 lines
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".

Quoted 23 lines

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

Quoted 5 lines

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

Quoted 14 lines

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

Quoted 9 lines

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

Quoted 5 lines

_______________________________________________
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

#2 lore raw

Andr??,

Quoted 13 lines

Dieter,

Quoted 10 lines · Dieter Kiermaier

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

Quoted 6 lines
Quoted 4 lines
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.

Quoted 32 lines
Quoted 8 lines
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".

Quoted 21 lines

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

Quoted 7 lines
Quoted 5 lines

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

Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 17 lines
Quoted 17 lines

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)

Quoted 7 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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

#3 lore raw
Quoted 20 lines · Dieter Kiermaier

Andr??,

Quoted 18 lines

Dieter,

Quoted 14 lines · Dieter Kiermaier

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

Quoted 38 lines
Quoted 1 line

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.

Quoted 33 lines
Quoted 8 lines
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".

Quoted 22 lines

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 ?

Quoted 28 lines
Quoted 6 lines
Quoted 4 lines

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:

Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 17 lines
Quoted 17 lines

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)

Quoted 21 lines
Quoted 7 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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

#4 lore raw

Am Montag 22 Juni 2009 14:53:44 schrieb Andr?? Schwarz:

Quoted 57 lines · Dieter Kiermaier
Quoted 56 lines

Andr??,

Quoted 13 lines

Dieter,

Quoted 10 lines · Dieter Kiermaier

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

Quoted 6 lines
Quoted 4 lines
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.

Quoted 31 lines
Quoted 7 lines
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".

Quoted 21 lines

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

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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:

Quoted 44 lines
Quoted 21 lines
Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 16 lines
Quoted 16 lines

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)

Quoted 18 lines
Quoted 6 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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

#5 lore raw

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

Quoted 145 lines

Am Montag 22 Juni 2009 14:53:44 schrieb Andr?? Schwarz:

Quoted 58 lines · Dieter Kiermaier
Quoted 57 lines

Andr??,

Quoted 13 lines

Dieter,

Quoted 10 lines · Dieter Kiermaier

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

Quoted 6 lines
Quoted 4 lines
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.

Quoted 31 lines
Quoted 7 lines
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".

Quoted 21 lines

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

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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:

Quoted 44 lines
Quoted 21 lines
Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 16 lines
Quoted 16 lines

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)

Quoted 18 lines
Quoted 6 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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

#6 lore raw

Dieter,

Quoted 4 lines · Dieter Kiermaier

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

Quoted 155 lines

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

Quoted 145 lines

Am Montag 22 Juni 2009 14:53:44 schrieb Andr?? Schwarz:

Quoted 58 lines · Dieter Kiermaier
Quoted 57 lines

Andr??,

Quoted 13 lines

Dieter,

Quoted 10 lines · Dieter Kiermaier

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

Quoted 6 lines
Quoted 4 lines
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.

Quoted 31 lines
Quoted 7 lines
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".

Quoted 21 lines

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

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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:

Quoted 44 lines
Quoted 21 lines
Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 16 lines
Quoted 16 lines

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)

Quoted 18 lines
Quoted 6 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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

#7 lore raw

Am Montag 22 Juni 2009 17:34:35 schrieb Andr?? Schwarz:
Andr??,

Quoted 16 lines

Dieter,

Quoted 4 lines · Dieter Kiermaier

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 ?

Quoted 4 lines

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

Quoted 163 lines

Regards,
Andr??

Quoted 153 lines

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

Quoted 147 lines

Am Montag 22 Juni 2009 14:53:44 schrieb Andr?? Schwarz:

Quoted 59 lines · Dieter Kiermaier
Quoted 58 lines

Andr??,

Quoted 14 lines

Dieter,

Quoted 11 lines · Dieter Kiermaier

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

Quoted 6 lines
Quoted 4 lines
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.

Quoted 31 lines
Quoted 7 lines
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".

Quoted 21 lines

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

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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:

Quoted 44 lines
Quoted 21 lines
Quoted 1 line
Quoted 1 line

ethaddr=00:50:43:e0:b9:d8

Also writing a new MAC to environment / savenenv / reset made no difference :(

Quoted 16 lines
Quoted 16 lines

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)

Quoted 18 lines
Quoted 6 lines
Quoted 2 lines

Any help would be appreciated,
Dieter

Regards,

Andr??

Dieter

Quoted 9 lines
Quoted 4 lines

_______________________________________________
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