Opi prime updates (#315)
* Backport support for Linux 4.19 Signed-off-by: Alastair D'Silva <alastair@d-silva.org> * OPI: Update Orange Pi Prime config to use Linux 4.19 Signed-off-by: Alastair D'Silva <alastair@d-silva.org> * OPI: Enable I2C0 on the Orange Pi Prime Signed-off-by: Alastair D'Silva <alastair@d-silva.org> * OPI: Enable GPIO via sysfs Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
This commit is contained in:
committed by
Pascal Vizeli
parent
4aa07960d8
commit
e858c774d2
@@ -30,7 +30,7 @@ choice
|
||||
prompt "Kernel version"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
bool "Latest version (4.18)"
|
||||
bool "Latest version (4.19)"
|
||||
|
||||
config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
bool "Latest CIP SLTS version (v4.4.154-cip28)"
|
||||
|
||||
@@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
|
||||
choice
|
||||
prompt "Kernel Headers"
|
||||
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
|
||||
default BR2_KERNEL_HEADERS_4_18
|
||||
default BR2_KERNEL_HEADERS_4_19
|
||||
help
|
||||
Select the kernel version to get headers from.
|
||||
|
||||
@@ -60,6 +60,10 @@ config BR2_KERNEL_HEADERS_4_18
|
||||
bool "Linux 4.18.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
|
||||
config BR2_KERNEL_HEADERS_4_19
|
||||
bool "Linux 4.19.x kernel headers"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
|
||||
config BR2_KERNEL_HEADERS_VERSION
|
||||
bool "Manually specified Linux version"
|
||||
help
|
||||
@@ -125,6 +129,10 @@ choice
|
||||
This is used to hide/show some packages that have strict
|
||||
requirements on the version of kernel headers.
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19
|
||||
bool "4.19.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
|
||||
config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18
|
||||
bool "4.18.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
|
||||
@@ -366,10 +366,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
bool
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
|
||||
|
||||
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
bool
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
|
||||
# This order guarantees that the highest version is set, as kconfig
|
||||
# stops affecting a value on the first matching default.
|
||||
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
|
||||
string
|
||||
default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
default "4.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17
|
||||
default "4.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
|
||||
|
||||
@@ -123,6 +123,10 @@ choice
|
||||
m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF
|
||||
p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19
|
||||
bool "4.19.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
|
||||
|
||||
config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_18
|
||||
bool "4.18.x"
|
||||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
|
||||
|
||||
Reference in New Issue
Block a user