summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-22linux-firmware: rework additional package splitsmortyMax Krummenacher
The OE-Core layer backported some of the package splits to later versions of morty, resulting in a fatal QA error because this bbappend added the same packages. | ERROR: linux-firmware-1_0.0+gitAUTOINC+bf04291309-r0 do_package: QA Issue: linux-firmware-sd8887 is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list] Convert this to some python magic to stay backward/forward compatible with any version of openembedded-core, morty branch. Reported-by: Jay Zhao Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22libusbgx: update libusbgx configuration to upstream formatStefan Agner
Since the OS Descriptor feature has been reviewed and upstreamed the USB Gadget library configuration format changed slightly. Update the configuration files to make sure they work with the current upstream library version. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 6eb3dc989c3172dfb34ac5d8c40f6db40a3abf99)
2017-12-22libusbgx: switch to upstream git repositoryStefan Agner
The OS descriptor changes have been merged upstream, hence we can use upstream libusbgx again. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22libusbgx: create separate package for examplesStefan Agner
In the Toradex Easy Installer we do not use the example programs or configuration. Create a separate package for the library and the example programs and configurations. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-06backports: pin version to specific git hashMax Krummenacher
Don't use HEAD of branch for every build. That way we get more reproduciable builds and the git fetcher will not access the network on every build to check what the current HEAD actually is. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-11-27linux-firmware: split out firmware for marvell sd8887Colibri-iMX6ULL_LXDE-Image_2.7b5-20171201Apalis-TK1_LXDE-Image_2.7b5-20171201Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-11-27image_type_tezi: make sure Tezi image use the -Tezi suffixStefan Agner
To clearly distinguish between images for Toradex Easy Installer and legacy images we add the suffix -Tezi to the Toradex Easy Installer images. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-11-27image_type_tezi: make sure image.json uses RFC 3339 datesStefan Agner
Use RFC 3339 date (2017-11-15) in the release_date field. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-11-27tdx_version: increment morty version to 2.7b5Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-04backports: use oe supplied kernel_versionColibri-iMX7_LXDE-Image_2.7b4-20171005Colibri-iMX6_LXDE-Image_2.7b4-20171005Colibri-VF_LXDE-Image_2.7b4-20171005Colibri-T30_LXDE-Image_2.7b4-20171005Colibri-T20_LXDE-Image_2.7b4-20171005Apalis-iMX6_LXDE-Image_2.7b4-20171005Apalis-TK1_LXDE-Image_2.7b4-20171007Apalis-TK1-Mainline_LXDE-Image_2.7b4-20171005Apalis-T30_LXDE-Image_2.7b4-20171005Dominik Sliwa
Use KERNEL_VERSION variable instad of running make kernelversion Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-10-04tdx_version.conf: bump version to beta 4Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tezi-metadata: add apalis-tk1 and apalis-tk-mainline to compatible machineMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03image_type_tezi: uboot_binary handling cbootimage for apalis tk1Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03image_type_tezi: configurable payload offsetsMarcel Ziswiler
Use configurable rather than hard-coded boot ROM and SPL payload offsets. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2017-10-03image_type_tezi: make sure UBOOT_BINARY is definedStefan Agner
UBOOT_BINARY is only available in U-Boot recipes and the Toradex image recipes. If the Toradex image recipes are not used, then UBOOT_BINARY is undefined and image.json contains "null" instead of the binary name. Define UBOOT_BINARY with a reasonable default. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03image_type_tezi: generate image.json as a image prefuncStefan Agner
Generate the image description file just before the Tezi image gets generated by attaching rootfs_tezi_json as a prefunc of do_image. It should lead to better root file system size estimation since all do_rootfs post processing functions have been processed at that time. It also allows to move the check whether an Tezi image will be built into the anonymous python function. Later we should be able to get rid of the check by just adding rootfs_tezi_json as a prefunc of do_image_tezirun. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03image_type_tezi: depend on u-bootMax Krummenacher
Without this, if nothing else makes sure that U-Boot got built then image_type_tezi fails. This can happen when one does build core-image-minimal. | NOTE: Create bootfs tarball | tar: SPL: Cannot stat: No such file or directory Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03libusbgx: fix USB vendor IDStefan Agner
So far a generic USB vendor and product ID has been used in the Toradex specific schema files. However, the startup service wrote a Toradex specific USB product ID. This lead to the awkward combination of a generic USB vendor ID and Toradex specific product ID. Use the Toradex vendor ID by default and do not specify the product ID since it will get filled in by the usbg service. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03libusbgx: use Colibri iMX7 schema for all i.MX 7 SoCsStefan Agner
This allows to use the same schema for Colibri iMX7 with raw NAND and eMMC flash. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03image_type_tezi: do not discard by defaultStefan Agner
The utility to create ext4 file systems (mkfs.ext4) discards all data on the target partition before creating the file system by default. On some eMMC this operation takes a while several seconds which makes flashing images slow. Often a new image is written to a already (almost) empty eMMC, so there is not a lot of value in discarding all data before flashing. Also, the Toradex Easy Installer has its own option which uses blkdiscard to discard blocks before writing (see "erase" option). Disable discard during file system creation by default using the nodiscard option. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03image_type_tezi: support non-SPL eMMC targetsStefan Agner
Colibri iMX7 Dual 1GB uses eMMC but no SPL. Make sure that Tezi flashes the u-boot.imx binary to the location where the boot loader expects the image. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tezi-metadata: fix spelling mistakes in commentsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03tezi-metadata: mx6ull: add empty wrapup.sh scriptMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03libusbgx: add i.mx 6ullMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03image_type_tezi: use standard variables as much as possibleStefan Agner
Use OpenEmbedded standard variables such as PV and DATE as much as possible. This allows to reuse the Tezi image class for non- Toradex images with their own versioning scheme. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03classes/image_type_tezi.bbclass: fix for dtb filenames containing multiple dotsMax Krummenacher
In IMAGE_CMD_teziimg(), 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. 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-03linux-firmware: firmware for rtl8188euDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03backports: toradex backports packageDominik Sliwa
Introducing Backports. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-07-27image_type_tezi: Update tezi to use ext4 by default for emmcSanchayan Maity
Update tezi to use ext4 by default for emmc. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-07-04xfsprogs: 4.11.0 with build time fixMarcel Ziswiler
Pull later xfsprogs 4.11.0 from meta-filesystems required by snapd from meta-snappy: http://cgit.openembedded.org/meta-openembedded/commit/meta-filesystems/recipes-utils/xfsprogs?id=d53546b7cb38e0dfea6f458859f7f477065daa43 This already incorporates the following fix as reported by our customer: https://patchwork.openembedded.org/patch/141247/ Reported-by: Carlos Silvestre Herrera Trujillo <carlos.herrera.trujillo@gmail.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-07-01snapd: fix path shell escapingColibri-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-20170630Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-07-01snapd: don't pollute /etc/environmentMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-07-01snapd: fix building with python3-docutils rst2manMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30snapd: copied from meta-snappyMarcel Ziswiler
https://github.com/morphis/meta-snappy/commit/f6df6a63756d9976bcccb5fefdbc64e5cc794c99 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30python3-docutils: fix build time rst2man dependencyMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30tdx_version.conf: update to 2.7.3 resp. 2.7b3 for Q2 2017 releaseMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-09libusbgx: fix usb product id calculationStefan Agner
The Toradex product ID from the config block is decimal coded ASCII with leading zeros. In C and bash, leading zeros means octal number... This leads to wrong calculation of the USB product ID and to errors if the product ID contains the number 8 or 9 (since those are not valid under the octal numeric system). Fix both issues by explicitly force decimal system for the Toradex product ID. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09gpio-export: do not export gpios used for ov5640 reset and power controlBhuvanchandra DV
Toradex CSI 5MP OV5640 camera module uses two GPIOs for power and reset control, exporting them here leads to failure of OV5640 driver. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-09image_type_tezi: make small volumes staticStefan Agner
The volumes for kernel, device tree and Cortex-M4 firmware get updated with a single binary for which a static volume is better suited. This also allows the boot code to only load the amount of written bytes and therefore speeds up boot time. Static volumes have been used already with the update.sh script based update method. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09image_type_tezi: pack raw nand images without bootfsStefan Agner
Raw NAND images flash the kernel and device tree directly into UBI volumes, hence there is no need to generate a bootfs tarball. Leave the kernel and device tree unpacked so we can copy it directly into the UBI volume. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09layer.conf: include correct filename tdx_version.confStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09image_type_tezi: add raw nand device supportStefan Agner
Add support for raw NAND devices. Describe the layout of the MTD partitions and UBI volumes using JSON. Also split the storage description into a separate function, called depending on a machine specific variable for eMMC and raw NAND. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09meta-toradex-bsp: add colibri imx7 to supported machinesStefan Agner
The default (empty) prepare/wrapup scripts will be used which is fine since there is no need for special scripting on Colibri iMX7 currently. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-06-09layer.conf: export the tdx version variablesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07apalis/colibri-imx6/t30/tk1: read ahead cache configurationColibri-iMX7_LXDE-Image_2.7b2-20170410Colibri-iMX6_LXDE-Image_2.7b2-20170410Colibri-VF_LXDE-Image_2.7b2-20170410Colibri-T30_LXDE-Image_2.7b2-20170410Colibri-T20_LXDE-Image_2.7b2-20170410Apalis-iMX6_LXDE-Image_2.7b2-20170410Apalis-TK1_LXDE-Image_2.7b2-20170410Apalis-T30_LXDE-Image_2.7b2-20170410Leonardo Graboski Veiga
Configure the read_ahead cache size to optimal value, for the mmcblk devices (eMMC and SD card). The cache values are module specific, tests were run on the pre-built image (BSP V2.7 Beta 1). The measurement of read speed for a range of cache sizes (16kB to 256MB) was made using hdparm -t. Signed-off-by: Leonardo Graboski Veiga <leogveiga@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07image_type_tezi: 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-07tdx_version.conf: add variables to construct the bsp versionMax Krummenacher
0123456789012345678901234567890123456789012345678901234567890123456789 These variables are used to mark the BSP version in U-Boot, the Linux kernel and the final image. Note that some can be overridden from the shell environment, e.g.: export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TDX_VERNIGHTLY" export TDX_VERNIGHTLY="-nightly" Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07meta-toradex-bsp: clean-up whitespace useMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07fix-up mesa packageconfigMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07recipes: remove unneeded RDEPENDSMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>