[OE-core] [PATCH 1/2] ccache: enable max size setup for ccache dir

2017-01-13 Thread Yannick Gicquel
ned-off-by: Yannick Gicquel --- meta/classes/ccache.bbclass | 15 +++ 1 file changed, 15 insertions(+) diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 93fcaca..8a80040 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,6 +1,21

[OE-core] [PATCH 2/2] cmake.bbclass: enable usage of ccache

2017-01-13 Thread Yannick Gicquel
tgtk real56m25.191s user359m32.003s sys 34m49.356s $ bitbake -c clean webkitgtk $ bitbake -c cleansstate webkitgtk $ time bitbake webkitgtk real25m19.298s user17m57.861s sys 6m20.157s Signed-off-by: Yannick Gicquel --- meta/classes/cmake.bbclass | 14 +- 1 file

Re: [OE-core] [PATCH 1/2] ccache: enable max size setup for ccache dir

2017-01-16 Thread Yannick GICQUEL
2017-01-13 15:43 GMT+01:00 Burton, Ross : > > On 13 January 2017 at 14:23, Yannick Gicquel > wrote: >> >> +def init_ccache(): >> +# dummy python version >> +return >> + >> +init_ccache() { >> +if [ -n "${CCACHE}" ]

[OE-core] [PATCH v2 3/3] cmake.bbclass: enable usage of ccache

2017-01-19 Thread Yannick Gicquel
tgtk real56m25.191s user359m32.003s sys 34m49.356s $ bitbake -c clean webkitgtk $ bitbake -c cleansstate webkitgtk $ time bitbake webkitgtk real25m19.298s user17m57.861s sys 6m20.157s Signed-off-by: Yannick Gicquel --- meta/classes/cmake.bbclass | 14 +- 1 file

[OE-core] [PATCH v2 1/3] ccache.bbclass: enable max size setup for ccache dir

2017-01-19 Thread Yannick Gicquel
ned-off-by: Yannick Gicquel --- meta/classes/ccache.bbclass | 8 1 file changed, 8 insertions(+) diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 93fcaca..b6643a1 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -1,6 +1,14

[OE-core] [PATCH v2 2/3] ccache.bbclass: add trimming tasks

2017-01-19 Thread Yannick Gicquel
These can be use to trim ccache directories to default cache size (1G) without deleting the whole dirs. Signed-off-by: Yannick Gicquel --- meta/classes/ccache.bbclass | 17 + 1 file changed, 17 insertions(+) diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass

Re: [OE-core] [PATCH v2 1/3] ccache.bbclass: enable max size setup for ccache dir

2017-01-20 Thread Yannick GICQUEL
Hi, Some comments inline below (with oe-list this time), Regards, 2017-01-20 17:23 GMT+01:00 Yannick GICQUEL : > 2017-01-19 20:02 GMT+01:00 Andre McCurdy : >> On Thu, Jan 19, 2017 at 7:01 AM, Yannick Gicquel >> wrote: >>> ccache directories are limited to 1G by defaul

Re: [OE-core] [PATCH v2 1/3] ccache.bbclass: enable max size setup for ccache dir

2017-01-25 Thread Yannick GICQUEL
2017-01-24 0:20 GMT+01:00 Andre McCurdy : > On Fri, Jan 20, 2017 at 8:47 AM, Yannick GICQUEL > wrote: >> 2017-01-20 17:23 GMT+01:00 Yannick GICQUEL : >>> 2017-01-19 20:02 GMT+01:00 Andre McCurdy : >>>> On Thu, Jan 19, 2017 at 7:01 AM, Yannick Gicquel >>

[OE-core] [PATCH] ccache: update to 3.3.3

2017-01-25 Thread Yannick Gicquel
Release note available at this location: https://ccache.samba.org/releasenotes.html#_ccache_3_3_3 Signed-off-by: Yannick Gicquel --- meta/recipes-devtools/ccache/ccache.inc | 2 +- meta/recipes-devtools/ccache/{ccache_3.2.5.bb => ccache_3.3.3.bb} | 4 ++-- 2 fi

Re: [OE-core] [PATCH] ccache: update to 3.3.3

2017-01-25 Thread Yannick GICQUEL
2017-01-25 15:25 GMT+01:00 Burton, Ross : > > On 25 January 2017 at 09:18, Yannick Gicquel > wrote: >> >> -SRC_URI = "git://git.samba.org/ccache.git" >> +SRC_URI = "git://github.com/ccache/ccache.git" > > > Why don't we just use the

[OE-core] [PATCH v2] ccache: update to 3.3.3

2017-01-25 Thread Yannick Gicquel
ot;, line 32: 'https://ccache.samba.org/authors.html' Signed-off-by: Yannick Gicquel --- meta/recipes-devtools/ccache/ccache.inc | 4 +--- meta/recipes-devtools/ccache/ccache_3.2.5.bb | 11 --- meta/recipes-devtools/ccache/ccache_3.3.3.bb | 12 3 files changed, 13 insertio

[OE-core] [PATCH] cmake.bbclass: enable usage of ccache

2017-01-26 Thread Yannick Gicquel
tgtk real56m25.191s user359m32.003s sys 34m49.356s $ bitbake -c clean webkitgtk $ bitbake -c cleansstate webkitgtk $ time bitbake webkitgtk real25m19.298s user17m57.861s sys 6m20.157s Signed-off-by: Yannick Gicquel --- meta/classes/cmake.bbclass | 14 +- 1 file

[OE-core] [RFC PATCH 0/4] U-Boot verified boot basic support

2016-04-19 Thread Yannick Gicquel
= "-I dts -O dtb -p 2000" UBOOT_SIGN_ENABLE = "1" Well, I don't know if these changes are the way to go, but at least I think this limits the codes changes and it propagates the feature to BSP layers which uses u-boot.inc. Anyway, I would be pleased to get feedback on this

[OE-core] [RFC PATCH 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-19 Thread Yannick Gicquel
t:do_deploy' is added when the feature is activated. Signed-off-by: Yannick Gicquel --- meta/classes/kernel-fitimage.bbclass | 45 +++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fi

[OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-19 Thread Yannick Gicquel
e u-boot binaries in both deploy directory and build directory in order to minimize the changes in later tasks. Signed-off-by: Yannick Gicquel --- meta/recipes-bsp/u-boot/u-boot-sign.inc | 21 + meta/recipes-bsp/u-boot/u-boot.inc | 22 ++ 2 files ch

[OE-core] [RFC PATCH 2/4] u-boot: deploy u-boot nodtb and dtb files

2016-04-19 Thread Yannick Gicquel
This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. Signed-off-by: Yannick Gicquel --- meta/recipes-bsp/u-boot/u-boot.inc | 14 ++ 1 file changed, 14 insertions(+) diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index 29b0b95

[OE-core] [RFC PATCH 3/4] kernel: fitimage: support device tree compiler options

2016-04-19 Thread Yannick Gicquel
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" Signed-off

Re: [OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-20 Thread Yannick GICQUEL
Le 19/04/2016 15:30, Otavio Salvador a écrit : On Tue, Apr 19, 2016 at 9:46 AM, Yannick Gicquel wrote: This introduces a new task 'assemble_dtb' to handle the concatenation of U-Boot without DTB and the compiled U-Boot DTB while using CONFIG_OF_SEPARATE. Basically, this task me

Re: [OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-20 Thread Yannick GICQUEL
Le 19/04/2016 16:30, Andreas Oberritter a écrit : Hello Yannick, Hi Andreas, On 19.04.2016 14:46, Yannick Gicquel wrote: This introduces a new task 'assemble_dtb' to handle the concatenation of U-Boot without DTB and the compiled U-Boot DTB while using CONFIG_OF_SEPARATE. Basic

Re: [OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-20 Thread Yannick GICQUEL
Le 20/04/2016 10:37, Anders Darander a écrit : Just a comment on task ordering. Not sure that it really matters though... * Yannick GICQUEL [160420 10:28]: Le 19/04/2016 16:30, Andreas Oberritter a écrit : Hello Yannick, Hi Andreas, On 19.04.2016 14:46, Yannick Gicquel wrote: +addtask

[OE-core] [RFC][PATCH v2 1/4] u-boot: basic support of dtb append for verified boot

2016-04-20 Thread Yannick Gicquel
mmand used overrides the u-boot.bin in both DEPLOYDIR & build dir to propagate the changes in later tasks (do_install, do_package, etc.) Signed-off-by: Yannick Gicquel --- meta/classes/uboot-sign.bbclass| 59 ++ meta/recipes-bsp/u-boot/u-boot.inc | 2 +- 2

[OE-core] [RFC][PATCH v2 0/4] U-Boot verified boot basic support

2016-04-20 Thread Yannick Gicquel
Changes since v1: * Uses a class uboot-sign.bbclass file instead of include file. * 'assemble_dtb' task removed and replace by do_install_prepend function for u-boot recipe. Yannick Gicquel (4): u-boot: basic support of dtb append for verified boot u-boot: deploy u-boot-nod

[OE-core] [RFC][PATCH v2 3/4] kernel: fitimage: support device tree compiler options

2016-04-20 Thread Yannick Gicquel
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" Signed-off

[OE-core] [RFC][PATCH v2 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-20 Thread Yannick Gicquel
t:do_deploy' is added when the feature is activated. Signed-off-by: Yannick Gicquel --- meta/classes/kernel-fitimage.bbclass | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fi

[OE-core] [RFC][PATCH v2 2/4] u-boot: deploy u-boot-nodtb and dtb files

2016-04-20 Thread Yannick Gicquel
This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. Signed-off-by: Yannick Gicquel --- meta/classes/uboot-sign.bbclass | 16 1 file changed, 16 insertions(+) diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index 63a5181..adb24d4

Re: [OE-core] [RFC][PATCH v2 1/4] u-boot: basic support of dtb append for verified boot

2016-04-21 Thread Yannick GICQUEL
Le 20/04/2016 23:03, Tom Rini a écrit : On Wed, Apr 20, 2016 at 03:49:58PM -0400, Denys Dmytriyenko wrote: On Wed, Apr 20, 2016 at 03:50:36PM +0200, Yannick Gicquel wrote: This introduces a new uboot-sign.class to support U-Boot verified boot. This part delivers the new class file, with

Re: [OE-core] [RFC][PATCH v2 1/4] u-boot: basic support of dtb append for verified boot

2016-04-21 Thread Yannick GICQUEL
Le 21/04/2016 16:06, Andreas Oberritter a écrit : On 20.04.2016 15:50, Yannick Gicquel wrote: This introduces a new uboot-sign.class to support U-Boot verified boot. This part delivers the new class file, with related environment variables, and a basic prepend to do_install task which

[OE-core] [PATCH v3 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-27 Thread Yannick Gicquel
t:do_deploy' is added when the feature is activated. Signed-off-by: Yannick Gicquel --- meta/classes/kernel-fitimage.bbclass | 45 ++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fi

[OE-core] [PATCH v3 0/4] U-Boot verified boot basic support

2016-04-27 Thread Yannick Gicquel
#x27; task removed and replace by do_install_prepend function for u-boot recipe. Yannick Gicquel (4): u-boot: basic support of dtb append for verified boot u-boot: deploy u-boot-nodtb and dtb files kernel: fitimage: support device tree compiler options kernel: fitimage: basic support

[OE-core] [PATCH v3 1/4] u-boot: basic support of dtb append for verified boot

2016-04-27 Thread Yannick Gicquel
7;cat' command used overrides the u-boot.bin in both DEPLOYDIR & build dir to propagate the changes in later tasks (do_install, do_package, etc.) Signed-off-by: Yannick Gicquel --- meta/classes/uboot-sign.bbclass| 67 ++ meta/recipes-bsp/u-boot/u

[OE-core] [PATCH v3 2/4] u-boot: deploy u-boot-nodtb and dtb files

2016-04-27 Thread Yannick Gicquel
This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. Signed-off-by: Yannick Gicquel --- meta/classes/uboot-sign.bbclass | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index ad84c44

[OE-core] [PATCH v3 3/4] kernel: fitimage: support device tree compiler options

2016-04-27 Thread Yannick Gicquel
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" Signed-off