summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-07layer.conf: add layer dependenciesMax Krummenacher
While at it clean-up and unify with other Toradex layers. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07libusbgx: add empty placeholder g1.schemaMax Krummenacher
Prevents a warning when not building for one of the machines which have a g1.schema | WARNING: ...libusbgx/libusbgx_git.bb: Unable to get checksum for libusbgx SRC_URI entry g1.schema: file could not be found Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-02-08image_type_tezi: do not create image.json if teziimg is not requestedStefan Agner
In case teziimg is not among the requested images (not part of IMAGE_FSTYPES) we don't need to create a Toradex Easy Installer image.json file. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08libusbg: remove bbappend since superseded by libusbgxStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08libusbgx: add RNDIS configuration and systemd service for importStefan Agner
Update libusbgx to a version with OS Descriptor support for better interoperability with Windows operating systems. Add configuration using RNDIS with Toradex vendor id. Read serial number and product id from the device tree to configure the USB gadget device. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08libusbgx: Add recipe for libusbg successorStefan Agner
libusbgx (libusbg-neXt) is a fork of libusbg which is more actively maintained. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08image_type_tezi: rename image to teziimgStefan Agner
Avoid ambiguity with other uses of the string "tezi", e.g. when used as an image or distro name. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08tezi-metadata: use wrapup.sh script for Colibri iMX6 tooStefan Agner
The wrapup.sh script updates fuses/eMMC settings on-site. The same script can be used for Apalis iMX6 as well as for Colibri iMX6. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08fs-init: do not reload daemon configurationStefan Agner
In case the resizefs.sh script ends quite fast, the system might still be in boot sequence. Removing a systemd service can be problematic in that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). The following sequence shows this problem: Jan 12 00:16:45 apalis-imx6 sh[399]: Removed /etc/systemd/system/multi-user.target.wants/resizefs.service. Jan 12 00:16:45 apalis-imx6 systemd[1]: Reloading. Jan 12 00:16:45 apalis-imx6 root[704]: resizing mmcblk0p2 finished, new size is 3755M ... Jan 19 00:04:08 apalis-imx6 systemd[1]: dev-ttymxc0.device: Job dev-ttymxc0.device/start timed out. Jan 19 00:04:08 apalis-imx6 systemd[1]: Timed out waiting for device dev-ttymxc0.device. Jan 19 00:04:08 apalis-imx6 systemd[1]: Dependency failed for Serial Getty on ttymxc0. (the time has been updated between this to events, but that does not influence the issue) Using --no-reload avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08fs-init: remove duplicate resize scriptStefan Agner
The script used for all machines (e.g. T30) and the mx6 specific script are the very same scripts. Drop the mx6 specific script, with that the recipe will use the general scripts for all machines. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-11apalis-imx6: do in-field updates at the endColibri_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_20170112Stefan Agner
The boot partition configuration needs to be done _after_ writing to the boot partition (hence after flashing SPL and U-Boot). Move the whole migration script to the end by using the wrapup.sh script. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-11image_type_tezi: add custom image type for Toradex Easy InstallerStefan Agner
The Toradex Easy Installer is a Linux based installer for images. This commit adds a new image type which allows to build images flashable with this installer directly with OpenEmbedded. The installer needs a JSON based image description (image.json) which will be generated using a custom Python step. The IMAGE_CMD step then creates a bootfs tar.xz and creates a tar with the bootfs, rootfs, U-Boot and SPL, image.json and some more metadata files. This tarball can be extracted on a SD card, USB flah drive or HTTP server and consumed by the Toradex Easy Installer. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-11tezi-metadata: initial commit of Tezi specific image metadataStefan Agner
This adds metadata files required by Toradex Easy Installer. Most notable is the Linux specific migration script which is executed before flashing an image. The script makes sure that hardware specific upgrades such as fuses/eMMC reconfiguration get executed, as our U-Boot based scripts do when using "run update". Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-11Update README to depend on the morty versionMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-01-11systemd: remove patch now provided upstreamMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29systemd: split bbappend to only change bsp releated mountColibri_iMX7_LinuxImageV2.6.1Beta1_20160929Colibri_iMX6_LinuxImageV2.6.1Beta1_20160929Colibri_VF_LinuxImageV2.6.1Beta1_20161001Colibri_T30_LinuxImageV2.6.1Beta1_20160929Colibri_T20_LinuxImageV2.6.1Beta1_20160929Apalis_iMX6_LinuxImageV2.6.1Beta1_20160929Apalis_TK1_LinuxImageV2.6.1Beta2_20161122Apalis_TK1_LinuxImageV2.6.1Beta1_20160929Apalis_T30_LinuxImageV2.6.1Beta1_20160929jethroMax Krummenacher
The BSP should automount for all users. The Demo Software Layers cares for RNDIS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29meta-openembedded layer bbappendsMax Krummenacher
Move the appends on recipe's which are not in an essential required layer into a target layer specific directory and add them only if said layer is active in build/conf/bblayers.conf. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-29update readme and copying.mitMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-29add layer.confMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
2016-09-29apalis-tk1: integrate usb-rndismeta-toradex_splitMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-09-29machine conf: remove setting of MACHINE_GUI_CLASSMax Krummenacher
This is only used for choosing a custom logo size. Not needed in our use case. meta-openembedded/meta-oe/recipes-kernel/linux/linux.inc Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29u-boot: get rid of obsolete patchesMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-09-29psplash-angstrom_git.bbappend: removed, *.bb no longer existsMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-14libvpx: add mx7 overrideMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14libvpx bbappend: remove patchMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14systemd patch: rebase after version upgradeMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14linux-firmware: drop bbappend, changes are now in metaMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-03-14Apalis/Colibri iMX6: drop in favour of meta-fsl-arm-extraMax Krummenacher
machine/u-boot/kernel files have been added to meta-fsl-arm-extra. Use them from there now. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-12-15linux-firmware: backport rtl8192cx: Add latest available firmwareMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15Update all U-Boot versions to latestMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15linux-toradex-fsl: update to latest revisionMax Krummenacher
Update to latest revision which fixes Colibri iMX6D not powerering off but creating a stacktrace. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15linux-toradex_4.1: convert recipe to bbappendMax Krummenacher
We have this recipe in meta-fsl-arm-extra. Convert it to a bbappend and only keep the changes to the bb files. 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-15README: Add README with dependency and contribution informationStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-12-15libusbg: make sure USB RNDIS Gadget is started before networkdStefan Agner
Despite the reordering of when to load the USB Gadget configuration with commit fadb16f153aa ("libusbg: enable USB Gadgets after Connman to avoid interference") the network device ended up to be down after startup. It seems that there is a race condition in systemd-networkd which triggers especially in combination with USB Gadget, a issue on the systemd issue tracker has been created: https://github.com/systemd/systemd/issues/1784 There have been various changes related to link handling between systemd 219 and the latest version 227. It is possible that the issue is already solved. Until this has been resolved, explicitly load the USB Gadget before starting systemd-networkd seems to get around the issue. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2015-11-04Apalis/Colibri iMX6: Update Linux kernel to latestMax Krummenacher
2015-11-04linux: fix B != SMarcel Ziswiler
2015-11-04apalis/colibri_imx6/t20/t30: add version/git hash to KernelStefan Agner
Add LOCALVERSION and generate a scmversion file to annotate the Kernel with the Toradex release and a git hash.
2015-11-04libusbg: enable USB Gadgets after Connman to avoid interferenceStefan Agner
It seems that Connman disables ALL interfaces on startup, even if they are listed in NetworkInterfaceBlacklist. This leads to the following situation: networkd starts... usb0 gets created... networkd sets the device up (event triggered) connman starts... and sets the device down! networkd does not restart the device in this situation. To avoid the situation, create the USB Gadget functions after connman. It seems that if connman is up and running, it does not touch the device anymore.
2015-11-04apalis/colibri_imx6: update/load USB Gadget ConfigFS automaticallyStefan Agner
Since we use USB Gadget ConfigFS now use libusbg to load the USB Gadget configuration automatically.
2015-11-03Update Linux kernel and U-Boot to latest.Marcel Ziswiler
2015-10-30joe: drop recipe in favour of meta-openembeddedMax Krummenacher
meta-openembedded provides a recipe for joe, use that one.
2015-10-30chromium: remove outdated bbappendMax Krummenacher
2015-10-30evdev: remove old backportStefan Agner
The evdev version provided by oe-core is in the meantime newer than this backport, hence we can safely remove it.
2015-10-29udev-extraconf: revert to mountpoints in /mediaMax Krummenacher
oe-core moved the mountpoint used to /run/media/<drive>. In our setup we don't see issues with /media being read only when udev starts mounting. In our environment with graphical desktop udisks will later take over the automount job and udisks currently still uses /media, so keep this consistent between mounting at boottime and mounting at runtime. Refer to openembedded-core commits: acfe3014d41de5e87cdbc58d0396349c6b9c3ffd 62ae16c40252f39ba28e072218d67f47b26b3535
2015-10-29systemd-udevd.service.in: set MountFlags=sharedMax Krummenacher
2015-10-28machine Apalis iMX6: deploy Ixora device treesMax Krummenacher
2015-10-28machines iMX6: drop pinning of X-Server versionMax Krummenacher
2015-10-28fs-init: start resizefs.service in multi-user.targetMax Krummenacher
Non graphical images will never execute graphical.target services.
2015-10-28fs-init.bb: follow e2fsprogs package splitMax Krummenacher
With fido e2fsprogs did split out the package e2fsprogs-resize2fs. RRECOMMEND it so that it gets picked up during rootfs creation.