All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	buildroot@buildroot.org
Cc: Ariel D'Alessandro <ariel.dalessandro@collabora.com>,
	Samuel Martin <s.martin49@gmail.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	michael@amarulasolutions.com, linux-amarula@amarulasolutions.com,
	Heiko Thiery <heiko.thiery@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/3] package/uuu: new package
Date: Sun, 19 Jun 2022 19:24:01 +0200	[thread overview]
Message-ID: <7a326fb6-1079-ce5a-ab75-02dbe1fb06d6@mind.be> (raw)
In-Reply-To: <20220607072852.1007185-2-dario.binacchi@amarulasolutions.com>



On 07/06/2022 09:28, Dario Binacchi wrote:
> UUU (Universal Update Utility) is a Freescale/NXP I.MX Chip image deploy
> tools. It is an evolution of MFGTools (aka MFGTools v3). For this and
> for backward compatibility we have created a new package instead of
> updating the mfgtools package.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

  Applied to master, after fixing the check-package warnings, thanks.

package/uuu/Config.in.host:12: help text: <tab><2 spaces><62 chars> 
(http://nightly.buildroot.org/#writing-rules-config-in)
package/uuu/Config.in.host:13: help text: <tab><2 spaces><62 chars> 
(http://nightly.buildroot.org/#writing-rules-config-in)
package/uuu/uuu.mk:13: possible typo: SET_VERSION -> *UUU*

  Regards,
  Arnout

> ---
>   DEVELOPERS                 |  3 +++
>   package/Config.in.host     |  1 +
>   package/uuu/Config.in.host | 18 ++++++++++++++++++
>   package/uuu/readme.txt     | 13 +++++++++++++
>   package/uuu/uuu.hash       |  4 ++++
>   package/uuu/uuu.mk         | 19 +++++++++++++++++++
>   6 files changed, 58 insertions(+)
>   create mode 100644 package/uuu/Config.in.host
>   create mode 100644 package/uuu/readme.txt
>   create mode 100644 package/uuu/uuu.hash
>   create mode 100644 package/uuu/uuu.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index aa18de83bcb6..60fa58ab35d6 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -650,6 +650,9 @@ F:	package/lua-cjson/
>   F:	package/luaexpat/
>   F:	package/xinetd/
>   
> +N:	Dario Binacchi <dario.binacchi@amarula.solutions.com>
> +F:	package/uuu/
> +
>   N:	Dario Binacchi <dariobin@libero.it>
>   F:	package/davinci-bootcount/
>   F:	package/libmnl/
> diff --git a/package/Config.in.host b/package/Config.in.host
> index cd1c34b5a3d9..d00547d324a5 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -96,6 +96,7 @@ menu "Host utilities"
>   	source "package/uboot-tools/Config.in.host"
>   	source "package/util-linux/Config.in.host"
>   	source "package/utp_com/Config.in.host"
> +	source "package/uuu/Config.in.host"
>   	source "package/vboot-utils/Config.in.host"
>   	source "package/xorriso/Config.in.host"
>   	source "package/zip/Config.in.host"
> diff --git a/package/uuu/Config.in.host b/package/uuu/Config.in.host
> new file mode 100644
> index 000000000000..017e37517d0e
> --- /dev/null
> +++ b/package/uuu/Config.in.host
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_HOST_UUU
> +	bool "host uuu"
> +	depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb
> +	help
> +	  UUU (Universal Update Utility) is Freescale/NXP I.MX Chip
> +	  image deploy tool. UUU is an evolution of MFGTools
> +	  (aka MFGTools v3).
> +
> +	  To be able to run uuu without root privileges, execute the
> +	  following steps:
> +
> +            sudo sh -c "uuu -udev >> /etc/udev/rules.d/70-uuu.rules"
> +            sudo udevadm control --reload
> +
> +	  https://github.com/NXPmicro/mfgtools
> +
> +comment "host uuu needs a toolchain w/ host gcc >= 4.9"
> +	depends on !BR2_HOST_GCC_AT_LEAST_4_9
> diff --git a/package/uuu/readme.txt b/package/uuu/readme.txt
> new file mode 100644
> index 000000000000..80dd90b93384
> --- /dev/null
> +++ b/package/uuu/readme.txt
> @@ -0,0 +1,13 @@
> +uuu Howto
> +=========
> +
> +Running uuu without root privileges
> +-----------------------------------
> +
> +Accessing USB devices on Linux requires root privileges by default.
> +To be able to run uuu without root priviles, execute the following
> +steps:
> +
> +  sudo sh -c "uuu -udev >> /etc/udev/rules.d/70-uuu.rules"
> +  sudo udevadm control --reload
> +
> diff --git a/package/uuu/uuu.hash b/package/uuu/uuu.hash
> new file mode 100644
> index 000000000000..10efff0337a1
> --- /dev/null
> +++ b/package/uuu/uuu.hash
> @@ -0,0 +1,4 @@
> +# locally computed
> +sha256  4fda8db488c4d3a98c2480c47b41907ad26b714c6400dd0a202baab4c17b0a9b  uuu-1.4.193.tar.gz
> +sha256  cc8d47f7b9260f6669ecd41c24554c552f17581d81ee8fc602c6d23edb8bf495  LICENSE
> +sha256  77b90738ae98b7958d34d9f96caf2671210a133427f8f6b784914b54f406c29b  README.md
> diff --git a/package/uuu/uuu.mk b/package/uuu/uuu.mk
> new file mode 100644
> index 000000000000..550c42af8d86
> --- /dev/null
> +++ b/package/uuu/uuu.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# uuu
> +#
> +################################################################################
> +
> +UUU_VERSION = 1.4.193
> +UUU_SITE = $(call github,NXPmicro,mfgtools,uuu_$(UUU_VERSION))
> +UUU_LICENSE = BSD 3-Clause "New" or "Revised" License
> +UUU_LICENSE_FILES = LICENSE README.md
> +HOST_UUU_DEPENDENCIES = host-bzip2 host-zlib host-libusb
> +
> +define SET_VERSION
> +	echo $(UUU_VERSION) > $(@D)/.tarball-version
> +endef
> +
> +HOST_UUU_POST_EXTRACT_HOOKS += SET_VERSION
> +
> +$(eval $(host-cmake-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-06-19 17:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07  7:28 [Buildroot] [PATCH 0/3] Add support for BSH smm s2 [pro] boards Dario Binacchi
2022-06-07  7:28 ` [Buildroot] [PATCH 1/3] package/uuu: new package Dario Binacchi
2022-06-19 17:24   ` Arnout Vandecappelle [this message]
2022-06-07  7:28 ` [Buildroot] [PATCH 2/3] board/bsh: add support for iMX8MN BSH SMM S2 board Dario Binacchi
2022-06-19 17:51   ` Arnout Vandecappelle
2022-06-24 14:40     ` Dario Binacchi
2022-06-07  7:28 ` [Buildroot] [PATCH 3/3] board/bsh: add support for iMX8MN BSH SMM S2 PRO board Dario Binacchi

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=7a326fb6-1079-ce5a-ab75-02dbe1fb06d6@mind.be \
    --to=arnout@mind.be \
    --cc=ariel.dalessandro@collabora.com \
    --cc=buildroot@buildroot.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=heiko.thiery@gmail.com \
    --cc=jagan@amarulasolutions.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=michael@amarulasolutions.com \
    --cc=s.martin49@gmail.com \
    /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.