Commit Graph

904 Commits

Author SHA1 Message Date
Otavio Salvador
f57de4d2d9 imx6ul-kontron: Remove unknown MACHINE_FEATURES
The pwm-buzzer, can, emmc and nandflash MACHINE_FEATURES are invalid and
as such should not be on the BSP. Remove them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I577a9d0887a9520618188b39c0114b319a3d7217
2020-06-12 16:32:45 -03:00
Fabio Berton
78faca940e u-boot-kontron: Bump revision to 3d58441adf3
This commit includes the following changes:

    - 3d58441adf3 kontron_mx6ul: Use the SPI NOR as primary boot device to load U-Boot proper
    - f1db3d8504b kontron_mx6ul: Use 64K offset for U-Boot proper image, in SPI NOR
    - e1d78d738c6 kontron_mx6ul: Fix support for SPI NOR boot
    - c5e0df84780 kontron_mx6ul: Enable SPI NAND support

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-06-03 15:44:33 -03:00
Domarys Correa
a58f9da519 imx6qdl-pico: Fix WKS_FILES error
Fixed the name of WKS_FILES, which was not found and
had an error during the build.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: If51edd53b0f992858ad8289aed558f12d914aba0
2020-06-03 09:30:31 -03:00
Domarys Correa
b17cb68d1b cm-fx6: Remove recipe, patchs and support for not being used
Even with modifications, errors in the build of the image
persist. Since the board has not received updates in a long
time, it is being removed.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I8554a49ca9e34282d11c9613b35de4cb7f0aa181
2020-06-03 09:30:31 -03:00
Max Krummenacher
7dd7ef0331 colibri-vf: set preferred version for weston
The imx specific weston version which is otherwise set is not in
COMPATIBLE_MACHINE for Vybrids.
Prevents:
| NOTE: preferred version 8.0.0.imx of weston not available (for item weston)
| NOTE: versions of weston available: 8.0.0

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-02 15:16:50 -03:00
Otavio Salvador
32b1269f5f linux-toradex: Set 4.4.217 to LINUX_VERSION
linux-imx.inc is using kernel-yocto class and it's necessary to set
LINUX_VERSION as shown in meta-freescale commit
c7e23876b199e2cfbc2aef6bf192ef50e665b1c5

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Otavio Salvador
dc20b515e0 colibri-vf: Fix mainline and NXP BXP support
We need to support both mainline and NXP BSP support, to allow that we
need:

 - split generic and NXP BSP specific device trees
 - avoid setting the default Linux kernel if we use mainline BSP

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Otavio Salvador
a1500b3e8a colibri-imx7: Fix mainline and NXP BXP support
We need to support both mainline and NXP BSP support, to allow that we
need:

 - split generic and NXP BSP specific device trees
 - avoid setting the default Linux kernel if we use mainline BSP

This was applied for:

 - colibri-imx7-emmc
 - colibri-imx7-nand

Fixes: #78
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-29 11:19:43 -03:00
Fabio Berton
77495390f6 linux-kontron: Bump revision to 807a88195d767
This commit merges tag 'v5.4.41' into v5.4-ktn and apply the following
commits on top of it:

    - 807a88195d767 ARM: imx: Fix boot crash if ocotp is not found
    - 6c19e5d432b17 ARM: imx: Correct ocotp id for serial number support of i.MX6ULL/ULZ SoCs
    - 0399822a7ccd6 soc: imx-scu: Using existing serial_number instead of UID
    - f74ed0a5bfb86 ARM: imx: Add serial number support for i.MX6/7 SoCs
    - d33c491a73198 ARM: dts: imx6ul-kontron-n6310-s: Move common nodes to a separate file

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-26 15:16:57 -03:00
Fabio Berton
ad6f952039 u-boot-kontron: Bump revision to 1fd382a2ae2
This commit apply the following changes:

    - 1fd382a2ae2 Remove redundant YYLOC global declaration
    - 8d2e6ac9c75 kontron_mx6ul: Enable UUID command support
    - 358aca861bc kontron_mx6ul: Enable boot count support
    - 3dbb5f8ae98 kontron_mx6ul: Sync configuration using savedefconfig

Remove patches applied on upstream

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-26 15:16:57 -03:00
Otavio Salvador
8bad7d778c u-boot-kontron: Add bootcount and uuid command support
This enables few extra options for the default configuration. It
enables:

 - BOOTCOUNT_LIMIT
 - BOOTCOUNT_ENV
 - CMD_FS_UUID

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
2dfe3e63ce imx6ul-kontron: Add machine definition
This adds support for Kontron N63XX/N64XX SoM based boards and provides
following components:

- imx6ul-kontron machine definition
- u-boot-kontron recipe
- linux-kontron recipe

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
333ddeed22 linux-kontron: Add 5.4.36 recipe
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Otavio Salvador
641272021e u-boot-kontron: Add 2020.01 recipe
This includes the recipe and a backported patch (from 2020.04) to fix
the build using GCC 10.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-05-25 09:40:06 -03:00
Chris Dimich
d6effb049b linux-boundary: add support for inherited kernel-yocto class
linux-imx.inc now inherits kernel-yocto class, so LINUX_VERSION must be
defined and also define KBUILD_DEFCONFIG to inform the class to use
boundary source tree defconfig.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-05-14 09:13:24 -03:00
Fabio Berton
5b5b356b10 colibri-imx6: Use linux-toradex only for NXP BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
83bb649465 apalis-imx6: Use linux-toradex only for NXP BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
71f07459d9 colibri-imx6ull: Use linux-toradex only for NXP BSP
virtual/kernel for use-mainline-bsp is set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Fabio Berton
4e7692c833 linux-toradex: Set 4.14.159 to LINUX_VERSION
linux-imx.inc is using kernel-yocto class and it's necessary to set
LINUX_VERSION as shown in meta-freescale commit
c7e23876b199e2cfbc2aef6bf192ef50e665b1c5

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:25:08 -03:00
Chris Dimich
1a2652a85e linux-boundary: bump revision
Add support for two Boundary daughter boards DB_8MM_CSI_EXP and
DB_8MM_DSIHD. Product details can be found here:
https://boundarydevices.com/product/db_8mm_dsihd/
https://boundarydevices.com/product/db_8mm_csi_exp/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
e590ccea3e nitrogen8m: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
2cee115c26 nitrogen8mm: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
3bbb3eaa5f nitrogen8mn: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
6db61faf56 nitrogen7: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
7567cd8202 nitrogen6x: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
b4d3ccced2 nitrogen6x-lite: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
75a3dc3793 nitrogen6sx: use new BSP choosing to select NXP BSP
Explicitly use nxp option as mainline is set by default.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-29 23:15:30 -03:00
Chris Dimich
ff68b3d80e nitrogen8mn: remove unneeded tuning
Remove unneeded aarch64 tuning.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
de157f8323 nitrogen8mn: remove unneeded preferred version
Remove unneeded preferred version of linux-boundary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
f06d7201ba nitrogen8mn: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
3bea1034c5 nitrogen8mn: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per matches imx8mnevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mnevk.
Define DDR_FIRMWARE_NAME as per imx8mnevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
3716c62f15 nitrogen8mn: update MACHINEOVERRIDES
Update MACHINEOVERRIDES as per imx8mnevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
de20a7dd36 nitrogen8mm: remove unneeded tuning
Remove unneeded aarch64 tuning.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8670568384 nitrogen8mm: remove unneeded preferred version
Remove unneeded preferred version of linux-boundary.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8fd6271e58 nitrogen8mm: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
409877ec6c nitrogen8mm: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per imx8mmevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mmevk.
Define DDR_FIRMWARE_NAME as per imx8mmevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
a465a86e35 nitrogen8mm: update MACHINEOVERRIDES
Update MACHINEOVERRIDES as per imx8mmevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
125d8e33e4 nitrogen8m: use imx-atf-boundary recipe
Use imx-atf-boundary as preferred provider of imx-atf.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
8bf3414ad6 imx-atf-boundary_2.3: add recipe
Add custom imx-atf applicable only to Nitrogen8m, Nitrogen8mm and
Nitrogen8mn, which pulls from Boundary's imx-atf. This is done because
meta-freescale imx-atf_2.0 sets the RDC so that UART4 is only accessible
by M4 core.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
191632825a nitrogen8m: update u-boot configuration
Use UBOOT_CONFIG instead of UBOOT_MACHINE, as per imx8mqevk.
Define IMAGE_BOOTLOADER and IMXBOOT_TARGETS as per imx8mqevk.
Define DDR_FIRMWARE_NAME as per imx8mqevk.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Chris Dimich
f659fca91a u-boot-boundary: fix u-boot-nodtb.bin deploy path
This is in response to imx-boot throwing error in do_compile for mx8
machines.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-27 09:40:31 -03:00
Carlos Rafael Giani
e55a348857 nitrogen8*: Include tune-cortexa53.inc instead of generic arch-arm64.inc
This fixes the following build error:

> Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto} nitrogen8m) for DEFAULTTUNE (cortexa53-crypto) does not contain TUNE_PKGARCH (${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'aarch64', '${ARMPKGARCH_tune-cortexa53-crypto}' ,d)}).Toolchain tunings invalid:
> Tuning 'cortexa53-crypto' has no defined features, and cannot be used.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-20 15:30:07 -03:00
Otavio Salvador
27757cab9f imx6sl-warp: Use mainline BSP instead of NXP one
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-11 21:40:35 -03:00
Otavio Salvador
24086161c0 Use new BSP choosing method for mainline based machines
We now choose the BSP in a generic way and this commit changes the
machines to use the new mechanism setting it to mainline one.

Following changes are changed:

 - imx6qdl-pico
 - imx6ul-pico
 - imx7d-pico
 - imx7s-warp
 - wandboard

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-11 17:07:35 -03:00
Chris Dimich
88b4ceeb62 nitrogen8mn: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-nano/

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
7218c1ac6a u-boot-script-boundary: add nitrogen8mn as COMPATIBLE_MACHINE
Support building for nitrogen8mn

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
4896442c20 u-boot-boundary: add nitrogen8mn as COMPATIBLE_MACHINE
Support building for nitrogen8mn

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
cb4e89cdea u-boot-boundary: bump revision to 17fe0ef3
Add support for Nitrogen8M Nano (nitrogen8mn)

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Chris Dimich
5703a10283 linux-boundary: bump revision to 04026177
Add support for Nitrogen8M Nano (nitrogen8mn)

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-09 17:51:19 -03:00
Otavio Salvador
bd63e44319 u-boot-toradex: Remove fw_unlock_mmc.sh as libubootenv manages it
The script is not required as libubootenv handles the unlock
automatically, so we can drop it now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-03 09:56:21 -03:00