Age | Commit message (Collapse) | Author |
|
Unfortunately as loadaddr is equal to fdt_addr_r on some modules and
equal to kernel_addr_r on others using it together with any of the
others may cause issues. Therefore no longer make use of loadaddr and
consistently use fdt_addr_r instead.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The config block check aka check_configblock may fail during update
depending on the size of the hardware area boot partition which may
lead to the config block not getting properly migrated or updated if
still using parts of the legacy update procedure. This patch fixes
this by iterating over various sizes.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Improve on the config block locations checked for migration from
WinCE/WEC. Now also takes vendor part of the Boot Configuration Table
aka BCT into account.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@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>
|
|
We might want not to support burn flash for new machines. Make it
optional by checking whether the machine specific directory exists.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The new machine colibri-imx7-emmc uses eMMC and hence the regular
u-boot.imx binary.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add a trailing ';' to separate from commands appended later.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The library libunwind is a dependency for the .NET Core 2.0
runtime. Preinstall it in our standard images.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
We rely on the init system to remount the root file system read-only,
which makes the mount flags for the rootfs in fstab relevant. Since
we run on flash drives minimize write cycles by disabling atime by
by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use PV variable to define the image version. With that the Tezi
image class can use OpenEmbedded variables to get the image version.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
If a dtb file has more than one dot the current logic fails.
e.g. 'device.tree.dtb' will be truncated at the first dot to 'device'
while it should be 'device.tree'.
Fix by removing awk in favour of letting basename also remove
the .dtb extension.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The README content was no longer applicable, change it to reflect
the current use of the files here.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use ext4 by default for TK1 modules.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Use ext4 by default for iMX6 modules.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Deploy gstreamer-0.10 with nvidia TK1 support plugins.
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Deploy Ixora V1.1 device tree for Apalis iMX6.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This adds the bmode_usb binary to the i.MX6 rootfs which allows to
set some i.MX6 registers so, that on the next reboot (not powercycle)
the i.MX6 starts in serial download mode (aka. recovery mode).
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The eject binary is used by the libudisk2.
Without it e.g. pcmanfm shows an error message that eject could
not be found.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
If an image creates a rootfs which is exactly a multiple of 64 MByte then
the scripts never detects that the last chunk has been read and
'run update' never completes.
Fix that by explicitely setting filesize to 0 when a file read fails.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
As reported by our customer our current ext3 generation script lacks
copying any extended file attributes as well e.g. as required for
capabilities or ACLs.
Reported-by: Felix Ruess <felix.ruess@roboception.de>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
As the kernel is no longer part of the rootfilesystem, add its
version to the version.txt file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Starting with the following commit
tdx-image-fstype.inc: rename U_BOOT_BINARY to UBOOT_BINARY
we no longer deploy a symlink 'u-boot.imx' to the u-boot binary.
Thus only use u-boot-nand.imx in the update.sh script.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Disable broken OMTC on T20/T30 and iMX6 based modules. Leave it enabled
on Apalis TK1 where it seems to work and Colibri iMX7 doing software
only rendering anyway.
https://wiki.mozilla.org/Platform/GFX/OffMainThreadCompositing
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
As somebody previously decided to rename U_BOOT_BINARY to UBOOT_BINARY
unbreak e.g. i.MX 6 Tezi builds by continuing that rename through the
various layers:
http://git.toradex.com/cgit/meta-toradex-bsp-common.git/commit/?h=morty&id=02f7fdfe5eaca64e0c710cce4d701a609d499e8b
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Deploy Aster device tree for Colibri iMX7.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Deploy Aster device tree for Colibri iMX6.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Deploy Aster device tree for Colibri Vybrid.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Copy/paste error prevented the intended fix to get actually applied.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
We found that having ACL enabled in systemd on a ubifs adversely
affects power cut resilience.
Currently systemd is unconditionally enabled in a systemd build.
Add a acl packageconfig option, but do not enable it.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Since commit ef66b5819da4 ("images: use next generation libusbgx
USB Gadget library") the gadget library no longer adds a USB CDC
ACM device which can be used as a serial console. Remove the extra
serial console from local.conf.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
By default systemd utilities use escape sequences to produce colored
output. But systemd also uses less as a pager. The less command
provided in the Toradex demo images is provided by BusyBox, which
does not support color escape sequences. Disable colored output
altogether. This makes output of journalctl much more readable.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Increase MIN_PARTITION_FREE_SIZE as a provision for customers running
NVIDIA JetPack on Apalis TK1.
Add a note about having to change apalis-t30_bin/apalis_t30.img.cfg
resp. colibri-t30_bin/colibri_t30.img.cfg as well if changing BCT.
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>
|
|
Add dummy U-Boot update scripts to avoid do_imagedeploy build failure.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Last man standing...
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
While at it also reflect changed name of tdx-nv-binaries.
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: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
For i.MX6 the pin NANDF_D4 was wrongly muxed.
For TK1 the number of pins was wrong which prevented access to some pins.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
LXDE: LinuxImage -> LXDE-Image
Qt4: LinuxImage-qt -> Qt4-X11-Image
Qt4 embedded: LinuxImage-qte -> Qt4e-Image
Qt5: LinuxImage-qt5 -> Qt5-X11-Image
Console: LinuxConsoleImage -> Console-Image
Additionaly the underscore in the machine name is replaced by a dash
so that the image name is now comprised of 3 elements which themselfes
do not contain an underscore but are separated by underscores.
<machine>_<image type>_version
e.g.:
Apalis_iMX6_LinuxImageV2.7_20170327.tar.bz2
becomes
Apalis-iMX6_LXDE-Image_2.7b2-20170327.tar.bz2
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>
|