All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Salyzyn <mark_salyzyn@xyratex.com>
To: Jack Wang <jack_wang@usish.com>
Cc: "Mark Salyzyn" <mark_salyzyn@xyratex.com>,
	linux-scsi@vger.kernel.org,
	"'James Bottomley'" <JBottomley@parallels.com>,
	'lindar_liu' <lindar_liu@usish.com>, '于爱华' <crystal_yu@usish.com>,
	'john_gong' <john_gong@usish.com>
Subject: Re: [PATCH] pm8001: support HDA (flashless) mode
Date: Mon, 30 Apr 2012 10:00:44 -0400	[thread overview]
Message-ID: <B52541CD-797A-4BD7-9730-5F240C40C34C@xyratex.com> (raw)
In-Reply-To: <5ADF3694BDC14FC2BF986C45DFBDD819@usish.com.cn>

PMC still does not like the images or firmware header files getting out willy-nilly, have not got free redistribution rights or approvals (in effect, as their agent). And they won't take the action to submit them to the Linux archives. As an OEM customer we are bound to follow their NDA requirements and approvals. Someone not bound by the NDA, on the other hand, can do so <hint hint>.

Conversion from their header format to binary is as follows:

	for i in aap1img.h ilaimg.h iopimg.h istrimg.h ; do
		gcc -x c -c -o ${i%.h}.bin ${i}
		objcopy -O binary ${i%h}.bin
	done

Sincerely -- Mark Salyzyn

On Apr 27, 2012, at 9:06 PM, Jack Wang wrote:

> Thanks Mark,
> 
> So how we get the bin images? PMCS only offer the converted c Header file
> for this, we need users who want to use this function convert the header
> file to bin file.
> 
> Patch need a little more time to look into, will comment back soon.
> 
> Jack
> 
> 
>> 
>> The pm8001 can be delivered as a standalone product with flash-programmed
>> firmware images, or without the flash present requiring the driver to
> upload
>> the images into the chip's RAM and then run. This is called HDA mode.
>> 
>> We add support for this firmware upload in the enclosed patch. We try some
>> basic initialization checks of the Firmware, and if it appears dead, we
> make
>> the assumption the adapter must in-fact be halted in this HDA mode. The
>> Firmware images themselves have not been cleared for open-release by PMC,
> but
>> they are available in OpenSolaris <hint hint>. PMC's rationalization for
> not
>> wanting an open-release of the Firmware Images is that they do not want to
>> take support calls except from paying OEMs (such as Xyratex) that are
> embedding
>> PMC product into the motherboards and thus may have a tested combination
> of
>> Firmware and Hardware. Please respect this sentiment. Images are expected
> in:
>> 
>> /lib/firmware/aap1img.bin
>> /lib/firmware/ilaimg.bin
>> /lib/firmware/iopimg.bin
>> /lib/firmware/istrimg.bin
>> 
>> using the exact same naming convention as PMC and in OpenSolaris (and its
>> followon children) for these image files.
>> 
>> Signed-off-by: Mark Salyzyn <mark_salyzyn@xyratex.com>
>> 
>> drivers/scsi/pm8001/pm8001_hwi.c  |  584
>> +++++++++++++++++++++++++++++++++++---
>> drivers/scsi/pm8001/pm8001_hwi.h  |   37 ++
>> drivers/scsi/pm8001/pm8001_init.c |   30 +
>> drivers/scsi/pm8001/pm8001_sas.h  |    3
>> 4 files changed, 613 insertions(+), 41 deletions(-)
>> 
>> Please see enclosed attachment
>> 
>> 
>> ______________________________________________________________________
>> This email may contain privileged or confidential information, which
> should
>> only be used for the purpose for which it was sent by Xyratex. No further
> rights
>> or licenses are granted to use such information. If you are not the
> intended
>> recipient of this message, please notify the sender by return and delete
> it.
>> You may not use, copy, disclose or rely on the information contained in
> it.
>> 
>> Internet email is susceptible to data corruption, interception and
>> unauthorised amendment for which Xyratex does not accept liability. While
> we
>> have taken reasonable precautions to ensure that this email is free of
> viruses,
>> Xyratex does not accept liability for the presence of any computer viruses
> in
>> this email, nor for any losses caused as a result of viruses.
>> 
>> Xyratex Technology Limited (03134912), Registered in England & Wales,
>> Registered Office, Langstone Road, Havant, Hampshire, PO9 1SA.
>> 
>> The Xyratex group of companies also includes, Xyratex Ltd, registered in
>> Bermuda, Xyratex International Inc, registered in California, Xyratex
>> (Malaysia) Sdn Bhd registered in Malaysia, Xyratex Technology (Wuxi) Co
> Ltd
>> registered in The People's Republic of China and Xyratex Japan Limited
>> registered in Japan.
>> ______________________________________________________________________
>> 
>> 
> 
> 


  reply	other threads:[~2012-04-30 14:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 17:10 [PATCH] pm8001: support HDA (flashless) mode Mark Salyzyn
2012-04-28  1:06 ` Jack Wang
2012-04-30 14:00   ` Mark Salyzyn [this message]
2012-04-28  4:44 ` Re " Jack Wang
2012-04-30 13:43   ` Mark Salyzyn
2012-04-28  6:07 ` Jack Wang
2012-04-30 13:49   ` Mark Salyzyn
2012-04-30 16:56     ` Mark Salyzyn
2012-05-01  1:10       ` jack_wang
2012-05-01 12:45 ` [PATCH] pm8001: support HDA (flashless) mode (take 2) Mark Salyzyn
2012-05-03  0:35   ` RE " Jack Wang
2012-05-03 17:18     ` Mark Salyzyn

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=B52541CD-797A-4BD7-9730-5F240C40C34C@xyratex.com \
    --to=mark_salyzyn@xyratex.com \
    --cc=JBottomley@parallels.com \
    --cc=crystal_yu@usish.com \
    --cc=jack_wang@usish.com \
    --cc=john_gong@usish.com \
    --cc=lindar_liu@usish.com \
    --cc=linux-scsi@vger.kernel.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.