armbian-build/patch/kernel/sun8i-default
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
..
unresolved Added @lex' improved GC2035 driver from https://github.com/avafinger/gc2035 2016-06-11 17:27:24 +02:00
02-0001-patch-3.4.39-40.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.40-41.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.41-42.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.42-43.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.43-44.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.44-45.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.45-46.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.46-47.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.47-48.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.48-49.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.49-50.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.50-51.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.51-52.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.52-53.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.53-54.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.54-55.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.55-56.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.56-57.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.57-58.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.58-59.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.59-60.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.60-61.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.61-62.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.62-63.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.63-64.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.64-65.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.65-66.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.66-67.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.67-68.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.68-69.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.69-70.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.70-71.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.71-72.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.72-73.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.73-74.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.74-75.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.75-76.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.76-77.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.77-78.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.78-79.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.79-80.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.80-81.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.81-82.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.82-83.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.83-84.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.84-85.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.85-86.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.86-87.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.87-88.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.88-89.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.89-90.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.90-91.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.91-92.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.92-93.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.93-94.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.94-95.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.95-96.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.96-97.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.97-98.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.98-99.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0001-patch-3.4.99-100.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.100-101.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.101-102.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.102-103.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.103-104.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.104-105.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.105-106.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.106-107.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0002-patch-3.4.107-108.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0003-linux-sunxi-3.4.108-overlayfs.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0004-patch-3.4.108-109.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0004-patch-3.4.109-110.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0004-patch-3.4.110-111.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0004-patch-3.4.111-112.patch Upstream patches for sunxi LEGACY 3.4.112 2016-04-28 17:05:47 +02:00
02-0005-backport-firmware-loader.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0007-fbdev-fixes.patch.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0008-backport-lirc-sunxi-driver.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0009-unify-ethernet-settings.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0010-export_read_current_timer.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0011-fbtft_for_older.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0013-w1_h3.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-0014-no_dev_console.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
02-rtl2832.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0001-Fix-compilation-problems-with-more-modern-version-of.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0003-sunxi-mali-Add-Mali400-r3p0-driver-code-from-sunxi-3.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0004-HACK-Make-Mali400-driver-work-on-H3.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0006-sunxi-disp2-FBIO_WAITFORVSYNC-as-a-modifier-for-FBIO.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0009-sunxi-cpufreq-Add-1296-MHz-operating-point.patch.disabled Added extended frequency table for sun8i-default 2016-05-15 20:15:55 +03:00
0010-Import-GMAC_PHY_POWER-support-from-the-loboris-sourc.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0011-gpu-drm-Add-Mali-DX910-SW-99002-r2p4-02rel1.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0012-drm-mali-fix-for-3.4.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0013-gpu-drm-mali_drv-fixed-integration-with-3.x-kernels-.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0015-Fix-paths-to-files-in-src-erroneously-searched-for-i.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0016-gcc5-fixes.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0017-linux-sunxi-add-missing-compiler-gcc5.h-from-master.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0018-orangepi_h3_gc2035_camera.patch Added @lex' improved GC2035 driver from https://github.com/avafinger/gc2035 2016-06-11 17:27:24 +02:00
0023-WIP-remove-vsync_task-from-sunxi-fb-driver.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0024-pwm-sunxi-support-for-H3-as-appears-in-loboris-initi.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0025-h3-hdmi-table-reformatting-for-readability-from-lobo.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
0027-h3-hdmi-HDMI_EDID-from-loboris-initial-source-import.patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
add_8189es_v4.3.18.1_15373.20151005.patch 8189fs and updated 8189es driver for sun8i kernel. both are briefly tested in normal and AP mode 2016-05-31 16:16:40 +02:00
add_8189fs_v4.3.24_15589.20151023.patch 8189fs and updated 8189es driver for sun8i kernel. both are briefly tested in normal and AP mode 2016-05-31 16:16:40 +02:00
bash_to_afterinstall.patch Force using bash in post install script. 2016-05-28 21:19:55 +02:00
cpufreq-add-more-frequencies.patch Updated extended frequency table for sun8i-default 2016-05-17 16:17:24 +03:00
enable_g_ether.patch.disabled Add (disabled) g_ether mode patch for sun8i/H3 legacy 2016-06-12 20:23:03 +02:00
fix-kswapd.patch Apply changes noted by Jernej in #219 2016-06-09 21:26:23 +03:00
linux-82-fix-build-on-non-amd64-hosts.patch To compile sun8i kernel on x86 host 2016-05-27 06:08:32 +02:00
linux-88-enable-tv.patch TV out patch for Orange pi pc 2016-05-21 18:10:10 +02:00
m2-plus-ap6212-wireless.patch Wireless driver for Banana M2+ (bcmdhd) 2016-05-12 13:07:58 +02:00
packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch Fixed patches according to: 2016-06-07 12:46:57 +02:00
remove-sunxi-debug.patch Patch update due to merge, logbook - updated some images 2016-06-05 08:42:25 +02:00
sun8i-led-behaviour-through-fex.patch Revert back to previous LED behaviour on H3 boards 2016-06-05 23:52:12 +02:00
sun8i-simple-cpu-corekeeper.patch Update corekeeper patches 2016-05-24 20:29:35 +03:00
tbs5520.patch Turbosight TBS5520 USB2 DVB-T/T2/C/S/S2 device 2016-04-13 09:50:36 +02:00
wdt_reduce_logging.patch Reduce sun8i-default sunxi_wdt logging verbosity 2016-06-10 12:57:00 +03:00