summaryrefslogtreecommitdiff
path: root/recipes-images
AgeCommit message (Collapse)Author
2017-10-03legacy update script: cleanup imagefile handlingMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03apalis-tk1*: cleanup use of genext scriptMax Krummenacher
For Apalis TK1 Mainline we can use the generic script from the library. Remove the script with a symlink. For Apalis TK1 we now use a ext4 rootfs. Thus the genext3fs script is no longer needed. Don't deploy it. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03recipes-images: images: deploy RTL8188EU firmwareDominik Sliwa
LM816 wifi dongle uses this fw. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03angstrom-lxde-image: colibri-imx6ull: don't deploy firefoxMax Krummenacher
With the space restricted NAND there is no space for a browser. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03images: add colibri-imx7-emmcMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: only start imagedeploy after do_image completedMax Krummenacher
do_image makes some optimizations on the rootfs, they should make it into an image. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: use pbzip2 as the compressor and ignore tar return valueMax Krummenacher
This speeds up compressing the final bz2 image. For angstrom-lxde-image on a 24 core CPU by about 30 seconds. Ignore the tar return value. "file changed as we read it" may be reported because wic is creating hardlinks of files in the rootfs. See openembedded commit 402b4cffbb4c58cfee93db18192f2b218ee0ae35 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-extra.inc: remove rootfs_timestamp from image_pre_commandsMax Krummenacher
This is for some time done in oe-core without any intervention: meta/classes/rootfs-postcommands.bbclass Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03/etc/issue: add the rootfs type and version to all imagesMax Krummenacher
Add this in IMAGE_PREPROCESS so that all image types get this change. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03images: tdx-extra.inc: install canutils in all imagesMax Krummenacher
The only machine which did not install canutils is colibri-t30. Install it in all images. iproute2 is pulled in from canutils so remove its explicit installation. While at it cleanup curl which is included unconditianallly and in the machine specfic parts. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: use U-Boot with 1kB paddingStefan Agner
Use u-boot-nand.imx which has the 1kB padding expected by boot ROM at the beginning so it can be easily written into raw NAND flash. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03packagegroup-dotnet-core: introduce packagegroup for .NET Core dependenciesStefan Agner
Introduce packagegroup which contains the dependencies required to use the .NET Core runtime. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: apalis/colibri_t30: fix conf_blk_offsetMarcel Ziswiler
Do no longer hard-code conf_blk_offset now that we reliably determine it in check_configblock. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03flash_blk/eth.scr: replace loadaddr by fdt_addr_rMarcel Ziswiler
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>
2017-10-03flash_blk/eth.scr: fix check_configblockMarcel Ziswiler
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>
2017-10-03flash_blk/eth.scr: apalis/colibri_t30: improve config block migrationMarcel Ziswiler
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>
2017-10-03images: add colibri-imx7-emmcStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03tdx-image-fstype: make burnflash optionalStefan Agner
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>
2017-10-03tdx-image-fstype: only set u-boot-nand.imx for colibri-imx7Stefan Agner
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>
2017-10-03images: add colibri-imx6ullMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-extra.inc: correctly use IMAGE_PREPROCESS_COMMANDMax Krummenacher
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>
2017-10-03tdx-extra: install libunwindStefan Agner
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>
2017-10-03tdx-image-fstype.inc: set PV to Toradex image versionStefan Agner
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>
2017-10-03update.sh: fix for dtb filenames containing multiple dotsMax Krummenacher
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>
2017-10-03recipes-images: images: Use ext4 by default for TK1 modulesSanchayan Maity
Use ext4 by default for TK1 modules. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03recipes-images: images: deploy backports and relevant fwDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03recipes-images: images: Use ext4 by default for iMX6 modulesSanchayan Maity
Use ext4 by default for iMX6 modules. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03recipes-images: apalis-tk1: deploy gstreamer-0.10Dominik Sliwa
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>
2017-10-03recipes-images: imx6: Deploy Ixora V1.1 device tree for Apalis iMX6Sanchayan Maity
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>
2017-10-03tdx-extra: add bmode-usb to the imageMax Krummenacher
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>
2017-10-03angstrom-lxde-image: deploy ejectMax Krummenacher
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>
2017-10-03flash_blk/eth.scr: fix exit condition in the emmc rootfs flashing loopMax Krummenacher
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>
2017-10-03genext3fs.sh: fix copying of extened file attributesMarcel Ziswiler
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>
2017-07-05colibri-imx7: update.sh: log kernel versionColibri-iMX7_LXDE-Image_2.7b3-20170630Colibri-iMX6_LXDE-Image_2.7b3-20170630Colibri-VF_LXDE-Image_2.7b3-20170630Colibri-T30_LXDE-Image_2.7b3-20170630Colibri-T20_LXDE-Image_2.7b3-20170630Apalis-iMX6_LXDE-Image_2.7b3-20170630Apalis-TK1_LXDE-Image_2.7b3-20170630Apalis-T30_LXDE-Image_2.7b3-20170630Max Krummenacher
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>
2017-07-05colibri-imx7: update.sh: use u-boot-nand.imx for recoveryMax Krummenacher
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>
2017-06-30angstrom-lxde-image: add packagegroup-snapd to emmc modulesMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30tdx-image-fstype.inc: fix building imx7Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30tdx-image-fstype.inc: rename U_BOOT_BINARY to UBOOT_BINARYMarcel Ziswiler
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>
2017-06-30recipes-images: colibri-imx7: deploy Aster device treeSanchayan Maity
Deploy Aster device tree for Colibri iMX7. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-30recipes-images: imx6: deploy Aster device treeSanchayan Maity
Deploy Aster device tree for Colibri iMX6. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-30recipes-images: colibri-vf: deploy Aster device treeSanchayan Maity
Deploy Aster device tree for Colibri Vybrid. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-30update.sh: increase min partition free size & add note about bct changeMarcel Ziswiler
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>
2017-06-30colibri-pxa: add dummy u-boot update scriptsMarcel Ziswiler
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>
2017-04-10genext3fs.sh: rename mnt/trdx-rootfs to mnt/tdx-rootfsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-10console-tdx-image: renamed from console-trdx-imageMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-10tdx-image-fstype.inc: renamed from trdx-image-fstype.incMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-10tdx-extra.inc: renamed from trdx-extra.incMarcel Ziswiler
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>
2017-04-10tdx-oak-sensors: renamed from trdx-oak-sensorsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-10tegra124m: deploy the gpio-toolMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07images: rename the image type nameMax Krummenacher
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>