summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* qoriq-cst: Update to commit af56e6cbackport-1335-to-kirkstoneJun Zhu2022-12-161-1/+1
| | | | | | | | New commits: af56e6c LS2088/LS1088: DDR Memory Address Change Signed-off-by: Jun Zhu <junzhu@nxp.com> (cherry picked from commit 44a2fde7c13b161229a14d6ac66b32fcc6600eb1)
* Switch NXP QorIQ repositories to github.combackport-1330-to-kirkstoneJun Zhu2022-12-152-2/+2
| | | | | | | | | Fetch QorIQ's source code from github.com/nxp-qoriq, as original source.codeaurora.org/external/qoriq will stop to access from April 2023. Signed-off-by: Jun Zhu <junzhu@nxp.com> (cherry picked from commit db67bdf59ca6e7c2da4a6fbadb53b5ae238219a6)
* 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> (cherry picked from commit 5526c9160e2b03b3ece41955b34485b7dbeba7fd)
* qoriq-cst: rename cst to qoriq-cstOtavio Salvador2022-07-252-1/+1
| | | | | | | | The QoriQ SoCs use a different cst tool for secure boot than i.MX SoCs so we should name it with SoC family prefix to avoid confusion. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 2f26da887f04c639e0e0bb405dfb8f87c174e627)
* cst: Correctly specify BSD variant for licenseKhem Raj2022-04-241-1/+1
| | | | | | | Fixes QA Issue: cst-native: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin2022-03-034-4/+4
| | | | | | | | | | | | Since OE-Core commit 9379f80f48 ("license/insane: Show warning for obsolete license usage"), LICENSE field not containing SPDX identifiers are treated with WARNING. An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers has been done on the entire layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* 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>
* devregs: bump revision to dcc3e3f2Gary Bisson2021-11-241-2/+2
| | | | | | | | | | | | | Changelog: dcc3e3f clarify project license to be GPLv2 ed28469 devregs_imx8mm.dat: add mipi csi regs 2c92a1d scripts: add rough idea of a technical reference parser 05a0313 devregs: add fancy color mode d713004 devregs: add imx8mm to fixit manual list Update the license in the recipe now that it has been clarified. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-034-4/+4
| | | | | | | | | | | | | | | 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>
* cst: suppress deprecated-declarations errorTing Liu2021-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | Fix below build error with openssl 3.0: | gcc -c -g -Wall -Wno-strict-aliasing -Werror -Itools/header_generation/create_hdr_isbc/include/ -Itools/header_generation/create_hdr_esbc/include/ -Itools/header_generation/create_hdr_pbi/include/ -Itools/header_generation/create_hdr_cf/include/ -Itools/fuse_provisioning/include/ -Itaal/include -Icommon/include -Ilib_hash_drbg/include -isystem.../usr/include -O2 -pipe common/crypto_utils.c | common/crypto_utils.c: In function 'crypto_hash_init' | common/crypto_utils.c:46:2: error: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] | 46 | SHA256_Init(c); | | ^~~~~~~~~~~ | In file included from .../usr/include/openssl/x509.h:41, | from .../usr/include/openssl/ssl.h:31, | from common/crypto_utils.c:37: | .../usr/include/openssl/sha.h:73:27: note: declared here | 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | | ^~~~~~~~~~~ | cc1: all warnings being treated as errors | make: *** [Makefile:172: crypto_utils.o] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | NOTE: recipe cst-native-git-r0: task do_compile: Failed Signed-off-by: Ting Liu <ting.liu@nxp.com>
* qemu-qoriq: upgrade to 4.2Ting Liu2021-10-152-70/+2
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* Merge pull request #887 from Villemoes/add-uuu-recipeOtavio Salvador2021-10-142-0/+155
|\ | | | | add recipe for uuu tool
| * add recipe for uuu toolRasmus Villemoes2021-10-132-0/+155
| | | | | | | | Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
* | layer: Convert to new override syntaxKhem Raj2021-08-123-23/+23
|/ | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu-qoriq: copy a qemu.inc to not break build for 4.1.0Ting Liu2021-04-153-1/+227
| | | | | | | | | | | | | | | | | | | | qemu-qoriq resues qemu.inc from oe-core. As oe-core had upgraded to 5.2.0 which switched to meson+ninja, build error appear as qemu-qoriq version is 4.1.0. Copy a working qemu.inc from gatesgarth branch to not break the build. Some errors: | stdout: Applying patch cross.patch | patching file configure | Hunk #1 FAILED at 6973. | Hunk #2 FAILED at 6999. | 2 out of 2 hunks FAILED -- rejects in file configure | Patch cross.patch does not apply (enforce with -f) ... | DEBUG: Executing shell function do_configure | ERROR: unknown option --with-suffix=qemu-qoriq Signed-off-by: Ting Liu <ting.liu@nxp.com>
* qemu-qoriq: enable vhost PACKAGECONFIGTing Liu2020-12-171-1/+1
| | | | | | Enable it to test KVM vhost-net feature. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* qemu-qoriq: overide do_install_ptestTing Liu2020-12-161-0/+12
| | | | | | | | | | qemu-qoriq reuses poky's qemu.inc which has upgraded to 5.1. qemu-qoriq is based on 4.1 in which tests/data/acpi/disassemle-aml.sh does not exist. This leads to do_install_ptest fail. Override do_install_ptest in qemu-qoriq recipe. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* qemu-qoriq: update to 0b88a503Ting Liu2020-12-161-1/+1
| | | | | | support new MC version. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* cst: update to dfe30d3Ting Liu2020-12-161-1/+1
| | | | | | | | | | | New commits: dfe30d3 ls1012a: Corrected '$pfe_fw' in if condition for PFE 8896ae9 ls1012a-rdb/frwy: Move files to correct place. 715934d ls1012a-frwy: Update kernel address in input_uimage_secure 0026632 ls1012a-rdb: Add script for qspi e76f23d ls1012a-rdb: Add 'input_uimage_secure' for ls1012a-rdb Signed-off-by: Ting Liu <ting.liu@nxp.com>
* cst: Fix build with gcc10Khem Raj2020-05-192-0/+44
| | | | | | | | | Fixes create_hdr_common.c:42: multiple definition of `file_field'; parse_utils.o:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/cst-native/git-r0/git/common/parse_utils.c:29: first defined here | collect2: error: ld returned 1 exit status | make: *** [Makefile:131: create_hdr_isbc] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu-qoriq: enable aio/libusb PACKAGECONFIGTing Liu2020-05-141-1/+1
| | | | | | | aio is required for virtio-blk-dataplane and libusb for passthrough of usb devices. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* cst: update to 9aafbdfTing Liu2020-05-061-1/+1
| | | | | | | | | | | New commits: 9aafbdf scripts: LS1012ARDB: Correct path for pfe image ac52cd3 scripts/platform:LS1028A: Changes firmware header offsets 21a5439 scripts/platform:LX104xA, LS1012A: Changes firmware header offsets fbe5c2e scripts/platform:LX2160A: Changes firmware header offsets 51a32cb scripts/platform:LS1088A, LS2088A: Changes firmware header offsets Signed-off-by: Ting Liu <ting.liu@nxp.com>
* qemu-qoriq: upgrade to 4.1Ting Liu2020-04-206-115/+154
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* devregs: update to latest version from upstreamAndrey Zhizhikin2020-02-282-37/+2
| | | | | | | Drop the patch stored in this layer, since the PR with the same patch has been merged upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-usb-loader: bump to revision f009770Pierre-Jean Texier2020-02-031-1/+1
| | | | | | | | | | | | | | | | Following changes are included: f009770 imx_sdp: don't try to load hdmi firmware c5c4d28 add SPDS protocol support, imx8mn(nano) 15dbbd7 tests: add pid 0x1001 353791c tests: add pids 0x0134/0x1000 06fb581 tests: pid=0x0080 is for mx6ull 6b07a0a mx8mm_usb_sdp_spl.conf/ mx8mm_usb_work.conf: s/imx-mkimage/u-boot-imx6/ b00b0e2 mx8mq_usb_work.conf: load flash.bin from u-boot-imx6 directory bda7ab6 add mx8mq_usb_sdp_spl.conf 7984efc Moving libusb_free_device_list to get imx_usb to work on Windows. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* devregs: update to latest version and add imx8mn supportAndrey Zhizhikin2020-01-202-2/+37
| | | | | | | Update the package to the latest version available upstream, and add patch which introduces support for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* qemu-qoriq: update to ca6417bChunrong Guo2019-10-211-1/+1
| | | | | | | *include the following changes: ca6417b - Updated Linux headers Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: update to bfad3c9Chunrong Guo2019-10-211-1/+1
| | | | | | | | *update to lsdk 1909 tag include the following changes: bfad3c9 - ls1028: ima-evm: Adds bootscripts for enforce mode. Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: Fix build for target recipeKhem Raj2019-09-101-3/+6
| | | | | | | | | | | | gen_keys when cross-built can not execute on build host so better to depend on native version and call out native gen_keys binary Fixes TOPDIR/build/tmp/work/mips32r2-yoe-linux/cst/git-r0/temp/run.do_install.29171: line 111: ./gen_keys: cannot execute binary file: Exec format error WARNING: TOPDIR/build/tmp/work/mips32r2-yoe-linux/cst/git-r0/temp/run.do_install.29171:1 exit 126 from './gen_keys 1024' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu-qoriq: use Python 2.7 to buildChunrong Guo2019-09-041-0/+2
| | | | Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: specify the non default keys pairChunrong Guo2019-09-041-0/+11
| | | | Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* qemu-qoriq: Mark is specific to imx/qoriqKhem Raj2019-08-281-2/+1
| | | | | | | | It has started to fail now that we have libssh dependency in 4.1 instead of libssh2 in earlier versions, so this recipe needs to be upgraded to use 4.1 release as well, but I dont have way to test it out. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu-qoriq: update to 79df057Chunrong Guo2019-07-121-1/+1
| | | | | | | | | | | *include the following changes: 79df057 - vfio/fsl-mc: Check command version on dprc and dpmcp cmdif 475d962 - vfio/fsl-mc: Add support for DPRC command version-2 271b7fa - vfio/fsl-mc: Add interface for device region range 23f6ed8 - vfio/fsl-mc: Setup address space for QBman CE-SH region 89add80 - vfio/fsl-mc: Fix mc-command version check Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: update to e04690bChunrong Guo2019-07-121-1/+1
| | | | | | | | *update to lsdk 1906 tag include the following changes: e04690b - scripts/platform: LS1028A: Removes signing of PPA image Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* imx-usb-loader: Update to 29fa8ab revisionPierre-Jean Texier2019-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Following changes are included: 29fa8ab imx_usb: use device found by find_imx_device abe7f5d add support for relocatable installs 3d36c83 Fixed build for Visual Studio 2015 Express. fe50624 imx_usb.config: add mx8mm_usb_sdp_spl.conf/mx8mm_usb_work.conf lines f7752f4 mx8mq_usb_work.conf: use bl31-iMX8MQ-2g.bin to match branch boundary-imx_4.9.123_imx8mm_ga of imx-mkimage 8c9eee7 add mx8mm config files 4aa9809 imx_uart: fix type on help 95fe112 imx_usb: fix type on imx_usb help eed0280 portable: use __builtin_bswap16 for BE16 if >= 4.8 GNUC e99a093 portable: fix typo s/&&/&/ in BE16 fix f000130 mx6ull_usb_work.conf: fix copy/paste error in comment 1041959 correct commit "portable.h: fix build with gcc older than 4.8" bf25425 add mx6ull_usb_work.conf 9a88413 portable.h: fix build with gcc older than 4.8 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
* qemu-qoriq: update to 798304eChunrong Guo2019-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Update to lsdk 1903 tag include the following changes: 798304e - libvhost-user: replace vasprintf() to fix build 28930fe - kvm: workaround build break on gcc-7.1.1 / fedora26 e1037e1 - arm/translate-a64: mark path as unreachable to eliminate warning 3bfe2f3 - build-sys: compile with -Og or -O1 when --enable-debug a5bb74e - exynos4210: workaround UBSAN compilation error 587b286 - dump: Fix build with newer gcc a6fc8a7 - atomic.h: Work around gcc spurious "unused value" warning aa62683 - slirp/smb: Replace constant strings by glib string 000e1d7 - usb: Fix build with newer gcc a58c405 - blkverify: Catch bs->exact_filename overflow 03a56f1 - blkdebug: Catch bs->exact_filename overflow 35c4866 - memfd: fix configure test 8ed0f37 - vfio fsl-mc: Expose DPIO cacheable region as cacheable 9ee40f5 - fsl-mc: mc-bus device fdt node creation 72c76f2 - fsl-mc: Add APIs to provide root mc-portal region 3d9ed87 - fsl-mc: Add API to provide mc-portals region bee0442 - vfio fsl-mc: Configure and setup irqfd cd232f7 - vfio fsl-mc: Enable DPMCP emulation 10c4b8b - vfio fsl-mc: Add support to close dpmcp command interface 80fe8bb - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp 069f397 - vfio fsl-mc: Add support for dprc command interface on dpmcp b735296 - vfio fsl-mc: Add support to open dpmcp command interface 14a0c80 - vfio fsl-mc: forward non-emulated mc commands to VFIO de59bcc - vfio fsl-mc: Add support of get_obj_irq mc commands ae864b2 - vfio fsl-mc: Add support of set obj_irq mc commands 8119f86 - vfio fsl-mc: Add support of get_irq mc commands 00a9a3f - vfio fsl-mc: Add support of set_irq mc commands fea28c6 - vfio fsl-mc: Add support of get_obj_region command 09dcb70 - vfio-fsl-mc: Add support of dprc get-attr command ce6028c - vfio-fsl-mc: Add support of dprc open/close command 2164354 - vfio-fsl-mc: Add framework for handling mc-portal commands *depends glib-2.0 zlib pixman dtc Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: update to 2737b8bChunrong Guo2019-04-111-1/+1
| | | | | | | | | | | *update to lsdk 1903 tag include the following change 2737b8b - LX2160A:SD Boot: Adds input files to sign firmware images. 6be878a - Ls1028A: Add uni_pbi command in script to sign rcw image. 7aace25 - LS1028A: Add input files to sign the firmware images. 6d83dd8 - Removes "All Rights Reserved" Text. Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* remove True option to getVar callsAndré Draszik2019-01-171-1/+1
| | | | | | | | | | | | | | getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com>
* imx-usb-loader - libusb1Raul Hidalgo Caballero2019-01-141-1/+1
|
* cst: update to f599f61Chunrong Guo2019-01-141-1/+1
| | | | | | | | | | | | | | | | *Update to lsdk 1812 tag include the following changes: f599f61 - Corrects Copyright. b10fa04 - scripts/platform/LX2160_xspi: Coorect the kernel header location. e7953a7 - Increases file name array size. 094351b - LX2160: Adds input file and script for signing images using flexbuild. 4eb59af - LS1012ARDB: Change in script file for pfe_fw check 46262e7 - LS1012ARDB: Add input file for pfe header generation ca26c84 - LS1088 and LS2088: Modify scripts for Secure Boot TF-A aae5c8e - Modify scripts for Secure Boot TF-A 5e04504 - create_hdr_pbi: Add cmd line options Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* cst: update to 3285e1d23a6abe3db6bChunrong Guo2018-11-192-30/+1
| | | | | | | | | | | | | | | | | | | | *include the following changes: 3285e1d - Merge pull request #98 in SDK/cst from ~NXA27423/cst-sg-table:master to master abc448f - Correct OEM_UID and FSL_UID flag ac8c66c - LX2 - Add uni_pbi input file bea5298 - Merge pull request #101 in SDK/cst from ~NXA06956/cst-jaypee:master to master 2698da2 - ISBC and ESBC cst changes for LX2160 e9ccaa9 - IMA EVM:LS1012A: adds input file to support image signing c8f77f1 - Changes the initramfs image address in input file. 05be800 - Merge pull request #94 in SDK/cst from ~NXA27427/cst:master to master 44d610c - Ls2088/1088: Fuse provisioning: Adds input file. a1a2f5f - IMA-EVM Feature: Adds input files for signing images. 85c227b - Fix OTPMK generation issue *remove patch Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cst: update to e9abf79Chunrong Guo2018-07-021-1/+1
| | | | | | | | | | | | | | | | | This includes the following change: e9abf79 - LS1088ARDB: Change DPL address SD in input file 74d1ebe - LS1088ARDB: Change DPL address in input file 1e600c9 - Merge pull request #87 in SDK/cst from ~NXA27423/cst-ls1012:master to master 11e6437 - Merge pull request #90 in SDK/cst from ~NXA08484/cst:master to master 7abaf13 - create_header: Add command line options f581f73 - Changes based on utilities supported in OpenSSL 1.1.0. 4daeb19 - LS1012AFRWY: Change kernel address in inputfile 20837ba - CH3: Fix issue in SRK offset Calculation 42f33a8 - LS1012AFRWY: Fix error in generating srk_hash.txt with flexbuild be43538 - LS1012AFRWY: Add input files for the platform Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qemu-qoriq: add recipesChunrong Guo2018-06-184-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include the following changes: 6c297a7 - vfio fsl-mc: Expose DPIO cacheable region as cacheable 8e929a8 - fsl-mc: mc-bus device fdt node creation 4be2ad9 - fsl-mc: Add APIs to provide root mc-portal region b1abcf2 - fsl-mc: Add API to provide mc-portals region 22d303a - vfio fsl-mc: Configure and setup irqfd cfc1b9a - vfio fsl-mc: Enable DPMCP emulation c5b28d1 - vfio fsl-mc: Add support to close dpmcp command interface 56353d9 - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp 12a9dae - vfio fsl-mc: Add support for dprc command interface on dpmcp a24861b - vfio fsl-mc: Add support to open dpmcp command interface ae9efbb - vfio fsl-mc: forward non-emulated mc commands to VFIO 913ab98 - vfio fsl-mc: Add support of get_obj_irq mc commands 9883a03 - vfio fsl-mc: Add support of set obj_irq mc commands 57db3b4 - vfio fsl-mc: Add support of get_irq mc commands c87c8c1 - vfio fsl-mc: Add support of set_irq mc commands 35413a8 - vfio fsl-mc: Add support of get_obj_region command edca25c - vfio-fsl-mc: Add support of dprc get-attr command 74ca7d2 - vfio-fsl-mc: Add support of dprc open/close command bb895ff - vfio-fsl-mc: Add framework for handling mc-portal commands eb51475 - vfio fsl-mc: Scan dprc container and realize child devices 82a1b97 - vfio-fsl-mc: Register mc-device regions with mc-bus f2a56a1 - vfio fsl-mc: add support for non-dprc device c36e7f6 - vfio fsl-mc: Add nested dprc support be171ec - vfio fsl-mc: framework to support fsl-mc-bus in vfio 16010da - vfio fsl-mc: Sync linux header for fsl-mc device be260fc - fsl-mc: add interfaces to set/get msi messages f9756ce - fsl-mc: Add mc-bus-devices region registration interface 5ae0227 - vfio-fsl-mc: Initialize fsl-mc bus devices device-id 9bdfa45 - fsl-mc: Add mc-bus-devices registration interface c996be1 - fsl-mc: define device-id map for mc-bus devices Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-usb-loader: Update to e539461 revisionOtavio Salvador2018-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following changes are included: e539461 mx8mq_usb_work.conf: use files so magic addresses aren't needed 2913fd0 treat plug-in field in boot data as flags 135e6b4 remove default load address e90fa1b move work handling to imx_sdp 871a070 use static for local functions de8579f remove obsolte define MAX_IN_LENGTH 2678c73 move SDP client-side emulation to separate compile unit aea7afa move byte-order macros to portable header file 04cd5c4 imx_loader_config: rename jump_script to jump_direct 85a1b60 tests: update tests since now J_HEADER=3 2760dba imx_sdp: add jump_script support c7e62cc Merge branch 'introduce-structs' of https://github.com/toradex/imx_loader into toradex-introduce-structs 53b3a1b imx_sdp: add comment to fsize change 39380ab imx_sdp: need to extend file size when header is added to end of file 25c5c4b introduce struct dcd_v2 5f6fe7b introduce struct ivt_header 4603ea5 move DCD checks to perform_dcd d7f4caf rename header structs to align with imximage 0029824 move config file parsing in separate file c8a08dc tests: update test outputs 6ae9528 imx_usb: support multiple work items in simulation mode 273ddf0 imx_usb: move all USB handling into do_autodetect_dev 51e0591 mx8mq_usb_work.conf: load dtb/bl31 affb132 mx6_usb_work.conf: add comments fa7912a imx_sdp: add skip parameter d9779f8 imx_sdp: have fetch_data always limit buf_cnt to not include header b55929d mx8mq_usb_work.conf: s/mx6/mx8/ 13294c7 test: add line vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf 28170ef imx_sdp: add imx8 support, jump support ade3b8b imx_sdp: avoid short packets in load_file 3003258 imx_sdp: fix fetch_data b5eac6d tests: update test output for test-dcd.imx 7c5d0e0 imx_sdp: add writeable_header to struct load_desc fcd8632 imx_sdp: fix do_simulation cur_mem assignment f960ef3 imx_sdp: print message when dcd_ptr is cleared f157268 imx_sdp: keep track of the buffer's file offset 70c14db imx_sdp: separate jump, from load_file_from_desc d02a4dc imx_sdp: make do_data_transfer try to finish the transfer specified 5e6fb14 imx_sdp: add comment about setting bulk mode header address 635ee4e imx_sdp: change parameters to load_file 340d7ac imx_sdp: create routine load_file_from_desc cb62c3f imx_sdp: add verify to struct load_desc c98b0ba imx_sdp: add header_offset to struct load_desc c97a7e4 imx_sdp: add fsize to struct load_desc fcf8e37 imx_sdp: use ld.buf_size for BUF_SIZE 009297b imx_sdp: rename cnt to buf_cnt 74a117b imx_sdp: move FILE* xfile to struct load_desc 65bee76 imx_sdp: move buf_start and cnt to struct load_desc f259b47 imx_sdp: create struct load_desc ab55cab imx_sdp: move functions load_file/jump higher before process_header c598fd1 imx_sdp: introduce do_data_transfer f346f04 imx_sdp: introduce do_command 5f08b3a tests: update test outputs 137e34a imx_sdp: use do_response for BULK report 3 transfer 059b79b imx_sdp: use do_response in read/write_memory e241467 imx_sdp: use do_response in jump 35e238f imx_usb/sdp: properly simulate jump command 4cd4d94 imx_usb: use do_response in do_status 1bf0b1d tests: update test outputs ad1add1 imx_sdp: extract response handling 93ad1a2 introduce tests 936c4fe imx_usb: support verification in simulation 70eaa73 imx_usb: introduce simulation mode 931c78f imx_sdp: use consistently only \n fe77dae imx_usb: reintegrate option parsing 3bb6cd2 imx_sdp: clarify BULK download address/header relation 0a322b0 bump version to 0.2pre 6aa2ee6 add version number a949687 imx_uart: return success on requesting help explicitly 869d06b Merge pull request #71 from toradex/jump-separation 013fa23 imx_sdp: move jump command out of main download function 138c0b2 Added uninstall rule for GNU make 7e77787 README: Include i.MX7 in the supported list of SoCs 2a85287 imx_usb.conf: Add vendor and product ID for NXP boards d34a3e3 make sure imx_sdp.c gets rebuilt on image.h change 3911cd6 resync image.h with U-Boot v2017.09 ce730fb batch mode for multiple downloads 378a832 add U-Boot header example 5f8fbc4 Add support for U-Boot image headers ed17e6b imx_usb.conf: Add support for i.MX6SLL device cd281c2 mx7ulp_usb_work.conf: Add support for i.MX7ULP device f04f225 Add options to filter by bus & device id 75d8237 Update imx_usb.conf a2cf488 Make project buildable on macOS deaaea5 Skip the DCD loading if its length is 0 69d4850 Fix possible overflow ba6b31c Make project buildable on FreeBSD c33d83d remove unused variables and other trivial warnings 4528254 consequently use plus for byte conversion concatenation f43231a avoid using unsigned char for strings 219745c enable warnings by default c8f4ead imx_usb: fix C99 warning by moving retry definition to top of function 4bab49a imx_sdp: print better error message in verify_memory 523dd99 imx_sdp: add retries to read_memory b40ec96 Add Visual Studio 2015 project file for imx_usb d7e10c9 Move dbg_printf to portable.h d5529d4 Search for configuration file in current working directory 98dd7a2 Derive configuration directory from environment on Windows 561f037 Transfer always specified report 2 length 0d57130 Improve error handling around DoIRomDownload ba88872 Fix compare between signed and unsigned values 49a1ca7 Fix error handling in uart_connect db409dd Make sure strings are properly terminated 4175891 Add Makefile for MinGW b698636 Move IO functions to portable header file f864538 Introduce portable.h to have a common place for portability defines 8958e39 Move and update Visual Studio project files 9dd3788 Use compiler built-ins for byteswap 7c6853c Introduce do_autodetect_dev to implement current behavior dd28f77 Add "-N" to skip UART association phase 408680b Add debugmode for UART method f0188c1 move USB work handling in its own function da82f8a simplify and document work processing a0b11cc improve error message, move message to debug c00279d deduplicate device initialization code 04a6f97 improve error handling 9b0e81c Remove obsolete mx53_usbarmory_work.conf bb0e593 Fix DCD writing for i.MX5x devices a0160b2 mx53_usb_work.conf: change crlf to lf 297a57a Add DCD loading address parameter in conf file ba96a36 use PKG_CONFIG variable for pkg-config calls 48a85c0 Fix segfault on plugin load 85ecb0d Merge pull request #32 from jcorbier/master 6deb910 Use the DCD_WRITE SDP command Change-Id: Ia9494366b37a0b4a60f91f82bad6f4456849c439 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* utp-com: Switch git repo to Freescale githubVincent Prince2018-05-252-22/+2
| | | | | | | | | | | - Switch from https://github.com/ixonos/utp_com to https://github.com/freescale/utp_com - Bump to latest version with following commits: dee512c Merge https://github.com/nefethael/utp_com 03681a3 Merge https://github.com/Tecphos/utp_com 33129ca Makefile: Allow variables override for cross-compilation e5cbd26 Added error if malloc fails on file load Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
* utp-com: Add recipeVincent Prince2018-05-222-0/+47
| | | | | | | This utility is used to send commands to the device using the NXP's UTP protocol. Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
* cst: update to 20b9a6eC.R. Guo2018-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include the following changes: 20b9a6e - fuse: Correct BSD license holder name 97a6c42 - fuse: Add support for programming debug level 4c340bb - Add sample input file for fuse provisioning tool 861fd75 - Add support for fuse provisioning tool cc11b63 - taal: Add weak taal api's definition c8cea82 - Separate secboot_hdrs.bin for different boot typt 1225f4c - Make SRK table default option 69c3d35 - Make ls1088_ls2088.sh executable 75e7e52 - Generate SRK hash value 859d7d6 - LS1088 QSPI: Change in address in input file 2810c51 - LS104x_1012: Add signing of bootscript_decap in case of NAND ff82bda - LS1088 SD: Add input files for LS1088ardb SD fbd4b73 - To enable blob, added input file eb13dd3 - LS1021ATWR: Change SPL hdr load address a9928ec - LS2088_1088: Add uni_sign input files for sd boot 5975dff - LS2088_1088: Sample uni_pbi input file for sd boot 1dcb623 - LS2088_1088: Modify tool to add pbi commands for sd secure 302ebe4 - Enable cmd line flag "--u" urand option for gen_otpmk_drbg 9089ce2 - Correct copyright on ls104x_1012_sd.sh script 660d19d - Resolve Copyright issue 9dd3971 - Add Distroboot specific changes 246b00a - LS1088: Change DPC,MC DDR address in input file 4d79962 - Remove Issues observed on coverity analysis ab5e0cb - Correct gen_otpmk_drbg to generate OTPMK as per TAUG 73e11ad - LS2080A : Input files for QSPI boot target. b59b41d - LS2088A: Adjust the memory map for NOR boot d429453 - LS1088A: Signing PPA image using script 04f8046 - LS1088A: PPA Input file for IE key extension feature *update SRC_URI Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cst :update to 5e0ce70Chunrong Guo2017-11-061-1/+1
| | | | | | | | *include the following changes: 5e0ce70 - Separate secboot_hdrs.bin for different boot typt Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>