summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-28u-boot-toradex: add inc to generate U-Boot default environmentStefan Agner
Including u-boot-toradex-env.inc will generate a uEnv.txt text file containing the default environment of the U-Boot binary. This is useful for Toradex Easy Installer to write the default environment using the "u_boot_env" property. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22atemsys: bump version to latest versionStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22Revert "Revert systemd: remove patch now provided upstream"Max Krummenacher
OE-core dropped to do this for whatever reasons. Compare with openembedded core, commit 6c1765a05c1321f08f3d1fb521dfe6b07bc8e92 * Drop mount propagation patch, it only happens with libseccomp, OE doesnt enable it This reverts commit a8ee603737444c74db61d0a705b08e9a1dea5158. The patch is forward ported to systemd 234. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22tdx_version: add hint to also update Toradex mirror URLStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22tdx_version: increment rocko version to 2.8b2Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-28backports: update to latest revisionColibri-iMX7_LXDE-Image_2.8b1.64-20171229Colibri-iMX6_LXDE-Image_2.8b1.64-20171229Colibri-iMX6ULL_LXDE-Image_2.8b1.64-20171229Colibri-VF_LXDE-Image_2.8b1.64-20171229Colibri-T30_LXDE-Image_2.8b1.64-20171229Colibri-T20_LXDE-Image_2.8b1.64-20171229Apalis-iMX6_LXDE-Image_2.8b1.64-20171229Apalis-TK1_LXDE-Image_2.8b1.64-20171229Apalis-TK1-Mainline_LXDE-Image_2.8b1.64-20171229Apalis-T30_LXDE-Image_2.8b1.64-20171229Stefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22backports: update defconfigDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22mtd-utils: remove 32-bit variant of mtd-utils from base BSP layerStefan Agner
The 32-bit variant of mtd-utils interferes with OpenEmbedded pseudo root capabilities. This breaks building UBI/UBIFS image using OE mechanism. Since mtd-utils is required in the legacy image package only we can safely move it to the meta-toradex-demos layer. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22Revert "linux-firmware: split out firmware for marvell sd8887"Dominik Sliwa
This reverts commit e6641b0a6f93ebf752534b283d0dfb0c2c656ec2.
2017-12-22backports: switch to 4.14 kernel based backportsDominik Sliwa
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-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>
2017-12-22tdx_version: add TDX_BUILDNBStefan Agner
TDX_BUILDNB is an optional build number to identify a specific build. This is useful for CI builds. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22tdx_version: adapt variable names to versioning reworkMax Krummenacher
The terms external and internal version has been changed to package and item version. Use variable names to reflect that. TDX_VER_EXT -> TDX_VER_PACKAGE TDX_VER_EXT_MIN -> TDX_VER_PACKAGE_MIN TDX_VER_INT -> TDX_VER_ITEM While at it fix spelling in TDX_VER_MINOR (only used within the file). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22backports: fix dependsMax Krummenacher
add coreutils native to depends in do_configure: | /bin/bash: line 28: seq: command not found resulting in do_compile failing: | In file included from /build/krm/oe-core_master/build/tmp-glibc/work/colibri_vf-angstrom-linux-gnueabi/backports/4.11-r0/git/net/mac80211/ieee80211_i.h:35:0, | from /build/krm/oe-core_master/build/tmp-glibc/work/colibri_vf-angstrom-linux-gnueabi/backports/4.11-r0/git/net/mac80211/status.c:17: | /build/krm/oe-core_master/build/tmp-glibc/work/colibri_vf-angstrom-linux-gnueabi/backports/4.11-r0/git/net/mac80211/sta_info.h:460:21: error: field 'hash_node' has incom | struct rhlist_head hash_node; | ^~~~~~~~~ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22libvpx bbappend: follow version upgradeMax Krummenacher
The append is only needed for T20 as it does not have a neon unit. The other SoC compile fine without any change. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22recipes: fix invalid license file locationMax Krummenacher
Use '${COMMON_LICENSE_DIR} for license files fix the warning: | WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic: | ${COREBASE}/LICENSE is not a valid license file, please use |'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. |This will become an error in the future Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22layer.conf: warn only if dangling bbappends are foundMax Krummenacher
With the drop of meta-linaro-toolchain bbappend files without a matching bb file lead to a fatal ERROR. Keep this a warning in our setup. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22snapd: fix build with update go infrastructureMax Krummenacher
go now has its own compile class. Use it and make it work. snapd uses both autoconf and go, but the autoconf and go class compete for the configure/compile class, so manually add what is additonally needed for go. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22snapd: remove patch files no longer usedMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22snapd: compile with arm instruction setMax Krummenacher
When compiling for thumb one gets errors like this: | ../recipe-sysroot-native/usr/lib/arm-angstrom-linux-gnueabi/go/pkg/tool/linux_amd64/link \ | -o $WORK/github.com/snapcore/snapd/cmd/snap/_obj/exe/a.out -L $WORK \ | -L .../recipe-sysroot/usr/lib/arm-angstrom-linux-gnueabi/go/pkg/linux_arm \ | -extld=arm-angstrom-linux-gnueabi-gcc "-extldflags=-march=armv7-a -mthumb \ | -mfpu=neon -mfloat-abi=hard --sysroot=.../recipe-sysroot" -buildmode=exe \ | -buildid=e86c00f573bc1df95256a4a05d36066839bfed34 $WORK/github.com/snapcore/snapd/cmd/snap.a | # github.com/snapcore/snapd/cmd/snap | /tmp/go-build238845398/os/user.a(_all.o): unknown relocation type 30; compiled without -fpic? | invalid rela size 1 | /tmp/go-build238845398/net.a(_all.o): unknown relocation type 30; compiled without -fpic? | invalid rela size 1 | ... Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22snapd: make the go build verboseMax Krummenacher
As OE generally hides the build output from the console it does not clutter the screen, however if something goes wrong the log file contains important debug info. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22snapd: backport pyro version from meta-snappyMax Krummenacher
meta-snappy now uses go from oe-core. This commit backports the relevant changes to the recipe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22python3-docutils: use version wildcard with bbappendMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22mesa: sync with upstream packageconfig changesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22mesa_%.bbappend: follow oe-core update to 17.0.xMax Krummenacher
Remove crypto packageconfig which no longer exists. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22image_type_tezi: replace depracated IMAGE_DEPENDSMax Krummenacher
with its aquivalent do_image_teziimg[depends]. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22tdx_version: increment rocko version to 2.8b1Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
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>