| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Certain packages are using linux-imx-headers, which enforces them to use
NXP BSP since headers are provided from the NXP kernel tree.
Those recipes, which requires NXP kernel headers, are now including the
use-imx-headers class to make sure the correct headers package is used.
Since the introduction of separation between NXP and Mainline BSP for
certain machines, recipes which are NXP-dependent are getting their
COMPATIBLE_HOST to be marked as (null) effectively making them
incompatible with mainline BSP which is expected behavior.
By extending this restriction into the use-imx-headers class, all
recipes which inherits is (because it is required) are getting
automatically restricted to NXP BSP, hence making package NXP-dependent
much easier.
linux-imx-headers is marked as "NXP-only" but it is done explicitly
inside the recipe in order to avoid confusion of inheriting the class.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The 4.14.98-2.3.0 BSP targeting latest SoC silicon revisions uses an even
newer license text 'LA_OPT_NXP_Software_License v10 December 2019'.
And the upcomming 5.4.3-2.0.0 BSP uses yet another one:
'LA_OPT_NXP_Software_License v11 February 2020'.
Add their md5sums additionally.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each new version of the EULA is meant to be a click
through that includes any existing packages with an
older EULA. The latest EULA is also copied in the
layer.
Capture this model in the class by listing the
known EULAs and checking that any package
has a known EULA. The new model also allows
extensibility, so new EULAs can be introduced
separately.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
These were used as workaround for issues with building u-boot 2017.03
and older, after dtc upgrade to 1.4.6 and newer.
We can drop them after upgrading all providers of u-boot.
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
|
|
|
|
| |
This reverts commit 9418435542ce76a2346f1a4aa2cbbb429a5d3543.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each new version of the EULA is meant to be a click
through that includes any existing packages with an
older EULA. The latest EULA is also copied in the
layer.
Capture this model in the class by listing the
known EULAs and checking that any package
has a known EULA. The new model also allows
extensibility, so new EULAs can be introduced
separately.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
- Remove current working directory handling and use
the equivalent runfetchcmd workdir parameter
- Simplify the SRC_URI for loop
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
All EULA packages are proprietary, so verify that the recipe LICENSE
contains Proprietary before fetching the package.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the graphics driver is built into the kernel, a warning is generated
for each i.MX kernel recipe, like this:
WARNING: /home/r60874/zeus/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb: Variable key RPROVIDES_${KERNEL_PACKAGE_NAME}-base ( ${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}) replaces original key RPROVIDES_kernel-base ( kernel-module-imx-gpu-viv).
The problem is that the kernel name used in variables is no longer a
constant 'kernel', but is now parameterized:
https://github.com/openembedded/openembedded-core/commit/6c8c899849d101fd1b86aad0b8eed05c7c785924
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
| |
-update license mdsum for firmware, codec, parser and vpu
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
|
|
|
|
|
|
| |
spaces raise the warning
Signed-off-by: Darko Komljenovic <dkomljenovic@zoho.com>
|
|
|
|
|
|
| |
distro_features_check is now deprecated
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards independently of the kernel version it is using, as far it is
ABI compatible with the official version it will just work.
Following recipes has been reworked to make use of the class:
- imx-lib
- imx-test
- imx-vpu-hantro
- imx-vpu
- imx-alsa-plugins
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-imx
- imx-gst1.0-plugin
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
The binary is generated as part of the image build so it should use
the same naming schema to provide consistency. This also fixes the wks
templates which use it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
dtc-145-native is used by older U-Boot recipes. U-Boot only depends on
the native dtc binary. So, to not clash with files from the regular dtc native
build do only install the dtc binary renamed to dtc-145. Also, create
a new class to handle with dtc-145 dependency.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
In rocko, when using this we triggered a warning so users had enough
time to migrate.
We are now relying on wic to generate the uSD images and then we ought
to remove the leftover code for this release.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
Those are untested and anyone interested in supporting them (mainly
barebox) ought to send the support to OE-Core instead.
This also removes the corresponding code from the
image_types_fsl.bbclass as it is not going to be used from now on.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
The image needs to use the U-Boot generated, for the uSD card, so a
dependency on that must be added to ensure the file is available prior
'wic' uses it.
Besides that, the fstype needs to be changed so it sets the partition
mark allowing the bootrom to find it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
All uses of MACHINEOVERRIDES already include an ':' suffix so we
cannot add it again or we end with a match-all override.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to keep a reference to the original MACHINEOVERRIDES value so
it can be reprocessed as need. This allow the compatibility with
existing BSP's while fixing the complex multilib interactions.
I'd like to record that Richard Purdie was key to solve this issue.
Its implications were beyond my understanding until he guided me and
provided a prototype fix.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The load address line for the dtb should only be given if DTB_LOAD was
set accordingly before. Therefore add this check.
Without this patch the dtb was loaded to 0x0 if no DTB_LOAD was set and
the boot therefore failed. Now when no DTB_LOAD is set the bootloader
uses the device tree in place.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 65144beb63673d215221d800e1905eedb9f2f8ed.
The commit has side effects and must be better investigated. For now,
we are reverting it so we don't cause problems for other use cases.
Change-Id: I63333c974746bd7f95fa7a56153099256e206912
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'ConfigParsed' event was too early and when we mangled the
MACHINEOVERRIDES using the extender, we ended overriding some values
when using together with multilib.
This fixes the multilib use-case and keep current ones working.
Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f
Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
Do not add the short git hash to the kernel name when SCMVERSION is
not set.
Change-Id: I15bf597eab3a811846f3bb28a95b0f8f8a393483
Signed-off-by: Jan Vermaete <jver@oip.be>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
*Fix the build error:
|[Errno 2] No such file or directory: '.../licenses/ppa/recipeinfo'
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
*Using one unified name to its and image bin
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
*Dtb address will be not the same for arm64 and arm32
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
There is no machine which makes use of this image type and it is
untested since long time ago. Drop it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
This adds a deprecation warning when using the 'sdcard' image format.
We are supporting 'wic' for all SoCs and the conversion is
straightforward. This 'sdcard' image format will be removed for next
release.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
This adds a small documentation about the class as comment.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This new image type adds support to generate a Linux kernel with DCD
headers. Essentially it adds support to directly boot a Linux kernel
without a bootloader.
As the Linux kernel will be boot directly, it required that the Device
Tree is appended to the kernel image, which had support included in
OE-Core.
To have the Linux kernel generated with the DCD headers, following
steps must be followed:
- Linux kernel recipe must inherit kernel-imximage class;
- Device Tree appended Linux kernel must be used
(KERNEL_DEVICETREE_BUNDLE = "1");
- DCD header configuration must be provided (dcd.cfg or
dcd-<devicetree>.cfg);
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
This creates a itbimage that contents:
- 1 kernel
- 1 rootfs
- 1 dtb
- 1 boot configuration
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
| |
In _generate_boot_image(), if a dtb file has more than one dot the
current logic fails. e.g. 'device.tree.dtb' will be truncated at the
first dot to 'device' while it should be 'device.tree'.
Fix by removing awk in favour of letting basename also remove
the .dtb extension.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
OE-Core now uses the CONVERSION TYPES to implement the U-Boot support
so the class has been removed. This commit removes the code which
inherits it so allowing it to keep working with the new code base.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This release provides a huge improvement regarding the support for SPL
to more boards.
We now uses this and migrated following boards:
- imx6qpsabresd -> imx6qdlsabresd
- imx6qsabresd -> imx6qdlsabresd
- imx6dlsabresd -> imx6qdlsabresd
- imx6solosabresd -> imx6qdlsabresd
- imx6qpsabreauto -> imx6qdlsabreauto
- imx6qsabreauto -> imx6qdlsabreauto
- imx6dlsabreauto -> imx6qdlsabreauto
- imx6solosabreauto -> imx6qdlsabreauto
So now, the 8 boards are covered by 2 machine files. This drastically
reduces the build time and allow for a better user experience as we
can use the same image to test different boards.
In summary an image built for imx6qdlsabresd or imx6qdlsabreauto is
capable of run on a its respective board which contains a i.MX6
QuadPlus, Quad, Dual, DualLite or Solo SoC removing the need of a
specific image for each SoC type.
On top of the official 2017.07 release, following patches are
included:
801fd44563 mx6sabreauto: Make Ethernet functional again
8ccb1970b8 wandboard: Set fdt based on board_rev and board_name
e6605743e5 mx6sabresd: Enable video interfaces in bootargs
e50a2475d4 mx6sabresd: Use LDO dtb file until LDO bypass support is added
b1a4715311 mx6slevk: Use LDO dtb file until LDO bypass support is added
957409876b imx: cx9020: try pxe boot, if no vmlinuz on mmc
3608315bf1 imx: cx9020: use fdt_addr_r and ramdisk_addr_r
9a1c960516 mx6sabreauto: Add Falcon mode support
3a279e5fe8 warp: Use PARTUUID to specify the rootfs location
0f9a6703e7 embestmx6boards: Use PARTUUID to specify the rootfs location
c877510614 mx6cuboxi: Use PARTUUID to specify the rootfs location
0ada2d6caf wandboard: Use PARTUUID to specify the rootfs location
eee442362c mx6sabre: Use PARTUUID to specify the rootfs location
80a56615fa mx6sabreauto: Do not enable WEIM by default
321339efd7 imx: reorganize IMX code as other SOCs
1567ce3edc mmc: fsl_esdhc: drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT
40294f880d dm: mmc: fsl_esdhc: handle vqmmc supply
0378edcd02 mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O
3657cae890 mmc: fsl_esdhc: correct type of wp_enable
45103e1030 imx6_spl: Add u-boot-dtb.img for SPL payload
61131fa4b5 mx6sabreauto: Update to SPL only mode
07a667be9b mx6qsabreauto: Add SPL support
4506c859ee mx6cuboxi: Add support for sata
a5c5962327 mx7dsabresd: Set VLD04 output to 2.8V in PMIC initialization.
4590f11b61 mx6: soc: Move mxs_dma_init() into the mxs nand driver
10d185960e net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH
b2d4bf303e icorem6_rqs: Rename icorem6_rqs config file
af34708e1e dt-bindings: Document the Broadcom STB wake-up timer node
3e92667cfe serial: mxc: Add debug uart support
4e2b31a5c5 serial: mxc: Code cleanup
27835dae1a serial: mxc: Move common baud gen into _mxc_serial_setbrg
1ca9fe11fd serial: mxc: Move common init into _mxc_serial_init
14ac9d06be serial: mxc: Move cr1 and cr2 write to mxc_serial_setbrg
fdd1f0debc serial: mxc: Use RFDIV in dm-code
fd008b0569 serial: mxc: Add common mxc_uart reg space
2fd7878124 imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL
5c72de6152 ot1200: enable CONFIG_IMX_THERMAL for detailed thermal information
8e38f54c56 mx6sabresd: Fix guard file symbol
3320a872b0 wandboard: Remove unnecessary delay
d5ae3ce6dd cm_fx6: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS
1325b822da cgtqmx6eval: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS
844365a5a0 mx6slevk_spl: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS
ff9e6d62ed mx6sabresd: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
do_image_sdimage[depends]
Fixes
ERROR: /mnt/a/oe/sources/meta-variscite-fslc/recipes-fsl/images/fsl-image-gui.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sdcard". Use do_image_<type>[depends] += "<recipe>:<task>" instead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The old "IMAGE_DEPENDS..." notation has been deprecated in favour of the newer
"do_image...[depends]" notation.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:
If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".
IMAGE_DEPENDS_uboot.mxsboot-sdcard has uboot as base image type and
IMAGE_DEPENDS_uboot.mxsboot-sdcard = "foo" never will run.
Changing IMAGE_FSYPES to uboot-mxsboot-sdcard fix this issue and base
base will be uboot-mxsboot-sdcard.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
Even if 'externalsrc' is used, SRC_URI may specify a 'defconfig'.
However as the use of 'externalsrc' will do away with the do_patch
task, do_preconfigure is in risk of being run before the defconfig
is copied to the build directory. This patch adds a second dependency
on 'do_unpack' that makes sure this does not happen.
Signed-off-by: Mats Karrman <mats.dev.list@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The allow easier enablement of mainline BSP support, we need to allow
for specific overrides to be filtered out, before and during the
extending process.
The new MACHINEOVERRIDES_EXTENDER_FILTER_OUT variable does exactly
this and will be used in a subsequent commit to enable the
'use-mainline-bsp' override.
Change-Id: Ieaec9d5eb27ccc73b7b0097cb365c519978bd080
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Use the += operator instead to add image_types_uboot to IMAGE_CLASSES
which will correctly append that image type.
Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:
- 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
- 33df3a65f3e8e136811da715d0cc247ce66ae0ea
We need to copy extlinux.conf file to boot partition inside /extlinux
directory. This file will be only copied if UBOOT_EXTLINUX is set to 1.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|