Commit Graph

447 Commits

Author SHA1 Message Date
Chris Dimich
a185fcf7dc nitrogen8m: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-19 13:53:06 -07:00
Chris Dimich
2089403f0b nitrogen8mp: allow for all uboot defconfigs variants to be built
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 23:06:46 -07:00
Chris Dimich
58ae19468f nitrogen8mp: use imx-boot-container to generate u-boot binary
Also remove obsolete variables.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-10-17 22:20:28 -07:00
Khem Raj
25c9178aa3 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 16:43:42 -07:00
Chris Dimich
c51905ac8b nitrogen6sx: add required uboot variables for u-boot-boundary
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2022-08-04 19:50:48 -07:00
Daiane Angolini
10bf4d7b8b
imx7d-remarkable2: Remove machine
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2022-07-29 11:22:05 -03:00
Daiane Angolini
cb7ad451b8
ventana: Remove the machine
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2022-07-29 11:21:53 -03:00
Sergio Prado
596d36a3cd colibri-imx6: use soft assignment for u-boot-default-script provider
Some users might want to change u-boot-default-script preferred
provider, so let's use a soft assignment for that.

Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2022-07-14 09:04:39 -03:00
Max Krummenacher
936a385715 colibri-vf: use linux-toradex independent of the bsp
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 11:03:45 +02:00
Max Krummenacher
e59062bd68 vf: follow SoC override changes also for vybrid
- Drop the sub SoC family vf50 and vf60 in favour of using only vf
- Use the now generated vf-*-bsp overrides

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-06-23 11:03:39 +02:00
Max Krummenacher
7f43964582 machines: follow kernel deployment changes
The kernel binary image is by default deployed into the rootfs, /boot/.
openembedded-core changed the way it is done in a not backwards
compatible way.
I.e. it now RRECOMMENDS instead of RDEPENDS the package which contains
the kernel binary image.
Commit 1c90b27d2c ("kernel: make kernel-base recommend kernel-image, not depend")

So the way to not deploy also changed. Change machines and recipes
which want to prevent kernel deployment accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-05-16 12:06:52 +02:00
Vinicius Aquino
47d2543f9d nitrogen*: Drop duplicated WKS dependencies
e2fsprogs-native and bmap-tools-native are already included by imx-base.inc
so it can be dropped here.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-10 09:52:09 -03:00
Vinicius Aquino
b8062790ab nitrogen8*: Drop useless overrides for WKS_FILE_DEPENDS
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-03-09 11:53:07 -03:00
Otavio Salvador
b034e5c43e Rework machine definitions to reduce duplication
We reworked the SoC overrides so we avoids duplication and redundancy;
machines affected are:

 - apalis-imx6
 - colibri-imx6
 - colibri-imx6ull
 - cubox-i
 - imx6dl-riotboard
 - imx6qdl-pico
 - imx6qdl-variscite-som
 - imx6sl-warp
 - imx6ul-kontron
 - imx6ul-pico
 - nitrogen6sx
 - nitrogen6x-lite
 - nitrogen6x
 - ventana
 - wandboard
 - nitrogen8m
 - nitrogen8mm
 - nitrogen8mn
 - nitrogen8mp

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-24 09:31:48 -03:00
Vinicius Aquino
52e9a93b30 nitrogen8mp: Define nxp as default BSP
This commit solves the lack of a provider for 'imx-boot' due to
nitrogen8mp not present in COMPATIBLE_MACHINE.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-23 09:40:13 -03:00
Khem Raj
4560e221d0 layers: Bump to use kirkstone
its not going to be backward ABI compatible with honister due to variable renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-17 12:54:39 -08:00
Otavio Salvador
0c68a5a705
Merge pull request #193 from Ossanes/topic/imx7d-remarkable2-remove-firmwares
imx7d-remarkable2: Remove bcm4345* firmwares as it has no providers
2022-02-17 16:05:31 -03:00
Vinicius Aquino
654d5b5530 imx7d-remarkable2: Remove bcm43456 firmware as it has no providers
This is a workaround to successfully finish the building.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-17 15:51:05 -03:00
Vinicius Aquino
e78de66c9f imx6dl-riotboard: Fix u-boot target
This commit fixes error on do_install task for u-boot-fslc.
The error occurs because u-boot.imx can't be found.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2022-02-15 10:09:45 -03:00
Samuli Piippo
61b70a01c5 apalis-imx6: add missing space to append
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2022-01-05 12:45:25 +02:00
Tomas Vilda
e064d0e3df colibri-imx6ull: fix mistyped override
Fix mistype in colibri-imx6ull machine include file when using nxp bsp.

Reported-by: Tomas Vilda
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-12-21 16:03:27 +01:00
Max Krummenacher
13bd2acbad machines: toradex: update
- Add the newly available device trees provided by the kernel update.
- Drop the prefered provider for u-boot-fw-utils, use libubootenv.
- Don't install epdc firmware, none of the machines supports epdc.
- Changed all maintainers to myself, Stefan left the company.
- Unify setting the preferred bootloader with IMX_DEFAULT_BOOTLOADER

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-12 14:10:06 +01:00
Vinicius Aquino
5dc9275928 imx6q-dms-ba16: Remove files because it is not being maintained
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-29 16:54:01 -03:00
Vinicius Aquino
3777793975 congatec: Remove files because it is not being maintained
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-29 10:12:58 -03:00
Vinicius Aquino
18f54fabfa imx6sl-warp: Fix u-boot suffix
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-25 16:29:53 -03:00
Vinicius Aquino
a9fce64e3c imx6dl-riotboard: Fix u-boot suffix
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-25 12:01:29 -03:00
Vinicius Aquino
97b24362bd lx2160acex7: Force to use version 5.4 when using linux-qoriq kernel
Later versions are not compatible with this machine.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-10-21 08:49:32 -03:00
Max Krummenacher
cc7a94be03 u-boot-toradex: set uboot_suffix
See also commit 46c1c81 ("imx7s-warp: Set UBOOT_SUFFIX to imx").
Overwrite the new default from imx-base.inc.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-16 15:37:15 +02:00
Max Krummenacher
66165d89e9 layer: manual override syntax fixes
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-16 14:15:05 +02:00
Chris Dimich
6d534850f0 nitrogne8mp: remove obsolete device tree.
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-14 13:52:20 -07:00
Chris Dimich
6ca1b4be02 nitrogen8mp: add device trees
To support enc carrier and m4.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-01 08:49:49 -07:00
Khem Raj
79fb14ba0e machines: Adjust for new location of tune files in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-17 17:24:26 -07:00
Chris Dimich
d3336ad9ce nitrogen8mp: update DDR binaries
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-08-16 16:23:03 -07:00
Chris Dimich
850d817450 nitrogen8mp: define variables needed for imx-boot recipe
Otherwise imx-boot will not compile.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-08-13 15:07:40 -07:00
Pierre-Jean Texier
7670b84e93 imx7d-pico: Set UBOOT_SUFFIX to img
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

|   ./tools/mkimage -n spl/u-boot-spl.cfgout -T imximage -e 0x00912000 -d spl/u-boot-spl.bin SPL >SPL.log  && cat SPL.log
| Image Type:   Freescale IMX Boot Image
| Image Ver:    2 (i.MX53/6/7 compatible)
| Mode:         DCD
| Data Size:    45056 Bytes = 44.00 KiB = 0.04 MiB
| Load Address: 00911420
| Entry Point:  00912000
| make[1]: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/pico-dwarf-imx7d_defconfig'
| make: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
| /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: 187: /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: Bad substitution

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-08-13 23:24:02 +02:00
Pierre-Jean Texier
46c1c81316 imx7s-warp: Set UBOOT_SUFFIX to imx
Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

	./tools/mkimage -n u-boot-dtb.cfgout -T imximage -e 0x87800000 -d u-boot-dtb.bin u-boot-dtb.imx >u-boot-dtb.imx.log  && cat u-boot-dtb.imx.log
	Image Type:   Freescale IMX Boot Image
	Image Ver:    2 (i.MX53/6/7 compatible)
	Mode:         DCD
	Data Size:    458848 Bytes = 448.09 KiB = 0.44 MiB
	Load Address: 877ff420
	Entry Point:  87800000
	HAB Blocks:   0x877ff400 0x00000000 0x0006dc00
	DCD Blocks:   0x00910000 0x0000002c 0x000001d4
	make[1]: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/warp7_defconfig'
	make: Leaving directory '/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
	/home/bdx-iot/ci/build/tmp/work/imx7s_warp-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.2814200: 187: Bad substitution
	WARNING: exit code 2 from a shell command.

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-08-13 23:19:47 +02:00
Khem Raj
aeaea93911 layer.conf: Drop compatibility with older than hardknott releases
New override syntax requires it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:31:27 -07:00
Khem Raj
4ac3c7265a layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:31:27 -07:00
Fabio Estevam
35acd10426 imx6qdl-pico: Remove duplicate MACHINE_FEATURES entry
Remove the duplicate MACHINE_FEATURES entry.

There is a more complete one a few lines below.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-18 11:16:27 -03:00
Fabio Estevam
5f6c423aae imx6qdl-pico: Add QCA9377 Wifi support
Add QCA9377 Wifi support.

Tested on a imx6dl-pico-pi board by doing:

ifconfig wlan0 up
iw dev wlan0 connect ACCESSPOINTNAME
wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
(enter the wifi password and press enter)
wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
udhcpc -i wlan0
ping google.com

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-07 08:30:22 -03:00
Fabio Estevam
e253f15b37 imx6qdl-pico: Fix the serial console port
On the imx6qdl-pico boards the console is provided by the
UART1 pins, so change it to ttymxc0.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-06-06 14:48:48 -03:00
Fabio Berton
b2dd9d24a1 nitrogen6x: Rework u-boot settings to use Set IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
068e0f1a27 colibri-imx6: Set UBOOT_SUFFIX to img
Override the default imx-base.inc value that uses UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
afb1afd28d colibri-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
bd4e85fc05 apalis-imx6: Use strong assignment to set IMX_DEFAULT_BOOTLOADER
The weak assignment doesn't override the default imx-base.inc value, and
as the only bootloader provider is u-boot-toradex, we don't need to
allow override.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Fabio Berton
37aa54b49f colibri-imx7-emmc: Rework u-boot setting to use IMX_DEFAULT_BOOTLOADER
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2021-04-16 14:15:35 -03:00
Otavio Salvador
fba28a52c4 apalis-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-13 00:08:46 -03:00
Otavio Salvador
c78afe99f8 colibri-imx6: Set IMX_DEFAULT_BOOTLOADER to u-boot-toradex
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-12 23:57:04 -03:00
Andreas Müller
ec9c495bd3 imx6qdl-variscite-som: Fix huge wifi startup delay
* We see kernel complaining more than once complaining:
  | wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
* It took a ages for wifi to come up
* recipe was stolen from [1] and slightly modified

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-connectivity/wlconf/wlconf_8.7.3.bb?h=master

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00
Andreas Müller
efdb7b0307 imx6qdl-variscite-som/use-mainline-bsp: move linux-fslc-lts-4.19 -> linux-fslc
Time to move on - 5.4 is in very good shape

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-06 11:18:23 -03:00