From: Thierry Reding <thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH tegra-cbootimage-configs] Add Tegra20 Tamonten configurations
Date: Thu, 4 Apr 2013 21:25:43 +0200 [thread overview]
Message-ID: <20130404192543.GA13569@avionic-0098.mockup.avionic-design.de> (raw)
In-Reply-To: <515DD042.5000200-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1957 bytes --]
On Thu, Apr 04, 2013 at 01:10:58PM -0600, Stephen Warren wrote:
> On 04/04/2013 12:59 PM, Thierry Reding wrote:
> > On Thu, Apr 04, 2013 at 11:50:55AM -0600, Stephen Warren wrote:
> >> On 04/04/2013 03:30 AM, Thierry Reding wrote:
> >>> In addition to providing the BCT configuration that is common
> >>> for all Tegra20 Tamonten-derived boards, add scripts to build
> >>> images that can be flashed to NAND for the Plutux, Medcom-Wide
> >>> and TEC boards.
> >>
> >> I wonder why there's a need for board-specific sub-directories?
> >> After all, those boards all use the same BCT file, and the image
> >> config files are all identical.
> >
> > I could probably rework it to just generate one image that uses
> > the standard BCT and the u-boot.bin binary/symlink, which should
> > work just as well. So if the user wanted to build for different
> > boards they'd need to replace u-boot.bin and rerun the script.
> >
> > Does that sound any better?
>
> That sounds better.
>
> Either that, or perhaps create a separate top-level directory for each
> board, and just symlink the BCT file from one common directory, or
> even duplicate it. That would still allow the user to have one
> directory of binaries per board, so remove the need to multiplex.
I'm not sure I understand correctly. Is this what you're proposing?
tegra20-tamonten
|-- tegra20-tamonten.bct.cfg
|-- tegra20-tamonten.img.cfg
tegra20-plutux
|-- tegra20-tamonten.bct.cfg --> ../tegra20-tamonten/tegra20-tamonten.bct.cfg
|-- tegra20-tamonten.img.cfg --> ../tegra20-tamonten/tegra20-tamonten.img.cfg
|-- build.sh
|-- u-boot.bin --> /path/to/u-boot-dtb-tegra.bin
And build.sh would generate the tegra20-tamonten.bct and build it into
tegra20-tamonten.img using tegra20-tamonten.img.cfg and u-boot.bin. Is
that it?
How is that be different from the current method? What is the advantage
over what the current scripts do?
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-04-04 19:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 9:30 [PATCH tegra-cbootimage-configs] Add Tegra20 Tamonten configurations Thierry Reding
[not found] ` <1365067814-12925-1-git-send-email-thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
2013-04-04 17:50 ` Stephen Warren
[not found] ` <515DBD7F.1010800-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04 18:59 ` Thierry Reding
[not found] ` <20130404185929.GA13407-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>
2013-04-04 19:10 ` Stephen Warren
[not found] ` <515DD042.5000200-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04 19:25 ` Thierry Reding [this message]
[not found] ` <20130404192543.GA13569-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>
2013-04-04 19:28 ` Stephen Warren
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=20130404192543.GA13569@avionic-0098.mockup.avionic-design.de \
--to=thierry.reding-rm9k5ik7kjkj5m59nbduvrnah6klmebb@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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.