[Buildroot] [PATCH 1/2] package/imx-uuu: new host package
bisson.gary at gmail.com
Mon Feb 10 16:10:25 UTC 2020
I have some comments on this commit, mainly in the description so
On Thu, Jan 09, 2020 at 11:02:55AM +0100, Jörg Krause wrote:
> NXP deprecated the old mfgtools code. It has been replaced by the
> Universal Update Utility (uuu), also called mfgtools v3.0 although
> the releases are named v1.x.yy, which is quite confusing.
> This new tool actually resides in the same repository in the master
> branch whereas the old one is now in a 'linux' branch.
> The new tool uuu is a completely different tool than the old mfgtools.
> This also means, that existing mfgtools scripts will not work with the
> uuu tool.
> Therefore, it has been decided to create a new package imx-uuu .
> Note, that uuu uses git to define a version string `GIT_VERSION`.
> It does so even when building from a source tarball (automatically
> generated by github). The problem is, that git provides the version
> information of Buildroot and mfgtools uses this version information to
> do a runtime check to detect outdated command list scripts.
> To fix this, we overwrite gen_ver.sh with something that simply prints a
> define for `GIT_VERSION` with the uuu version string (preceeded by
> "lib", as done in the original gen_ver.sh).
>  http://patchwork.ozlabs.org/patch/1112411/
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> DEVELOPERS | 1 +
> package/Config.in.host | 1 +
> package/imx-uuu/Config.in.host | 12 ++++++++++++
> package/imx-uuu/imx-uuu.hash | 3 +++
> package/imx-uuu/imx-uuu.mk | 24 ++++++++++++++++++++++++
> 5 files changed, 41 insertions(+)
> create mode 100644 package/imx-uuu/Config.in.host
> create mode 100644 package/imx-uuu/imx-uuu.hash
> create mode 100644 package/imx-uuu/imx-uuu.mk
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 1f86c256a5..e1d63e17d2 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1306,6 +1306,7 @@ F: package/augeas/
> F: package/bluez-alsa/
> F: package/caps/
> F: package/freescale-imx/imx-alsa-plugins/
> +F: package/imx-uuu/
> F: package/libopusenc/
> F: package/libupnpp/
> F: package/luv/
> diff --git a/package/Config.in.host b/package/Config.in.host
> index 62e860d7c3..de0cdbae49 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -33,6 +33,7 @@ menu "Host utilities"
> source "package/imagemagick/Config.in.host"
> source "package/imx-mkimage/Config.in.host"
> source "package/imx-usb-loader/Config.in.host"
> + source "package/imx-uuu/Config.in.host"
> source "package/jq/Config.in.host"
> source "package/jsmin/Config.in.host"
> source "package/libp11/Config.in.host"
> diff --git a/package/imx-uuu/Config.in.host b/package/imx-uuu/Config.in.host
> new file mode 100644
> index 0000000000..6121d5435f
> --- /dev/null
> +++ b/package/imx-uuu/Config.in.host
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_HOST_IMX_UUU
> + bool "host imx-uuu"
> + depends on BR2_arm
> + help
> + Freescale/NXP i.MX Chip image deploy tools (formerly
> + mfgtools).
> + It is designed to program firmware to i.MX boards during
> + production. The communication is done over USB using the
> + Freescale UTP protocol.
Actually this tool doesn't use the UTP at all. It only leverages the SDP
protocol (talking to either the BootROM or U-Boot/SPL) and the Fastboot
protocol from Android.
Let me know if you have any question.
More information about the buildroot