Commit Graph

886 Commits

Author SHA1 Message Date
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
Gary Bisson
3f892ee6b5 linux-boundary: bump revision to 0d15f927
Changelog summary:
- Includes stable v4.9.126
- Adds OV5640 MIPI support for our Nitrogen8M
- Improves SDIO perf for WiFi/BT & eMMC
- Improves SPI display support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-22 00:16:43 -03:00
Otavio Salvador
46d30c2f83 linux-fslc: Avoid error for non-Variscite machines
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-22 00:13:24 -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
Andreas Müller
fede5aee6e u-boot-variscite: upgrade 2015.04 -> 2017.03
* Licence
    have no idea what changed in the license file README. For
    plausibility a grep here on checksum a2c678cfd4a4d97135585cad908541c6 unveiled:

    recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc
    recipes-bsp/u-boot/u-boot-toradex.inc
    recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc

    All these set license to GPLv2+ - so we should be fine.

* Fix-the-compile-issue-under-gcc6.patch
    Later versions of u-boot support a version independent gcc header file
    making the patch obsolete

* COMPATIBLE_MACHINE
    resrict to imx6qdl-variscite-som

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-17 16:35:59 -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
Otavio Salvador
38462fcb53 imx6ul-pico: Use new U-Boot SPL support
This rework the board to use the SPL support and also change the wic
template accordingly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00
Otavio Salvador
2a50e505d4 imx6ul-pico: Use 'use-mainline-bsp' override
We are using the mainline BSP so we ought to opt-out the NXP-specific
changes as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-14 11:37:43 -03:00
Jean-François Têtu
e7b82f00de u-boot-script-gateworks-imx: fix bootscript source
Currently, the recipe uses the script found relative to ${THISDIR}.
Using ${THISDIR} prevents other recipes from using FILESEXTRAPATHS to
overwrite the default boot script. This commit fixes this by using
${WORKDIR} instead.

Signed-off-by: Jean-François Têtu <jean-francois.tetu@savoirfairelinux.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-07 16:27:38 -03:00
Fabio Berton
9bc8e34a80 u-boot-toradex: Use dtc-145 class
commit 040e4f031f2dc581c48253405da9036def035b68 (HEAD -> dev, ssh-push/master-next, ssh-push/master)
Author: Max Krummenacher <max.krummenacher@toradex.com>
Date:   Mon Jul 23 22:13:19 2018 +0200

    dtc-145: Deploy renamed binary only and add new class

    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: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-31 09:45:40 -03:00
Fabio Berton
47188eceab u-boot-boundary: Use dtc-145 class
From meta-freescale commit:

commit 040e4f031f2dc581c48253405da9036def035b68
Author: Max Krummenacher <max.krummenacher@toradex.com>
Date:   Mon Jul 23 22:13:19 2018 +0200

    dtc-145: Deploy renamed binary only and add new class

    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: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-31 09:44:24 -03:00
Gary Bisson
f602be09ca u-boot-boundary: fix build in master branch
Since master now uses dtc 1.4.6, need to use the 1.4.5 in order to
build older U-Boot versions like 2017.03.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-24 18:05:32 -03:00
Max Krummenacher
4cf1272b94 colibri-imx6ull: add machine configuration
The Toradex Colibri iMX6ULL computer module is based on i.MX 6ULL.

The Colibri iMX6 is a member of the pincompatible Colibri family.

They feature on module RAM and NAND, Ethernet PHY, Resistive Touch
Controller and optional Wi-Fi module.

For additional specifications please visit:
https://www.toradex.com/de/computer-on-modules/colibri-arm-family/nxp-imx6ull

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-19 16:52:07 -03:00
Max Krummenacher
ccd17aa400 apalis/colibri-imx6.conf: remove inactive SERIAL_CONSOLE assignment
imx-base.inc unconditionally sets SERIAL_CONSOLE to ttymxc0.
So assigning with ?= here to the same value does nothing and may
confuse if someone wants to assign to a different UART.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00