Commit Graph

994 Commits

Author SHA1 Message Date
Max Krummenacher
f67ec82839 u-boot-toradex: update to latest
8f0e253cbce configs/colibri_vf.h: drop sdboot in favour of distro_bootcmd
db553084910 colibri_vf_defconfig: enable part cmd
bc2f29bb15d colibri_vf_defconfig: refresh with savedefconfig
1a390a7be57 Fix typo in .gitlab-ci.yml
1f8c4198070 board: apalis_imx6: Add KSZ9131 phy skew settings
cc96ed419f7 drivers: net: phy: micrel_ksz90x1.c: Add basic support for KSZ9131
28491c802d3 net: phy: micrel: Use defines for PHY_IDs and MASK
eac7cda6283 gitlab-ci: Change stage name to build-uboot
677a5647d4b gitlab-ci: enable by building all toradex boards

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 16:07:17 -03:00
Max Krummenacher
c3cad652d9 linux-toradex_4.4: update to latest
merge stable v4.4.217 plus add:

73b51c460018 perf: Make perf able to build with latest libbfd
93bf1d7cbe98 ubifs: Limit number of xattrs per inode
795e223e5b15 ubifs: orphan: Handle xattrs like files
a3a0066bd9ce ubifs: journal: Handle xattrs like files
8f234193b8cc ARM: dts: colibri_vf: enable spi can controller by default
cb7f204ca656 ARM: dts: colibri-vf: add phy to fec
de65b53c9a14 vybrid: defconfig: Add nf_filter
09733c33a1e2 ubifs: introduce Kconfig symbol for xattr support
77d474b70b85 ubifs: Add CONFIG_UBIFS_FS_SECURITY to disable/enable security labels
ec56fedf0636 colibri-vf: atmel-mxt-ts reset gpio name change
5b755634298f Input: atmel_mxt_ts - fix reset-gpio for level based irqs
764222255422 Input: atmel_mxt_ts - add support for reset line
f66771876cb4 Input: atmel_mxt_ts - use more managed resources
f1f20d3ef5d6 Input: atmel_mxt_ts - add T100 as a readable object
8e98dd8e24f3 Input: touchscreen - use local variables consistently
d47fa1c71b16 [media] Input: v4l-touch - add copyright lines
b2388ffb318e [media] Input: atmel_mxt_ts - add support for reference data
474053a9ec91 [media] Input: atmel_mxt_ts - add diagnostic data support for mXT1386
3b3646c77fed [media] Input: atmel_mxt_ts - handle diagnostic data orientation
72093537fa08 [media] Input: atmel_mxt_ts - read touchscreen size
ee7692c54ea4 [media] Input: atmel_mxt_ts - output diagnostic debug via V4L2 device
eec93ba7e4d4 [media] Input: atmel_mxt_ts - add support for T37 diagnostic data
a55a3420f646 Input: atmel_mxt_ts - use mxt_acquire_irq in mxt_soft_reset
0e3f34335d6c Input: atmel_mxt_ts - improve touchscreen size/orientation handling
e5115e4d6fa0 Revert "input: atmel_mxt_ts: support reset gpio line"
4f5df6df46d0 tty: serial: lpuart: avoid leaking struct tty_struct
9a787b35584b tty: serial: lpuart: avoid report NULL interrupt
5f0be50f3f17 soc: fix memory leak in probe
929b34b825fd Revert "ARM: uaccess: remove put_user() code duplication"

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 16:07:17 -03:00
Max Krummenacher
efd834fa3c toradex machines: deploy boot script
With U-Boot 2019.07 booting from block devices is implemented with distro_bootcmd
needing an U-Boot script boot.cmd/scr.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-30 09:20:07 -03:00
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
Chris Dimich
5aa137ffe8 u-boot-boundary: bump revision to 55215c8f
Update SPL USB ID for UUU to work on 8M Mini and 8M Nano
Update flashing script to ease U-Boot upgrade
Add touch command support to prepare for 4.19 kernel

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-27 16:45:26 -03:00
Max Krummenacher
a5c02bf0ba u-boot-toradex-fw-utils: add colibri-imx7-emmc support
This adds a usefull fw_env.config for colibri-imx7-emmc.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 16:26:27 -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
d00a08f9f3 linux-toradex: Update to version 4.14-2.0.x
Use the defconfig files from meta-toradex-nxp layer

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -03:00
Fabio Berton
6ad0524b13 u-boot-script-toradex: Add recipe
Recipe based on u-boot-distro-boot from meta-toradex-bsp-common

https://git.toradex.com/cgit/meta-toradex-bsp-common.git/tree/recipes-bsp/u-boot/u-boot-distro-boot.bb

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -03:00
Fabio Berton
7869887b52 u-boot-toradex: Update both u-boot and fw-utils to version 2019.07
Use u-boot-toradex-fw-utils recipe from meta-toradex-nxp layer [1]

1 - https://git.toradex.com/cgit/meta-toradex-nxp.git/tree/recipes-bsp/u-boot/u-boot-toradex-fw-utils_2019.07.bb

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 15:51:30 -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
Otavio Salvador
911167728f
Merge pull request #48 from dv1/master
linux-boundary: Fix GCC9 compiler attribute related compile errors
2020-03-21 12:16:08 -03:00
Carlos Rafael Giani
13d3b9e110 linux-boundary: Fix GCC9 compiler attribute related compile errors
These patches are originally from meta-freescale, commit 075681e8 , and
were modified slightly to apply to kernel 4.14.

This fixes errors while building other modules, especially
kernel-module-imx-gpu-viv, which otherwise produces compile errors like:

| [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:131:6: error: 'init_module' specifies less restrictive attribute than its target 'gpu_init': 'cold' [-Werror=missing-attributes]
|   131 |  int init_module(void) __attribute__((alias(#initfn)));
|       |      ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1445:1: note: in expansion of macro 'module_init'
|  1445 | module_init(gpu_init);
|       | ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1411:19: note: 'init_module' target declared here
|  1411 | static int __init gpu_init(void)
|       |                   ^~~~~~~~
| In file included from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_linux.h:61,
|                  from [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:61:
| [...]tmp/work-shared/nitrogen8m/kernel-source/include/linux/module.h:137:7: error: 'cleanup_module' specifies less restrictive attribute than its target 'gpu_exit': 'cold' [-Werror=missing-attributes]
|   137 |  void cleanup_module(void) __attribute__((alias(#exitfn)));
|       |       ^~~~~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1446:1: note: in expansion of macro 'module_exit'
|  1446 | module_exit(gpu_exit);
|       | ^~~~~~~~~~~
| [...]tmp/work/nitrogen8m-poky-linux/kernel-module-imx-gpu-viv/6.4.0.p1.0-r0/git/src/hal/os/linux/kernel/gc_hal_kernel_driver.c:1437:20: note: 'cleanup_module' target declared here
|  1437 | static void __exit gpu_exit(void)
|       |                    ^~~~~~~~

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-03-21 10:06:04 +01: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
afc1c4b77d linux-boundary: Fix bberror message
Fix syntax error in bberror message

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-20 19:52:48 -03:00
Chris Dimich
4381a31db5 u-boot-boundary-fw-utils: Update aarch64 fw_env config
Fix incorrect offset for imx8

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-03-19 16:54:31 -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
Chris Dimich
3a53f5a342 u-boot-boundary: Bump revision to f45f2571
add support for nitrogen8m som / nitrogen8mm (som) / nitrogen8mn
add uuu support for easy recovery
update lpddr4 timings for all 8m designs
update mmc driver
add BD MIPI-DSI displays support

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
40559eb523 u-boot-script-boundary: Add support for nitrogen8mm
Support building for nitrogen8mm

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
d134d230ac u-boot-boundary: Add support for nitrogen8mm
Support building of u-boot for nitrogen8mm machine

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2020-03-19 16:54:31 -03:00
Chris Dimich
0ad69f4bd9 linux-boundary: Move to version 4.14
All Boundary board variants now use Boundary kernel version 4.14
Kernel based on NXP imx_4.14.x_2.0.0_ga kernel release
linux-boundary now pulls boundary_defconfig from git for simplicity.

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
Pierre-Jean Texier
13bacaee29 u-boot-boundary: add "B" to u-boot-boundary-common_2018.07.inc
In upstream openembedded-core, the definition for the B variable moved from
u-boot.inc to u-boot-common.inc. None of the recipes in this layer use
upstream's u-boot-common.inc, so add the B to the *common* include files here
so u-boot continues to build. See:

http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-bsp/u-boot?id=26023b6b0f897842fd98b3e10a8acd5b3ad8f418&h=master

Fixes:

meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-boundary_2018.07.bb:do_compile) failed with exit code '1'

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-08 14:03:34 -03:00
Andreas Müller
fdc6360b8f u-boot-variscite: Fix build for recent layers
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-01-03 10:49:30 -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
d5c6fdb6b0 linux-firmware: Rename to match all package versions
OE-Core commit 4cbb7392c729a2436c26308c2320fdae5c450d7a
bumps revision to 20190618 and also move package version
to git from 20190618.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-07-10 14:59:02 -03:00
Alex Gonzalez
8ceeb3f985 kernel-module-qca6564: Fix for kernel >= v5.1
This commit synch the driver source so it works with kernel versions v5.1
and newer.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2019-07-04 15:47:10 -03:00
Fabio Berton
04284a5410 broadcom-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
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
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