summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* cst :update to 1afb40cChunrong Guo2017-10-182-2/+32
| | | | | | | | | | | | | | | | | | | | | | *This includes the following changes: 1afb40c - Make SRK table default option 1650003 - Make ls1088_ls2088.sh executable 4ae056a - Generate SRK hash value c3e7c34 - LS1088 QSPI: Change in address in input file fe4e0da - LS104x_1012: Add signing of bootscript_decap in case of NAND 8f42212 - LS1088 SD: Add input files for LS1088ardb SD 88b3f45 - Merge pull request #73 in SDK/cst from ~B57223/cst-create-pbi:master to master 63bfb68 - To enable blob, added input file d124628 - LS1021ATWR: Change SPL hdr load address 12c489f - LS2088_1088: Add uni_sign input files for sd boot 04ac1a0 - LS2088_1088: Sample uni_pbi input file for sd boot 23bf3b7 - LS2088_1088: Modify tool to add pbi commands for sd secure 46f4045 - Enable cmd line flag "--u" urand option for gen_otpmk_drbg *Fix fails compilation due to uninitialized variables Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qemu-qoriq: removeChunrong Guo2017-08-303-121/+0
| | | | | | | This pkg will not be supported anymore. Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cst:update to 6424157985568df3f42a46e24222e38671455ddbChunrong Guo2017-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes the following changes: 6424157 - Correct copyright on ls104x_1012_sd.sh script 8666062 - Resolve Copyright issue 90588b7 - Merge pull request #69 in SDK/cst from ~B57223/cst-create-pbi:master to master f8a0c0b - Add Distroboot specific changes 4431381 - Merge pull request #68 in SDK/cst from ~B57231/cst:feature/DASHv1.0 to master 1127de5 - LS1088: Change DPC,MC DDR address in input file 579cf9e - Merge pull request #67 in SDK/cst from ~B57223/cst-create-pbi:master to master 06d5592 - Merge pull request #66 in SDK/cst from ~B57231/cst:feature/DASHv1.0 to master 23797ab - LS2080A : Input files for QSPI boot target. cf3b4d8 - Remove Issues observed on coverity analysis a347701 - LS2088A: Adjust the memory map for NOR boot 94d0313 - Merge pull request #65 in SDK/cst from feature/DASHv1.0 to master d9ebb1f - LS1088A: Signing PPA image using script 47c7faa - LS1088A: PPA Input file for IE key extension feature a60bd3d - LS1088A: Input file for QSPI target to validate PPA 0fa1dcb - Correct gen_otpmk_drbg to generate OTPMK as per TAUG 7b90855 - Unify nand and sd input files for ls1 and ls104x_1012 8ecddf7 - ls104x_ls1012: Update ppa address in input files 6820365 - Add platform spefic signing scripts for DASH v1.0 fd17bdf - Update ls2088_1088 input files as per DASH memory map 8a7d45d - Unify input files of ls1043,46,12 to ls104x_1012 8dbf5f3 - Update ls1 input files as per DASH memory map 24c2aa6 - Input files of PPA for signing image for SD secure boot Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cst :update to a292f9dChunrong Guo2017-05-021-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *include the following changes a292f9d - Change year format in COPYING file fb20b2b - Add NXP copyright in COPYING file 4e6b30b - Add NXP Copyright to files created/modified after 2016-11-07 d5c123b - Change platform name in input files for sd and nand boot fe94a1a - Add support for nand secure boot to powerpc platforms ff1f63c - Merge pull request #49 in SDK/cst from ~B57223/cst-create-pbi:master to master 7c815ad - Correct check_field_length function definition af8de9a - Merge pull request #48 in SDK/cst from ~B57223/cst-create-pbi:feature/ls1021_sd_boot to master 5a9d935 - Input files for SD secure boot 69cfefb - Added a new field in input file of pbi creation 1bd1235 - LS1021ATWR: Moved input file location 395cd67 - Merge pull request #46 in SDK/cst from feature/ls1021_sd_boot to master d592cfc - LS1021ATWR: Modifications in previous patches for sd sec boot f5461bb - LS1021ATWR: input files to be used for signing images a54adbd - LS1021ATWR: Sample input file for PBI creation tool ec264fc - LS1021ATWR: Modify tool for ACS write functionality a68286a - LS1021ATWR: Create tool to add pbi commands for sd secure 6f08868 - Merge pull request #43 in SDK/cst from ~B57231/cst:feature/QSDK-3343 to master 70c7c6b - Merge pull request #42 in SDK/cst from ~B57223/cst-create-pbi:master to feature/ls1021_sd_boot 7ace9c7 - LS2080A: Changes for IE key Extension feature d0d1bef - LS1012ARDB: Change kernel entry point in ie key input file 6ef3aeb - LS1012: Change entry point of kernel in inputfile b4c5d98 - LS1088 : Input files for IE key extension feature b840665 - LS2088 :PPA input file & updates headers addresses b5c6b02 - Add input files for LS1088 QSPI target Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qemu-qoriq: upgrade to v2.6.2+Ting Liu2017-03-171-7/+2
| | | | | | | upgrade to v2.6.2, add support for ls1012a. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-usb-loader_git: add pkgconfig to inheritMax Krummenacher2017-03-171-0/+2
| | | | | | | imx-usb-loader_git uses pkg-config in its Makefile. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>