build/patch/kernel
Thomas Kaiser 544d4bceef Add (disabled) g_ether mode patch for sun8i/H3 legacy
Introduction
~~~~~~~~~~~~~~~
USB gadget is a mode of Linux USB port handling when Linux is not driving
the port as a host port, but as a device - this lets Linux act as a mass
storage (usb hdd, usb cdrom, etc.), a hid device (mouse, keyboard), a
webcam, etc.

Orange PI and some other cheap arm boards feature an OTG port; OTG means
on-the-go: the electronics implements both host and device roles, the software
driver can change the role any time. The Linux kernel calls device mode
drivers "gadgets".

Converting one of the ports to a gadget is often useful:
  - the cheap arm board can become the hardware implementation of a complex
    USB peripheral for a PC
  - an arm mini-server can expose some of its internals over the USB to a PC,
    e.g. an orange PI used as a NAS also mountable as a mass storage over USB
  - a second ethernet port using g_ether

How to set it up
~~~~~~~~~~~~~~~~~~~
As of Jun 2016, the following process worked for
2016-06-12 20:23:03 +02:00
..
cubox-default 3.14 upstream patches for cubox, udoo, c2 legacy kernel 2016-06-08 06:29:11 +02:00
cubox-dev Fixed patches according to: 2016-06-07 12:46:57 +02:00
cubox-next Updating patch for HB2 / vanilla 2016-06-12 17:48:36 +02:00
marvell-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
marvell-next Fixed patches according to: 2016-06-07 12:46:57 +02:00
neo-default 3.14 upstream patches for cubox, udoo, c2 legacy kernel 2016-06-08 06:29:11 +02:00
odroidc1-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
odroidc2-default 3.14 upstream patches for cubox, udoo, c2 legacy kernel 2016-06-08 06:29:11 +02:00
odroidxu4-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
odroidxu4-next Fixed patches according to: 2016-06-07 12:46:57 +02:00
pine64-default Force using bash in post install script. 2016-05-28 21:19:55 +02:00
s500-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
sun4i-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
sun5i-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
sun7i-default Fixed patches according to: 2016-06-07 12:46:57 +02:00
sun8i-default Add (disabled) g_ether mode patch for sun8i/H3 legacy 2016-06-12 20:23:03 +02:00
sun8i-dev Fixed patches according to: 2016-06-07 12:46:57 +02:00
sun8i-old Fixed patches according to: 2016-06-07 12:46:57 +02:00
sunxi-dev Fixed patches according to: 2016-06-07 12:46:57 +02:00
sunxi-next Fixed patches according to: 2016-06-07 12:46:57 +02:00
udoo-default 3.14 upstream patches for cubox, udoo, c2 legacy kernel 2016-06-08 06:29:11 +02:00
udoo-next Fixed patches according to: 2016-06-07 12:46:57 +02:00
compiler.patch Delete one patch too many 2015-12-27 16:28:32 +01:00