mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Denis Osterland-Heim <denis.osterland@diehl.com>
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] [RFC PATCH 3/3] host-mfgtools: new package
Date: Wed, 25 Mar 2020 19:33:49 +0100	[thread overview]
Message-ID: <20200325183349.gxsi65oydu5p2gbt@pengutronix.de> (raw)
In-Reply-To: <20200324145205.32370-4-Denis.Osterland@diehl.com>

On Tue, Mar 24, 2020 at 02:53:23PM +0000, Denis Osterland-Heim wrote:
> Tool to USB boot i.MX systems from NXP via Android fastboot.
> 
> Signed-off-by: Denis Osterland-Heim <Denis.Osterland@diehl.com>
> ---
>  rules/host-mfgtools.in   | 13 ++++++++++++
>  rules/host-mfgtools.make | 43 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 56 insertions(+)
>  create mode 100644 rules/host-mfgtools.in
>  create mode 100644 rules/host-mfgtools.make
> 
> diff --git a/rules/host-mfgtools.in b/rules/host-mfgtools.in
> new file mode 100644
> index 000000000..c9046f10d
> --- /dev/null
> +++ b/rules/host-mfgtools.in
> @@ -0,0 +1,13 @@
> +## SECTION=hosttools
> +
> +config HOST_MFGTOOLS
> +	tristate
> +	default y if ALLYES
> +	prompt "uuu (Universal Update Utility), mfgtools 3.0"
> +	select HOST_CMAKE
> +	select HOST_LIBUSB
> +	select HOST_ZLIB
> +	select HOST_BZIP2
> +	select HOST_LIBZIP
> +	help
> +	  Freescale/NXP I.MX Chip image deploy tools.
> diff --git a/rules/host-mfgtools.make b/rules/host-mfgtools.make
> new file mode 100644
> index 000000000..fb4b2cf05
> --- /dev/null
> +++ b/rules/host-mfgtools.make
> @@ -0,0 +1,43 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Denis Osterland-Heim <Denis.Osterland@diehl.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +HOST_PACKAGES-$(PTXCONF_HOST_MFGTOOLS) += host-mfgtools
> +
> +#
> +# Paths and names
> +#
> +HOST_MFGTOOLS_VERSION	:= 1.3.136-9-g47ddef5

Apparently this commit was released a few days ago as version 1.3.154:
<https://github.com/NXPmicro/mfgtools/releases>

> +HOST_MFGTOOLS_MD5	:= 1555253943e1f39746694365c7f89eb1
> +HOST_MFGTOOLS		:= mfgtools-$(HOST_MFGTOOLS_VERSION)
> +HOST_MFGTOOLS_SUFFIX	:= tar.gz
> +HOST_MFGTOOLS_URL	:= https://github.com/NXPmicro/mfgtools.git;tag=47ddef51d6c24b1f917f348d0f62b4af38852994

So you can use the default release tarball here, and use the default
extract stage below.

> +HOST_MFGTOOLS_SOURCE	:= $(SRCDIR)/$(HOST_MFGTOOLS).$(HOST_MFGTOOLS_SUFFIX)
> +HOST_MFGTOOLS_DIR	:= $(HOST_BUILDDIR)/$(HOST_MFGTOOLS)
> +HOST_MFGTOOLS_LICENSE	:= BSD-3-Clause
> +HOST_MFGTOOLS_LICENSE_FILES	:= \
> +	file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5
> +
> +# ----------------------------------------------------------------------------
> +# Extract
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/host-mfgtools.extract:
> +	@$(call targetinfo)
> +	@$(call clean, $(HOST_MFGTOOLS_DIR))
> +	@$(call extract, HOST_MFGTOOLS)
> +	@echo "uuu_$(HOST_MFGTOOLS_VERSION)" > $(HOST_MFGTOOLS_DIR)/.tarball-version

NB: The released tarballs also don't have this file, is it really needed?

 - Roland

> +	@$(call patchin, HOST_MFGTOOLS)
> +	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_MFGTOOLS_CONF_TOOL	:= cmake
> +
> +# vim: syntax=make
> -- 
> 2.25.2
> 
> 
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> ___________________________________________________________________________________________________
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
> - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
> mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. 
> - For general information on data protection and your respective rights please visit https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
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:[~2020-03-25 18:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-24 14:53 [ptxdist] [RFC PATCH 0/3] Freescale/NXP i.MX mfgtools 3.0 Denis Osterland-Heim
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 2/3] host-libzip: new package Denis Osterland-Heim
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 1/3] imx-uuc: " Denis Osterland-Heim
2020-03-25 18:43   ` Roland Hieber
2020-03-25 18:52     ` Roland Hieber
2020-03-25 20:40       ` Roland Hieber
2020-03-26  9:03         ` Denis Osterland-Heim
2020-03-26  9:47           ` rhi
2020-03-26 16:23           ` Michael Olbrich
2020-03-26 16:32             ` Denis Osterland-Heim
2020-03-26  9:59     ` Guillermo Rodriguez Garcia
2020-03-24 14:53 ` [ptxdist] [RFC PATCH 3/3] host-mfgtools: " Denis Osterland-Heim
2020-03-25 18:33   ` Roland Hieber [this message]
2020-03-26  8:28     ` Denis Osterland-Heim
2020-03-26 16:16       ` Michael Olbrich
2020-03-26 16:25         ` Denis Osterland-Heim

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=20200325183349.gxsi65oydu5p2gbt@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=denis.osterland@diehl.com \
    --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