mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] AT91bootstrap with ptxdist
Date: Thu, 25 Aug 2016 12:54:26 +0200	[thread overview]
Message-ID: <20160825105426.x6c72ff4zhhjfwia@pengutronix.de> (raw)
In-Reply-To: <CABDcavaGcLWHJVWO+K-yXjs_OfM_4JGVtkNNHO5nmj5-B_y8OA@mail.gmail.com>

On Mon, Aug 22, 2016 at 04:41:52PM +0200, Guillermo Rodriguez Garcia wrote:
> Hello all,
> 
> I am trying to compile AT91bootstrap with ptxdist and I have found the
> following minor issues:
> 
> 1. Starting from end of 2014, at91bootstrap releases are no longer
> published on ftp://www.at91.com/pub/.. The "official" source now seems
> to be the at91bootstrap repo. The ftp site contains versions up to
> 3.7.1 (Nov 2014), while the github repo contains versions from 3.7
> (Sep 2014) onwards.
> 
> I can just send a patch to update the URL but that would break if
> someone wants to use an old at91bootstrap version. How should this be
> handled?

There can be multiple URLs. PTXdist will try one after the other until one
works. So just add another URL.

> 2. Also, at91bootstrap.make assumes that the name of the generated
> image is *boot-$(AT91BOOTSTRAP2_VERSION).bin, whereas this now seems
> to be *boot-*-$(AT91BOOTSTRAP2_VERSION).bin.
> 
> Likewise I could send a patch for this but it will break for older
> at91bootstrap versions. How should this be handled?

Take a look at what we do in barebox.make: Check which file exists and
copy that one.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-08-25 10:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-22 14:41 Guillermo Rodriguez Garcia
2016-08-25 10:54 ` Michael Olbrich [this message]
2016-08-25 11:15   ` Guillermo Rodriguez Garcia
2016-08-29  7:26     ` Guillermo Rodriguez Garcia
2016-08-30  7:19       ` Guillermo Rodriguez Garcia
2016-08-30  8:34         ` [ptxdist] [PATCH] Update at91bootstrap2 package for compatibility with 3.x series Guillermo Rodriguez
2016-09-02 11:53         ` [ptxdist] AT91bootstrap with ptxdist Michael Olbrich

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=20160825105426.x6c72ff4zhhjfwia@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.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