Age | Commit message (Collapse) | Author |
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
https://github.com/morphis/meta-snappy/commit/f6df6a63756d9976bcccb5fefdbc64e5cc794c99
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
The Toradex product ID from the config block is decimal coded
ASCII with leading zeros. In C and bash, leading zeros means octal
number... This leads to wrong calculation of the USB product ID
and to errors if the product ID contains the number 8 or 9 (since
those are not valid under the octal numeric system).
Fix both issues by explicitly force decimal system for the Toradex
product ID.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Toradex CSI 5MP OV5640 camera module uses two GPIOs for power
and reset control, exporting them here leads to failure of OV5640 driver.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The volumes for kernel, device tree and Cortex-M4 firmware get
updated with a single binary for which a static volume is better
suited. This also allows the boot code to only load the amount of
written bytes and therefore speeds up boot time. Static volumes
have been used already with the update.sh script based update
method.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Raw NAND images flash the kernel and device tree directly into
UBI volumes, hence there is no need to generate a bootfs tarball.
Leave the kernel and device tree unpacked so we can copy it
directly into the UBI volume.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add support for raw NAND devices. Describe the layout of the
MTD partitions and UBI volumes using JSON. Also split the
storage description into a separate function, called depending
on a machine specific variable for eMMC and raw NAND.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The default (empty) prepare/wrapup scripts will be used which is
fine since there is no need for special scripting on Colibri iMX7
currently.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Configure the read_ahead cache size to optimal value, for the
mmcblk devices (eMMC and SD card).
The cache values are module specific, tests were run on the pre-built
image (BSP V2.7 Beta 1). The measurement of read speed for a range of
cache sizes (16kB to 256MB) was made using hdparm -t.
Signed-off-by: Leonardo Graboski Veiga <leogveiga@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
0123456789012345678901234567890123456789012345678901234567890123456789
These variables are used to mark the BSP version in U-Boot, the Linux
kernel and the final image.
Note that some can be overridden from the shell environment, e.g.:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TDX_VERNIGHTLY"
export TDX_VERNIGHTLY="-nightly"
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
While at it clean-up and unify with other Toradex layers.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Prevents a warning when not building for one of the machines which have a g1.schema
| WARNING: ...libusbgx/libusbgx_git.bb: Unable to get checksum for libusbgx SRC_URI entry g1.schema: file could not be found
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
In case teziimg is not among the requested images (not part of
IMAGE_FSTYPES) we don't need to create a Toradex Easy Installer
image.json file.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Update libusbgx to a version with OS Descriptor support for better
interoperability with Windows operating systems. Add configuration
using RNDIS with Toradex vendor id. Read serial number and product
id from the device tree to configure the USB gadget device.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
libusbgx (libusbg-neXt) is a fork of libusbg which is more actively
maintained.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Avoid ambiguity with other uses of the string "tezi", e.g. when used
as an image or distro name.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The wrapup.sh script updates fuses/eMMC settings on-site. The same
script can be used for Apalis iMX6 as well as for Colibri iMX6.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
In case the resizefs.sh script ends quite fast, the system might still
be in boot sequence. Removing a systemd service can be problematic
in that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). The following sequence shows this problem:
Jan 12 00:16:45 apalis-imx6 sh[399]: Removed /etc/systemd/system/multi-user.target.wants/resizefs.service.
Jan 12 00:16:45 apalis-imx6 systemd[1]: Reloading.
Jan 12 00:16:45 apalis-imx6 root[704]: resizing mmcblk0p2 finished, new size is 3755M
...
Jan 19 00:04:08 apalis-imx6 systemd[1]: dev-ttymxc0.device: Job dev-ttymxc0.device/start timed out.
Jan 19 00:04:08 apalis-imx6 systemd[1]: Timed out waiting for device dev-ttymxc0.device.
Jan 19 00:04:08 apalis-imx6 systemd[1]: Dependency failed for Serial Getty on ttymxc0.
(the time has been updated between this to events, but that does not
influence the issue)
Using --no-reload avoids the "Reloading." message above and seems to not
cause such issues anymore.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The script used for all machines (e.g. T30) and the mx6 specific
script are the very same scripts. Drop the mx6 specific script,
with that the recipe will use the general scripts for all machines.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The boot partition configuration needs to be done _after_ writing
to the boot partition (hence after flashing SPL and U-Boot). Move
the whole migration script to the end by using the wrapup.sh script.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The Toradex Easy Installer is a Linux based installer for images. This
commit adds a new image type which allows to build images flashable with
this installer directly with OpenEmbedded.
The installer needs a JSON based image description (image.json) which will
be generated using a custom Python step. The IMAGE_CMD step then creates
a bootfs tar.xz and creates a tar with the bootfs, rootfs, U-Boot and SPL,
image.json and some more metadata files. This tarball can be extracted
on a SD card, USB flah drive or HTTP server and consumed by the Toradex
Easy Installer.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This adds metadata files required by Toradex Easy Installer. Most
notable is the Linux specific migration script which is executed
before flashing an image. The script makes sure that hardware specific
upgrades such as fuses/eMMC reconfiguration get executed, as our
U-Boot based scripts do when using "run update".
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The BSP should automount for all users.
The Demo Software Layers cares for RNDIS.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Move the appends on recipe's which are not in an essential required layer
into a target layer specific directory and add them only if said layer
is active in build/conf/bblayers.conf.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This is only used for choosing a custom logo size. Not needed in our
use case.
meta-openembedded/meta-oe/recipes-kernel/linux/linux.inc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
machine/u-boot/kernel files have been added to meta-fsl-arm-extra.
Use them from there now.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|