diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-07-09 11:25:34 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-10 17:32:59 +0100 |
commit | 2f13188922d30f67a7d818ca2f5c18af9a284ad8 (patch) | |
tree | d077f96dd44e4b11cbead8080047373e6cef70b5 /meta | |
parent | be497feac13e3fe2d45a213bc19ce2c42b98f41f (diff) | |
download | poky-2f13188922d30f67a7d818ca2f5c18af9a284ad8.tar.gz |
linux-yocto: add qemuarm -tiny support
Adding a BSP definition to the kernel-cache, creating a tiny branch for
board specific patches and finally setting the machine compatibility in
the linux-yocto-tiny recipe.
This is only the BSP definition and kernel configuration side of things,
more changes are necessary for full tiny distro support on qemumarm.
(From OE-Core rev: 9e88c4923a337ca8279feaa773884a9c26a092f3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 7 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.14.bb | 18 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.15.bb | 18 |
6 files changed, 28 insertions, 27 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb index 00671182d1..9e46576fb8 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | |||
@@ -11,8 +11,8 @@ python () { | |||
11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "aeeb2d73f2a828a9c0b121b2aa3bb345009f5698" | 14 | SRCREV_machine ?= "7e0d6d525a8deb7329c0d8f844880c5ec6c0b84a" |
15 | SRCREV_meta ?= "94457657b8d621868672917d1c2631df4a4fadd8" | 15 | SRCREV_meta ?= "34d4dc9c1d160ab3c514aa20cc82a7abdf2c29b4" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" | 18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb index d166a4098b..29a2c19b52 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | |||
@@ -11,8 +11,8 @@ python () { | |||
11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 14 | SRCREV_machine ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
15 | SRCREV_meta ?= "45c256a5ca6f9478bce212fec19e2bc273472631" | 15 | SRCREV_meta ?= "ff65711e13fa39d7fe2947a1ba196dad82eed327" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" | 18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb index 58945f25d0..db356bcd13 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | |||
@@ -12,8 +12,8 @@ DEPENDS += "openssl-native util-linux-native" | |||
12 | KMETA = "kernel-meta" | 12 | KMETA = "kernel-meta" |
13 | KCONF_BSP_AUDIT_LEVEL = "2" | 13 | KCONF_BSP_AUDIT_LEVEL = "2" |
14 | 14 | ||
15 | SRCREV_machine ?= "9e246607d5c23f8bb3b8800734b1707766e0b2b9" | 15 | SRCREV_machine ?= "dd893e600276f4e05e416cf5be73a5fd5752e0cb" |
16 | SRCREV_meta ?= "94457657b8d621868672917d1c2631df4a4fadd8" | 16 | SRCREV_meta ?= "34d4dc9c1d160ab3c514aa20cc82a7abdf2c29b4" |
17 | 17 | ||
18 | PV = "${LINUX_VERSION}+git${SRCPV}" | 18 | PV = "${LINUX_VERSION}+git${SRCPV}" |
19 | 19 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb index 5f9b3c7fb3..8bad903eff 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | |||
@@ -1,4 +1,5 @@ | |||
1 | KBRANCH ?= "v4.15/standard/tiny/common-pc" | 1 | KBRANCH ?= "v4.15/standard/tiny/common-pc" |
2 | KBRANCH_qemuarm ?= "v4.15/standard/tiny/arm-versatile-926ejs" | ||
2 | LINUX_KERNEL_TYPE = "tiny" | 3 | LINUX_KERNEL_TYPE = "tiny" |
3 | KCONFIG_MODE = "--allnoconfig" | 4 | KCONFIG_MODE = "--allnoconfig" |
4 | 5 | ||
@@ -9,15 +10,15 @@ LINUX_VERSION ?= "4.15.18" | |||
9 | KMETA = "kernel-meta" | 10 | KMETA = "kernel-meta" |
10 | KCONF_BSP_AUDIT_LEVEL = "2" | 11 | KCONF_BSP_AUDIT_LEVEL = "2" |
11 | 12 | ||
12 | SRCREV_machine ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 13 | SRCREV_machine ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
13 | SRCREV_meta ?= "45c256a5ca6f9478bce212fec19e2bc273472631" | 14 | SRCREV_meta ?= "ff65711e13fa39d7fe2947a1ba196dad82eed327" |
14 | 15 | ||
15 | PV = "${LINUX_VERSION}+git${SRCPV}" | 16 | PV = "${LINUX_VERSION}+git${SRCPV}" |
16 | 17 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 18 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
18 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" | 19 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" |
19 | 20 | ||
20 | COMPATIBLE_MACHINE = "qemux86|qemux86-64" | 21 | COMPATIBLE_MACHINE = "qemux86|qemux86-64|qemuarm" |
21 | 22 | ||
22 | # Functionality flags | 23 | # Functionality flags |
23 | KERNEL_FEATURES = "" | 24 | KERNEL_FEATURES = "" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.14.bb b/meta/recipes-kernel/linux/linux-yocto_4.14.bb index 0449213d42..fd8562e955 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.14.bb | |||
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "v4.14/standard/base" | |||
11 | KBRANCH_qemux86-64 ?= "v4.14/standard/base" | 11 | KBRANCH_qemux86-64 ?= "v4.14/standard/base" |
12 | KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64" | 12 | KBRANCH_qemumips64 ?= "v4.14/standard/mti-malta64" |
13 | 13 | ||
14 | SRCREV_machine_qemuarm ?= "363723ef50c06df54e146c8fe78faa962e96a8c8" | 14 | SRCREV_machine_qemuarm ?= "88755525aeeeb3c42e365208858f74b3be7bad22" |
15 | SRCREV_machine_qemuarm64 ?= "798d15552a4d5d9355a300290ed6bf72106b7e96" | 15 | SRCREV_machine_qemuarm64 ?= "ec98b274e0e668eb6e368fe5d9173f52c6b6d401" |
16 | SRCREV_machine_qemumips ?= "6c2433d7c51c3e78b1be2c7d1fbfe840b13d04df" | 16 | SRCREV_machine_qemumips ?= "9fd9713c5ba50d6610da19bb296b8f4954e1786b" |
17 | SRCREV_machine_qemuppc ?= "c03babad17499489b20216576d608c94e7fddc5d" | 17 | SRCREV_machine_qemuppc ?= "cfe05303950568a871b746b1955181da1fb13847" |
18 | SRCREV_machine_qemux86 ?= "65d1c849534179bbfa494f77947f8be615e9871a" | 18 | SRCREV_machine_qemux86 ?= "97c8063d2df381b828b37608f88efa9b4dd9e379" |
19 | SRCREV_machine_qemux86-64 ?= "65d1c849534179bbfa494f77947f8be615e9871a" | 19 | SRCREV_machine_qemux86-64 ?= "97c8063d2df381b828b37608f88efa9b4dd9e379" |
20 | SRCREV_machine_qemumips64 ?= "59f70381cbde371e41206b7902390ae78558c310" | 20 | SRCREV_machine_qemumips64 ?= "346488cf46ac4045fe257eb63836eb93c7c09859" |
21 | SRCREV_machine ?= "65d1c849534179bbfa494f77947f8be615e9871a" | 21 | SRCREV_machine ?= "97c8063d2df381b828b37608f88efa9b4dd9e379" |
22 | SRCREV_meta ?= "94457657b8d621868672917d1c2631df4a4fadd8" | 22 | SRCREV_meta ?= "34d4dc9c1d160ab3c514aa20cc82a7abdf2c29b4" |
23 | 23 | ||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ | 24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ |
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" | 25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb b/meta/recipes-kernel/linux/linux-yocto_4.15.bb index 693670c613..72b1506062 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.15.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb | |||
@@ -11,15 +11,15 @@ KBRANCH_qemux86 ?= "v4.15/standard/base" | |||
11 | KBRANCH_qemux86-64 ?= "v4.15/standard/base" | 11 | KBRANCH_qemux86-64 ?= "v4.15/standard/base" |
12 | KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" | 12 | KBRANCH_qemumips64 ?= "v4.15/standard/mti-malta64" |
13 | 13 | ||
14 | SRCREV_machine_qemuarm ?= "d16b10fb69974f1804a02f2678f40d22c80526cf" | 14 | SRCREV_machine_qemuarm ?= "12c2b0077b13cf6a2f1096a0d51f3a6ed5cbbd3a" |
15 | SRCREV_machine_qemuarm64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 15 | SRCREV_machine_qemuarm64 ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
16 | SRCREV_machine_qemumips ?= "182eaefab712f4360126e044c758e75d763d05c4" | 16 | SRCREV_machine_qemumips ?= "c03f2971b07a79c5402f0d7126cc2cd856028e38" |
17 | SRCREV_machine_qemuppc ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 17 | SRCREV_machine_qemuppc ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
18 | SRCREV_machine_qemux86 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 18 | SRCREV_machine_qemux86 ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
19 | SRCREV_machine_qemux86-64 ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 19 | SRCREV_machine_qemux86-64 ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
20 | SRCREV_machine_qemumips64 ?= "ce3876a091477260fcb1197e3c6565dfbf9c6e80" | 20 | SRCREV_machine_qemumips64 ?= "b98c113571c72a0d34832dd6fe5585529b32988b" |
21 | SRCREV_machine ?= "e25dbfe95302eeaa1a03a828d05c09479574488a" | 21 | SRCREV_machine ?= "3373c0cf71f2812eeb9694839456df6f67fd32ac" |
22 | SRCREV_meta ?= "45c256a5ca6f9478bce212fec19e2bc273472631" | 22 | SRCREV_meta ?= "ff65711e13fa39d7fe2947a1ba196dad82eed327" |
23 | 23 | ||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ | 24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ |
25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" | 25 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.15;destsuffix=${KMETA}" |