summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/uuu
Commit message (Collapse)AuthorAgeFilesLines
* uuu: bump to 1.5.141Rasmus Villemoes2023-12-222-2/+65
| | | | | | | | Bump the uuu revision to the latest tag. While testing, I found that the the udev rules didn't always kick in soon enough, so a small patch is needed to also have some retry logic on linux.
* uuu: Update nxp repository linksHiago De Franco2023-10-092-6/+6
| | | | | | | | | | | Due to the transition of github.com/NXPMicro/mfgtools to github.com/nxp-imx/mfgtools, this commit updates the repository links to ensure future fetches will not break. The recipe still works because NXPMicro repository became an alias to nxp-imx. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
* uuu: Add missing zstd dependencyKen Sloat2023-09-081-1/+1
| | | | | | | | | | Since 1.4.243, uuu includes zstd support. Currently, this dependency is not specified, and thus if nativesdk-uuu is built, cmake will err during do_configure reporting that the package is missing. To fix this, add zstd to DEPENDS. Signed-off-by: Ken Sloat <ken.s@variscite.com>
* uuu: drop bogus COMPATIBLE_MACHINERasmus Villemoes2023-05-311-2/+0
| | | | | | | | | | | This apparently prevents the recipe from actually building for the most useful variants, native and nativesdk - it's really rare that one would actually want to run uuu itself _on_ an imx target. Moreover, we have a test setup where we use Raspberry Pis for power cycling, exposing the serial console etc. from various boards, so we do want to build uuu for the BSPs we put on those RPis in order to automatically test bootstrapping of imx boards.
* uuu-bin: init at 1.4.243Otavio Salvador2023-04-121-0/+35
| | | | | | | | | | This recipe uses the pre-built binaries provided by NXP itself so we can offer Linux, Windows and MacOS binaries. Those binaries are intended for use in the mfgtool-bundle and not for execution in the host. We install the binaries in '${libdir}/uuu'. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* uuu: Upgrade 1.4.165 -> 1.4.243Oleksandr Suvorov2022-10-252-139/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Besides bumping uuu version, remove the upstreamed patch 0001-remove-unnecessary-libzip-dependency.patch. Relevant changes: - ed48c51 zstd ZSTD_getFrameContentSize can return decompress size - d539877 Create SCR-mfgtools.txt - 716ff99 Update README.md for zstd - 3064151 Fix ZSTD stopping - 294ab5c fix fail open file begin with > in script - 4bf291e fix build failure at windows - e44daeb fix warning at trans.cpp and usbhotplug.cpp - ce351f0 fix warning at sdp.cpp - 2b6a003 fix warning at cmd.cpp - a035798 fix build warning at buffer.cpp - 4ae411a Fixed build warning at fastboot.cpp - 420676d Improve error message after code consolidate - 07f4c12 Fixed bz2 decompress fail at 26% for a specific file - 0a13d1c Fix #328 Current Directory not appending - 9569f6c Fix Http Loading - 52ab1b0 Fixes logical issue with patch 219cf39 - 8119b5d Merge branch 'master' of github.com:NXPmicro/mfgtools - 832a5f7 Fix #326 Skipping First Character - 219cf39 Fix #326 Skipping First Character - 3903471 Generalized FSCompressStream checks - 6358a51 Shows loading progress for single thread BZ2 - 162152b Consolidate Reload Function for File Types - eef4e5d Fix #325 appending header twice issue - 70d1e85 Automatically decompress ZSTD file from -b - e6e5f70 fix crc command -format - c1f969e Add async for zstd - 49626b7 add async support for gz - cfe0786 try to fix MacOS build failure at appveyor - 2adf07b try to fix macos build - 4a20bcf Revert "Try fix macOS build after zstd patch" - e2cf6b3 try fix macOS build after zstd patch - f260d8d Merge branch 'master' of github.com:NXPmicro/mfgtools - b09bd71 Try fix macOS build after zstd patch - 8daa734 Try fix macos build after zstd patch - f8944ac Update Ubuntu to 18.04 - 02cb3cb try to fix linux build appveyor - 531b751 Try to fix mac build appveyor - 91f8a20 Try to fix Linux Build fail at appveyor - 496f1c1 Added libzstd-dev to snap - 3547764 better fix appveryor vs build problem - 210927e test build environment - 94f1e51 try to fix appveyor build problem - 30e5d57 try to fix zstd build error at appveyor - f3a1bfb Update README.md - ce97c4a fix build error after add zstd lib - f9763f9 zstd decompression - 36ceb0d Add zstd library into uuu - c7fe0b6 Fix error message - 6841102 Show CRC check progress - d63bdc6 implements crc check for images - 005ff6f Fix crash when download bz2 from http - 1dc59a1 Fix uuu_version in generated uuu.inputlog in shell mode - f4578c3 Fix argument names in print_cfg() - f8a783a Fix crash when download speed slower than decompress speed and need resize buffer - c34886a Merge branch 'master' of github.com:codeauroraforum/mfgtools - bdb4cb3 Specify 'ios::binary' in ofstream initialization - 5d232b2 Add i.MX93 support - e56424c consolidated libusb_init and libusb_deinit into CAutoDeInit - 411f78f Fixed 314 Corrupt image with larger transfer sizes at sdp(s) - bf0ed17 fixed missed true at else branch at built-in script - 5397913 Added CAutoDeInit to call libusb_exit() automatically - 8027907 Replaced all libusb_get_device_list calls with CAutoList objects - 49afb54 can't call libusb_exit at uuu_for_each_devices - 919a464 fixed missed call libusb_free_device_list at look_for_match_device - f34ea63 Fixed invalid progress percentage in verbose mode - a561ed7 Add NXP FB/FBK/SDPV device PID - d7d3af2 Fixed QSPI flashing script - 64ca58f Fix cmake warning related to uuu tool - f666874 Add zlib1g-dev to fix snap build failure - 87a99ff Fix invalid test on fastboot_bytes on lst script - 662689d ubuntu 16 still use old libusb version - 922029b Fix depracated method TLSv1_2_client_method - 70662de Remove depracated function libusb_set_debug - c232c46 Remove dependences from fastboot_bytes that is specific to freescale uboot - cfb7262 fix #297 print error when run quit cmd in shell mode - 9afe083 remove unnecessary libzip dependency - 0e14621 Fix #180 support check getval return value Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
* Rework recipes to use imx-generic-bsp more extensivelyOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-generic-bsp override; it has been applied to: - alsa-state - firmware-imx - imx-kobs - imx-test - imx-uuc - linux-fslc - linux-fslc-lts - packagegroup-fsl-mfgtool - u-boot-fslc - uuu Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-031-1/+1
| | | | | | | | | | | | | | | Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
* uuu: Limit target recipe to to imx machinesKhem Raj2021-10-201-0/+2
| | | | | | uuu is not used in other SOCs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* add recipe for uuu toolRasmus Villemoes2021-10-132-0/+155
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>