diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-07-11 22:47:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-07-11 22:49:45 +0200 |
commit | d5ca856aa5e2db0d6461200dc3bf9f2b2dc63b48 (patch) | |
tree | e807e58e9ce67d2861e8e118beba5b60b6940342 /target/config | |
parent | e869cd4db42fd9ccafc4bef35cd15c341375f600 (diff) |
rework kernel patches for rpi/imx6
Instead of trying to recreate patchsets for newer kernels just use
upstream non-official kernel trees.
Working on the patchsets does take to much time.
You can choose between hardware specific github tree and defconfig
or upstream kernel and OpenADK miniconfig.
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.kernelcfg | 2 | ||||
-rw-r--r-- | target/config/Config.in.kernelversion | 29 |
2 files changed, 24 insertions, 7 deletions
diff --git a/target/config/Config.in.kernelcfg b/target/config/Config.in.kernelcfg index 27a6bbf1e..015978e0c 100644 --- a/target/config/Config.in.kernelcfg +++ b/target/config/Config.in.kernelcfg @@ -6,6 +6,8 @@ prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH config ADK_TARGET_KERNEL_USE_MINICONFIG bool "Use mini.config from OpenADK" + depends on !ADK_TARGET_KERNEL_VERSION_RPI \ + && !ADK_TARGET_KERNEL_VERSION_FSLC config ADK_TARGET_KERNEL_USE_DEFCONFIG bool "Use defconfig from Linux kernel" diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion index aeefcde31..501058be1 100644 --- a/target/config/Config.in.kernelversion +++ b/target/config/Config.in.kernelversion @@ -9,25 +9,31 @@ default ADK_TARGET_KERNEL_VERSION_4_6_3 if ADK_TARGET_ARCH_NIOS2 default ADK_TARGET_KERNEL_VERSION_4_6_3 if ADK_TARGET_ARCH_XTENSA default ADK_TARGET_KERNEL_VERSION_4_6_3 if ADK_TARGET_CPU_MIPS_MIPS32R6 default ADK_TARGET_KERNEL_VERSION_4_6_3 if ADK_TARGET_CPU_MIPS64_MIPS64R6 +default ADK_TARGET_KERNEL_VERSION_RPI if ADK_TARGET_BOARD_BCM28XX +default ADK_TARGET_KERNEL_VERSION_FSLC if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 default ADK_TARGET_KERNEL_VERSION_4_4_14 config ADK_TARGET_KERNEL_VERSION_GIT bool "linux-git" depends on !ADK_TARGET_ARCH_NDS32 +config ADK_TARGET_KERNEL_VERSION_FSLC + bool "linux-fslc" + depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 + +config ADK_TARGET_KERNEL_VERSION_RPI + bool "linux-rpi" + depends on ADK_TARGET_BOARD_BCM28XX + config ADK_TARGET_KERNEL_VERSION_4_6_3 bool "4.6.3" depends on !ADK_TARGET_ARCH_NDS32 - depends on !ADK_TARGET_BOARD_BCM28XX - depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 select ADK_TARGET_KERNEL_VERSION_4_6 config ADK_TARGET_KERNEL_VERSION_4_5_7 bool "4.5.7" depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_NIOS2 - depends on !ADK_TARGET_BOARD_BCM28XX - depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6 select ADK_TARGET_KERNEL_VERSION_4_5 @@ -36,7 +42,6 @@ config ADK_TARGET_KERNEL_VERSION_4_4_14 bool "4.4.14" depends on !ADK_TARGET_ARCH_NDS32 depends on !ADK_TARGET_ARCH_NIOS2 - depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 depends on !ADK_TARGET_CPU_MIPS_MIPS32R6 depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6 select ADK_TARGET_KERNEL_VERSION_4_4 @@ -173,10 +178,20 @@ config ADK_TARGET_KERNEL_VERSION_2_6_32_70 endchoice +config ADK_KERNEL_GITVER + string + default "git" if ADK_TARGET_KERNEL_VERSION_GIT + default "rpi" if ADK_TARGET_KERNEL_VERSION_RPI + default "fslc" if ADK_TARGET_KERNEL_VERSION_FSLC + config ADK_TARGET_KERNEL_REPO string "git repository" - depends on ADK_TARGET_KERNEL_VERSION_GIT - default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" + depends on ADK_TARGET_KERNEL_VERSION_GIT \ + || ADK_TARGET_KERNEL_VERSION_RPI \ + || ADK_TARGET_KERNEL_VERSION_FSLC + default "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" if ADK_TARGET_KERNEL_VERSION_GIT + default "https://github.com/raspberrypi/linux.git" if ADK_TARGET_KERNEL_VERSION_RPI + default "https://github.com/SolidRun/linux-fslc.git" if ADK_TARGET_KERNEL_VERSION_FSLC help GIT repository to use. |