package/uuu: new package

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>
[Arnout: fix check-package warnings]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Dario Binacchi 2022-06-07 09:28:50 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4678363579
commit 776385d645
6 changed files with 58 additions and 0 deletions

View file

@ -654,6 +654,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/

View file

@ -97,6 +97,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"

View file

@ -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

13
package/uuu/readme.txt Normal file
View file

@ -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

4
package/uuu/uuu.hash Normal file
View file

@ -0,0 +1,4 @@
# locally computed
sha256 4fda8db488c4d3a98c2480c47b41907ad26b714c6400dd0a202baab4c17b0a9b uuu-1.4.193.tar.gz
sha256 cc8d47f7b9260f6669ecd41c24554c552f17581d81ee8fc602c6d23edb8bf495 LICENSE
sha256 77b90738ae98b7958d34d9f96caf2671210a133427f8f6b784914b54f406c29b README.md

19
package/uuu/uuu.mk Normal file
View file

@ -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 UUU_SET_VERSION
echo $(UUU_VERSION) > $(@D)/.tarball-version
endef
HOST_UUU_POST_EXTRACT_HOOKS += UUU_SET_VERSION
$(eval $(host-cmake-package))