Age | Commit message (Collapse) | Author |
|
The update is mostly bugfixing, notably:
This fixes a build error with glibc 2.28.
<sys/sysmacros.h> is no more included by <sys/types.h>
additionally:
Add support for UAC2 function
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Using "10#" to treat the product ID as a decimal value does not
work with the BusyBox shell. Use eval productid + 0 which works
well with bash and BusyBox to convert to a decimal value.
Signed-off-by: Stefan Agner <stefan.agner@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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
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>
|
|
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>
|
|
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>
|