Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Before using the SPL to setup the DDR we had two U-Boot variants for
Apalis iMX6, one for the commercial and one for the industrial
temperature range modules.
With the SPL that is decided at runtime and one does not need to
run a module specific 'run updateXXX' command.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
The <machine>.conf files have been update to no longer deploy
the kernel in the rootfs /boot folder. Thus deleting it here
makes no longer sense.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Brandon Shibley <brandon.shibley@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>
|
|
Make sure that these two classes get inherited in the correct order, as they use
of ?= and +=. The wrong order drops a bunch of tools and most noticably the
environment setup script.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Use libusbgx library for USB Gadget support. This allows to use
OS Descriptor support for better interoperability with Windows
operating systems.
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>
|
|
Qt5.7 no longer provides fonts, so deploy one of the OE
provided ones.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Currently this should not change anything as the toradexs images are
not used after in image_complete.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The package initscripts deploys some SysV initscripts which were still
required for earlier systemd version. All services are now available
through systemd, so this is not necessary anymore. It even leads to
interference with systemd printing messages like:
[ 3.030281] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with alignment.service/start
[ SKIP ] Ordering cycle found, skipping alignment.service
Stop deploying initscripts in our images.
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: Stefan Agner <stefan.agner@toradex.com>
|
|
Do not save/restore config block in create_bcb since we use this
command in flashing from scratch.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Occasionally especially on Colibri T20 running our ./update.sh -d
script calling tegrarcm failed as follows:
[user@host Colibri_T20_LinuxImageV2.7]$ ./update.sh -d -r 512 -v V1_2
Colibri T20 rootfs detected
bct file: ../colibri-t20_bin/colibri_t20-512-v12-nand.bct
bootloader file: ../colibri-t20_bin/u-boot-dtb-tegra.bin
load addr 0x80108000
entry addr 0x80108000
device id: 0x7820
uid: 0x0428104041a16557
RCM version: 2.1
downloading miniloader to target at address 0x40008000 (132976 bytes)...
miniloader downloaded successfully
./tegrarcm: retreiving platform info: Resource temporarily unavailable
Upon which usually a second attempt actually worked.
Fix this inconvenience by increasing the RCM communication USB timeout
to 5000ms.
Note that this requires a newer tegrarcm which is now provided from
the meta-toradex-tegra layer.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Currently our update.sh script limits the partition size to around
2GB by default so even after our automatic resizing only 2GB of the
4GB of available eMMC space can be used.
Set a higher and saner default EMMC_SIZE to allow automatic resizing
to the full EMMC space available.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use run update_rootfs to update the rootfs.
Signed-off-by: Stefan Agner <stefan.agner@toradex.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>
|
|
When systemd was introduced to OE sysv initscripts did sometimes interfere
with systemd services. We deleted them at image creation time.
This is no longer done, however a task which creates a no longer called
script is still in the recipe. Remove that.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Currently our update.sh script limits the partition size to around
8GB by default so even after our automatic resizing only 8GB of the
16GB of available eMMC space can be used.
Set a higher and saner default EMMC_SIZE to allow automatic resizing
to the full EMMC space available.
Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|