Age | Commit message (Collapse) | Author |
|
Change KERNELS=="5b010000.usdhc" to KERNELS=="5b010000.mmc", this fixes
a issue that /dev/emmc* device nodes not created after we upgraded to
linux-toradex 5.4 kernel.
Related-to: TOR-1484
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 4b80396fbd054f2d5138f0d15c676cd194aa91b2)
|
|
Move the code deploying dtb overlays to a prefuncs
tezi_deploy_dt_overlays of do_image_bootfs, and put all prefuncs of
do_image_bootfs, do_image_teziimg, do_image_teziimg_distro to variables
so that they could be overridden in other meta layers. For instance, an
end user might want to write his/her own image.json file according to
his/her partitions layout.
Also fix a missing double quotes.
Related-to: TOR-1334
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 29c2fb146a127e2a26d6baab641bd7ba3867c3b5)
|
|
The reason we inherit nopackages was that there was no files being
packaged at that moment, but this makes it impossible for a bbappend
to add packages, let's drop it.
Now torizoncore decides to add a ostree-uboot-env package in this
recipe.
Related-to: TOR-1335
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 7b7a2f85e2fcea83c15b1819479506d7d18914bc)
|
|
Change to use the defconfig which is part of the kernel tree. In order
to provide a defconfig from your bbappend add a file 'defconfig' through
SRC_URI which will take precedence.
Related-to: ELB-3035
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0006e2a7616674e768a698123a13caff5c1661ba)
|
|
Change to add preempt-rt configs as scc file by including
linux-imx.inc, also avoid setting KERNEL_FEATURES to empty, it could be
used in torizoncore layer.
Related-to: ELB-3171
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 6737ce79c453953be6faf02519d9fc920dd58bb9)
|
|
We have machine overlay where the machine name is postfixed with the
carrier board name, e.g. colibri-imx7-aster_atmel-mxt_overlay.dts.
No longer require an '_' after the machine name to deploy also overlays
with a postfix after the machine name.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0e19023b9fd03f6922992c59f4ddc3a4aff9f36d)
|
|
For the colibri-imx7-emmc machine we need the overlays prefixed with
colibri-imx7.
Due to the changed machine name the machine specific overlays did
not get deployed into a image. Fix that.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 75d703f9af475110554d1a88954998291b2ce96a)
|
|
We have separate machines for the now deprecated i.MX 8X B0 silicon
based modules.
Due to the changed machine name the machine specific overlays did
not get deployed into a image. Fix that.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit ec02225f82cbf9054ea1bf301967ebf1b9ea98fa)
|
|
On i.MX8 processors there was a bug in Tezi that leaked an old
u-boot environment into newly installed image. This got fixed and
can be enforced by using Tezi config format number 4.
Make use of that.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 51927b354280c398b11b7b6bd64c1617825f17d1)
|
|
Bump SRCREV hashes as used in build of Tue Sep 29 12:07:53 UTC 2020
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 81
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/81
Signed-off-by: ci.toradex <cicd@toradex.com>
(cherry picked from commit 15385a89f3aff2a13f316c26ef23abc7efa19cab)
|
|
The second license should be MIT instead of X11. Fix it.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 7f667bc15f617b6f9fd98f73a50f7fa756a75aa7)
|
|
Add an ability to independently set device type, num and partition
for boot and root partitions.
Makes script able to boot kernel via tftp/dhcp.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit bc2c6c3b5b4bfdccd93b6ace3a3a1a9fd7ff3cef)
|
|
In 5.4 kernel the naming changed from lpspi to spi. Address this in
all i.MX8 udev rules
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Add CAN_J1939 as a module. and run savedefconfig.
This is a copy of tegra_defconfig from the kernel sources.
Related-to: ELB-3023
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use the common defconfig from the kernel sources toradex-imx_v6_v7_defconfig.
This increases the kernel size for the so far smallest kernel by about 200k.
We need a file for each machine as we do not have a common override to use
in the use-mainline-bsp case.
This additionally adds CAN_J1939 as a kernel module.
Related-to: ELB-3023
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Create symlinks for each supported by Verdin iMX8M Mini ADC channels,
standardizing names as verdin-adcX, according to the Verdin signal names
table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 29191ec028148f41eab3f2ccb143bcede9e8224e)
|
|
Create symlinks for each supported by Colibri iMX6 ADC channels,
standardizing names as colibri-ainX, according to the Colibri signal
names table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 6ba70eb580167611f8a5b061a9552eba25b34d6c)
|
|
Create symlinks for each supported by Colibri iMX7/iMX7-eMMC
ADC channels, standardizing names as colibri-ainX, according
to the Colibri signal names table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit f627f20a298d441b5d94ba4ab80a1121065f1f75)
|
|
Create symlinks for each supported by Colibri iMX6ULL ADC channels,
standardizing names as colibri-ainX, according to the Colibri signal
names table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 26f58c5c34bac69c1a9b312242e92decd532cd14)
|
|
Create symlinks for each supported by Colibri iMX6 ADC channels,
standardizing names as colibri-ainX, according to the Colibri signal
names table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit eaf8ba320beef0b0ad59e7911b4684c793b0a4f3)
|
|
Create symlinks for each supported by Apalis iMX8QXP ADC channels,
standardizing names as apalis-adcX, according to the Apalis signal names
table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 22950c7feac191bbff58e9137612e525982e2fbe)
|
|
Create symlinks for each supported by Apalis iMX8 ADC channels,
standardizing names as apalis-adcX, according to the Apalis signal names
table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit a98861ebc9d2a26f458a57f674b53cb81405da64)
|
|
Create symlinks for each supported by Apalis iMX6 ADC channels,
standardizing names as apalis-adcX, according to the Apalis signal names
table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 41ebdf6d19a1b8af2e06f274d711823bdb345f29)
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Provide KERNEL_IMAGE value for boot.scr. Use Image.gz for imx8
machines.
Relates-to: ELB-1372
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
1. Provide information about kernel image format instead of using
that information from U-Boot env.
2. Unpack kernel image before calling boot cmd, in case
Image.gz is used.
Relates-to: ELB-1372
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This has been applied to the openembedded-core layer's master and
dunfell branch.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The device-tree overlays have been reworked. Reenable the build
and deployment.
This reverts commit 1914b33f70f13b5460152daaf49de7511e4990ee.
Related-to: ELB-2943
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
the configuration file keeps beeing changed with each version requiring
a refresh of the patch frequently.
Replace the patch with a sed script which should be more stable.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
They currently do not build against the downstream kernel, drop them
if building for a downstream kernel for now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
It's useless and would be overridden by the same definition in
imx-base.inc of meta-freescale layer.
Related-to: ELB-2553
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The default u-boot env file name has changed to u-boot-initial-env in
OE layer, adapt to it.
Related-to: ELB-2553
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The initial env has been implemented in OE, we dont need maintain this.
Related-to: ELB-2553
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
- We dont want to store to device when fw_setenv is called and there is
no value change, to avoid flash wear-out.
- We are using symbolic links in /etc/fw_env.config, libubootenv should
handle that.
- u-boot-default-env is being referred by libubootenv, add it to
RRECOMMENDS_${PN}-bin tor target build.
Related-to: ELB-2552
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Add the accidently dropped file reference name so the checksums
are found.
fixes 9b13de4 ("linux-toradex-mainline: update to latest")
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit cf3aca30b171672fe011b404d0c12378b7c79f5d)
|
|
Enable GPIO and serial-port (CD-signal) sources for
the PPS (pulse-per-second) module.
Related-to: ELB-2837
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit b736ab934b1067d032c1ac61bb753a8039222096)
|
|
Related-to: ELB-2760
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit fc137a7916fe004f476688b1e03dadd074e749b3)
|
|
This fixes a following compilation error when compiling zImage:
| /bin/sh: lzop: command not found
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The firmware for Marvell 8997 using SDIO as the interface is also
available from the regular linux-firmware repo, although with an
other filename.
Use that one and provide a symlink to cope with the old name.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Rename destination "devicetree" with dtb overlays (on bootfs) to "overlays".
Relates-to: ELB-2807
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit 288b7e41f508e0dcde66b536953d014dd4497971)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 5c82f9ec57e0676de240acaa40b78ce4d3cd2181)
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 14ccfef1cb6334ca165cae84173476cb6d961383)
|
|
If using upstream variants kernel itself is close to 8 MB and one can
barely keep a backup copy in the resulting 16 MB!
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit aae74f006cd02717df3b047b59940196de53c105)
|
|
This driver is also applicable to the ADV7280 e.g. as found on our
Analogue Camera Adapter V2.0B.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 441c2eec6c7b59331642395e5d962540b214aaae)
|
|
With the addition of preempt-rt support using the 5.4 mainline based
kernel tree the 4.19 mainline based preempt-rt kernel tree can be
considered obsolete. Drop the recipe.
Related-to: ELB-2631
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 5f773cd50f387c92f9511c173cb08a8af8263075)
|
|
The I2C DDC channel serves by HDMI driver in the mainline kernel.
Add udev rules to make a symlink for this device.
Related-to: ELB-2784
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 3790efed5871f28b8fd969a5bbe29cf776af112e)
|
|
According to the internal document "Hardware interfaces
standardization", the UART interfaces should be accessed
via device nodes named with the module family and matching
the signal name used in the module datasheet.
Modify udev rules for UART devices accordingly.
Related-to: ELB-2787
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
|
|
There are 2 different names for spi use by downstream and upstream
kernel. Fix the udev rules to match both variants.
Related-to: ELB-2784
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit e13aa11315c57980816d6a68f9c5216b455ee017)
|