All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm-extra][for dora][PATCH 1/4] linux-cfa: bump to 3.10.25.
@ 2014-01-02 13:45 Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 2/4] linux-cfa: fine tune kernel configuration Alexandre Belloni
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexandre Belloni @ 2014-01-02 13:45 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall

This also fixes the git branch reference.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 recipes-kernel/linux/linux-cfa_3.10.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-cfa_3.10.bb b/recipes-kernel/linux/linux-cfa_3.10.bb
index b83e12bc810f..65ea294539c8 100644
--- a/recipes-kernel/linux/linux-cfa_3.10.bb
+++ b/recipes-kernel/linux/linux-cfa_3.10.bb
@@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 inherit kernel
 require recipes-kernel/linux/linux-dtb.inc
 
-SRC_URI = "git://github.com/crystalfontz/cfa_10036_kernel \
+SRC_BRANCH = "cfa-3.10.25"
+SRC_URI = "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
            file://defconfig"
 
-SRCREV = "83b17774ae0201bbd6333f7b1757db4476c95475"
+SRCREV = "61dbe8ef338ce4cc1c10d5a6cdd418c047fb136d"
 
 S = "${WORKDIR}/git"
 
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-fsl-arm-extra][for dora][PATCH 2/4] linux-cfa: fine tune kernel configuration
  2014-01-02 13:45 [meta-fsl-arm-extra][for dora][PATCH 1/4] linux-cfa: bump to 3.10.25 Alexandre Belloni
@ 2014-01-02 13:45 ` Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 4/4] linux-cfa: Add a recipe for 3.12 Alexandre Belloni
  2 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2014-01-02 13:45 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall

Remove sound support as there is no sound on the boards.
Remove useless Logitech DJ module
Fine tune the debugging option to remove a lot of debugging messages
(input events, USB, lockdep).

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 recipes-kernel/linux/linux-cfa-3.10/defconfig | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/recipes-kernel/linux/linux-cfa-3.10/defconfig b/recipes-kernel/linux/linux-cfa-3.10/defconfig
index ab8732e4b0a6..ec0d3aa03fc1 100644
--- a/recipes-kernel/linux/linux-cfa-3.10/defconfig
+++ b/recipes-kernel/linux/linux-cfa-3.10/defconfig
@@ -11,6 +11,7 @@ CONFIG_IKCONFIG_PROC=y
 # CONFIG_IPC_NS is not set
 # CONFIG_PID_NS is not set
 # CONFIG_NET_NS is not set
+CONFIG_KALLSYMS_ALL=y
 CONFIG_PERF_EVENTS=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_MODULES=y
@@ -57,7 +58,6 @@ CONFIG_ENC28J60=y
 # CONFIG_WLAN is not set
 # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
 CONFIG_INPUT_EVDEV=y
-CONFIG_INPUT_EVBUG=y
 # CONFIG_KEYBOARD_ATKBD is not set
 CONFIG_KEYBOARD_GPIO=y
 # CONFIG_INPUT_MOUSE is not set
@@ -101,14 +101,7 @@ CONFIG_BACKLIGHT_CLASS_DEVICE=y
 # CONFIG_BACKLIGHT_GENERIC is not set
 CONFIG_BACKLIGHT_PWM=y
 CONFIG_FB_SSD1307=y
-CONFIG_SOUND=y
-CONFIG_SND=y
-CONFIG_SND_SOC=y
-CONFIG_SND_MXS_SOC=y
-CONFIG_SND_SOC_MXS_SGTL5000=y
-CONFIG_HID_LOGITECH_DJ=m
 CONFIG_USB=y
-CONFIG_USB_DEBUG=y
 CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_ACM=y
@@ -158,8 +151,8 @@ CONFIG_MAGIC_SYSRQ=y
 CONFIG_UNUSED_SYMBOLS=y
 CONFIG_DEBUG_KERNEL=y
 CONFIG_LOCKUP_DETECTOR=y
+CONFIG_SCHEDSTATS=y
 CONFIG_TIMER_STATS=y
-CONFIG_PROVE_LOCKING=y
 CONFIG_DEBUG_INFO=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_STRICT_DEVMEM=y
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file
  2014-01-02 13:45 [meta-fsl-arm-extra][for dora][PATCH 1/4] linux-cfa: bump to 3.10.25 Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 2/4] linux-cfa: fine tune kernel configuration Alexandre Belloni
@ 2014-01-02 13:45 ` Alexandre Belloni
  2014-01-02 16:22   ` Daiane.Angolini
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 4/4] linux-cfa: Add a recipe for 3.12 Alexandre Belloni
  2 siblings, 1 reply; 6+ messages in thread
From: Alexandre Belloni @ 2014-01-02 13:45 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 recipes-kernel/linux/linux-cfa.inc     | 29 +++++++++++++++++++++++++++++
 recipes-kernel/linux/linux-cfa_3.10.bb | 29 +----------------------------
 2 files changed, 30 insertions(+), 28 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-cfa.inc

diff --git a/recipes-kernel/linux/linux-cfa.inc b/recipes-kernel/linux/linux-cfa.inc
new file mode 100644
index 000000000000..408a51f8d852
--- /dev/null
+++ b/recipes-kernel/linux/linux-cfa.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "Linux kernel for Crystalfontz boards"
+SECTion = "kernel"
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+inherit kernel
+require recipes-kernel/linux/linux-dtb.inc
+
+SRC_URI = "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
+           file://defconfig"
+
+S = "${WORKDIR}/git"
+
+# create symlinks that are the defaults of barebox
+pkg_postinst_kernel-devicetree_append () {
+	for DTB_FILE in ${KERNEL_DEVICETREE}
+	do
+		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
+		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print $2}'`
+		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
+		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
+	done
+}
+
+pkg_postinst_kernel-image_append () {
+	update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+}
+
diff --git a/recipes-kernel/linux/linux-cfa_3.10.bb b/recipes-kernel/linux/linux-cfa_3.10.bb
index 65ea294539c8..ddf53961ef76 100644
--- a/recipes-kernel/linux/linux-cfa_3.10.bb
+++ b/recipes-kernel/linux/linux-cfa_3.10.bb
@@ -1,34 +1,7 @@
-DESCRIPTION = "Linux kernel for Crystalfontz boards"
-SECTion = "kernel"
-LICENSE = "GPLv2"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
-
-inherit kernel
-require recipes-kernel/linux/linux-dtb.inc
+include linux-cfa.inc
 
 SRC_BRANCH = "cfa-3.10.25"
-SRC_URI = "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
-           file://defconfig"
-
 SRCREV = "61dbe8ef338ce4cc1c10d5a6cdd418c047fb136d"
 
-S = "${WORKDIR}/git"
-
-# create symlinks that are the defaults of barebox
-pkg_postinst_kernel-devicetree_append () {
-	for DTB_FILE in ${KERNEL_DEVICETREE}
-	do
-		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
-		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print $2}'`
-		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
-		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
-	done
-}
-
-pkg_postinst_kernel-image_append () {
-	update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
-}
-
 COMPATIBLE_MACHINE = "cfa10036"
 
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-fsl-arm-extra][for dora][PATCH 4/4] linux-cfa: Add a recipe for 3.12
  2014-01-02 13:45 [meta-fsl-arm-extra][for dora][PATCH 1/4] linux-cfa: bump to 3.10.25 Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 2/4] linux-cfa: fine tune kernel configuration Alexandre Belloni
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file Alexandre Belloni
@ 2014-01-02 13:45 ` Alexandre Belloni
  2 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2014-01-02 13:45 UTC (permalink / raw)
  To: meta-freescale; +Cc: Maxime Ripard, jimwall

Currently, it is based on 3.12.6. Keeping v3.10 as it is the current
LTS.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 recipes-kernel/linux/linux-cfa-3.12/defconfig | 171 ++++++++++++++++++++++++++
 recipes-kernel/linux/linux-cfa_3.12.bb        |   6 +
 2 files changed, 177 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-cfa-3.12/defconfig
 create mode 100644 recipes-kernel/linux/linux-cfa_3.12.bb

diff --git a/recipes-kernel/linux/linux-cfa-3.12/defconfig b/recipes-kernel/linux/linux-cfa-3.12/defconfig
new file mode 100644
index 000000000000..cf012a45368c
--- /dev/null
+++ b/recipes-kernel/linux/linux-cfa-3.12/defconfig
@@ -0,0 +1,171 @@
+CONFIG_SYSVIPC=y
+CONFIG_NO_HZ=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_TASKSTATS=y
+CONFIG_TASK_DELAY_ACCT=y
+CONFIG_TASK_XACCT=y
+CONFIG_TASK_IO_ACCOUNTING=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_PID_NS is not set
+# CONFIG_NET_NS is not set
+CONFIG_KALLSYMS_ALL=y
+CONFIG_PERF_EVENTS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_MODULES=y
+CONFIG_MODULE_FORCE_LOAD=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+CONFIG_BLK_DEV_INTEGRITY=y
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_ARCH_MULTI_V7 is not set
+CONFIG_GPIO_PCA953X=y
+CONFIG_ARCH_MXS=y
+# CONFIG_ARM_THUMB is not set
+CONFIG_PREEMPT_VOLUNTARY=y
+CONFIG_AEABI=y
+# CONFIG_COMPACTION is not set
+CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
+CONFIG_CMA=y
+CONFIG_FPE_NWFPE=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_SYN_COOKIES=y
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_IPV6 is not set
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+# CONFIG_FIRMWARE_IN_KERNEL is not set
+CONFIG_DMA_CMA=y
+# CONFIG_BLK_DEV is not set
+CONFIG_CFAFIQ=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_NETDEVICES=y
+# CONFIG_NET_VENDOR_ARC is not set
+CONFIG_ENC28J60=y
+# CONFIG_NET_VENDOR_VIA is not set
+# CONFIG_WLAN is not set
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_KEYBOARD_ATKBD is not set
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_INPUT_MOUSE is not set
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_GPIO_ROTARY_ENCODER=y
+# CONFIG_SERIO is not set
+CONFIG_VT_HW_CONSOLE_BINDING=y
+CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+# CONFIG_HW_RANDOM is not set
+CONFIG_I2C=y
+# CONFIG_I2C_COMPAT is not set
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_GPIO=y
+CONFIG_I2C_GPIO=y
+CONFIG_I2C_MXS=y
+CONFIG_SPI=y
+CONFIG_SPI_GPIO=y
+CONFIG_SPI_MXS=y
+CONFIG_SPI_SPIDEV=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_PCA953X_IRQ=y
+CONFIG_GPIO_74X164=y
+CONFIG_W1=y
+CONFIG_W1_MASTER_GPIO=y
+CONFIG_W1_SLAVE_THERM=y
+CONFIG_SENSORS_IIO_HWMON=y
+CONFIG_SENSORS_MXS_CPU=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_FB=y
+CONFIG_FB_MXS=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_LCD_CLASS_DEVICE=y
+CONFIG_LCD_HX8357=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+# CONFIG_BACKLIGHT_GENERIC is not set
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_FB_SSD1307=y
+CONFIG_USB=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_ACM=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_STORAGE_DEBUG=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_CHIPIDEA_DEBUG=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=y
+CONFIG_USB_ETH_EEM=y
+CONFIG_MMC=y
+CONFIG_MMC_MXS=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_DS1307=m
+CONFIG_DMADEVICES=y
+CONFIG_MXS_DMA=y
+CONFIG_STAGING=y
+CONFIG_MXS_LRADC=y
+CONFIG_IIO=y
+CONFIG_NAU7802=y
+CONFIG_PWM_MXS=y
+CONFIG_EXT3_FS=y
+# CONFIG_DNOTIFY is not set
+CONFIG_FSCACHE=m
+CONFIG_FSCACHE_STATS=y
+CONFIG_CACHEFILES=m
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_MISC_FILESYSTEMS is not set
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V4=y
+CONFIG_ROOT_NFS=y
+CONFIG_PRINTK_TIME=y
+CONFIG_DEBUG_INFO=y
+CONFIG_FRAME_WARN=2048
+CONFIG_UNUSED_SYMBOLS=y
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_KERNEL=y
+CONFIG_LOCKUP_DETECTOR=y
+CONFIG_SCHEDSTATS=y
+CONFIG_TIMER_STATS=y
+CONFIG_BLK_DEV_IO_TRACE=y
+CONFIG_STRICT_DEVMEM=y
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_LL=y
+CONFIG_DEBUG_IMX28_UART=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_CRYPTO_CRC32C=m
+CONFIG_CRYPTO_ARC4=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+# CONFIG_CRYPTO_HW is not set
+CONFIG_CRC16=y
+CONFIG_CRC_ITU_T=m
+CONFIG_CRC7=m
+CONFIG_AVERAGE=y
diff --git a/recipes-kernel/linux/linux-cfa_3.12.bb b/recipes-kernel/linux/linux-cfa_3.12.bb
new file mode 100644
index 000000000000..b909468d5fc1
--- /dev/null
+++ b/recipes-kernel/linux/linux-cfa_3.12.bb
@@ -0,0 +1,6 @@
+include linux-cfa.inc
+
+SRC_BRANCH = "cfa-3.12.6"
+SRCREV = "f52fac6b3656c8833690efae7e2e688e8d4105c2"
+
+COMPATIBLE_MACHINE = "cfa10036"
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file
  2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file Alexandre Belloni
@ 2014-01-02 16:22   ` Daiane.Angolini
  2014-01-02 18:06     ` Alexandre Belloni
  0 siblings, 1 reply; 6+ messages in thread
From: Daiane.Angolini @ 2014-01-02 16:22 UTC (permalink / raw)
  To: Alexandre Belloni, meta-freescale@yoctoproject.org
  Cc: Maxime Ripard, jimwall@q.com



> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Alexandre Belloni
> Sent: Thursday, January 02, 2014 11:46 AM
> To: meta-freescale@yoctoproject.org
> Cc: Maxime Ripard; jimwall@q.com
> Subject: [meta-freescale] [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-
> cfa: split recipe to create an include file

I like it!

> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  recipes-kernel/linux/linux-cfa.inc     | 29 +++++++++++++++++++++++++++++
>  recipes-kernel/linux/linux-cfa_3.10.bb | 29 +----------------------------
>  2 files changed, 30 insertions(+), 28 deletions(-)  create mode 100644
> recipes-kernel/linux/linux-cfa.inc
> 
> diff --git a/recipes-kernel/linux/linux-cfa.inc b/recipes-
> kernel/linux/linux-cfa.inc
> new file mode 100644
> index 000000000000..408a51f8d852
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-cfa.inc
> @@ -0,0 +1,29 @@
> +DESCRIPTION = "Linux kernel for Crystalfontz boards"
> +SECTion = "kernel"
> +LICENSE = "GPLv2"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> +
> +inherit kernel
> +require recipes-kernel/linux/linux-dtb.inc
> +
> +SRC_URI =
> "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
> +           file://defconfig"
> +
> +S = "${WORKDIR}/git"
> +
> +# create symlinks that are the defaults of barebox
> +pkg_postinst_kernel-devicetree_append () {
> +	for DTB_FILE in ${KERNEL_DEVICETREE}
> +	do
> +		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
> +		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print
> $2}'`
> +		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed
> "s/${MACHINE}/${DTB_BASE_NAME}/g"`
> +		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-
> ${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-
> ${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
> +	done
> +}
> +
> +pkg_postinst_kernel-image_append () {
> +	update-alternatives --install
> +/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036
> +${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
> +${KERNEL_PRIORITY} || true }
> +
> diff --git a/recipes-kernel/linux/linux-cfa_3.10.bb b/recipes-
> kernel/linux/linux-cfa_3.10.bb
> index 65ea294539c8..ddf53961ef76 100644
> --- a/recipes-kernel/linux/linux-cfa_3.10.bb
> +++ b/recipes-kernel/linux/linux-cfa_3.10.bb
> @@ -1,34 +1,7 @@
> -DESCRIPTION = "Linux kernel for Crystalfontz boards"
> -SECTion = "kernel"
> -LICENSE = "GPLv2"
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> -
> -inherit kernel
> -require recipes-kernel/linux/linux-dtb.inc
> +include linux-cfa.inc

You may want to use "require" to your -cfa.inc file as well.

> 
>  SRC_BRANCH = "cfa-3.10.25"
> -SRC_URI =
> "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
> -           file://defconfig"
> -
>  SRCREV = "61dbe8ef338ce4cc1c10d5a6cdd418c047fb136d"
> 
> -S = "${WORKDIR}/git"
> -
> -# create symlinks that are the defaults of barebox -pkg_postinst_kernel-
> devicetree_append () {
> -	for DTB_FILE in ${KERNEL_DEVICETREE}
> -	do
> -		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
> -		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print
> $2}'`
> -		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed
> "s/${MACHINE}/${DTB_BASE_NAME}/g"`
> -		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-
> ${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-
> ${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
> -	done
> -}
> -
> -pkg_postinst_kernel-image_append () {
> -	update-alternatives --install
> /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-
> cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
> -}
> -
>  COMPATIBLE_MACHINE = "cfa10036"
> 
> --
> 1.8.3.2
> 
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file
  2014-01-02 16:22   ` Daiane.Angolini
@ 2014-01-02 18:06     ` Alexandre Belloni
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2014-01-02 18:06 UTC (permalink / raw)
  To: Daiane.Angolini@freescale.com, meta-freescale@yoctoproject.org
  Cc: Maxime Ripard, jimwall@q.com

On 02/01/2014 17:22, Daiane.Angolini@freescale.com wrote:
> 
> 
>> -----Original Message-----
>> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
>> bounces@yoctoproject.org] On Behalf Of Alexandre Belloni
>> Sent: Thursday, January 02, 2014 11:46 AM
>> To: meta-freescale@yoctoproject.org
>> Cc: Maxime Ripard; jimwall@q.com
>> Subject: [meta-freescale] [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-
>> cfa: split recipe to create an include file
> 
> I like it!
> 
>>
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> ---
>>  recipes-kernel/linux/linux-cfa.inc     | 29 +++++++++++++++++++++++++++++
>>  recipes-kernel/linux/linux-cfa_3.10.bb | 29 +----------------------------
>>  2 files changed, 30 insertions(+), 28 deletions(-)  create mode 100644
>> recipes-kernel/linux/linux-cfa.inc
>>
>> diff --git a/recipes-kernel/linux/linux-cfa.inc b/recipes-
>> kernel/linux/linux-cfa.inc
>> new file mode 100644
>> index 000000000000..408a51f8d852
>> --- /dev/null
>> +++ b/recipes-kernel/linux/linux-cfa.inc
>> @@ -0,0 +1,29 @@
>> +DESCRIPTION = "Linux kernel for Crystalfontz boards"
>> +SECTion = "kernel"
>> +LICENSE = "GPLv2"
>> +
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>> +
>> +inherit kernel
>> +require recipes-kernel/linux/linux-dtb.inc
>> +
>> +SRC_URI =
>> "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
>> +           file://defconfig"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +# create symlinks that are the defaults of barebox
>> +pkg_postinst_kernel-devicetree_append () {
>> +	for DTB_FILE in ${KERNEL_DEVICETREE}
>> +	do
>> +		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
>> +		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print
>> $2}'`
>> +		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed
>> "s/${MACHINE}/${DTB_BASE_NAME}/g"`
>> +		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-
>> ${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-
>> ${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
>> +	done
>> +}
>> +
>> +pkg_postinst_kernel-image_append () {
>> +	update-alternatives --install
>> +/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036
>> +${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION}
>> +${KERNEL_PRIORITY} || true }
>> +
>> diff --git a/recipes-kernel/linux/linux-cfa_3.10.bb b/recipes-
>> kernel/linux/linux-cfa_3.10.bb
>> index 65ea294539c8..ddf53961ef76 100644
>> --- a/recipes-kernel/linux/linux-cfa_3.10.bb
>> +++ b/recipes-kernel/linux/linux-cfa_3.10.bb
>> @@ -1,34 +1,7 @@
>> -DESCRIPTION = "Linux kernel for Crystalfontz boards"
>> -SECTion = "kernel"
>> -LICENSE = "GPLv2"
>> -
>> -LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>> -
>> -inherit kernel
>> -require recipes-kernel/linux/linux-dtb.inc
>> +include linux-cfa.inc
> 
> You may want to use "require" to your -cfa.inc file as well.
> 

Ok, will do.

>>
>>  SRC_BRANCH = "cfa-3.10.25"
>> -SRC_URI =
>> "git://github.com/crystalfontz/cfa_10036_kernel;branch=${SRC_BRANCH} \
>> -           file://defconfig"
>> -
>>  SRCREV = "61dbe8ef338ce4cc1c10d5a6cdd418c047fb136d"
>>
>> -S = "${WORKDIR}/git"
>> -
>> -# create symlinks that are the defaults of barebox -pkg_postinst_kernel-
>> devicetree_append () {
>> -	for DTB_FILE in ${KERNEL_DEVICETREE}
>> -	do
>> -		DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
>> -		DTB_BOARD_NAME=`echo ${DTB_BASE_NAME} | awk -F "-" '{print
>> $2}'`
>> -		DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed
>> "s/${MACHINE}/${DTB_BASE_NAME}/g"`
>> -		update-alternatives --install /${KERNEL_IMAGEDEST}/oftree-
>> ${DTB_BOARD_NAME} oftree-${DTB_BOARD_NAME} devicetree-
>> ${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
>> -	done
>> -}
>> -
>> -pkg_postinst_kernel-image_append () {
>> -	update-alternatives --install
>> /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}-cfa10036 ${KERNEL_IMAGETYPE}-
>> cfa10036 ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
>> -}
>> -
>>  COMPATIBLE_MACHINE = "cfa10036"
>>
>> --
>> 1.8.3.2
>>
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
> 


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-02 18:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 13:45 [meta-fsl-arm-extra][for dora][PATCH 1/4] linux-cfa: bump to 3.10.25 Alexandre Belloni
2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 2/4] linux-cfa: fine tune kernel configuration Alexandre Belloni
2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 3/4] linux-cfa: split recipe to create an include file Alexandre Belloni
2014-01-02 16:22   ` Daiane.Angolini
2014-01-02 18:06     ` Alexandre Belloni
2014-01-02 13:45 ` [meta-fsl-arm-extra][for dora][PATCH 4/4] linux-cfa: Add a recipe for 3.12 Alexandre Belloni

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.