public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] 85xx: add ability to upload QE firmware
Date: Mon, 17 Dec 2007 09:33:39 -0600	[thread overview]
Message-ID: <476696D3.90803@freescale.com> (raw)
In-Reply-To: <20071216202001.26DF1248AC@gemini.denx.de>

Wolfgang Denk wrote:

> I'm not sure if such firmware shouldbe part of the  device  tree,  or
> rather  a  separate  image or part of the image. 

The firmware itself is not part of the device tree, just a few pieces of 
information about the firmware.  I need some way to pass information from U-Boot 
to the kernel, and my choices are the device tree or command line.  The command 
line is clunky, and so I thought the device tree is best place.  This design 
decision has already been reviewed (and approved by Arnd) on the kernel mailing 
lists.

The firmware blob needs to be a separate image because the code and firmware 
layout is meant to be cross-platform, so I can't use any U-Boot-specific 
wrapper.  In addition, the firmware itself is not GPL, so I can't merge it with 
GPL code, or anything else for that matter.  It needs to exist as an independent 
entity.  The code which uploads the blob into the QE is GPL, of course.

> Actually I think the
> definition of such a blob,  if  needed  at  all,  should  only  be  a
> tamporary workaround unti we have the new image format in place. Then
> this should become part of the new image implementation.

The design and layout of the firmware blob is specific to the needs of the QE. 
I don't see how a new image format will help.  I'll only use the new image 
format to wrap the binary.

The goal is to have this firmware blob sitting in flash somewhere, all I need to 
do to upload it is:

	qe fw $fwaddr

The ability to upload firmware to the QE in U-Boot is needed by QE microcode 
developers.

> Please follow the ongoing discussions of this topic and make sure  to
> voice your wishes and requirements.

Are you talking about "RFC: New U-boot image format"?  If so, then I just don't 
see how that applies.  I don't want a new binary format, because I already have 
one defined that works.  If you want me to add support for my binary blob 
wrapped in some other kind of image format, I can add that *after* this patch 
has been applied, since the ability to accept these binary blobs as-is is necessary.

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2007-12-17 15:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14 22:39 [U-Boot-Users] [PATCH] 85xx: add ability to upload QE firmware Timur Tabi
2007-12-16 20:20 ` Wolfgang Denk
2007-12-17 15:33   ` Timur Tabi [this message]
2007-12-17 19:37     ` Wolfgang Denk
2007-12-17 19:48       ` Timur Tabi
2007-12-18  1:05         ` Wolfgang Denk
2007-12-18 15:12           ` Timur Tabi
2007-12-18 16:06             ` Wolfgang Denk
2007-12-17 15:42 ` Timur Tabi

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=476696D3.90803@freescale.com \
    --to=timur@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox