summaryrefslogtreecommitdiff
path: root/recipes
AgeCommit message (Collapse)Author
2016-06-30update.sh: Colibri iMX6 eliminate warningMax Krummenacher
Eliminate the following warning: cp: warning: source file ‘colibri-imx6_bin/u-boot.imx’ specified more than once Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30apalis-tk1: add initial flashing infrastructureMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-06-30update.sh: colibri_imx7/t20/vf: use update_fdt rather than update_dtbMarcel Ziswiler
To be more in-line with all our other modules change update_dtb to update_fdt also on all our NAND based modules and document it as such. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-06-30update.sh: vf: fix typo in message and remove unnecessary echoStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-06-30update.sh: imx7: use new U-Boot to flash modulesStefan Agner
U-Boot delivered with V2.6 Alpha1 does not have SoC type detection which can be used to load the device tree (imx7s/imx7d). Flash U-Boot first and reset to make sure we use the new U-Boot to flash the rest of the components. The later corrected the commit message. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30update.sh: update help text for new deployment schemeStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30update.sh: imx7: write kernel and dt into static UBI volumesStefan Agner
Write kernel and device tree into seperate UBI Volumes. This allows to use a lot less UBI/UBIFS support in U-Boot, which should lower the risk of hitting bugs in this area. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30update.sh: switch to mkfs.fatStefan Agner
The binary/symlink mkfs.vfat seems to be considered outdated, it is only deployed if one configures dosfstools with the flag --enable-compat-symlinks. Switch to mkfs.fat which seems to be the official binary to create FAT filesystems now. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-30update.sh: write kernel and device tree into static UBI volumesDominik Sliwa
Use static UBI volumes on Colibri T20. Fix update over ethernet on Colibri Vybrid Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: fix some typosStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: use exit trap to report unexpected exitsStefan Agner
Add exit trap to report unexpected exits (due to set -e). Note that this traps every exit, also explicit calls to exit. Therefor register the trap only during the sequencial image generating/coping part, after the sanity checks... Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: do not error out during mkfs.ubifs/cbootimage testsStefan Agner
If executing the command fails, the exit code will be <> 1 which leads to an imeadiate exit (due to set -e). Avoid exiting by adding "|| true" to the sanity check commands. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: use command instead of whichStefan Agner
Use "command" instead of "which" for sanity checks. This is preferable to several reasons, see: http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script Also always use or (||) syntax to avoid bash script exits. Tested to be working on Ubuntu, Fedora and Arch Linux. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: omit explicit exit code after recovery commandStefan Agner
By omitting an explicit exit code after the recovery command we will get the exit code of the last command. This makes sense, since we would be able to tell whether recovery actually succeeded or not. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: use test expressions in if statement for colibri-t20Stefan Agner
Since we introduced set -e commands which fail will exit silently. This leads to no error message when the grep which tests for specified parameters failed. We could solve it with || true, but it seems more lightweight to just test for the strings inside the if statement. It also checks for the full length (e.g. disallows "25" as RAM size). The later fixed only 256 MB RAM size copy paste issue. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: exit with success whenever help is specifiedStefan Agner
Unix commands usually exit successfully when help was explicitly asked for. However, in case arguments are incomplete or otherwise wrong, exit with error. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-06-24update.sh: use printf instead of echoStefan Agner
printf allows to print escape sequences (e.g. for colored output) and is part of the POSIX standard. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-31angstrom-lxde-image.bb: drop webbrowser webkitgtk-bin for vybridsMax Krummenacher
There are issues with running it with the mesa EGL component. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-31angstrom-lxde-image.bb: deploy gpioconfig for Colibri iMX6Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-31apalis/colibri_imx6: update scripts for fast boot mode migrationMarcel Ziswiler
Adjusted update scripts for fast boot mode migration as per the following article on our developer website: http://developer.toradex.com/knowledge-base/linux-booting#eMMC_Fast_Boot_Mode_ApalisColibri_iMX6 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-30angstrom-lxde-image.bb: don't install a second icon themeMax Krummenacher
pcman-fm and gtk RRECOMMEND adwaita. Do not install them and keep the lxde-icon-theme Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-30angstrom-lxde-image: don't force a dependency on gstreamer 1.0 for tegrasMax Krummenacher
On the tegras we have to stay with gstreamer 0.10. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-30angstrom-lxde-image: mx7: don't deploy gplay, grecordMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-30overrides: use append instead of +=Max Krummenacher
We want to append to the generic VAR when we build for a tegra machine. Using VAR_tegra += "" creates a machine specific VAR. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-30trdx-extra.inc: deploy u-boot utils for Colibri iMX7Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-30trdx-extra.inc: don't install mcc packagesMax Krummenacher
The Linux Kernel 4.4 for Colibri VF does currently not support the needed interfaces for mcc. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-14trdx-extra.inc: add rt-testsMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14images: keep mx7 in line with the other machinesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14colibri-imx7: flashing scipts: use new U-Boot implementationMax Krummenacher
e.g. look for files in ${board} subdirectory rather than in the media's root. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14angstrom-qt-x11-image.bb: remove likely unavailable phonon pluginMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14angstrom-qt-x11-image.bb: use gstreamer 1.0 for imxMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14image: add Colibri iMX7Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14fwd_blk.scr: add Colibri iMX7Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14images: cope with dropped xserver packagesMax Krummenacher
Newer xserver recipes dropped some packages, move them to RRECOMMEND rather than adding it to IMAGE_INSTALL. That way the image build independently of the used xserver version. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14angstrom-lxde-image: use webkit-gtk browserMax Krummenacher
midory has been dropped from oe-core Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14angstrom-lxde-image: use gstreamer 1.0 for the non tegra machinesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14angstrom-lxde-image: drop connman plugins no longer packaged seperatelyMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14trdx-extra: don't deploy license textMax Krummenacher
When building for a second machine after building for one the rootfs creation fails because some license files are not found. I belive this is caused by the following commit: https://github.com/Angstrom-distribution/meta-angstrom/commit/dae094d69a1f8651c822fb35d606bf59a615f244 All packages which are created from sstate fail do install in the rootfs likely because the license file is only available in the subdirectory of the machine for which it was originally built. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14images: move to V2.6 Version and add i.MX7 image nameMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14trdx-image-fstype: deploy zImage/device trees to bin folderStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-14update.sh: write kernel and device tree into static UBI volumesStefan Agner
Write kernel and device tree into seperate UBI Volumes. This allows to use a lot less UBI/UBIFS support in U-Boot, which should lower the risk of hitting bugs in this area. Boot times are also slightly faster (measurements showed an improvement of ~150ms). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-03-14images: trdx-extra: Enable USB suspend resume fix for VybridSanchayan Maity
Enable USB suspend resume fix for Vybrid. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14flash_eth.scr: allow image sizes > 640M for eMMC modulesMax Krummenacher
When using TFTP update, the rootfs must be in decimal numbered chunks on the tftp server. U-Boot reads the chunks, but does count hexadecimal thus limiting the number of chunks to 10. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-14Apalis iMX6 IT: fix U-Boot flash scriptMax Krummenacher
The U-Boot binary for the IT temperature range changed names from u-boot-it.imx to u-boot.imx-it. The flash_*.scr scripts did still use the old name resulting in the U-Boot not being found on the SD card or TFTP server. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-14gpioconfig: add binary for colibri-imx6Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-14gpioconfig: add dummy binary for unsupported machinesMax Krummenacher
Avoids WARNING: Unable to get checksum for gpioconfig SRC_URI entry GPIOConfig: file could not be found during recipe parse by providing a dummy GPIOConfig. The dummy displays a popup with a button that says that the program is not available on this machine. (cherry picked from commit e6959294ac99c87c7aabe2334d6582618ea3a825) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15feeds: use new Toradex feed as default feed URIStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15Apalis iMX6: flash scripts, add update_uboot_itMax Krummenacher
This has been missing since our move to boot from the eMMC boot partition. While at it clarify update.sh help. _it applies only to Apalis iMX6 IT modules. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15Apalis iMX6: U-Boot: change name for IT modulesMax Krummenacher
Change the name form u-boot-it.imx to u-boot.imx-it. This prepares for the upcomming move of the i.MX 6 based modules BSP to meta-fsl-arm-extra. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15colibri-imx6 flash scripts: move partconf setting to be lastMax Krummenacher
The command 'mmc partconf 0 1 1 0' seems to have no effect when it is in the middle of our migration cmdline resulting in U-Boot still being loaded from the user partition. Putting it as the last command seems to solve the issue. http://developer.toradex.com/software-resources/arm-family/linux/linux/release-details?view=all&issue=14774 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>