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"
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
#
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ BOOTCONFIG="nanopi_neo2_defconfig"
|
|||
#
|
||||
MODULES=""
|
||||
MODULES_NEXT=""
|
||||
DEFAULT_OVERLAYS="usbhost1 usbhost2"
|
||||
CPUMIN="480000"
|
||||
CPUMAX="912000"
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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