Commit Graph

324 Commits

Author SHA1 Message Date
Max Krummenacher
70b0915b8c u-boot-toradex: build nand padded binary
Completes 174762ee25 for colibri-vf.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 09:20:07 -03:00
Otavio Salvador
cda11dc260 imx7d-pico: Add ATH10K firmware
The new revisions of the SoM use the Atheros QCA9377 WiFi chip and to
allow its use out of box we need to add the firmware for the default
installation set.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-27 20:30:04 -03:00
Otavio Salvador
f646765836 imx6qsabrelite: Remove machine definition
We have been carrying this machine for a while to easy the transition to
the nitrogen6x and now it is time to drop it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I99b014cc5418c83fd2229645bdd76669341abf38
2020-03-27 20:24:34 -03:00
Max Krummenacher
174762ee25 u-boot-toradex: build nand padded binary
The machines using raw NAND flash need a binary which prepends u-boot.imx
with 1k byte for easier flashing.
With u-boot-toradex_2019.07 the u-boot-nand.imx target no longer exists.
so build that binary separately in do_configure.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-27 19:21:38 -03:00
Fabio Berton
0858c7fa5b colibri-imx7-nand: Rename colibri-imx7.conf -> colibri-imx7-nand.conf
The previous commit adds machine file colibri-imx7-emmc that is used for
Colibri iMX7 with eMMC device, as the current colibri-imx7 is for
Colibri iMX7 with NAND device rename machine file accordingly.

Add colibri-imx7 to MACHINEOVERRIDES to maintain compatibility with
recipes that need to handle with the old name.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -03:00
Fabio Berton
9d83162060 colibri-imx7-emmc: Add machine configuration for Colibri iMX7 Dual 1GB (eMMC)
This machine configuration was copied from:

https://git.toradex.com/cgit/meta-toradex-nxp.git/tree/conf/machine/colibri-imx7-emmc.conf

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -03:00
Fabio Berton
ea469689c5 conf/layer.conf: Rename BBFILE_COLLECTIONS to match layer name
BBFILE_COLLECTIONS was using the old layer name, rename to match
the new name.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 10:54:35 -03:00
Chris Dimich
57e8a171e6 nitrogen7.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
609547d3ea nitrogen6x.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
2d24b0df1e nitrogen6x-lite.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
ef190f5fd5 nitrogen6sx.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
2fc4af491d imx6qsabrelite.conf: Update maintainer
Ian Coolidge has been replaced by Chris Dimich at Boundary

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
8bb4fdbb27 nitrogen8m: Update configuration
Add support for more board variants
Update maintainer.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
88791e3a87 nitrogen8mm: Add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-mini/

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Pierre-Jean Texier
266fc8ffbb layer.conf: add dunfell to compat layer
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-16 08:42:04 -03:00
Khem Raj
aea3771baa layer: Mark zeus as compatible release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-09 16:34:32 -03:00
Ming Liu
e6b784734a colibri-imx6.conf: drop _append overrides
A regress was introduced by me in commit 9a96fb93:
[ meta: change "+=" to "_append" for use-mainline-bsp overrides ]

a "+=" operator was changed to "_append" in that commit which is wrong
because that makes some non-existing dtb files being put into
KERNEL_DEVICETREE, hence leads build issue for mainline kernel.

Drop the "_append", change "+=" to "=" would be enough.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-09-21 12:24:48 -03:00
Stefan Agner
0b03d2fdc1 apalis-imx6: build all device trees available upstream
At least since 4.14 all device trees are available in upsteram Linux
as well so drop the unnecessary use-mainline-bsp override.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-09-20 10:40:30 -03:00
Ming Liu
9a96fb93f1 meta: change "+=" to "_append" for use-mainline-bsp overrides
The "KERNEL_DEVICETREE_use-mainline-bsp +=" would override any other
assignment like:
- "KERNEL_DEVICETREE +="
- "KERNEL_DEVICETREE ="
- "KERNEL_DEVICETREE ?="
- "KERNEL_DEVICETREE ??="

change it to "_append" could fix the problem.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-09-16 07:41:46 -03:00
Fabio Berton
7a20b21479 Fix WKS_FILE to use files with .in extension
meta-freescale commit 6be9d197386b5c3bd72023981df805d42f87684c
renamed imx-uboot-spl-bootpart.wks to imx-uboot-spl-bootpart.wks.in
The .in extension in wks files allows bitbake variables to be used in
kickstarter files. Set WKS_FILES for all machines to match this new
filename.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-08-13 08:11:40 -03:00
Joris Offouga
cc6475e9a6 imx7d-pico: Update settings for U-Boot 2019.07
Since DM conversion, we have to adjust the binary name.
Also changes wks file for fix generation image

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
2019-07-11 09:59:47 -03:00
Fabio Berton
cab5b63d6f imx6qdl-pico: Add machine configuration
Add machine definition forimx6qdl-pico board.

For more information about this SOM, please visit:

https://www.technexion.com/products/pico-compute-modules/detail/PICO-IMX6

This machine definition support PICO-DWARF, PICO-HOBBIT, and PICO-NYMPH baseboards.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
f8f2715cdf imx7d-pico: Add dwarf and nymph configs to U-Boot
Enable U-Boot support for TechNexion PICO-DWARF and PICO-NYMPH
baseboards.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Fabio Berton
dda00b33c7 imx6ul-pico: Add dwarf config to U-Boot
Enable U-Boot support for TechNexion PICO-DWARF baseboard.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-06-27 16:52:40 -03:00
Andreas Müller
ca9029c944 imx6qdl-variscite-som: use linux-fslc-lts-4.19 when selecting mainline
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-22 09:03:23 -03:00
Alex Gonzalez
c49b5a14b9 ccimx6ulsom: Add wireless driver and firmware files
The ConnectCore 6UL SOM contains a Qualcomm QCA6564A wireless and Bluetooth
chipset with the following features:

* Dual band 5GHz 802.11ac or 2.4/5GHz 802.11n support
* Open, WPA and WPA2 personal and enterprise authentication
* AES/TKIP encryption
* Station, softAP and Wi-Fi direct modes
* FCC compliant US regulatory domain support
* Bluetooth 4.2, backwards compatible with older standard revisions

This commit builds an out-of-tree driver for it as well as installs
firmware files for both Wi-Fi and Bluetooth.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Fabio Berton
40a05f3b8c imx6ul-pico: Add support to PICO-DWARF baseboard
See informations about PICO-DWARF baseboard here:

https://www.technexion.com/products/pico-baseboards/detail/PICODWARF
2019-04-17 10:58:54 -03:00
Fabio Berton
41d642e35e imx7d-pico: Add support to PICO-DWARF baseboard
See informations about PICO-DWARF baseboard here:

https://www.technexion.com/products/pico-baseboards/detail/PICODWARF
2019-04-17 10:58:54 -03:00
Pierre-Jean Texier
55356fd749 imx7s-warp: Update settings to use U-Boot 2019.04
Since DM conversion, we have to adjust the binary name.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-04-12 17:32:54 -03:00
Fabio Berton
2e80c704ba conf/layer.conf: Drop sumo and thud support
If you want to use theses branches, use the respective platform.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-04-02 15:35:25 -03:00
Khem Raj
42c75f98ce layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-01 18:58:24 -07:00
Alex Gonzalez
daaa2362e7 ccimx6ulsbcpro: Add machine configuration
The ConnectCore 6UL Single Board Computer (SBC) Pro contains the
ConnectCore 6UL System-On-Module.

Its hardware specifications are:

    * 256MB DDR3 memory
    * On module 256MB NAND flash
    * Dual 10/100 Ethernet
    * USB Host and USB OTG
    * Parallel RGB display header
    * LVDS display header
    * CSI camera
    * GPIO header
    * I2C, SPI, CAN headers
    * PCIe mini card and micro SIM slot
    * MicroSD external storage
    * On board 4GB eMMC flash
    * Audio headphone, line in/out, microphone lines

The build artifacts are:

U-Boot images: u-boot.imx
Linux partition image: <image name>.boot.ubifs
Root filesystem image: <image name>.ubifs

Root filesystem tarball (for network booting): <image name>.tar.bz2

To program a board from the U-boot prompt, copy the U-Boot, Linux and
root filesystem partition images to your TFTP server root and do:

env set ipaddr <target ip address>
env set serverip <TFTP server ip address>
update uboot tftp u-boot.imx
update linux tftp <image name>.boot.ubifs
update rootfs tftp <image name>.ubifs

More details about the SBC can be found at:
https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-for-i-mx6ul-sbc-pro

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
3597f8b063 ccimx6ulsbcexpress: Separate machine configuration into SOM and board
This commit prepares for the introduction of a second ConnectCore 6UL
System-On-Module based board by grouping the SOM configuration into its
own file avoiding code redundancy.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Pierre-Jean Texier
75de4ee0c2 imx7s-warp: Add bcm43430 nvram config
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-03-06 09:31:00 -03:00
Fabio Berton
3b60f3e31a imx7d-pico: Add wic.bmap to IMAGE_FSTYPES
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-25 15:36:13 -03:00
Fabio Berton
86a0899190 imx6ul-pico: Add wic.bmap to IMAGE_FSTYPES
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-25 15:36:13 -03:00
Fabio Berton
238f168a0a Stop using SERIAL_CONSOLE and switch all boards to SERIAL_CONSOLES
From meta-freescale commit 2e83203ebd8439a45bc7a931ace6871e6b238658

SERIAL_CONSOLE has been deprecated for a while now (see [1]). This
patch fixes the machines that where still using the old variable.

[1]: https://www.yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#migration-2.6-serial-console-deprecated

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-20 10:29:23 -03:00
Troy Kisky
8b38f230d4 nitrogen8m: fix build issues due to missing mx8/mx8m
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-02-08 15:30:59 -02:00
Gonzalez, Alex
56021ac593 ccimx6ulsbcexpress: Add initial board configuration
The ConnectCore 6UL Single Board Computer (SBC) Express contains the
ConnectCore 6UL System-On-Module.

Its hardware specifications are:

* 256MB DDR3 memory
* 256MB NAND flash
* Single Ethernet
* USB Host and USB-OTG
* MicroSD external storage
* Groove connectors and Raspberry Pi Hat compatible expansion heade

The build artifacts are:

U-Boot images: u-boot.imx
Linux partition image: <image name>.boot.ubifs
Root filesystem image: <image name>.ubifs

Root filesystem tarball (for network booting): <image name>.tar.bz2

To program a board from the U-boot prompt, copy the U-Boot, Linux and
root filesystem partition images to your TFTP server root and do:

env set ipaddr <target ip address>
env set serverip <TFTP server ip address>
update uboot tftp u-boot.imx
update linux tftp <image name>.boot.ubifs
update rootfs tftp <image name>.ubifs

More details about the SBC can be found at:
https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-for-i-mx6ul-sbc-express

The ConnectCore 6UL SBC Express includes a ConnectCore 6UL
System-On-Module with the following specification:

* Based on a NXP i.MX6UL SoC
* Industrial temperature ranges (-40ºC to +85ºC)
* Up to 1GB DDR3 memory
* Up to 2GB NAND flash
* Dual Ethernet
* On module 802.11 WiFi and Bluetooth 4.2 (QCA6564)
* On module NXP Kinetis KL03
* On module Microchip ATECC508A crypto element

More details about the SOM can be found at:
https://www.digi.com/products/embedded-systems/system-on-modules/connectcore-for-i-mx6ul

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:21:34 -02:00
Ming Liu
58c1ce8b43 u-boot-toradex-fw-utils: add new recipe
I observed a following build issue:
| ***
| *** Can't find default configuration "arch/../configs/colibri_imx7_emmc_defconfig"!
| ***
| scripts/kconfig/Makefile:128: recipe for target 'colibri_imx7_emmc_defconfig' failed

it's due to the colibri_imx7_emmc_defconfig does not exist in the
source, because u-boot-toradex and u-boot-fw-utils are not built from
same source. so the toradex machine specific uboot configs do not
present in the default u-boot-fw-utils source.

To fix it, a new u-boot-toradex-fw-utils recipe is added, it uses the
same source with u-boot-toradex, some common code is split out to
u-boot-toradex.inc, to be shared by both u-boot-toradex and
u-boot-toradex-fw-utils.

And we need set PREFERRED_PROVIDER and PREFERRED_RPROVIDER in machine
configs to u-boot-toradex-fw-utils.

Some files derive from u-boot-toradex-fw-utils recipe of:
git://git.toradex.com/meta-toradex-nxp.git

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:17:10 -02:00
Otavio Salvador
6e2ad96fce imx7d-pico: Add bcm4339 nvram config
This adds the bcm4339 nvram configuration which allows the use of WiFi
connectivity out of box, using latest Linux FSLC release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-29 10:16:39 -02:00
Otavio Salvador
d7e9491a88 imx6ul-pico: Add wic.xz as default image set
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-27 14:37:03 -02:00
Otavio Salvador
995a304164 imx7d-pico: Add wic.xz as default image set
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-27 14:36:21 -02:00
Otavio Salvador
bf649e408d imx7d-pico: Add PICO-Hobbit baseboard support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-23 09:06:37 -02:00
Otavio Salvador
9b312590b5 imx6ul-pico: Add PICO-Pi baseboard support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-23 09:06:37 -02:00
Khem Raj
66f45b2833 layer.conf: Add thud to compatible layer series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-01 14:59:03 -03:00
Andreas Müller
8f21668793 imx6qdl-variscite-som: Add support for use-mainline-bsp/linux-fslc
Tested:

* HDMI
* MMC
* eMMC (mounted)
* NAND (kernel log - no partitions)
* RTC
* USB-Host
* Ethernet
* WiFi
* Bluetooth
* serial console

Open:

* HDMI sound
* Onboard sound (ALSA looks good has no phones connected yet)
* User-Button
* USB-OTG

Cannot test:

* CAN

Additional comments:

1. The way, the dt-files are copied into the kernel sources is not state of the
   art. But since this is some work in progress it makes my worklow a lot easier.
2. My target is to send dt-files to mainline kernel but they are not yet ready
   for that 'environment'. Once done I'll send backports to meta-fslc and 1.
   can go.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-18 16:36:33 -03:00
Andreas Müller
c9318748f1 imx6qdl-variscite-som: prefer "cortexa9thf-neon" for DEFAULTTUNE
It is mx6 default but gets lost for use-mainline-bsp override:
In meta-freescale/conf/machine/include/imx-base.inc
MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp contains
all mx6 variants. So all mx6.. overrides are are filtered which
is usually fine but not for DEFAULTTUNE: Without this patch
armv7hf-neon is build.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-18 16:35:29 -03:00
Andreas Müller
0736ea5ba4 imx6qdl-variscite-som:set linux-fslc as preferred for use-mainline-bsp override
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-17 16:36:39 -03:00
Otavio Salvador
0c107a6643 imx6ul-pico: Move MACHINE_FEATURES definition
The MACHINE_FEATURES definition usually goes near the end of machine
file as it makes easier to compare the contents related to kernel,
bootloader and other general aspects of BSP.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00