summaryrefslogtreecommitdiff
path: root/recipes-images
AgeCommit message (Collapse)Author
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>
2017-04-07images: use the new version variablesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07trdx-image-fstype: use the new version variablesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07imx6: update.sh: remove -itMax Krummenacher
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>
2017-04-07machine configs: don't delete the kernel in /bootMax Krummenacher
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>
2017-04-07trdx-extra.inc: allow license defines to be overridable (e.g. by local.conf)Brandon Shibley
Signed-off-by: Brandon Shibley <brandon.shibley@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-04-07trdx-extra: add mmc-utils to all our imagesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07angstrom-qt5-x11-image.bb: workaround ordering of populate_sdk populate_sdk_qt5Max Krummenacher
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>
2017-04-07images: use next generation libusbgx USB Gadget libraryStefan Agner
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>
2017-04-07angstrom-qt5-x11-image: make image name uniqueMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07angstrom-qt5-x11-image: deploy a fontMax Krummenacher
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>
2017-01-11trdx-image-fstype: delay image_complete after our imagedeploy finishedColibri_iMX7_LinuxImageV2.7Beta1_20170112Colibri_iMX6_LinuxImageV2.7Beta1_20170112Colibri_VF_LinuxImageV2.7Beta1_20170112Colibri_T30_LinuxImageV2.7Beta1_20170112Colibri_T20_LinuxImageV2.7Beta1_20170112Apalis_iMX6_LinuxImageV2.7Beta1_20170112Apalis_TK1_LinuxImageV2.7Beta1_20170112Apalis_T30_LinuxImageV2.7Beta1_20170112Max Krummenacher
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>
2017-01-11apalis-tk1-mainline: ship mesa-demosDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-11images: remove SysV initscriptsStefan Agner
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>
2017-01-11angstrom-lxde-image: add gpio-tool for apalis-tk1Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-11flash scripts: fix create_bcb to work for flashing from scratchStefan Agner
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>
2017-01-11apalis/colibri_t20/t30/tk1: fix ./update.sh -d resp. tegrarcm issueMarcel Ziswiler
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>
2017-01-11images: update version string to 2.7Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10tegra: update.sh: Remove Colibri T30 eMMC partition resizing limit of 2GBMarcel Ziswiler
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>
2017-01-10update.sh use the specific recovery u-boot binary nameMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-01-10flash scripts: fix Colibri iMX 7 noteStefan Agner
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>
2017-01-10images: update.sh: Add Apalis TK1 Mainline machineDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10images: remove useless taskMax Krummenacher
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>
2017-01-10tegra: update.sh: Remove Apalis TK1 eMMC partition resizing limit of 8GBSanchayan Maity
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>
2017-01-10images: Remove update script limitation of 5GB rootfsSanchayan Maity
Our current update procedure reads the rootfs payload in pre split files of 64 MB size. However due to the workaround for u-boot counting in hex and split did in decimal, the number of chunks is limited to 89 resulting in a maximum size of 5.5GB. Update the u-boot counting procedure to count in 3 digits from the current 2 digits. This allows more than 800 plus chunks which should take care of rootfs size and any future eMMC update requirements. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10update.sh: Do not deploy the rootfs.ext3Sanchayan Maity
Now that we split the rootfs file by default for both Ethernet as well as SD card update, it is no longer required to deploy the rootfs.ext3 file which also saves space. Only deploy the split rootfs files. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10images: Remove rootfs size limitation of 4GB with update scriptsSanchayan Maity
Our current update procedure requires the rootfs payload to fit in one file on a FAT filesystem. This limits its usable size to 4GB. Use the process of splitting up the files in 64MB chunks and then doing the update which is also what the Ethernet update scripts currently follow. However due to the workaround for u-boot counting in hex and split did in decimal, the number of chunks is limited to 89 resulting in a maximum size of 5.5GB. We will remove the limitation in a follow up patch. Signed-off-by: Sanchayan Maity <sanchayan.maity@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10images: change summary to a common patternStefan Agner
We use the image summary as image name for the Toradex Easy Installer. Since we might end up in a list of images of other operating systems and maybe even other companies, make sure to mention Toradex and Linux. While at it use a common summary pattern across all image recipes. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-10gpio-tool: renamed the tool to gpio-toolMax Krummenacher
Follow the name change in the WinCE team. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>