summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-kobs
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>
* 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>
* imx-kobs: update revision to 269fdffAndrey Zhizhikin2021-02-011-1/+1
| | | | | | | This includes the following commit: 176bca4956ed supports imx8mp ddr4 nand boot Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-kobs: Allow usage with use-mainline-bspFabio Berton2020-05-111-1/+1
| | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* imx-kobs: Update SRCREV to cee66dAlexandru Palalau2020-04-231-1/+1
| | | | Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
* imx-kobs: Update SRCREV to 02c01dAlexandru Palalau2019-06-131-3/+2
| | | | Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
* imx-kobs: Fix a typoSebastien Bourdelin2018-12-131-1/+1
| | | | | Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Add i.MX 8 supportTom Hochstein2018-08-301-4/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Bump revision to c70685dFabio Berton2018-06-261-1/+2
| | | | | | | | | | | | | - Add O.S. Systems Software Copyright This includes the following changes: - c70685d Merge pull request #13 from allenxh/imx8 - d8e5142 imx-kobs: support burn images to imx8mq ddr4 arm2 NAND - a0e9adc Merge pull request #10 from allenxh/imx8 - 89c14fe imx-kobs: support i.MX8 platforms Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* imx-kobs: Fix a typoKhem Raj2017-05-191-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Fix build with muslKhem Raj2017-05-192-0/+35
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Pick up new commit as fix-compile patch is mergedJun Zhu2017-05-192-21/+3
| | | | | | | | The patch is merged to the new version of imx-kobs. So pick up the new version and remove the patch file. Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Drop 5.4 recipeOtavio Salvador2016-10-183-98/+0
| | | | | | The Git recipe is now preferred so we are dropping the old release. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Add git recipeJun Zhu2016-09-081-0/+19
| | | | | | | | | | The tools "kobs-ng" will be maintained as a open source project. The repository location is https://github.com/NXPmicro/imx-kobs Keep patch "fix-compile.patch" only as the other two are merged into new version. Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Allow kobs-ng to flash the SPL on the 4.x kernelFabio Berton2016-08-053-0/+81
| | | | | | | | | | | | Add function to check if kernel support raw_mode and fix function that calculates the geometry based on known info from the mtd partitionmtd geometry. These patches were copied from: https://github.com/Gateworks/openwrt/commit/379e87df4fb67198fe900ffe2a394e69fbd47801 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Fix compiler error with Linux kernel headers version >= 4.4Gary Thomas2016-04-192-1/+20
| | | | | | | | | This patch fixes a build error with kernel includes (>= 4.4) <stdint.h> must be explicitly included to get uintX_t types. Change-Id: I3a0059a59bf578fdba0cf68370eec0e19fc10835 Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Upgrade to 5.4 versionLauren Post2016-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Check raw mode flag for backward compatbility - Fix membership name in bch geometry structure. - Fix the previous implementation that may ruin the BBM - Adapt raw page accesses to match the new raw_read/write implementation The old raw access implementation (in GPMI driver) was considering that data and OOB data were separated in their respective regions (the data area and the OOB area of the page), which is not true. They are actually interleaved this way: METADATA + ((DATA + ECCBYTES) * N) The new raw access implementation (in the GPMI driver) is hiding this weird layout to MTD users by exposing a more common layout: DATA + METADATA + (N * ECCBYTES) Here METADATA + (N * ECCBYTES) are exposed as if they were stored in the OOB area. Unfortunately kobs-ng rely on this weird layout when accessing the NAND in raw mode. Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Upgrade to 5.3 versionLauren Post2016-04-191-2/+2
| | | | | | | | | | MMT-89: support reading bch geometry setting from debugfs add new feature to read bch geometry setting from debugfs, it provides the feasibility to support large oob NAND devices. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Upgrade to 5.1 versionLauren Post2016-04-191-2/+2
| | | | | | | | | | | | | Add i.MX 6UltraLite support. When kobs-ng generates FCB with BCH ecc parity, ecc data might NOT byte align, and requires join the ecc with real FCB data. When the ecc data is byte aligned, the operation is not necessary, just simply copy the data. Generalize the encode_bch_ecc function for different configurations. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-kobs: Upgrade to 5.0 versionLauren Post2015-07-281-2/+4
| | | | | | | | | | | | | | | | | Released with 3.14.38-6QP_beta release. Use a different versioning schema based on package versioning instead of BSP version. This way, if a new BSP version does not bump this package, we can keep this package unchanged as well. To avoid conflicts with QorIQ adding COMPATIBLE machines including mx7 support. This software is i.MX specific so should be limited to i.MX. Add fixes for maximum ecc strength for each platform. Add mx7 boot config support. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-161-0/+13
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>