Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] mkpimage: new host package
Date: Mon, 19 Oct 2015 23:06:11 +0200	[thread overview]
Message-ID: <20151019210610.GG3651@free.fr> (raw)
In-Reply-To: <20151019225310.5cf90a28@free-electrons.com>

Thomas, All,

On 2015-10-19 22:53 +0200, Thomas Petazzoni spake thusly:
> On Mon, 19 Oct 2015 21:04:51 +0200, Maxime Hadjinlian wrote:
> > > +ifndef HOSTGO
> > > +HOSTGO := go
> > > +HOSTGO := $(shell which $(HOSTGO) || type -p $(HOSTGO) || echo go)
> > > +endif
> 
> Ouch, having to depend on Go for such a simple tool is indeed not very
> nice :-/

Or we can eventually look at the Go package that was submitted a while
back, and to which I contributed:
    https://patchwork.ozlabs.org/patch/502222/

;-)

> > Even I don't use this tool anymore, after I reversed the code from Altera's
> > own tool, they released the documentation for the SPL signing and the fine
> > people at Barebox, created a small program (in C) that does exactly the
> > same, which you can find there:
> > http://git.pengutronix.de/?p=barebox.git;a=blob;f=scripts/socfpga_mkimage.c;h=1a7a66d98841e9f52c3ea49c651286aa1412c9a5;hb=HEAD
> > 
> > However, I don't know how you would integrate such a tool, having a special
> > package ? Making U-Boot depends on Barebox sounds a bit crazy. But it would
> > be lighter than having to grab the go compiler for such a simple program.
> 
> I agree. Unfortunately, downloading directly
> http://git.pengutronix.de/?p=barebox.git;a=blob_plain;f=scripts/socfpga_mkimage.c;h=$(MKPIMAGE_VERSION);hb=HEAD
> doesn't work because this URL contains ';' which our download
> infrastructure doesn't like much.
> 
> However, this program is so simple that I would advocate taking the
> makedevs route: simply integrate the program source code itself inside
> Buildroot, in package/mkpimage/.

Yup, agreed.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-10-19 21:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 21:45 [Buildroot] [PATCH] mpkimage: new package Maxime Hadjinlian
2015-10-19 16:24 ` [Buildroot] [PATCH 0/4] Attempt to improve support for Altera SoC FPGA boards Jan Viktorin
2015-10-19 16:24   ` [Buildroot] [PATCH 1/4] mkpimage: new host package Jan Viktorin
2015-10-19 19:04     ` Maxime Hadjinlian
2015-10-19 20:53       ` Thomas Petazzoni
2015-10-19 21:06         ` Yann E. MORIN [this message]
2015-10-19 21:12           ` Maxime Hadjinlian
2015-10-19 21:24             ` Jan Viktorin
2015-10-19 21:36               ` Maxime Hadjinlian
2015-10-19 22:10                 ` Jan Viktorin
2015-10-19 22:12                   ` Maxime Hadjinlian
2015-10-20 10:41                     ` Jan Viktorin
2015-10-19 21:12           ` Thomas Petazzoni
2015-10-19 16:24   ` [Buildroot] [PATCH 2/4] boot/uboot: compute CRC on SPLs for Altera SoC FPGA Jan Viktorin
2015-10-19 16:24   ` [Buildroot] [PATCH 3/4] socfpga: update readme for sockit/socdk boards Jan Viktorin
2015-10-19 16:24   ` [Buildroot] [PATCH 4/4] socfpga: note about unnecessary mkpimage of SPL Jan Viktorin
2015-10-19 16:30   ` [Buildroot] [PATCH 0/4] Attempt to improve support for Altera SoC FPGA boards Jan Viktorin
2015-10-20 11:32   ` [Buildroot] [PATCH v2 0/7] " Jan Viktorin
2015-10-20 11:32     ` [Buildroot] [PATCH v2 1/7] mkpimage: new host package Jan Viktorin
2016-03-22 22:53       ` Thomas Petazzoni
2015-10-20 11:32     ` [Buildroot] [PATCH v2 2/7] boot/uboot: compute CRC on SPLs for Altera SoC FPGA Jan Viktorin
2015-10-20 11:36       ` Jan Viktorin
2016-03-22 22:54       ` Thomas Petazzoni
2016-03-23 12:57         ` Jan Viktorin
2016-03-23 13:06           ` Thomas Petazzoni
2016-03-23 13:10             ` Jan Viktorin
2015-10-20 11:32     ` [Buildroot] [PATCH v2 3/7] altera: improve readme to cover both supported boards Jan Viktorin
2016-03-22 22:54       ` Thomas Petazzoni
2015-10-20 11:32     ` [Buildroot] [PATCH v2 4/7] altera: update text about the mkpimage Jan Viktorin
2016-03-22 22:55       ` Thomas Petazzoni
2015-10-20 11:32     ` [Buildroot] [PATCH v2 5/7] altera: change mmcblk0 to sdc Jan Viktorin
2016-03-22 22:56       ` Thomas Petazzoni
2015-10-20 11:32     ` [Buildroot] [PATCH v2 6/7] altera: improve fdisk instructions Jan Viktorin
2016-03-22 22:58       ` Thomas Petazzoni
2015-10-20 11:32     ` [Buildroot] [PATCH v2 7/7] altera: remove whitespace before colon Jan Viktorin
2016-03-22 23:01       ` Thomas Petazzoni
2015-10-20  5:27 ` [Buildroot] [PATCH] mpkimage: new package Baruch Siach
2015-10-20  7:19 ` Thomas Petazzoni

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=20151019210610.GG3651@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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