public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories
Date: Tue, 12 Jan 2016 01:31:02 +0100	[thread overview]
Message-ID: <201601120131.02613.marex@denx.de> (raw)
In-Reply-To: <1452558418.1947.6.camel@altera.com>

On Tuesday, January 12, 2016 at 01:26:58 AM, Chin Liang See wrote:
> On Mon, 2016-01-11 at 15:33 -0800, Dalon Westergreen wrote:
> > The hps_isw_handoff and bsp/generated folders are typically not in
> > the same path. This patch adds support for specifying the different
> > input directories for the bsp and quartus projects.
> > 
> > Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
> > Acked-by: Marek Vasut <marex@denx.de>
> > ---
> > 
> > Changes for v2:
> >   - Add commit message
> > 
> > Changes for v3:
> >   - Fix line length issues
> > 
> > ---
> > 
> >  arch/arm/mach-socfpga/qts-filter.sh | 74 +++++++++++++++++++++------
> > 
> > ----------
> > 
> >  1 file changed, 43 insertions(+), 31 deletions(-)
> 
> Looks good to me with minor nickpicking on the help message.
> 
> Acked-by: Chin Liang See <clsee@altera.com>
> 
> Thanks
> Chin Liang
> 
> > diff --git a/arch/arm/mach-socfpga/qts-filter.sh b/arch/arm/mach
> > -socfpga/qts-filter.sh
> > index c1640bc..b81a4e1 100755
> > --- a/arch/arm/mach-socfpga/qts-filter.sh
> > +++ b/arch/arm/mach-socfpga/qts-filter.sh
> 
> [..]
> 
> > @@ -176,30 +184,34 @@ EOF
> > 
> >  }
> >  
> >  usage() {
> > 
> > -	echo "$0 [soc_type] [input_dir] [output_dir]"
> > +	echo "$0 [soc_type] [input_qts_dir] [input_bsp_dir]
> > [output_dir]"
> > 
> >  	echo "Process QTS-generated headers into U-Boot compatible
> > 
> > ones."
> > 
> >  	echo ""
> > 
> > -	echo "  soc_type\t\tType of SoC, either 'cyclone5' or
> > 'arria5',"
> > -	echo "  input_dir\t\tDirectory with the QTS project."
> > -	echo "  output_dir\t\tDirectory to store the U-Boot
> > compatible headers."
> > +	echo "  soc_type - Type of SoC, either 'cyclone5' or
> > 'arria5',"
> > +	echo "  input_qts_dir - Directory with compiled Quartus
> > project."
> 
> We can put Directory where the Quartus project file is located.

Make sure to retain the "compiled" bit there, it's important as you cannot
extract these information from not-compiled quartus project.

> > +	echo "  input_bsp_dir - Directory with generated output
> > from"
> > +	echo "                  the bsp-editor."
> 
> We can put Directory where the bsp-editor file settings.bsp is located.

[...]

btw. Completely off-topic, but is there any chance altera will release the
algorithm to compute these magic values which are in the header files from
the base values inserted into the HPS component in QSys ? I think we might
just put these values into OF and do the computation in U-Boot on-the-fly.
This would also remove the need for this script.

  reply	other threads:[~2016-01-12  0:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 23:33 [U-Boot] [PATCH v3] socfpga: Modify qts-filter args to allow input for bsp generated files and quartus project directories Dalon Westergreen
2016-01-12  0:23 ` Marek Vasut
2016-01-12  0:26 ` Chin Liang See
2016-01-12  0:31   ` Marek Vasut [this message]
2016-01-12  0:50     ` Chin Liang See
2016-01-12  2:48       ` Marek Vasut
2016-01-13  2:05         ` Chin Liang See
2016-01-13  2:07           ` Marek Vasut
2016-01-13  2:23             ` Chin Liang See
2016-01-13  2:34               ` Marek Vasut
2016-01-13  2:45                 ` Chin Liang See
2016-01-13  2:55                   ` Marek Vasut

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=201601120131.02613.marex@denx.de \
    --to=marex@denx.de \
    --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