Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
This reverts commit e6641b0a6f93ebf752534b283d0dfb0c2c656ec2.
|
|
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Remove crypto packageconfig which no longer exists.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
with its aquivalent do_image_teziimg[depends].
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Use KERNEL_VERSION variable instad of running
make kernelversion
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|