Commit Graph

901 Commits

Author SHA1 Message Date
Fabio Berton
e91064ea09 bcm4339-nvram-config: Enable support to imx6ul-pico machine
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
Andreas Müller
45c58608e0 add support for linux-fslc-lts-4.19
The defaults were taken from linux-fslc

| commit 75de4ee0c2
| Author: Pierre-Jean Texier <pjtexier@koncepto.io>
| Date:   Sat Feb 23 17:28:39 2019 +0100
|
|     imx7s-warp: Add bcm43430 nvram config
|
|     Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>

With the next commit

| commit 5d88f226ed
| Author: Alex Gonzalez <alex.gonzalez@digi.com>
| Date:   Tue Feb 26 10:29:15 2019 +0100
|
|     linux-fslc: ccimx6ul: Adapt to v4.20
|
|     * Adapt patches to v4.20
|     * Remove patches that are already included in the v4.20 kernel
|
|     Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>

linux-fslc moved to 4.20 and patches were adjusted.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-22 09:03:23 -03:00
Alex Gonzalez
12769c06e7 init-ifupdown: ccimx6ulsbcpro: Add Wi-Fi interfaces to the interfaces file
The ConnectCore 6UL SBC Pro has a Wi-Fi interface with support for both
station and softAP modes.

This commit adds an interfaces file that defines a wlan0 interface for the
station mode, a wlan1 interface for the softAP mode.

Note that for softAP functionality to work, MAC addresses for the virtual
wireless interfaces need to be programmed in the uboot environment with:

env set wlan1addr aa:cc:cc:xx:yy:zz
env set wlan2addr aa:cc:cc:xx:yy:zz
env set wlan3addr aa:cc:cc:xx:yy:zz

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
3ca520ba95 init-ifupdown: ccimx6ulsbcexpress: Add wi-Fi interfaces to interfaces file
The ConnectCore 6UL SBC Express has a Wi-Fi interface with both station
and softAP functionality. This interfaces file adds the wlan0 interface for
station and wlan1 interface for softAP.

Note that for softAP functionality to work, MAC addresses for the virtual
wireless interfaces need to be programmed in the uboot environment with:

env set wlan1addr aa:cc:cc:xx:yy:zz
env set wlan2addr aa:cc:cc:xx:yy:zz
env set wlan3addr aa:cc:cc:xx:yy:zz

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
1d86d8eea7 linux-fslc: ccimx6som: Add support for wireless module variants
The ConnectCore 6UL System-On-Module comes on different hardware
variants. This commit adds support for the wireless variant with
Qualcomm's QCA6564 WiFi / Bluetooth chipset.

* Modifies the device tree to add the SDIO wireless interface
* Patches the Linux kernel with QCA6564 specific feature additions
* Adds the unused HOSTAP module to the configuration so that the WEXT
  config option is selected, even though the module won't be added to
  to the target. Out-of-tree drivers have no way of selecting the legacy
  WEXT support needed for the QCA6564.
* Removes the probe locking feature from the configuration as the
  QCA6564 driver is not as well designed and it oops with warnings:
* Configure Bluetooth RFCOMM support in the kernel
* Sets the quality of the RNG so that it can be used by the kernel

[   19.479089] ============================================
[   19.484423] WARNING: possible recursive locking detected
[   19.489761] 4.19.5-fslc+g093a10401c15 #1 Tainted: G           O
[   19.496135] --------------------------------------------

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -03:00
Alex Gonzalez
017994915c udev-rules-digi: Add udev rules for Digi International SOMs
This new package contains udev rules for the Digi International SOMs and
SBCs.

It initially contains only rules for the qca6564 Wi-Fi and BT and for the
ccimx6ul SOM, but it will get extended to cover other interfaces and
SOMs.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-05-22 09:02:48 -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
Max Krummenacher
a38e633379 README: use pull requests for contributing
The project now expects contributions being made through
GitHub's pull-request feature. Reflect that in the README.

Text mostly taken from the README in meta-qt5.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-08 08:05:42 -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
Fabio Berton
0cd45e26bf
Merge pull request #17 from YoeDistro/yoe/mut
layer.conf: Add warrior to compatible release series
2019-04-02 14:40:01 -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
b4d2c84622 init-ifupdown: ccimx6ulsbcpro: Add interfaces file
The ConnectCore 6UL SBC Pro has two wired ethernet interfaces. This commit
adds an interfaces file with both eth0 and eth1 interfaces.

Note that the ethernet interface that is enabled in U-Boot is the eth1
interface in the Linux kernel.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03: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
a7ac8d4ca9 u-boot-digi: Generalize boot script
Generalize the boot script used to boot Linux so that it can be shared
by multiple ConnectCore 6UL SOM based boards.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-03-06 13:35:19 -03:00
Alex Gonzalez
6093ee4713 init-ifupdown: ccimx6ulsbcexpress: Add interfaces file
Adapt the interfaces file to the single wired ethernet available on the
ConnectCore 6UL SBC Express board.

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
Alex Gonzalez
5d88f226ed linux-fslc: ccimx6ul: Adapt to v4.20
* Adapt patches to v4.20
* Remove patches that are already included in the v4.20 kernel

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
6b96039a83 README: Update branch name
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-20 10:29:23 -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
47848bff94 linux-fslc: ccimx6ulsbcexpress: Adapt to v4.19
The ConnectCore 6UL SOM and SBC Express are already included in upstream
v4.19.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-01-10 11:04:57 -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
Gonzalez, Alex
faa6023723 linux-fslc: Add support for the ConnectCore 6UL SoM and SBC Express
The support for the ConnectCore 6UL SOM and SBC Express is available in
v4.19 so it is added as patches here.

The GPMI BCH layout change is needed to match the kernel with the
NXP IMX vendor based U-Boot used in the ConnectCore 6UL SOM.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:21:14 -02:00
Gonzalez, Alex
5becc9a6d4 u-boot-digi: Add Digi U-Boot for ConnectCore System-On-Modules
This vendor U-Boot is based on v2017.03 and currently supports two
ConnectCore 6UL memory variants, 256MB and 1GB.

To program this U-Boot from a running TFTP server
type the following at the U-Boot prompt:

env set ipaddr <target IP address>
env set serverip <TFTP server IP address>
update linux tftp <filename>

Where filename is:

* u-boot.imx-ccimx6ulstarter - for 256MB variants
* u-boot.imx-ccimx6ulstarter1GB - for 1GB variants

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:20:32 -02:00
Javier Viguera
a57ad4dd0e classes/image_types_digi: Image types for Digi ConnectCore modules
This patch adds a new boot.ubifs image type that is programmed into the
boot partition of the NAND based ConnectCore modules.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:19:57 -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
Khem Raj
c3d7adee65 u-boot-gateworks-imx: Fix parsing errors
Bitbake assignments cannnot be non-quoted on RHS, fixes parsing errors

Parsing recipes...ERROR: ParseError at
/mnt/jenkins/workspace/yocto-world-glibc/sources/meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-gateworks-imx_2015.04.bb:13:
unparsed line: 'S = ${WORKDIR}/git'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
2018-12-12 23:32:35 -02:00
Sandra Tobajas
1ae682b2f7 u-boot-gateworks-imx: fix recipe building
Add the git repository in the recipe in order to build u-boot for
Gateworks imx6 boards.

Signed-off-by: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
2018-12-12 07:21:00 -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
Gary Bisson
4c2970233f u-boot-boundary: bump revision to ca185fc7
Main changes are:
- Fix blkcache to match page size
- Add LCM JM430 display support
- Add LTK0680YTMDB display support
- Fix DDR initialization
- Fix M4 loading/booting

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:07:28 -02:00
Gary Bisson
220aa8a7ee linux-boundary: bump revision to a141bcc8
Main changes are:
- Merge v4.9.128 stable release
- Enable Cypress cyttsp5 touch controller
- Fix i.MX8MQ HDMI audio bitrates
- Add EETI EXC3000 touch support
- Add LCM JM430 display support (MIPI to LCD)
- Fix i.MX8MQ DCSS colors issue (REC.709)
- Enable Sitronix st1633 touch controller

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:07:14 -02:00
Gary Bisson
a836871fd1 linux-boundary-rt: remove unmaintained version
Now that the kernel headers are fixed to 4.9 in meta-freescale, 3rd
party kernel better match that same version.

We currently do not have the bandwidth to maintain such RT version so
remove it to avoid confusion.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-16 15:06:57 -02:00
Ken Lin
8b290b1515 linux-advantech: Update dms-ba16 Q7 Linux kernel
Update with the ARMv7 defconfig to enable IPU and display

Signed-off-by: Ken Lin <ken.lin@advantech.com>
Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-11-08 16:30:42 -02:00
Khem Raj
9ff090335d u-boot-boundary-fw-utils: Don't extend to be a cross recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-27 15:03:59 -03:00
Khem Raj
f18ad6fe4d u-boot-boundary-fw-utils: Limit the target to imx machines only
It fails to build for non-arm machines anyway since it does not provide
the needed env file for anything other than arm and aarch64

Let cross version build too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-15 09:15:56 -03:00
Ian Coolidge
f5573c6b9c u-boot-boundary: Update to v2018.07
From: Ian Coolidge <ian@boundarydevices.com>

Compatible with nitrogem8m board

Blog post: https://boundarydevices.com/u-boot-v2018-07/

Signed-off-by: Ian Coolidge <ian@boundarydevices.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-06 11:53:29 -03: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