9 Commits

Author SHA256 Message Date
054fbf9e43 Accepting request 1296284 from hardware
OBS-URL: https://build.opensuse.org/request/show/1296284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mfgtools?expand=0&rev=6
2025-07-30 09:43:08 +00:00
baa8ac3d3e Actually install and package files
OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=14
2025-07-29 08:56:36 +00:00
396e2819a4 - update to 1.5.201
* Support imx943 v2x image container
  * Reduce transfer size to 16k because chipidea usb driver limitation
  * Fix workflow pdf build error
  * Fix workflow arm build fail
- update to 1.5.197
  * Add iMX943 support
- Add upstream patch mfgtools-gcc15.patch for fix compilation with
  GCC 15.

OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=13
2025-07-28 14:46:21 +00:00
2e08d2dce2 Accepting request 1275644 from hardware
OBS-URL: https://build.opensuse.org/request/show/1275644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mfgtools?expand=0&rev=5
2025-05-09 16:44:58 +00:00
fca6096183 - export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings

OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=11
2025-05-08 17:12:45 +00:00
360f29d466 Accepting request 1220495 from hardware
OBS-URL: https://build.opensuse.org/request/show/1220495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mfgtools?expand=0&rev=4
2024-11-04 21:42:11 +00:00
52edf893c9 - Add tinyxml2-devel to BuildRequiers
- Update to version 1.5.191.0
  - Reduce memory usage when burn single board with compressed Image.
  - Http(s) prompt request username and passwords when require autherization.
  - fix memory leak cause by getaddrinfo.
  - fix crash when environment variable is last word in script
  - Expand upload command, like uploading the value of a specific variable
  - Fix segfault when boot data is zero in SDP.
  - Fix issues when m_skip is not zero in fastboot.
  - Fix issues when file size isn't divisible by block size in fastboot.
  - Fix read uploaded data for FB.
  - static link c++ library in prebuild linux image
  - provide armlinux version image
  - Add built spinand command support
  - parser [-t timeout] for all protocol
  - force use old libusb to run at ubuntu 18.04
  - Increase default timeout to 10s
  - Hot Fixed for SPDS crash for some images
  - Support i.MX95
  - Fixed usb pipe error when download image with FCB
  - Support i.MX91
  - Fixed a crash with -d option when change back file.
  - Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
  - Fix "imx91" device name as "imx93" when -lsusb
  - Add dynamic `g_max_process_width` global variable to handle long lines
- Update to version 1.5.182.9
  - Reduce memory usage when burn single board with compressed Image.
  - Http(s) prompt request username and passwords when require autherization.
  - fix memory leak cause by getaddrinfo.
  - fix crash when environment variable is last word in script
  - Expand upload command, like uploading the value of a specific variable
  - Fix segfault when boot data is zero in SDP.
  - Fix issues when m_skip is not zero in fastboot.
  - Fix issues when file size isn't divisible by block size in fastboot.
  - Fix read uploaded data for FB.
  - static link c++ library in prebuild linux image
  - provide armlinux version image
  - Add built spinand command support
  - parser [-t timeout] for all protocol
  - force use old libusb to run at ubuntu 18.04
  - Increase default timeout to 10s
  - Hot Fixed for SPDS crash for some images
  - Support i.MX95
  - Fixed usb pipe error when download image with FCB
  - Support i.MX91
  - Fixed a crash with -d option when change back file.
  - Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
  - Fix "imx91" device name as "imx93" when -lsusb
  - Add dynamic `g_max_process_width` global variable to handle long lines
- Add mfgtools-gcc13.patch: Fix build using GCC 13.
- Update to version 1.4.243.7
- Sort BuildRequiers alphabetically
- Add libzstd-devel to BuildRequiers
- Update to version 1.4.224.8
- Add first version

OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=9
2024-11-04 08:16:58 +00:00
5eb3cc4dbb - Update to version 1.5.191.0
- Reduce memory usage when burn single board with compressed Image.
  - Http(s) prompt request username and passwords when require autherization.
  - fix memory leak cause by getaddrinfo.
  - fix crash when environment variable is last word in script
  - Expand upload command, like uploading the value of a specific variable
  - Fix segfault when boot data is zero in SDP.
  - Fix issues when m_skip is not zero in fastboot.
  - Fix issues when file size isn't divisible by block size in fastboot.
  - Fix read uploaded data for FB.
  - static link c++ library in prebuild linux image
  - provide armlinux version image
  - Add built spinand command support
  - parser [-t timeout] for all protocol
  - force use old libusb to run at ubuntu 18.04
  - Increase default timeout to 10s
  - Hot Fixed for SPDS crash for some images
  - Support i.MX95
  - Fixed usb pipe error when download image with FCB
  - Support i.MX91
  - Fixed a crash with -d option when change back file.
  - Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
  - Fix "imx91" device name as "imx93" when -lsusb
  - Add dynamic `g_max_process_width` global variable to handle long lines

OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=8
2024-10-31 09:59:47 +00:00
3a4505a2b6 - Update to version 1.5.182.9
- Reduce memory usage when burn single board with compressed Image.
  - Http(s) prompt request username and passwords when require autherization.
  - fix memory leak cause by getaddrinfo.
  - fix crash when environment variable is last word in script
  - Expand upload command, like uploading the value of a specific variable
  - Fix segfault when boot data is zero in SDP.
  - Fix issues when m_skip is not zero in fastboot.
  - Fix issues when file size isn't divisible by block size in fastboot.
  - Fix read uploaded data for FB.
  - static link c++ library in prebuild linux image
  - provide armlinux version image
  - Add built spinand command support
  - parser [-t timeout] for all protocol
  - force use old libusb to run at ubuntu 18.04
  - Increase default timeout to 10s
  - Hot Fixed for SPDS crash for some images
  - Support i.MX95
  - Fixed usb pipe error when download image with FCB
  - Support i.MX91
  - Fixed a crash with -d option when change back file.
  - Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
  - Fix "imx91" device name as "imx93" when -lsusb
  - Add dynamic `g_max_process_width` global variable to handle long lines

OBS-URL: https://build.opensuse.org/package/show/hardware/mfgtools?expand=0&rev=7
2024-10-30 14:22:42 +00:00
7 changed files with 131 additions and 26 deletions

2
.gitattributes vendored
View File

@@ -21,5 +21,3 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
mfgtools-1.4.243.7.tar filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:430db08006e621574ab51ba4bc91bd3d0224320b8cbfdd95551620cb426debcb
size 14284800

View File

@@ -1,20 +1,21 @@
Index: mfgtools-1.4.243.7/libuuu/libcomm.h
@@ -0,0 +1,24 @@
Index: b/libuuu/libcomm.h
===================================================================
--- mfgtools-1.4.243.7.orig/libuuu/libcomm.h
+++ mfgtools-1.4.243.7/libuuu/libcomm.h
@@ -33,6 +33,7 @@
--- a/libuuu/libcomm.h
+++ b/libuuu/libcomm.h
@@ -34,6 +34,7 @@
#include <locale>
#include <cctype>
#include <algorithm>
+#include <cstdint>
#pragma once
#include "libuuu.h"
using namespace std;
Index: mfgtools-1.4.243.7/uuu/buildincmd.h
#pragma once
Index: b/uuu/buildincmd.h
===================================================================
--- mfgtools-1.4.243.7.orig/uuu/buildincmd.h
+++ mfgtools-1.4.243.7/uuu/buildincmd.h
@@ -34,6 +34,7 @@
--- a/uuu/buildincmd.h
+++ b/uuu/buildincmd.h
@@ -35,6 +35,7 @@
#include <map>
#include <string>
#include <vector>

28
mfgtools-gcc15.patch Normal file
View File

@@ -0,0 +1,28 @@
From 142448e55386b88adf5b1d7e6206df1ca6784708 Mon Sep 17 00:00:00 2001
From: Bruno Thomsen <bruno.thomsen@gmail.com>
Date: Sat, 1 Mar 2025 14:32:41 +0100
Subject: [PATCH] libuuu/sdps: fix gcc15 compile errors
This gcc 15 error happens on Fedora 42.
error: uint32_t does not name a type
error: uint64_t does not name a type
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
libuuu/sdps.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libuuu/sdps.h b/libuuu/sdps.h
index b82f9d71..667a477e 100644
--- a/libuuu/sdps.h
+++ b/libuuu/sdps.h
@@ -30,6 +30,7 @@
*/
#include "cmd.h"
+#include <cstdint>
class SDPSCmd : public CmdBase
{

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:626fd1c4b49f79cbd11e9340d259d0f72d5d1ca09174d988304760ab141cc0a4
size 355012

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Sun Jul 27 18:25:53 UTC 2025 - Christoph G <foss@grueninger.de>
- update to 1.5.201
* Support imx943 v2x image container
* Reduce transfer size to 16k because chipidea usb driver limitation
* Fix workflow pdf build error
* Fix workflow arm build fail
- update to 1.5.197
* Add iMX943 support
- Add upstream patch mfgtools-gcc15.patch for fix compilation with
GCC 15.
-------------------------------------------------------------------
Wed May 7 08:13:38 UTC 2025 - Simon Lees <sflees@suse.de>
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings
-------------------------------------------------------------------
Thu Oct 31 09:48:30 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
- Add tinyxml2-devel to BuildRequiers
- Update to version 1.5.191.0
- Reduce memory usage when burn single board with compressed Image.
- Http(s) prompt request username and passwords when require autherization.
- fix memory leak cause by getaddrinfo.
- fix crash when environment variable is last word in script
- Expand upload command, like uploading the value of a specific variable
- Fix segfault when boot data is zero in SDP.
- Fix issues when m_skip is not zero in fastboot.
- Fix issues when file size isn't divisible by block size in fastboot.
- Fix read uploaded data for FB.
- static link c++ library in prebuild linux image
- provide armlinux version image
- Add built spinand command support
- parser [-t timeout] for all protocol
- force use old libusb to run at ubuntu 18.04
- Increase default timeout to 10s
- Hot Fixed for SPDS crash for some images
- Support i.MX95
- Fixed usb pipe error when download image with FCB
- Support i.MX91
- Fixed a crash with -d option when change back file.
- Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
- Fix "imx91" device name as "imx93" when -lsusb
- Add dynamic `g_max_process_width` global variable to handle long lines
-------------------------------------------------------------------
Fri Oct 25 11:04:22 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
- Update to version 1.5.182.9
- Reduce memory usage when burn single board with compressed Image.
- Http(s) prompt request username and passwords when require autherization.
- fix memory leak cause by getaddrinfo.
- fix crash when environment variable is last word in script
- Expand upload command, like uploading the value of a specific variable
- Fix segfault when boot data is zero in SDP.
- Fix issues when m_skip is not zero in fastboot.
- Fix issues when file size isn't divisible by block size in fastboot.
- Fix read uploaded data for FB.
- static link c++ library in prebuild linux image
- provide armlinux version image
- Add built spinand command support
- parser [-t timeout] for all protocol
- force use old libusb to run at ubuntu 18.04
- Increase default timeout to 10s
- Hot Fixed for SPDS crash for some images
- Support i.MX95
- Fixed usb pipe error when download image with FCB
- Support i.MX91
- Fixed a crash with -d option when change back file.
- Fix crash when get serial number at SPL/uboot if no serial_no exist at device descriptor
- Fix "imx91" device name as "imx93" when -lsusb
- Add dynamic `g_max_process_width` global variable to handle long lines
-------------------------------------------------------------------
Mon Apr 17 13:26:03 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package mfgtools
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,16 @@
Name: mfgtools
Version: 1.4.243.7
Version: 1.5.201
Release: 0
Summary: Freescale/NXP I.MX Chip image deploy tools
License: BSD-3-Clause
Group: System/Management
URL: https://github.com/NXPmicro/mfgtools.git
Source0: %{name}-%{version}.tar
URL: https://github.com/NXPmicro/mfgtools
Source0: %{name}-uuu_%{version}.tar.gz
Patch0: mfgtools-gcc13.patch
BuildRequires: cmake
Patch1: mfgtools-gcc15.patch
BuildRequires: cmake >= 3.5
BuildRequires: gcc-c++
BuildRequires: libbz2-devel
BuildRequires: libopenssl-devel
@@ -33,22 +34,23 @@ BuildRequires: libusb-1_0-devel
BuildRequires: libzip-devel
BuildRequires: libzstd-devel
BuildRequires: pkg-config
BuildRequires: tinyxml2-devel
BuildRequires: zlib-devel
%description
Freescale/NXP I.MX Chip image deploy tools. This package holds the evolution of MFGTools (aka MFGTools v3), which is called the UUU (Universal Update Utility).
Freescale/NXP I.MX Chip image deploy tools. This package holds the evolution of
MFGTools (aka MFGTools v3), which is called the UUU (Universal Update Utility).
%prep
%autosetup -p1
%autosetup -p1 -n %{name}-uuu_%{version}
%build
echo uuu_%{version} > .tarball-version
cmake .
make
%cmake
%cmake_build
%install
mkdir -p %{buildroot}%{_bindir}
install uuu/uuu %{buildroot}%{_bindir}
%cmake_install
%files
%license LICENSE