mirror of https://github.com/armbian/build.git
Add USB DT overlays to small H2+/H3/H5 boards
Enables USB ports on pin headers by default on future Armbian images
This commit is contained in:
parent
e193addaa3
commit
e1ab0cbed9
|
|
@ -5,6 +5,7 @@ BOOTCONFIG="nanopi_neo_air_defconfig"
|
|||
#
|
||||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir hci_uart rfcomm hidp dhd g_serial"
|
||||
MODULES_NEXT="brcmfmac g_serial"
|
||||
DEFAULT_OVERLAYS="usbhost1 usbhost2"
|
||||
CPUMIN="240000"
|
||||
CPUMAX="912000"
|
||||
#
|
||||
|
|
@ -22,4 +23,4 @@ CHIP="http://docs.armbian.com/Hardware_Allwinner-H3/"
|
|||
HARDWARE="https://linux-sunxi.org/FriendlyARM_NanoPi_NEO"
|
||||
FORUMS="http://forum.armbian.com/index.php/forum/13-allwinner-h3/"
|
||||
MISC3="<a href=http://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/>Minimize consumption</a>"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ BOOTCONFIG="nanopi_duo_defconfig"
|
|||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir xradio_wlan g_serial xradio_wlan"
|
||||
MODULES_NEXT="g_serial"
|
||||
MODULES_BLACKLIST="dhd"
|
||||
DEFAULT_OVERLAYS="usbhost2"
|
||||
DEFAULT_OVERLAYS="usbhost2 usbhost3"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
BUILD_DESKTOP="no"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ BOOTCONFIG="nanopi_neo_defconfig"
|
|||
#
|
||||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir g_serial"
|
||||
MODULES_NEXT="g_serial"
|
||||
DEFAULT_OVERLAYS="usbhost1 usbhost2"
|
||||
CPUMIN="240000"
|
||||
CPUMAX="912000"
|
||||
#
|
||||
|
|
@ -22,4 +23,4 @@ CHIP="http://docs.armbian.com/Hardware_Allwinner-H3/"
|
|||
HARDWARE="https://linux-sunxi.org/FriendlyARM_NanoPi_NEO"
|
||||
FORUMS="http://forum.armbian.com/index.php/forum/13-allwinner-h3/"
|
||||
MISC3="<a href=http://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/>Minimize consumption</a>"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ BOOTCONFIG="nanopi_neo2_defconfig"
|
|||
#
|
||||
MODULES=""
|
||||
MODULES_NEXT=""
|
||||
DEFAULT_OVERLAYS="usbhost1 usbhost2"
|
||||
CPUMIN="480000"
|
||||
CPUMAX="912000"
|
||||
#
|
||||
|
|
@ -21,4 +22,4 @@ BOARDRATING=""
|
|||
CHIP="https://docs.armbian.com/Hardware_Allwinner-H5-A64/"
|
||||
HARDWARE=""
|
||||
FORUMS="https://forum.armbian.com/index.php/forum/11-other-boards/"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
BUY="https://s.click.aliexpress.com/e/33723rR"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ LINUXFAMILY="sun50iw2"
|
|||
BOOTCONFIG="nanopi_neo_plus2_defconfig"
|
||||
MODULES=""
|
||||
MODULES_NEXT=""
|
||||
DEFAULT_OVERLAYS="usbhost1 usbhost2"
|
||||
CPUMIN="480000"
|
||||
CPUMAX="1008000"
|
||||
#
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ BOOTCONFIG="orangepi_zero_defconfig"
|
|||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir xradio_wlan g_serial xradio_wlan"
|
||||
MODULES_NEXT="g_serial"
|
||||
MODULES_BLACKLIST="dhd"
|
||||
DEFAULT_OVERLAYS="usbhost2 usbhost3"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
BUILD_DESKTOP="no"
|
||||
|
|
@ -21,4 +22,4 @@ BOARDRATING=""
|
|||
CHIP="http://docs.armbian.com/Hardware_Allwinner-H3/"
|
||||
HARDWARE="http://linux-sunxi.org/Xunlong_Orange_Pi_Zero"
|
||||
FORUMS="http://forum.armbian.com/index.php/forum/13-allwinner-h3/"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ BOOTCONFIG="orangepi_zero_plus2_h3_defconfig"
|
|||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir hci_uart rfcomm hidp dhd g_serial"
|
||||
MODULES_NEXT="brcmfmac g_serial"
|
||||
MODULES_BLACKLIST=""
|
||||
DEFAULT_OVERLAYS="usbhost2 usbhost3"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
#
|
||||
|
|
@ -23,4 +24,4 @@ CHIP="http://docs.armbian.com/Hardware_Allwinner-H3/"
|
|||
HARDWARE="http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus_2"
|
||||
FORUMS="http://forum.armbian.com/index.php/forum/13-allwinner-h3/"
|
||||
MISC3="<a href=http://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/>Minimize consumption</a>"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ BOOTCONFIG="orangepi_zero_plus2_defconfig"
|
|||
MODULES="#w1-sunxi #w1-gpio #w1-therm #sunxi-cir hci_uart rfcomm hidp dhd g_serial"
|
||||
MODULES_NEXT="brcmfmac g_serial"
|
||||
MODULES_BLACKLIST=""
|
||||
DEFAULT_OVERLAYS="usbhost2 usbhost3"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
BUILD_DESKTOP="no"
|
||||
|
|
@ -22,4 +23,4 @@ CHIP="http://docs.armbian.com/Hardware_Allwinner-H5/"
|
|||
HARDWARE="http://linux-sunxi.org/Xunlong_Orange_Pi_Zero"
|
||||
FORUMS="http://forum.armbian.com/index.php/forum/13-allwinner-h3/"
|
||||
MISC3="<a href=http://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/>Minimize consumption</a>"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
BUY="http://s.click.aliexpress.com/e/VbA6AEq"
|
||||
|
|
|
|||
|
|
@ -153,9 +153,8 @@ InstallOpenMediaVault() {
|
|||
sed -i '/systemctl\ disable\ firstrun/a \
|
||||
sleep 30 && sync && reboot' /etc/init.d/firstrun
|
||||
|
||||
# add USB3 Gigabit Ethernet and NAS Dock support
|
||||
# add USB3 Gigabit Ethernet support
|
||||
echo -e "r8152\nax88179_178a" >>/etc/modules
|
||||
egrep -q "air|neo|zero" <<<${BOARD} && echo "overlays=usbhost0 usbhost2 usbhost3" >>/boot/armbianEnv.txt
|
||||
|
||||
# Special treatment for ODROID-XU4 (and later Amlogic S912, RK3399 and other big.LITTLE
|
||||
# based devices). Move all NAS daemons to the big cores.
|
||||
|
|
|
|||
Loading…
Reference in New Issue