All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Update to Linux 4.4
@ 2016-01-18  7:51 Stefan Agner
  2016-01-18  7:51 ` [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel Stefan Agner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Agner @ 2016-01-18  7:51 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

Hi Otavio,

This patchset bumps the Linux kernel to 4.4. For Vybrid we can
now make use of the new DCU DRM driver. I successfully booted an
image on the Tower. However, I do not have the display hence could
not visually verify that the DCU driver works. I previously tested
the driver on our Toradex Colibri VF61 module, where it worked
successfully, hence I assume it should work on the Tower too. The
DRM sysfs files report the correct resolution (for the TWR-LCD-RGB
module):

# cat /sys/class/drm/card0-LVDS-1/*
cat: read error: Is a directory
On
enabled
480x272
cat: read error: Is a directory
connected
cat: read error: Is a directory

Changes since v1:
- Removed old kernel recipe 4.1
- Regenerate common defconfig using savedefconfig too

Stefan Agner (3):
  linux-fslc (4.4): Introduce Linux 4.4 kernel
  imx-base.inc: use modesetting driver for Vybrid
  xserver-xf86-config: use modesetting for Vybrid

 conf/machine/include/imx-base.inc                       |  1 +
 .../xorg-xserver/xserver-xf86-config/vf/xorg.conf       | 12 ++++++++++++
 recipes-kernel/linux/linux-fslc/defconfig               |  7 +------
 recipes-kernel/linux/linux-fslc/vf/defconfig            | 10 +++-------
 recipes-kernel/linux/linux-fslc_4.1.bb                  | 17 -----------------
 recipes-kernel/linux/linux-fslc_4.4.bb                  | 17 +++++++++++++++++
 6 files changed, 34 insertions(+), 30 deletions(-)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/vf/xorg.conf
 delete mode 100644 recipes-kernel/linux/linux-fslc_4.1.bb
 create mode 100644 recipes-kernel/linux/linux-fslc_4.4.bb

-- 
2.7.0



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

* [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel
  2016-01-18  7:51 [PATCH 0/3] Update to Linux 4.4 Stefan Agner
@ 2016-01-18  7:51 ` Stefan Agner
  2016-01-18 12:15   ` Otavio Salvador
  2016-01-18  7:51 ` [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid Stefan Agner
  2016-01-18  7:51 ` [PATCH 3/3] xserver-xf86-config: use modesetting " Stefan Agner
  2 siblings, 1 reply; 6+ messages in thread
From: Stefan Agner @ 2016-01-18  7:51 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

Introduce Linux 4.4 based vanilla Linux kernel. This version
allows to use the DRM DCU driver on Vybrid (with some additional
patches). Also enable PWM support through Vybrid's FlexTimer
module, and update the defconfigs.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 recipes-kernel/linux/linux-fslc/defconfig    |  7 +------
 recipes-kernel/linux/linux-fslc/vf/defconfig | 10 +++-------
 recipes-kernel/linux/linux-fslc_4.1.bb       | 17 -----------------
 recipes-kernel/linux/linux-fslc_4.4.bb       | 17 +++++++++++++++++
 4 files changed, 21 insertions(+), 30 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-fslc_4.1.bb
 create mode 100644 recipes-kernel/linux/linux-fslc_4.4.bb

diff --git a/recipes-kernel/linux/linux-fslc/defconfig b/recipes-kernel/linux/linux-fslc/defconfig
index d615e3d..87d06f0 100644
--- a/recipes-kernel/linux/linux-fslc/defconfig
+++ b/recipes-kernel/linux/linux-fslc/defconfig
@@ -67,7 +67,6 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_XFRM_MODE_TUNNEL is not set
 # CONFIG_INET_XFRM_MODE_BEET is not set
 # CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
 CONFIG_NETFILTER=y
 CONFIG_CAN=y
 CONFIG_CAN_FLEXCAN=y
@@ -296,9 +295,9 @@ CONFIG_RTC_DRV_MC13XXX=y
 CONFIG_RTC_DRV_MXC=y
 CONFIG_RTC_DRV_SNVS=y
 CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
 CONFIG_IMX_SDMA=y
 CONFIG_MXS_DMA=y
-CONFIG_FSL_EDMA=y
 CONFIG_STAGING=y
 # CONFIG_IOMMU_SUPPORT is not set
 CONFIG_PWM=y
@@ -310,9 +309,6 @@ CONFIG_EXT2_FS_SECURITY=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT3_FS_POSIX_ACL=y
 CONFIG_EXT3_FS_SECURITY=y
-CONFIG_EXT4_FS=y
-CONFIG_EXT4_FS_POSIX_ACL=y
-CONFIG_EXT4_FS_SECURITY=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_PRINT_QUOTA_WARNING is not set
@@ -346,7 +342,6 @@ CONFIG_PROVE_LOCKING=y
 # CONFIG_FTRACE is not set
 # CONFIG_ARM_UNWIND is not set
 CONFIG_SECURITYFS=y
-# CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
 CONFIG_CRC_CCITT=m
 CONFIG_CRC_T10DIF=y
diff --git a/recipes-kernel/linux/linux-fslc/vf/defconfig b/recipes-kernel/linux/linux-fslc/vf/defconfig
index 9afb65f..629ad55 100644
--- a/recipes-kernel/linux/linux-fslc/vf/defconfig
+++ b/recipes-kernel/linux/linux-fslc/vf/defconfig
@@ -38,7 +38,6 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_XFRM_MODE_TUNNEL is not set
 # CONFIG_INET_XFRM_MODE_BEET is not set
 # CONFIG_INET_LRO is not set
-CONFIG_IPV6=y
 CONFIG_NETFILTER=y
 CONFIG_CAN=y
 CONFIG_CAN_FLEXCAN=y
@@ -178,6 +177,7 @@ CONFIG_VIDEO_CODA=y
 CONFIG_SOC_CAMERA_OV2640=y
 CONFIG_IMX_IPUV3_CORE=y
 CONFIG_DRM=y
+CONFIG_DRM_FSL_DCU=y
 CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_DRM_IMX=y
 CONFIG_DRM_IMX_FB_HELPER=y
@@ -185,7 +185,6 @@ CONFIG_DRM_IMX_PARALLEL_DISPLAY=y
 CONFIG_DRM_IMX_TVE=y
 CONFIG_DRM_IMX_LDB=y
 CONFIG_DRM_IMX_HDMI=y
-CONFIG_FB_FSL_DCU=y
 CONFIG_FB_MXS=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_L4F00242T03=y
@@ -262,11 +261,12 @@ CONFIG_RTC_DRV_MC13XXX=y
 CONFIG_RTC_DRV_MXC=y
 CONFIG_RTC_DRV_SNVS=y
 CONFIG_DMADEVICES=y
-CONFIG_IMX_SDMA=y
 CONFIG_FSL_EDMA=y
+CONFIG_IMX_SDMA=y
 CONFIG_STAGING=y
 # CONFIG_IOMMU_SUPPORT is not set
 CONFIG_PWM=y
+CONFIG_PWM_FSL_FTM=y
 CONFIG_PWM_IMX=y
 CONFIG_RESET_CONTROLLER=y
 CONFIG_EXT2_FS=y
@@ -276,9 +276,6 @@ CONFIG_EXT2_FS_SECURITY=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT3_FS_POSIX_ACL=y
 CONFIG_EXT3_FS_SECURITY=y
-CONFIG_EXT4_FS=y
-CONFIG_EXT4_FS_POSIX_ACL=y
-CONFIG_EXT4_FS_SECURITY=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_PRINT_QUOTA_WARNING is not set
@@ -311,7 +308,6 @@ CONFIG_PROVE_LOCKING=y
 # CONFIG_FTRACE is not set
 # CONFIG_ARM_UNWIND is not set
 CONFIG_SECURITYFS=y
-# CONFIG_CRYPTO_ANSI_CPRNG is not set
 # CONFIG_CRYPTO_HW is not set
 CONFIG_CRC_CCITT=m
 CONFIG_CRC_T10DIF=y
diff --git a/recipes-kernel/linux/linux-fslc_4.1.bb b/recipes-kernel/linux/linux-fslc_4.1.bb
deleted file mode 100644
index a711573..0000000
--- a/recipes-kernel/linux/linux-fslc_4.1.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright (C) 2012-2015 O.S. Systems Software LTDA.
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes"
-DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \
-provide support for some backported features and fixes, or because it was applied in linux-next \
-and takes some time to become part of a stable version, or because it is not applicable for \
-upstreaming."
-
-include linux-fslc.inc
-
-PV = "4.1+git${SRCPV}"
-
-SRCBRANCH = "patches-4.1"
-SRCREV = "e55a6a92e898a85f47faf04f7e611b931c8c7fe3"
-
-COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf)"
diff --git a/recipes-kernel/linux/linux-fslc_4.4.bb b/recipes-kernel/linux/linux-fslc_4.4.bb
new file mode 100644
index 0000000..d95635f
--- /dev/null
+++ b/recipes-kernel/linux/linux-fslc_4.4.bb
@@ -0,0 +1,17 @@
+# Copyright (C) 2012-2015 O.S. Systems Software LTDA.
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes"
+DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \
+provide support for some backported features and fixes, or because it was applied in linux-next \
+and takes some time to become part of a stable version, or because it is not applicable for \
+upstreaming."
+
+include linux-fslc.inc
+
+PV = "4.4+git${SRCPV}"
+
+SRCBRANCH = "4.4.x"
+SRCREV = "4d2c6cae83c84ecc5197a9bca0cc62aa08233c7d"
+
+COMPATIBLE_MACHINE = "(vf)"
-- 
2.7.0



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

* [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid
  2016-01-18  7:51 [PATCH 0/3] Update to Linux 4.4 Stefan Agner
  2016-01-18  7:51 ` [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel Stefan Agner
@ 2016-01-18  7:51 ` Stefan Agner
  2016-01-18  7:51 ` [PATCH 3/3] xserver-xf86-config: use modesetting " Stefan Agner
  2 siblings, 0 replies; 6+ messages in thread
From: Stefan Agner @ 2016-01-18  7:51 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

With the use of the new DCU DRM driver we can make use of the
X-servers modesetting DDX driver. The driver uses directly the
DRM/KMS interface.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index bd64bc5..3184909 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -30,6 +30,7 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 XSERVER_DRIVER = "xf86-video-fbdev"
 XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
 XSERVER_DRIVER_mx6ul = "xf86-video-fbdev"
+XSERVER_DRIVER_vf = "xf86-video-modesetting"
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
            ${XSERVER_DRIVER}"
-- 
2.7.0



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

* [PATCH 3/3] xserver-xf86-config: use modesetting for Vybrid
  2016-01-18  7:51 [PATCH 0/3] Update to Linux 4.4 Stefan Agner
  2016-01-18  7:51 ` [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel Stefan Agner
  2016-01-18  7:51 ` [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid Stefan Agner
@ 2016-01-18  7:51 ` Stefan Agner
  2 siblings, 0 replies; 6+ messages in thread
From: Stefan Agner @ 2016-01-18  7:51 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

Explicitly use the generic Xorg driver for KMS devices.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 .../xorg-xserver/xserver-xf86-config/vf/xorg.conf            | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/vf/xorg.conf

diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/vf/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/vf/xorg.conf
new file mode 100644
index 0000000..b4ee82a
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/vf/xorg.conf
@@ -0,0 +1,12 @@
+Section "Device"
+    Identifier  "DCU DRM/KMS using Modesetting"
+    Driver      "modesetting"
+    Option      "kmsdev" "/dev/dri/card0"
+EndSection
+
+Section "ServerFlags"
+    Option "BlankTime"  "0"
+    Option "StandbyTime"  "0"
+    Option "SuspendTime"  "0"
+    Option "OffTime"  "0"
+EndSection
-- 
2.7.0



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

* Re: [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel
  2016-01-18  7:51 ` [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel Stefan Agner
@ 2016-01-18 12:15   ` Otavio Salvador
  0 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2016-01-18 12:15 UTC (permalink / raw)
  To: Stefan Agner; +Cc: meta-freescale, Stefan Agner

On Mon, Jan 18, 2016 at 5:51 AM, Stefan Agner <stefan@agner.ch> wrote:
> From: Stefan Agner <stefan.agner@toradex.com>
>
> Introduce Linux 4.4 based vanilla Linux kernel. This version
> allows to use the DRM DCU driver on Vybrid (with some additional
> patches). Also enable PWM support through Vybrid's FlexTimer
> module, and update the defconfigs.
>
> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>

You seem to have based this patch on Jethro branch while you should
have base it on top of master; please rebase it.

While on that, please adjust the SRCREV for the linux-fslc repository
as now it has been merged.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid
  2016-01-15  7:22 [PATCH 0/3] Vybrid (vf610) Linux 4.4 changes Stefan Agner
@ 2016-01-15  7:22 ` Stefan Agner
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Agner @ 2016-01-15  7:22 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

From: Stefan Agner <stefan.agner@toradex.com>

With the use of the new DCU DRM driver we can make use of the
X-servers modesetting DDX driver. The driver uses directly the
DRM/KMS interface.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 conf/machine/include/imx-base.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index bd64bc5..3184909 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -30,6 +30,7 @@ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 XSERVER_DRIVER = "xf86-video-fbdev"
 XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
 XSERVER_DRIVER_mx6ul = "xf86-video-fbdev"
+XSERVER_DRIVER_vf = "xf86-video-modesetting"
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
            ${XSERVER_DRIVER}"
-- 
2.7.0



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

end of thread, other threads:[~2016-01-18 12:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-18  7:51 [PATCH 0/3] Update to Linux 4.4 Stefan Agner
2016-01-18  7:51 ` [PATCH 1/3] linux-fslc (4.4): Introduce Linux 4.4 kernel Stefan Agner
2016-01-18 12:15   ` Otavio Salvador
2016-01-18  7:51 ` [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid Stefan Agner
2016-01-18  7:51 ` [PATCH 3/3] xserver-xf86-config: use modesetting " Stefan Agner
  -- strict thread matches above, loose matches on Subject: below --
2016-01-15  7:22 [PATCH 0/3] Vybrid (vf610) Linux 4.4 changes Stefan Agner
2016-01-15  7:22 ` [PATCH 2/3] imx-base.inc: use modesetting driver for Vybrid Stefan Agner

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.