summaryrefslogtreecommitdiff
path: root/recipes-support
AgeCommit message (Collapse)Author
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-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-03libusbgx: add i.mx 6ullMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-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-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-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-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-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>
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>
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-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-05-12libusbg: add updated version of USB gadget libraryStefan Agner
Add updated version of USB gadget library. Also add a systemd start- script which loads the default schema located at /etc/usbg/g1.schema.