All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] u-boot Marvell ethernet switch development
@ 2018-05-02 14:05 Dennis Jacobs
  2018-05-02 23:21 ` Chris Packham
  2020-05-26 13:26 ` Rob Nino
  0 siblings, 2 replies; 3+ messages in thread
From: Dennis Jacobs @ 2018-05-02 14:05 UTC (permalink / raw)
  To: u-boot

Dear U-boot mailing list,

Its the first time I make use of this U-boot mailing list. I am here for a problem I am having recently with u-boot which is part of my graduation project.

I am developing firmware for a Marvell Ethernet switch chip (98DX3336) on the RD-XC3-24G4XG-B (Marvell Ethernet switch). Marvell has provided me with U-boot binary files for UART, SPI etc. I managed to load the U-boot UART binary file trough the UART interface. Showing:

[cid:image003.png at 01D3E22C.D21A6560]



Ok so that is good... now I need to set up my own u-boot environment to add some changes. So I did. I Downloaded u-boot 2013.01 and added marvell configurations. I was able to compile and load the U-boot Uart binary trough the UART interface. The terminal is showing the following:



[cid:image004.png at 01D3E22D.C73E7040]


So ok its loads! But now... I can not perform any commands. All commands are Unknown...
So what I did was checking the configurations and I found out that I have set the CMD configurations. Like CMD_NET etc etc

[cid:image005.png at 01D3E22E.7D8A6070]

Anny one that could help me here? I would really appreciate it. I am struggling with this problem for almost 2 full days now.
Actions I have been taken

-          Tested if help command was realy executed and no other invisible fragments where added.

-          Tested the compilation with 7 different armv7-marvell cross compilers

Left binary is the working one the second binary is mine. It only differs 26 bytes. I noticed that a different cross compiler also changes the size. Sometime more sometimes less. All of the binarys I compiled where executing correctly but not reacting on anny commands

[cid:image006.png at 01D3E22F.61EE8C00]

Please help me.

Kind regards,

Dennis Jacobs
Designer

[Prodrive B.V.]<http://www.prodrive-technologies.com/>
Mobile

+31 62 57 28 194

Phone

+31 40 26 76 200


www.prodrive-technologies.com<http://www.prodrive-technologies.com>

[cid:image002.png at 01D3E22B.A33384D0]

Disclaimer: The content of this e-mail is intended solely for the use of the Individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. If you have received this communication in error, please notify the author by replying to this e-mail immediately.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3431 bytes
Desc: image001.gif
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 51820 bytes
Desc: image002.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 29730 bytes
Desc: image003.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 28947 bytes
Desc: image004.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 64937 bytes
Desc: image005.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 47505 bytes
Desc: image006.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/42380de6/attachment-0004.png>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] u-boot Marvell ethernet switch development
  2018-05-02 14:05 [U-Boot] u-boot Marvell ethernet switch development Dennis Jacobs
@ 2018-05-02 23:21 ` Chris Packham
  2020-05-26 13:26 ` Rob Nino
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Packham @ 2018-05-02 23:21 UTC (permalink / raw)
  To: u-boot

Hi Dennis,

On Thu, May 3, 2018 at 3:21 AM Dennis Jacobs <
dennis.jacobs2@prodrive-technologies.com> wrote:

> Dear U-boot mailing list,

> Its the first time I make use of this U-boot mailing list. I am here for
a problem I am having recently with u-boot which is part of my graduation
project.

Welcome.

A couple of minor nit-pick things to start.

If you can please try to send email as plain text and rather that images
paste console output and code snippets directly in-line.

Many people on this list prefer reading it in a text-base MUA like alpine
or mutt so messages with HTML and images tend to get ignored, which cuts
you off from people that may be able to help. Plain text also works best
for the mailing list archive which really helps people when searching.

> I am developing firmware for a Marvell Ethernet switch chip (98DX3336) on
the RD-XC3-24G4XG-B (Marvell Ethernet switch). Marvell has provided me with
U-boot binary files for UART, SPI etc.

Technically speaking you should be directing your questions to Marvell
since this board doesn't exist upstream and they're shipping a modified
u-boot. But you're in luck because I happen to have one of those boards as
well and I think I might know what's going on.

> I managed to load the U-boot UART binary file trough the UART interface.
Showing:

> [cid:image003.png at 01D3E22C.D21A6560]



> Ok so that is good... now I need to set up my own u-boot environment to
add some changes. So I did. I Downloaded u-boot 2013.01 and added marvell
configurations. I was able to compile and load the U-boot Uart binary
trough the UART interface. The terminal is showing the following:



> [cid:image004.png at 01D3E22D.C73E7040]


> So ok its loads! But now... I can not perform any commands. All commands
are Unknown...
> So what I did was checking the configurations and I found out that I have
set the CMD configurations. Like CMD_NET etc etc

> [cid:image005.png at 01D3E22E.7D8A6070]

> Anny one that could help me here? I would really appreciate it. I am
struggling with this problem for almost 2 full days now.
> Actions I have been taken

> -          Tested if help command was realy executed and no other
invisible fragments where added.


I think it is actually this.

Are you using hyperterm by any chance? I hit a problem a while back where
hyperterm worked fine for a while but then started adding other invisible
characters to my input which in-turn caused every command to be rejected.
Particularly if I'd used the uart boot. My primary environment is Linux so
I'm not sure what people are using for a terminal emulator on Windows these
days. When I last used a windows box for work teraterm
https://ttssh2.osdn.jp/index.html.en was the terminal emulator we used.

The uart tx/rx lines on the RD-XC3 board don't appear to be well
controlled, there always seems to be a bit of junk captured around reset
due to the lines floating. So even if it's not your terminal emulator
getting confused your host UART driver might be.

The fact that you've proven your built image boots over uart means the spi
version should work. So I'd recommend just updating what's on the board
(make sure you feed it the spi.bin not the spi-uart.bin). If it all goes
catastrophically wrong you can still recover the system over uart.

> -          Tested the compilation with 7 different armv7-marvell cross
compilers

> Left binary is the working one the second binary is mine. It only differs
26 bytes. I noticed that a different cross compiler also changes the size.
Sometime more sometimes less. All of the binarys I compiled where executing
correctly but not reacting on anny commands

> [cid:image006.png at 01D3E22F.61EE8C00]

> Please help me.

> Kind regards,

> Dennis Jacobs
> Designer

> [Prodrive B.V.]<http://www.prodrive-technologies.com/>
> Mobile

> +31 62 57 28 194

> Phone

> +31 40 26 76 200


> www.prodrive-technologies.com<http://www.prodrive-technologies.com>

> [cid:image002.png at 01D3E22B.A33384D0]

> Disclaimer: The content of this e-mail is intended solely for the use of
the Individual or entity to whom it is addressed. If you have received this
communication in error, be aware that forwarding it, copying it, or in any
way disclosing its content to any other person, is strictly prohibited. If
you have received this communication in error, please notify the author by
replying to this e-mail immediately.

Also if you have any ability to do so, remove this. This is a public
mailing list so by it's very nature every recipient is violating this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* u-boot Marvell ethernet switch development
  2018-05-02 14:05 [U-Boot] u-boot Marvell ethernet switch development Dennis Jacobs
  2018-05-02 23:21 ` Chris Packham
@ 2020-05-26 13:26 ` Rob Nino
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Nino @ 2020-05-26 13:26 UTC (permalink / raw)
  To: u-boot

Hello Dennis,
I am looking for a RD-XC3-24G4XG-B dev board and possibly someone to help
develop code for the switch.
Thanks,
--Rob



--
Sent from: http://u-boot.10912.n7.nabble.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-26 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02 14:05 [U-Boot] u-boot Marvell ethernet switch development Dennis Jacobs
2018-05-02 23:21 ` Chris Packham
2020-05-26 13:26 ` Rob Nino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.