Commit Graph

835 Commits

Author SHA1 Message Date
Fabio Berton
4db145b566 Allow override IMX_DEFAULT_BSP for Nitrogen machines
Set a weak assignment for IMX_DEFAULT_BSP before include the
imx-base.inc to allow override IMX_DEFAULT_BSP in local.conf file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-10-16 17:45:54 -03:00
Khem Raj
9302b5675c layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 16:58:43 -03:00
Gary Bisson
ac7476ea5a u-boot-boundary: do not install mkimage_uboot any longer
As this now conflicts with imx-boot which already does it.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2020-10-02 09:25:27 -03:00
Fabio Berton
07718ba790 u-boot-boundary: Bump revision to a4aac9a3fb
This commit includes the following changes:

    - a4aac9a3fb boundary: bootscripts: Fix if statement that set fdt_file
    - e13316a01b imx: remove unused 8mn evk dtsi
    - 0b385a75d0 rta: remove pull-up from sd card pinctrl, use external pullups
    - a86d4d563a rta: change from sd1 as SDIO to SD card
    - 05924a028a bio: add Android 10 support
    - 6f984dd4c7 fastboot: getvar: add mmc_size option
    - 0a5a7687c0 nitrogen51_vm: add VD_OKAYA_480_272_IPU
    - 462224c2d8 fbpanel: add FBF_USE_IPU_CLOCK
    - 8a288f8beb nitrogen8_lite: initial addition, Boundary Devices board
    - 629e725dab boundary: common: CONFIG_FEC_RESET_PULLUP default yes for i.MX8MM/i.MX8MN
    - 6e77991db3 nitrogen8mm: s/GP_I2C2_SN65DSI83_EN/GP_SN65DSI83_EN/

Remove upstream applied patch from u-boot-script-boundary recipe.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-09-30 09:53:46 -03:00
Fabio Berton
7f47a9f752 u-boot-script-boundary: Fix mainline bootscript
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-09-29 17:46:31 -03:00
Leon Anavi
ec79fcfa2c alsa-state.bbappend: Fix asound.conf for cubox-i
Fix /etc/asound.conf and enable sound out of the box with the
default machine configurations for cubox-i and hummingboard.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-09-23 16:08:42 -03:00
Otavio Salvador
e2d8ca6011 Drop unused IMAGE_BOOTLOADER variable
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-09-04 13:52:27 -03:00
Chris Dimich
83644f2ea0 u-boot-boundary: Bump revision to eae0188
LPDDR4 init updates
Android security features enabled
Fixed env import
Enabled HAB for i.MX 8M family
Fixed Nano board support
Fixed build with GCC10
Fixed i.MX 8M Mini ARM PLL choice

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-08-27 17:54:37 -03:00
Daiane Angolini
086ca01665 linux-congatec: Add LINUX_VERSION
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
2020-08-26 17:24:14 -03:00
Fabio Berton
3c8bede6b4 linux-variscite: Update to version 4.14.x
- Sync defconfig with imx_v7_var_defconfig
 - Remove old patches
 - Change recipe to use kernel-yocto.bbclass
 - KERNEL_IMAGETYPE need to set in machine conf file, drop it
 - Move COMPATIBLE_MACHINE to bottom

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-08-25 17:03:04 -03:00
Fabio Berton
c3301c42db u-boot-variscite: Update to version 2018.03
- Update to the latest stable release
  - Drop unused patch
  - Adjust recipe to build with newer Yocto Project
    versions (Gatesgarth and Dunfell)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-08-25 17:03:04 -03:00
Otavio Salvador
cf2ab8d76c ccimx6ul: Remove remaining files
When removing the machine we ended not removing all files. This removes
all the related ones.

Fixes: e50d808 "ccimx6ul*: Drop unbuildable boards"
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-08-21 13:11:35 -03:00
Chris Dimich
9000d8b388 linux-boundary: add 5.4.50 recipe
Based on NXP imx_5.4.24_2.1.0 release.
Includes latest stable releases, hence 5.4.x naming.
Includes support for all Boundary Devices platforms + accessories.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-07-27 17:54:08 -03:00
Domarys Correa
12cd5c015b tx6-*: Remove broken and unmaintained machines
Recipe of u-boot-karo has not been maintained for years; more recent
support does not cover the use of updated linux kernel and is not
compatible with dunfell.

Removed u-boot-karo, linux-karo and the machine configurations.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I02645c9f88e648c143b82c4baa89491a1baff934
2020-07-27 15:33:04 -03:00
Domarys Correa
c15c74ad1c pcm052: Remove un-maintained board
The board is not building and received no maintenance, so it is being
removed along with linux-timesys that provides support for it.

kernel-module-mcc and libmcc2 were removed as they provided support
for pcm052 only.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I997059c1824484df8c11c9b31b2dae6e989430e7
2020-07-27 09:23:30 -03:00
Jens Rehsack
340a581013 conf/machine/lx2160acex7.conf: add preferred kernel
As Freescale Community, we prefer of course the use of our provided kernel.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:57:22 -03:00
Jens Rehsack
63c6593262 linux{,-fslc}-qoriq: share lx2160acex7 with linux-qoriq
Solid-Run's official BSP provides linux-patches against linux-qoriq kernel
instead of using linux-fslc branches or an own one with stable updates.
To support comparable conditions with provided BSP, support patches can be
used with NXPs kernel as well as with FSL Community QorIQ kernel.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:57:22 -03:00
Jens Rehsack
13c782bfe4 .gitignore: add developer patterns
Add some patterns which are result of typical development jobs.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
41e403e082 machine/lx2160acex7.conf: enable lx2160acex7 support
With all required components as dependency added:
* rcw
* atf
* mc-utils
* u-boot
* linux
* wic template
... go ahead to enable building for Honeycomb or Clearfog LX2 if you are a
lucky one who could get one :)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
630156a377 wic/lx2160acex7.wks.in: add wic template for lx2160acex7
Add a template to build an SD-card or an eMMC flashable image for Solid-Runs
LX2160A based CEx7 platform.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
a82d17717e u-boot-script-qoriq: introduce QorIQ u-boot-script
Introduce a script which is able to be used for any QorIQ boot situation
(with some adoption) to favour distro_boot over fallback sd_boot or alike
hacked by NXP.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
bd0f35ad04 linux-fslc-qoriq: add lx2160acex7 support
Add support for Solid-Runs LX2160A based COM Express Type 7 Module and
machines built upon that module (see
https://www.solid-run.com/nxp-lx2160a-family/).

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
0997a74f95 u-boot-qoriq: add lx2160acex7 support
Add support for Solid-Runs LX2160A based COM Express Type 7 Module (see
https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/).

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
d2ea9af438 mc-utils: introduce lx2160a support
Add support for management-console and linux configuration of components
accessible by Solid-Runs LX2160A based COM Express Type 7 Module.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
c897e8a9ed atf: introduce lx2160acex7 support
Add support for platform build upon Solid-Run's new COM Express Type 7
for NXPs LX2160A (https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/)
to ARM Trusted Firmware implementation.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Jens Rehsack
8ca8ce1ba0 rcw: introduce lx2160acex7 support
Add support for Solid-Runs new LX2160A COM Express Type 7 Module (see
https://www.solid-run.com/nxp-lx2160a-family/cex7-lx2160/) to NXPs
Reset Config Word infrastructure.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-23 09:44:16 -03:00
Domarys Correa
ed741d39ce m28evk, m53evk: Remove un-maintained boards
The board are in unbuildable state for long time and they were
removed from U-Boot mainline in 2018 and nobody noticed so it
is clearly not in use.

This commit removes both boards and respective recipes from
the layer.

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: Ica122e72a0c357bba5924916c30a73d0874fae80
2020-06-22 17:59:59 -03:00
Domarys Correa
ccb7065f94 imx6q-dms-ba16: Fix build error and update linux-advantech
Old recipe had construction error due to virtual / kernel and updated linux 4.9 -> 5.4

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I8d37a7766749421b41124ee5147fc3df65358edc
2020-06-22 17:59:59 -03:00
Domarys Correa
596502a9eb u-boot-variscite: Update to latest rev
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Change-Id: I4b4b4d1661ec5ae781e5e3ad51521ad381642edb
2020-06-22 17:59:59 -03:00
Andreas Müller
3eab806887 u-boot-variscite: Add UBOOT_INITIAL_ENV = ""
The version of u-boot-variscite does not support target 'u-boot-initial-env'
yet so build fails with:

| make[1]: *** No rule to make target 'u-boot-initial-env'.  Stop.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-18 13:42:47 -03:00
Andreas Müller
9cbbdfae65 u-boot-variscite: add bc-native to DEPENDS
It seems building recent u-boot does not require native bc any more. So
while moving on it seems oe-core removed it from u-boot.inc so we need to add
it.

Fixes:
| /bin/sh: bc: command not found

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-18 13:42:47 -03:00
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