[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/mfgtools][upstream] 33 commits: Update Readme license link

Andreas Henriksson (@ah) gitlab at salsa.debian.org
Thu Oct 16 12:58:55 BST 2025



Andreas Henriksson pushed to branch upstream at Debian On Mobile / mfgtools


Commits:
79877d3b by braveocheretovych at 2025-01-14T09:27:17-06:00
Update Readme license link

Signed-off-by:  braveocheretovych <braveocheretovych at gmail.com>

- - - - -
46ed5c43 by Seb Haezebrouck at 2025-02-04T14:13:15-06:00
Fix if-command comparison code

To avoid case-sensitivity problems, uppercase
both sides of a comparison after variable substitutions.

Signed-off-by: Seb Haezebrouck <sebastien.haezebrouck at nxp.com>

- - - - -
ab8dbdfa by markuspg at 2025-02-11T09:12:40-06:00
Change return type of `load_bmap` to `int`

The integer return values and the `bool` return type did not go well
with each other. To be in line with the rest of the code the return type
is being changed to `int`.

Signed-off-by: markuspg <markuspg at users.noreply.github.com>

- - - - -
3ec1b007 by gregzanch at 2025-02-20T11:59:35-06:00
Change the return type of `load_bmap` to an integer, as well as change it to 0
Signed-off-by: Greg Zanchelli <zanchelli.greg at gmail.com>

- - - - -
0525e50a by Tomas Jaros at 2025-02-27T09:19:48-06:00
fix: memory corruption in libuuu fastboot

Signed-off-by: Tomas Jaros <tomas.jaros at nxp.com>

- - - - -
142448e5 by Bruno Thomsen at 2025-03-03T09:42:21-06:00
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 at gmail.com>

- - - - -
40bd85c0 by Frank Li at 2025-03-03T10:09:31-06:00
Fix CI VS build error because miss include chrono

Signed-off-by: Frank Li <frank.li at nxp.com>

- - - - -
5c742997 by Pelle Windestam at 2025-03-14T14:00:55-05:00
change allocation size from UINT_MAX -> SIZE_MAX

Passing SIZE_MAX will cause the request_data() function to allocate the
required size depending on the return value of the size()-function
instead of the full UINT_MAX size. Most of this was fixed with the
changes in commit a2782e0 but was probably missed here.

Signed-off-by: Pelle Windestam <pelle at windestam.se>

- - - - -
93f754c0 by Andreas Henriksson at 2025-03-25T14:24:30-05:00
libuuu: Fix typo & compilation warning in error message

The previous code generating the following warning:

```
[  8%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/buffer.cpp.o
/tmp/buildd/github/mfgtools/libuuu/buffer.cpp: In member function 'int FileBuffer::mapfile(const std::string&, size_t)':
/tmp/buildd/github/mfgtools/libuuu/buffer.cpp:1350:31: warning: ignoring return value of 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result]
 1350 |                         err + filename;
      |                               ^~~~~~~~
In file included from /usr/include/c++/15/string:56,
                 from /tmp/buildd/github/mfgtools/libuuu/liberror.h:34,
                 from /tmp/buildd/github/mfgtools/libuuu/buffer.h:43,
                 from /tmp/buildd/github/mfgtools/libuuu/buffer.cpp:33:
/usr/include/c++/15/bits/basic_string.h:3626:5: note: declared here
 3626 |     operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
      |     ^~~~~~~~
```

It seems `err + filename;` is obviously a typo where filename was
supposed to be appended to the error string, similar to other places
in the same file.

Signed-off-by: Andreas Henriksson <andreas at fatal.se>

- - - - -
311ee9b3 by Rui Chen at 2025-04-01T15:36:09-05:00
build: support cmake 4.0

Signed-off-by: Rui Chen <rui at chenrui.dev>

- - - - -
f2a4e3e2 by markuspg at 2025-04-24T23:13:50-05:00
Drop unused `Config::find`

Signed-off-by: markuspg <markuspg at users.noreply.github.com>

- - - - -
f7351c1c by Andrei Lalaev at 2025-06-11T13:33:26-05:00
libuuu: fastboot.cpp: check if logical-block-size is converted

In case, if "logical-block-size" is not defined and Fastboot device
sends empty "INFO" message (for example, barebox does so),
"str_to_uint32" gets empty string and returns UINT32_MAX,
which is used as block size.

This huge block size is obviously incorrect and image is flashed
incorrectly.

To prevent such a behaviour, check if a conversion succeeded.

Signed-off-by: Andrei Lalaev <andrey.lalaev at gmail.com>

- - - - -
6cf74d4d by Frank Li at 2025-07-29T13:21:08-05:00
Update libusb to v1.0.29

Update libusb to v1.0.29

Signed-off-by: Frank Li <frank.li at nxp.com>

- - - - -
d85a129c by Frank Li at 2025-07-29T14:35:29-04:00
Change default ubuntu to 22.04 since github CI can't support 20.04

Signed-off-by: Frank Li <Frank.Li at nxp.com>

- - - - -
fc195ec4 by Frank Li at 2025-07-29T16:36:00-05:00
try use win2022 to build and force use libusb.prop

Signed-off-by: Frank Li <Frank.Li at nxp.com>

- - - - -
3b489458 by Han Xu at 2025-07-30T10:25:11-05:00
replace all @off and @size in loop

for the fastboot loop, replace all @off and @size not only the first
one.

Signed-off-by: Han Xu <han.xu at nxp.com>

- - - - -
4f4977bd by Han Xu at 2025-07-30T10:25:11-05:00
burn large file in some chunks for spi nor.

change the spi nor built-in script to burn large files in small chunks
to avoid uuu timeout.

Signed-off-by: Han Xu <han.xu at nxp.com>

- - - - -
b776f70a by nxpfrankli at 2025-07-30T16:01:15-04:00
Use pypi trust provider to upload assets

Use pypi trust provider to upload assets.

Fix#481 Wrong version on aarch64 binary.

Signed-off-by: Frank Li <Frank.Li at nxp.com>

- - - - -
42f13afd by Frank Li at 2025-08-05T11:52:19-04:00
Add build_old_ubuntu.yaml for old server

Signed-off-by: Frank Li <Frank.Li at nxp.com>

- - - - -
7ba4fbe6 by Frank Li at 2025-08-08T10:52:54-04:00
Fixes #476: Accessing freed memory in fastboot.c

The original code takes a pointer (sparse_header * pfile) to a DataBuffer
that is freed in subsequent calls to the request_data() function of the
underlying FileBuffer. However, the pointer is still used to determine
various aspects of the sparse file later. These may be already changed if
the memory is reused, which leads to invalid values and trashed transfers.

Fix is to store a sparse_header copy as separate variables.

Reported-by: Henrik Hedberg <henrik.hedberg at haltian.com>
Signed-off-by: Frank Li <Frank.Li at nxp.com>

- - - - -
e9f61dde by Han Xu at 2025-08-11T11:59:42-05:00
fix bugs in qspi built-in script

fix two bugs in qspi built-in script for large image support

1. check fastboot_bytes not fastboot_buffer to get the image size
2. only run the fastboot loop when downloading the large image.

Signed-off-by: Han Xu <han.xu at nxp.com>

- - - - -
cce7735e by Tomas Jaros at 2025-08-15T11:23:40-05:00
refactor: switch to cibuildwheel for wheel generation

- added aarch64 linux support
- added platform specific build scripts with vcpkg integration

Signed-off-by: Tomas Jaros <tomas.jaros at nxp.com>

- - - - -
dba9da06 by Tomas Jaros at 2025-08-15T11:23:40-05:00
feat: add basic functionality tests for LibUUU class

Signed-off-by: Tomas Jaros <tomas.jaros at nxp.com>

- - - - -
b4f24668 by Tomas Jaros at 2025-08-15T11:23:40-05:00
misc: update cmake minimal version requirement

Signed-off-by: Tomas Jaros <tomas.jaros at nxp.com>

- - - - -
8d23c39d by Tomas Jaros at 2025-08-15T11:23:40-05:00
feat: add support for wheels without redundant binaries

Originally, wheels were being built with all dynamic libs included
across all different platforms, which made size of the wheel large.
Now wheels are built only with the one platform compatible library.

Other changes:
- Removed setuptools-scm as a runtime dependency, as that's undesirable
- Added custom build backend to create py3-none wheels to be compatible
  with all versions of python

Signed-off-by: Tomas Jaros <tomas.jaros at nxp.com>

- - - - -
7d13b472 by Markus Prasser at 2025-08-19T11:30:48-05:00
Construct command objects from const strings

This change is done to be able to drop a few c-style casts without
having to replace them by a `const_cast`.

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
320cdaa0 by Markus Prasser at 2025-08-19T11:30:48-05:00
Check `pos` validity before accessing character

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
7e231702 by Markus Prasser at 2025-08-19T11:30:48-05:00
Make function parameters const where possible

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
465ee74a by Markus Prasser at 2025-08-19T11:30:48-05:00
Fix faulty function arguments

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
0454df8e by Markus Prasser at 2025-08-19T11:30:48-05:00
Add missing `override` specifiers

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
acd0f9bd by Markus Prasser at 2025-08-19T11:30:48-05:00
Avoid returning uninitialized value and reduce scope

Signed-off-by: Markus Prasser <markuspg at users.noreply.github.com>

- - - - -
79ce7d2b by Frank Li at 2025-08-25T09:28:25-05:00
Add TA required SBOM.spex.json file

Signed-off-by: Frank Li <frank.li at nxp.com>

- - - - -
40ed529d by Andreas Henriksson at 2025-10-16T13:52:01+02:00
New upstream version 1.5.233
- - - - -


47 changed files:

- + .github/scripts/build_linux.sh
- + .github/scripts/build_macos.sh
- + .github/scripts/build_windows.bat
- + .github/scripts/common_functions.sh
- .github/workflows/build.yaml
- .github/workflows/build_arm.yaml
- + .github/workflows/build_old_ubuntu.yaml
- .github/workflows/build_wrapper.yaml
- .github/workflows/win.yaml
- CMakeLists.txt
- README.md
- + SBOM.spdx.json
- + libusb.prop
- libuuu/CMakeLists.txt
- libuuu/bmap.cpp
- libuuu/bmap.h
- libuuu/buffer.cpp
- libuuu/buffer.h
- libuuu/cmd.cpp
- libuuu/cmd.h
- libuuu/config.cpp
- libuuu/config.h
- libuuu/fastboot.cpp
- libuuu/fastboot.h
- libuuu/fat.cpp
- libuuu/fat.h
- libuuu/rominfo.cpp
- libuuu/sdp.cpp
- libuuu/sdp.h
- libuuu/sdps.h
- libuuu/usbhotplug.cpp
- libuuu/zip.cpp
- libuuu/zip.h
- uuu/CMakeLists.txt
- uuu/qspi_burn_loader.lst
- wrapper/.pylintrc
- wrapper/CMakeLists.txt
- wrapper/CMakePresets.json
- wrapper/MANIFEST.in
- + wrapper/build_backend.py
- wrapper/libuuu/__init__.py
- wrapper/libuuu/libuuu.py
- − wrapper/libuuu/misc.py
- wrapper/pyproject.toml
- wrapper/requirements.txt
- wrapper/tests/__init__.py
- wrapper/tests/test_basic.py


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/mfgtools/-/compare/f7d55ba72e519dac78f30f0a9c3035be8df02d3c...40ed529ded1d5655565efb6c3858116aa713bc9a

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/mfgtools/-/compare/f7d55ba72e519dac78f30f0a9c3035be8df02d3c...40ed529ded1d5655565efb6c3858116aa713bc9a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20251016/6228ce6f/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list