* [meta-rockchip][morty][PATH 0/3] add main line kernel support
@ 2017-02-08 14:38 Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc Eddie Cai
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Eddie Cai @ 2017-02-08 14:38 UTC (permalink / raw)
To: romain.perier, twoerner; +Cc: yocto
This patch set add main line kernel support for meta-rockchip
Eddie Cai (3):
machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc
machine: Use SOC specific assignements
recipes-kernel: linux: Add mainline kernel
conf/machine/include/rk3288.inc | 5 ++++-
recipes-kernel/linux/linux_4.10.bb | 18 ++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
create mode 100644 recipes-kernel/linux/linux_4.10.bb
--
2.7.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc
2017-02-08 14:38 [meta-rockchip][morty][PATH 0/3] add main line kernel support Eddie Cai
@ 2017-02-08 14:38 ` Eddie Cai
2017-02-13 16:59 ` Romain Perier
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel Eddie Cai
2 siblings, 1 reply; 9+ messages in thread
From: Eddie Cai @ 2017-02-08 14:38 UTC (permalink / raw)
To: romain.perier, twoerner; +Cc: yocto
RK3288 support hard float and vfpv4. So we should use cortexa17hf-neon-vfpv4
as default tune.
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
---
conf/machine/include/rk3288.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc
index e6c19a2..6d4affd 100644
--- a/conf/machine/include/rk3288.inc
+++ b/conf/machine/include/rk3288.inc
@@ -3,7 +3,7 @@
require conf/machine/include/tune-cortexa17.inc
-DEFAULTTUNE="cortexa17-neon"
+DEFAULTTUNE="cortexa17hf-neon-vfpv4"
PREFERRED_PROVIDER_virtual/kernel = "linux"
SERIAL_CONSOLES = "115200;ttyS2"
KERNEL_IMAGETYPE = "zImage"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements
2017-02-08 14:38 [meta-rockchip][morty][PATH 0/3] add main line kernel support Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc Eddie Cai
@ 2017-02-08 14:38 ` Eddie Cai
2017-02-13 17:02 ` Romain Perier
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel Eddie Cai
2 siblings, 1 reply; 9+ messages in thread
From: Eddie Cai @ 2017-02-08 14:38 UTC (permalink / raw)
To: romain.perier, twoerner; +Cc: yocto, Eddie Cai
From: Eddie Cai <eddie.cai@rock-chips.com>
In this way the modifications will be used on all RK3288 boards.
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
---
conf/machine/include/rk3288.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/conf/machine/include/rk3288.inc b/conf/machine/include/rk3288.inc
index 6d4affd..b3726ee 100644
--- a/conf/machine/include/rk3288.inc
+++ b/conf/machine/include/rk3288.inc
@@ -1,7 +1,10 @@
# Copyright (C) 2015 Romain Perier
# Released under the MIT license (see COPYING.MIT for the terms)
+SOC_FAMILY = "rk3288"
+
require conf/machine/include/tune-cortexa17.inc
+require conf/machine/include/soc-family.inc
DEFAULTTUNE="cortexa17hf-neon-vfpv4"
PREFERRED_PROVIDER_virtual/kernel = "linux"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel
2017-02-08 14:38 [meta-rockchip][morty][PATH 0/3] add main line kernel support Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements Eddie Cai
@ 2017-02-08 14:38 ` Eddie Cai
2017-02-13 17:05 ` Romain Perier
2 siblings, 1 reply; 9+ messages in thread
From: Eddie Cai @ 2017-02-08 14:38 UTC (permalink / raw)
To: romain.perier, twoerner; +Cc: yocto
Add mainline kervel support. Now the version is 4.10.-rc7.
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
---
recipes-kernel/linux/linux_4.10.bb | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 recipes-kernel/linux/linux_4.10.bb
diff --git a/recipes-kernel/linux/linux_4.10.bb b/recipes-kernel/linux/linux_4.10.bb
new file mode 100644
index 0000000..7abdc56
--- /dev/null
+++ b/recipes-kernel/linux/linux_4.10.bb
@@ -0,0 +1,18 @@
+# Copyright (C) 2017 Eddie Cai
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
+
+SRCREV = "${AUTOREV}"
+LINUX_VERSION = "4.10"
+# Override local version in order to use the one generated by linux build system
+# And not "yocto-standard"
+LINUX_VERSION_EXTENSION = ""
+PR = "r1"
+PV = "${LINUX_VERSION}-rc7"
+
+# Include only supported boards for now
+COMPATIBLE_MACHINE = "(radxarock|marsboard-rk3066|rk3288)"
+deltask kernel_configme
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc Eddie Cai
@ 2017-02-13 16:59 ` Romain Perier
0 siblings, 0 replies; 9+ messages in thread
From: Romain Perier @ 2017-02-13 16:59 UTC (permalink / raw)
To: Eddie Cai; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
Until we find a solution with Trevor about this,
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-08 15:38 GMT+01:00 Eddie Cai <eddie.cai.linux@gmail.com>:
> RK3288 support hard float and vfpv4. So we should use
> cortexa17hf-neon-vfpv4
> as default tune.
>
> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
> ---
> conf/machine/include/rk3288.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/machine/include/rk3288.inc
> b/conf/machine/include/rk3288.inc
> index e6c19a2..6d4affd 100644
> --- a/conf/machine/include/rk3288.inc
> +++ b/conf/machine/include/rk3288.inc
> @@ -3,7 +3,7 @@
>
> require conf/machine/include/tune-cortexa17.inc
>
> -DEFAULTTUNE="cortexa17-neon"
> +DEFAULTTUNE="cortexa17hf-neon-vfpv4"
> PREFERRED_PROVIDER_virtual/kernel = "linux"
> SERIAL_CONSOLES = "115200;ttyS2"
> KERNEL_IMAGETYPE = "zImage"
> --
> 2.7.4
>
>
[-- Attachment #2: Type: text/html, Size: 1635 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements Eddie Cai
@ 2017-02-13 17:02 ` Romain Perier
2017-02-14 1:22 ` Eddie Cai
0 siblings, 1 reply; 9+ messages in thread
From: Romain Perier @ 2017-02-13 17:02 UTC (permalink / raw)
To: Eddie Cai; +Cc: yocto, Eddie Cai
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
It would be nice to do the same thing for ther SoCs, what do you think ?
Reviewed-by: Romain Perier <romain.perier@collabora.com>
2017-02-08 15:38 GMT+01:00 Eddie Cai <eddie.cai.linux@gmail.com>:
> From: Eddie Cai <eddie.cai@rock-chips.com>
>
> In this way the modifications will be used on all RK3288 boards.
>
> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
> ---
> conf/machine/include/rk3288.inc | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/conf/machine/include/rk3288.inc
> b/conf/machine/include/rk3288.inc
> index 6d4affd..b3726ee 100644
> --- a/conf/machine/include/rk3288.inc
> +++ b/conf/machine/include/rk3288.inc
> @@ -1,7 +1,10 @@
> # Copyright (C) 2015 Romain Perier
> # Released under the MIT license (see COPYING.MIT for the terms)
>
> +SOC_FAMILY = "rk3288"
> +
> require conf/machine/include/tune-cortexa17.inc
> +require conf/machine/include/soc-family.inc
>
> DEFAULTTUNE="cortexa17hf-neon-vfpv4"
> PREFERRED_PROVIDER_virtual/kernel = "linux"
> --
> 2.7.4
>
>
[-- Attachment #2: Type: text/html, Size: 1897 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel Eddie Cai
@ 2017-02-13 17:05 ` Romain Perier
2017-02-14 5:46 ` Eddie Cai
0 siblings, 1 reply; 9+ messages in thread
From: Romain Perier @ 2017-02-13 17:05 UTC (permalink / raw)
To: Eddie Cai; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]
Hello,
1. Autorev is bad, when linus will merge patch for the next merge window,
it will break things. Use a fix git revision instead (or a branch from the
stable tree)
2. rc8 is out :)
rk3288 is not a machine for me , can you really ensure that it will board
for all rk3288-based board ? suppose that there is no DT support on
upstream... that's wrong :)
Thanks!
Romain
2017-02-08 15:38 GMT+01:00 Eddie Cai <eddie.cai.linux@gmail.com>:
> Add mainline kervel support. Now the version is 4.10.-rc7.
>
> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
> ---
> recipes-kernel/linux/linux_4.10.bb | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 recipes-kernel/linux/linux_4.10.bb
>
> diff --git a/recipes-kernel/linux/linux_4.10.bb b/recipes-kernel/linux/
> linux_4.10.bb
> new file mode 100644
> index 0000000..7abdc56
> --- /dev/null
> +++ b/recipes-kernel/linux/linux_4.10.bb
> @@ -0,0 +1,18 @@
> +# Copyright (C) 2017 Eddie Cai
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +require recipes-kernel/linux/linux-yocto.inc
> +
> +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
> linux.git"
> +
> +SRCREV = "${AUTOREV}"
> +LINUX_VERSION = "4.10"
> +# Override local version in order to use the one generated by linux build
> system
> +# And not "yocto-standard"
> +LINUX_VERSION_EXTENSION = ""
> +PR = "r1"
> +PV = "${LINUX_VERSION}-rc7"
> +
> +# Include only supported boards for now
> +COMPATIBLE_MACHINE = "(radxarock|marsboard-rk3066|rk3288)"
> +deltask kernel_configme
> --
> 2.7.4
>
>
[-- Attachment #2: Type: text/html, Size: 2765 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements
2017-02-13 17:02 ` Romain Perier
@ 2017-02-14 1:22 ` Eddie Cai
0 siblings, 0 replies; 9+ messages in thread
From: Eddie Cai @ 2017-02-14 1:22 UTC (permalink / raw)
To: Romain Perier; +Cc: yocto, Eddie Cai
Hi Romain
2017-02-14 1:02 GMT+08:00 Romain Perier <romain.perier@gmail.com>:
> It would be nice to do the same thing for ther SoCs, what do you think ?
Yes, But i found RK3066 and RK3188 is using the same file.
>
> Reviewed-by: Romain Perier <romain.perier@collabora.com>
>
> 2017-02-08 15:38 GMT+01:00 Eddie Cai <eddie.cai.linux@gmail.com>:
>>
>> From: Eddie Cai <eddie.cai@rock-chips.com>
>>
>> In this way the modifications will be used on all RK3288 boards.
>>
>> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
>> ---
>> conf/machine/include/rk3288.inc | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/conf/machine/include/rk3288.inc
>> b/conf/machine/include/rk3288.inc
>> index 6d4affd..b3726ee 100644
>> --- a/conf/machine/include/rk3288.inc
>> +++ b/conf/machine/include/rk3288.inc
>> @@ -1,7 +1,10 @@
>> # Copyright (C) 2015 Romain Perier
>> # Released under the MIT license (see COPYING.MIT for the terms)
>>
>> +SOC_FAMILY = "rk3288"
>> +
>> require conf/machine/include/tune-cortexa17.inc
>> +require conf/machine/include/soc-family.inc
>>
>> DEFAULTTUNE="cortexa17hf-neon-vfpv4"
>> PREFERRED_PROVIDER_virtual/kernel = "linux"
>> --
>> 2.7.4
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel
2017-02-13 17:05 ` Romain Perier
@ 2017-02-14 5:46 ` Eddie Cai
0 siblings, 0 replies; 9+ messages in thread
From: Eddie Cai @ 2017-02-14 5:46 UTC (permalink / raw)
To: Romain Perier; +Cc: yocto
Hi Romain
2017-02-14 1:05 GMT+08:00 Romain Perier <romain.perier@gmail.com>:
> Hello,
>
> 1. Autorev is bad, when linus will merge patch for the next merge window, it
> will break things. Use a fix git revision instead (or a branch from the
> stable tree)
I will use a fixed git revision in next version
> 2. rc8 is out :)
I guess what you mean is rc7 is out. I will update to rc8 in next version.
>
> rk3288 is not a machine for me , can you really ensure that it will board
> for all rk3288-based board ? suppose that there is no DT support on
> upstream... that's wrong :)
>
> Thanks!
> Romain
>
> 2017-02-08 15:38 GMT+01:00 Eddie Cai <eddie.cai.linux@gmail.com>:
>>
>> Add mainline kervel support. Now the version is 4.10.-rc7.
>>
>> Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
>> ---
>> recipes-kernel/linux/linux_4.10.bb | 18 ++++++++++++++++++
>> 1 file changed, 18 insertions(+)
>> create mode 100644 recipes-kernel/linux/linux_4.10.bb
>>
>> diff --git a/recipes-kernel/linux/linux_4.10.bb
>> b/recipes-kernel/linux/linux_4.10.bb
>> new file mode 100644
>> index 0000000..7abdc56
>> --- /dev/null
>> +++ b/recipes-kernel/linux/linux_4.10.bb
>> @@ -0,0 +1,18 @@
>> +# Copyright (C) 2017 Eddie Cai
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +require recipes-kernel/linux/linux-yocto.inc
>> +
>> +SRC_URI =
>> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
>> +
>> +SRCREV = "${AUTOREV}"
>> +LINUX_VERSION = "4.10"
>> +# Override local version in order to use the one generated by linux build
>> system
>> +# And not "yocto-standard"
>> +LINUX_VERSION_EXTENSION = ""
>> +PR = "r1"
>> +PV = "${LINUX_VERSION}-rc7"
>> +
>> +# Include only supported boards for now
>> +COMPATIBLE_MACHINE = "(radxarock|marsboard-rk3066|rk3288)"
>> +deltask kernel_configme
>> --
>> 2.7.4
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-02-14 5:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 14:38 [meta-rockchip][morty][PATH 0/3] add main line kernel support Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 1/3] machine: Use cortexa17hf-neon-vfpv4 as default tune for rk3288.inc Eddie Cai
2017-02-13 16:59 ` Romain Perier
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 2/3] machine: Use SOC specific assignements Eddie Cai
2017-02-13 17:02 ` Romain Perier
2017-02-14 1:22 ` Eddie Cai
2017-02-08 14:38 ` [meta-rockchip][morty][PATH 3/3] recipes-kernel: linux: Add mainline kernel Eddie Cai
2017-02-13 17:05 ` Romain Perier
2017-02-14 5:46 ` Eddie Cai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.