Age | Commit message (Collapse) | Author |
|
This patch mainly aims to let fdt_overlays only contain devicetree
overlay names without the 'overlays' sub-directory.
Also add a sanity check for items in
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT, if a item not existing in boot
filesystem, throw a error at build time.
A complementary patch is needed to boot script, to load devicetree
overlays from a configurable prefix.
Related-to: TOR-1537
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
This is actually an empty commit as I messed up the description in the
previous commit f374cadde139 ("linux-toradex-mainline: update to 5.4.74
and 5.4.74-rt42 respectively").
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The kernel is able to use predefined IP address of NFS server.
Add special values of root_devtype "nfs-dhcp" and "nfs-static"
and proceed them accordingly to make the script able to boot the system
from a network without dhcp-server.
To boot the system from the particular server, just set the "serverip"
to the proper IP address of an TFTP/NFS server and set "devtype" to
"tftp".
To use the particular NFS server for mouting the root-fs only, set the
"serverip" to the proper IP address of an NFS server and set
"root_devtype" to "nfs-static".
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The package split for sd8997 has been upstreamed to openembedded-core.
openembedded-core provides now a rtl8188 package which contains the
firmware for rtl8188 and rtl8188eu. Use that one.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 48ea0df0902cf3b52d937e3e8f3405c34f862228)
Additionally deleted the now empty file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
We have decided to drop boot partition from EMMC/RAWNAND devices for
all Torizoncore images, in which case, we dont have to maintain a extra
image type teziimg-distro for Torizoncore, let's drop it.
This patch would not introduce any functional change to teziimg images,
just aims to drop all Torizoncore related code.
Introduce two new variables to make teziimg more extendable:
- TEZI_ROOT_NAME: the end user could choose rootfs image name, for
instance, "rootfs", "ota".
- TEZI_USE_BOOTFILES: the end user could decide if a boot partition
should be created for EMMC device.
Related-to: TOR-1334
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Explicitly disable kernel configs that could lead to latency on
preempt-rt kernel.
Also explicitly enable CONFIG_EXPERT which is being depended by
CONFIG_PREEMPT_RT.
Related-to: TOR-1354
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Related-to: TOR-1354
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
It's being referred nowhere, let's drop it.
Related-to: ELB-3035
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
The design of the script allows to use different sources for booting
a kernel, dtb and overlays, and using as a rootfs.
Using devtype to determine the media of rootfs breaks this ability.
Use root_devtype setting to fix this issue. Note the script is still
able to use the same devtype for both boot/rootfs media because both
boot_devtype and root_devtype set from devtype by default.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Matrix Build: image-tdxref-dunfell-5.x.y-nightly-matrix 115
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-dunfell-5.x.y-nightly-matrix/115
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
Print final bootargs value before jumping to the kernel.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
Add error message if booting fails from particular boot source.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
1. Move invocation of $setup when $load_cmd is properly set. This
helps to load hdp firmware from all supported boot sources, not
only from internal emmc
2. Set proper dhcpargs if we boot via DHCP
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
The script uses global variable in tftp and dhcp mode. Add a description
of these variables.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Use root_* incoming variable names where it should be.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This is complementary commit of:
[ 09fa0594: linux-toradex-mainline-rt: drop obsolete recipe ]
The main recipe of linux-toradex-mainline-rt-4.19 has been dropped,
drop the defconfigs as well.
Related-to: ELB-2631
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This commit was intended as a last-minute fix for apalis-imx8 which
cannot boot because tezi writes the environment faulty.
This commit however also caused to set kernel_image to Image.gz
which is also used on TK1 and there this does not work at all.
This reverts commit 6d6828218c4c4ecea2c44c114a711fe19359b408.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Workaround a Toradex Easy Installer issue causing kernel_image to be
wrongly set to an ancient default.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
The second license should be MIT instead of X11. Fix it.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
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>
|
|
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>
|