All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Cyril HAENEL <chaenel@free.fr>
Cc: linux-mips@linux-mips.org
Subject: Re: Question about the SMP8634/SMP8635 MIPS processor
Date: Wed, 28 Jan 2009 08:35:02 -0800	[thread overview]
Message-ID: <49808936.2040407@caviumnetworks.com> (raw)
In-Reply-To: <49804660.8040802@free.fr>

Cyril HAENEL wrote:
[...]
> The SMP8635 processor comes from Sigma Design and I found on its FTP 
> site a 2.6.15 kernel with associated patches for the SMP863x processors 
> serie.
> 
> My problem is that they doesn't provide the datasheet alone, visibly 
> they provide it with the SMP8634 developement board 
> (http://www.sigmadesigns.com/public/Products/SMP8630/SMP8630_series.html).
> 

In the past the datasheet was only available under NDA...

> And to begin to developp on this board, I need at least to know where is 
> located the JTAG. It will be the starting point to try to access the NOR 
> flash to backup the original firmware, and play with the board.
> I don't see any SPI eeprom/flash thus I think even the boot loader is 
> located the 16MB nor flash, so I thing at startup the processor directly 
> try to execute code from the NOR, maybe at adress 0x0.
> 

The 8634 has an internal 'security' processor that executes code out of 
on-chip flash/RAM.  This security processor boots the main CPU only 
after verifying that the boot loader's cryptographic signatures are 
valid.    Unless the factory firmware is permissive, there is very 
little you can do with it.

> Is someone has some information on this processor ? Or maybe the 
> datasheet ? With the datasheet I will be have to locate the JTAG pin :)

The JTAG is multiplexed with the second serial port.  Often you have to 
change a strapping pin so that JTAG is enabled when the board is powered 
on.  Different boards have a variety of JTAG connectors, you would have 
to search for it on your board.  Generally it is some form of 14 pin 
dual-inline header.

If you haven't already found it, probably the first thing you want to do 
is find primary serial port.  Most configurations print at least a 
couple of lines indicating DRAM configuration before booting.  If you 
are lucky you may be able to get to a YAMON prompt from the serial port.

The zboot loader may read a character from the serial port. '0', '1', 
'2', and '3' will override the default boot image.


David Daney

  reply	other threads:[~2009-01-28 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 11:49 Question about the SMP8634/SMP8635 MIPS processor Cyril HAENEL
2009-01-28 16:35 ` David Daney [this message]
2009-01-28 17:01   ` Cyril HAENEL

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49808936.2040407@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=chaenel@free.fr \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.