[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/mfgtools][debian/master] 46 commits: Revert "Fixed sdps crash for some size flash.bin"
Andreas Henriksson (@ah)
gitlab at salsa.debian.org
Sat Sep 28 11:08:40 BST 2024
Andreas Henriksson pushed to branch debian/master at Debian On Mobile / mfgtools
Commits:
26d4b25d by Marco Felsch at 2023-11-16T16:04:42-05:00
Revert "Fixed sdps crash for some size flash.bin"
This reverts commit de317f587003dbd6203af1c647e2fccb912f8f0d.
The upcoming patch will fix the issue more straight forward.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
- - - - -
f9080cca by Marco Felsch at 2023-11-16T16:04:42-05:00
libuuu: hidreport: fix read out-of-bound access during write
Since commit 3f512a617cb5 ("libuuu: hidreport: fix write size for
Windows") it may happen that the memcpy() does read outside the provided
memory. Fix this by moving the Windows HIDAPI workaround behind the
memcpy(), here no overflows can happen since the m_out_buff size is at
least m_size_out.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
- - - - -
3a5beb69 by Matthias Schiffer at 2023-11-23T02:32:12-05:00
libuuu: do not crash when using FB: write -format without `@off` or `@size`
Check the return code of ucmd.find(), so we don't attempt to replace
with an out-of-bounds index when the command string does not contain the
`@off` and `@size` patterns.
- - - - -
a2782e08 by oddlama at 2023-12-12T10:43:10-05:00
fix: integer overflow causing segmentation fault
On 32-bit architectures this compared UINT64_MAX casted to size_t
with UINT64_MAX, which causes an unintended mismatch due to the
integer being truncated when calling request_data.
- - - - -
e6c68747 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
adapt bmap files to skip unused blocks
- - - - -
67e0a308 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fix CI build broken by newly added bmap support
- - - - -
38e96eb7 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
addressed review comments
- - - - -
f67bb213 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
Replce Unsigned64Text with Int64Text.
The Unsigned64Text call is a recent change in the TinyXML while
the previous versions of the library don't implement it.
For backward compatibility with TinyXML v2.7 which is only available
on Ubuntu 18 and other OS, replace the call to Int64Text.
- - - - -
1dd2611c by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
Restore the original (no-bmap) behavior by default.
* restored the original flash -raw2sparce behavior. .bmap files
will be ignored if not explicitly specified in script commands
* added -no-bmap global options to ignore .bmap files even if
those are specified in script commands
* added -bmap global option to try using .bmap files even if
thise are not specified in script commands
- - - - -
88b8018e by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fixed incorrect bmap range calculation.
- - - - -
6d37fd7e by dnbazhenov at 2023-12-12T12:03:27-05:00
added tinyxml2 to macOS.yaml
- - - - -
b48f7e18 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fixed missing tinyxml2 header path dependency for Win32
- - - - -
a50b4676 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fixed missing libtinyxml2.lib dependency for Win32
- - - - -
cc03adc8 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fixed libtinyxml2 output path for Win32
- - - - -
41e04c77 by Dmitry Bazhenov at 2023-12-12T12:03:27-05:00
fixed flash command line parsing in some cases
- - - - -
3abc23c0 by nxpfrankli at 2023-12-13T13:47:53-06:00
Add libtinyxml2-dev at readme
- - - - -
e3850a85 by aunhappy at 2023-12-16T09:57:15-05:00
Update README.md
I cannot download zlib1g-devn; I believe this is a spelling mistake. The correct one is zlib1g-dev.
- - - - -
764f0fe9 by Rasmus Villemoes at 2023-12-22T22:51:59-05:00
libuuu/usbhotplug.cpp: don't limit retry logic to windows
When using the udev rules to avoid use of sudo, we have sometimes
observed uuu spuriously failing because it sees the device and
attempts to open it, before the udev daemon has had a chance to apply
its rules and grant access to the current user (via the 'uaccess'
tag).
The error in that case is -EACCES which libusb translates to
LIBUSB_ERROR_ACCESS, so extend the retry logic to that case. Also,
since I have seen the open() succeed on the 5th and last attempt, bump
the number of retries to 10, for a total of around 2 seconds instead
of just 1.
- - - - -
dc3ca542 by Max at 2024-01-12T15:44:12-06:00
Update README.md
`tinyxml2` is also needed
- - - - -
959fb9e0 by Han Xu at 2024-01-23T15:52:02-06:00
Don't download the FCB copy image for SDPS
ROM doesn't need the FCB copy image for the SDPS, remove it to avoid USB
report error.
Signed-off-by: Han Xu <han.xu at nxp.com>
- - - - -
534bf1f4 by nxpfrankli at 2024-01-24T14:18:02-05:00
Update tinyxml license
- - - - -
1bf0d400 by Frank Li at 2024-01-30T12:26:16-05:00
static link tinxyxml2 when STATIC=1
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
7347a80c by Frank Li at 2024-01-30T12:36:13-05:00
update workflow to build static link tinyxml
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
46980e9c by Jean-Marie Lemetayer at 2024-02-12T10:14:05-05:00
libuuu: implement a basic retry strategy for usb transfer
- - - - -
38405f3e by nxpfrankli at 2024-02-12T11:43:10-05:00
update armv7 to ubuntu 20.04
- - - - -
33f8086c by Frank Li at 2024-02-14T17:37:25-05:00
Add serial number support
-lsusb can list device serial number. If it is empty, try 'sudo'.
-ms serial[*] will monitor this device.
Not all imx ROM support it. please use uuu -lsusb to check it.
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
5430fbe2 by Frank Li at 2024-02-15T15:36:34-05:00
return upper case of serial#
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
900a0dfb by João Loureiro at 2024-03-04T10:09:56-05:00
Improve wording on uuu.lst
- - - - -
7d4bdc55 by Frank Li at 2024-03-08T11:34:36-06:00
fix 'ret' have not initialized
Signed-off-by: Frank Li <frank.li at nxp.com>
- - - - -
32df8561 by Frank Li at 2024-03-08T15:28:29-05:00
fix build warning
warning: missing initializer for member ‘ROM_INFO::serial_idx’
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
fec32a8f by Frank Li at 2024-03-08T17:18:47-05:00
fix a thread "=" crash
when uuu run -d mode, back file changed. UUU need reload it. But previous
async load thread may not finished yet. Need wait for previous loading
thread finish before create new one.
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
b407608a by Frank Li at 2024-03-08T17:19:14-05:00
Fixed a crash with -d option
Crash when back file changed. Need reset m_dataflags before reload file.
Signed-off-by: Frank Li <Frank.Li at nxp.com>
- - - - -
84f2da00 by Alessandro Zini at 2024-03-27T15:00:42-05:00
trans: unmask libusb errors
When using uuu it can happen that libusb operations sometimes return with an error code, which is currently masked.
This prints the error code and propagates it.
- - - - -
fb9e18a2 by Khem Raj at 2024-03-27T21:31:31-05:00
include missing stdint.h
This fixes build latest gcc-14
Fixes build errors below
/mnt/b/yoe/master/build/tmp/work/x86_64-nativesdk-yoesdk-linux/nativesdk-uuu/1.5.21/git/libuuu/libcomm.h:106:8: error: 'uint16_t' does not name a type
106 | inline uint16_t EndianSwap(uint16_t x)
| ^~~~~~~~
/mnt/b/yoe/master/build/tmp/work/x86_64-nativesdk-yoesdk-linux/nativesdk-uuu/1.5.21/git/libuuu/libcomm.h:106:8: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
Signed-off-by: Khem Raj <raj.khem at gmail.com>
- - - - -
88ce01ed by Frank Li at 2024-03-28T12:15:36-04:00
add MX93 support
- - - - -
0e54b754 by nxpfrankli at 2024-04-08T11:20:59-05:00
Add mac-14 for arm build
- - - - -
02da3bf2 by nxpfrankli at 2024-04-08T11:31:41-05:00
Fix artifacts for macOS.yaml
- - - - -
b6ae918a by nxpfrankli at 2024-04-18T11:22:49-05:00
Add PID 0x15C for imx95
i.MX95 have two PID for difference uart port. Add PID 0x15C for imx95
- - - - -
d362f4af by Martin Maurer at 2024-04-22T15:21:30-05:00
Update usbhotplug.cpp
Bugfix against SegFault of https://github.com/nxp-imx/mfgtools/issues/420: If info is 0, no access on content is possible.
- - - - -
da3cd53f by nxpfrankli at 2024-05-16T09:21:19-05:00
Fix PID 0159 device name from imx93 to imx91
- - - - -
d1e759e0 by Andreas Henriksson at 2024-09-28T11:56:45+02:00
New upstream version 1.5.182
- - - - -
2be34f5d by Andreas Henriksson at 2024-09-28T11:56:45+02:00
Update upstream source from tag 'upstream/1.5.182'
Update to upstream version '1.5.182'
with Debian dir 8013b88426729822d6f05d1c4bef06b251610c2f
- - - - -
3de77026 by Petter Reinholdtsen at 2024-09-28T11:59:48+02:00
uuu: Add Appstream metainfo XML with hardware mapping
Here is a patch for mfgtools to add Appstream metainfo XML announcing
the hardware handled by this package.
Including this information in the package will ensure programs mapping
hardware to packages using Appstream information, like the isenkram
package, will know that this package is useful on machines where the USB
IDs are discovered.
Closes: #1070263
- - - - -
e1844a17 by Andreas Henriksson at 2024-09-28T12:05:32+02:00
Build-dep on tinyxml2
Needed by new upstream release.
- - - - -
bd7af29b by Andreas Henriksson at 2024-09-28T12:07:41+02:00
Build-dep pkg-config -> pkgconf
W: mfgtools source: build-depends-on-obsolete-package Build-Depends: pkg-config => pkgconf
N:
N: The package build-depends on a package that has been superseded. If the
N: superseded package is part of an ORed group, it should not be the first
N: package in the group.
N:
N: Visibility: warning
N: Show-Always: no
N: Check: fields/package-relations
N:
I: user script /var/cache/pbuilder/build/78323/tmp/hooks/B92lintian finished
- - - - -
cf099e8e by Andreas Henriksson at 2024-09-28T12:07:41+02:00
Update debian/changelog
- - - - -
30 changed files:
- .github/workflows/build.yaml
- .github/workflows/build_arm.yaml
- .github/workflows/macOS.yaml
- .gitmodules
- README.md
- debian/changelog
- debian/control
- debian/copyright
- + debian/uuu.install
- + debian/uuu.metainfo.xml
- libuuu/CMakeLists.txt
- + libuuu/bmap.cpp
- + libuuu/bmap.h
- libuuu/buffer.cpp
- libuuu/config.cpp
- libuuu/fastboot.cpp
- libuuu/fastboot.h
- libuuu/hidreport.cpp
- libuuu/libcomm.h
- libuuu/libuuu.h
- libuuu/rominfo.cpp
- libuuu/rominfo.h
- libuuu/sdp.cpp
- libuuu/sdps.cpp
- libuuu/sparse.cpp
- libuuu/sparse.h
- libuuu/trans.cpp
- libuuu/trans.h
- libuuu/usbhotplug.cpp
- msvc/libuuu.vcxproj
The diff was not included because it is too large.
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/mfgtools/-/compare/6a8c4dab90bea4e96d1929dd5a881e3e496451ad...cf099e8e08635ae22f951e1466f1733977e22ce6
--
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/mfgtools/-/compare/6a8c4dab90bea4e96d1929dd5a881e3e496451ad...cf099e8e08635ae22f951e1466f1733977e22ce6
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/20240928/d7798c39/attachment-0001.htm>
More information about the Debian-on-mobile-maintainers
mailing list