All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
@ 2017-12-13 22:51 Stefan Agner
  2017-12-15  1:20 ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Agner @ 2017-12-13 22:51 UTC (permalink / raw)
  To: meta-freescale; +Cc: Stefan Agner

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

This updates the kernel fork for the 4.9-1.0.x-imx branch, merges the
4.9.67 stable release on top of it and apply following changes:
- ARM: dts: imx6ull: include all needed definitions
- ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
- video: fbdev: mxsfb: honor native-mode
- video: mxsfb: simplify parsing
- dmaengine: Kconfig: Extend the dependency for MXS_DMA
- video: fbdev: mxsfb: fix pixelclock polarity
- video: mxsfb: add compile dependencies
- chipidea: make usb charger optional

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---
 recipes-kernel/linux/linux-fslc-imx/defconfig    | 24 +++++-------------------
 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 16 ++++++++++++++++
 2 files changed, 21 insertions(+), 19 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb

diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
index 061a1bde..f9e53a6a 100644
--- a/recipes-kernel/linux/linux-fslc-imx/defconfig
+++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
@@ -1,6 +1,5 @@
 CONFIG_KERNEL_LZO=y
 CONFIG_SYSVIPC=y
-CONFIG_FHANDLE=y
 CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
 CONFIG_IKCONFIG=y
@@ -31,7 +30,6 @@ CONFIG_SOC_IMX6SLL=y
 CONFIG_SOC_VF610=y
 # CONFIG_SWP_EMULATE is not set
 CONFIG_SMP=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
 CONFIG_VMSPLIT_2G=y
 CONFIG_PREEMPT=y
 CONFIG_AEABI=y
@@ -42,8 +40,8 @@ CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
 CONFIG_ARM_IMX6Q_CPUFREQ=y
 CONFIG_ARM_IMX7D_CPUFREQ=y
 CONFIG_CPU_IDLE=y
@@ -61,8 +59,6 @@ CONFIG_IP_PNP_DHCP=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_IPV6=y
 CONFIG_VLAN_8021Q=y
 CONFIG_LLC2=y
 CONFIG_CAN=y
@@ -194,10 +190,10 @@ CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_MAX732X=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_74X164=y
-CONFIG_POWER_SUPPLY=y
-CONFIG_SABRESD_MAX8903=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_SYSCON_POWEROFF=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_SABRESD_MAX8903=y
 CONFIG_SENSORS_MAX17135=y
 CONFIG_SENSORS_MAG3110=y
 CONFIG_THERMAL=y
@@ -244,14 +240,12 @@ CONFIG_MXC_VADC=m
 CONFIG_MXC_MIPI_CSI=m
 CONFIG_MXC_CAMERA_OV5647_MIPI=m
 CONFIG_SOC_CAMERA=y
-CONFIG_VIDEO_MX3=y
 CONFIG_V4L_MEM2MEM_DRIVERS=y
 CONFIG_VIDEO_CODA=y
 CONFIG_RADIO_SI476X=y
 CONFIG_SOC_CAMERA_OV2640=y
 CONFIG_DRM=y
 CONFIG_DRM_VIVANTE=y
-CONFIG_FB=y
 CONFIG_FB_MXS=y
 CONFIG_FB_MXC_SYNC_PANEL=y
 CONFIG_FB_MXC_MIPI_DSI=y
@@ -271,7 +265,6 @@ CONFIG_LCD_L4F00242T03=y
 CONFIG_LCD_PLATFORM=y
 CONFIG_BACKLIGHT_PWM=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
-CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
 CONFIG_LOGO=y
 CONFIG_SOUND=y
 CONFIG_SND=y
@@ -293,7 +286,6 @@ CONFIG_SND_SOC_IMX_HDMI=y
 CONFIG_SND_SIMPLE_CARD=y
 CONFIG_USB=y
 CONFIG_USB_OTG_WHITELIST=y
-CONFIG_USB_OTG_FSM=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_MXC=y
 CONFIG_USB_HCD_TEST_MODE=y
@@ -353,10 +345,10 @@ CONFIG_RTC_DRV_MC13XXX=y
 CONFIG_RTC_DRV_MXC=y
 CONFIG_RTC_DRV_SNVS=y
 CONFIG_DMADEVICES=y
-CONFIG_MXC_PXP_V2=y
-CONFIG_MXC_PXP_V3=y
 CONFIG_IMX_SDMA=y
 CONFIG_MXS_DMA=y
+CONFIG_MXC_PXP_V2=y
+CONFIG_MXC_PXP_V3=y
 CONFIG_DMATEST=m
 CONFIG_STAGING=y
 CONFIG_STAGING_MEDIA=y
@@ -373,9 +365,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
@@ -400,7 +389,6 @@ CONFIG_NLS_ASCII=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_NLS_ISO8859_15=m
 CONFIG_NLS_UTF8=y
-CONFIG_DEBUG_FS=y
 CONFIG_MAGIC_SYSRQ=y
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_BUGVERBOSE is not set
@@ -423,9 +411,7 @@ CONFIG_CRYPTO_TGR192=y
 CONFIG_CRYPTO_WP512=y
 CONFIG_CRYPTO_BLOWFISH=y
 CONFIG_CRYPTO_CAMELLIA=y
-CONFIG_CRYPTO_DES=y
 CONFIG_CRYPTO_TWOFISH=y
-# CONFIG_CRYPTO_ANSI_CPRNG is not set
 CONFIG_CRYPTO_DEV_FSL_CAAM=y
 CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
 CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
diff --git a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
new file mode 100644
index 00000000..aff27bbf
--- /dev/null
+++ b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
@@ -0,0 +1,16 @@
+# Copyright (C) 2015, 2017 O.S. Systems Software LTDA.
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "FSL Community BSP i.MX Linux kernel with backported features and fixes"
+DESCRIPTION = "Linux kernel based on NXP 4.9.11-1.0.0 GA release, used by FSL Community BSP in order to \
+provide support for i.MX based platforms and include official Linux kernel stable updates, backported \
+features and fixes coming from the vendors, kernel community or FSL Community itself."
+
+include linux-fslc.inc
+
+PV .= "+git${SRCPV}"
+
+SRCBRANCH = "4.9-1.0.x-imx"
+SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453"
+
+COMPATIBLE_MACHINE = "(mx6|mx7)"
-- 
2.13.6



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

* Re: [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
  2017-12-13 22:51 [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork Stefan Agner
@ 2017-12-15  1:20 ` Otavio Salvador
  2017-12-15 11:46   ` Stefan Agner
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2017-12-15  1:20 UTC (permalink / raw)
  To: Stefan Agner; +Cc: meta-freescale, Stefan Agner

On Wed, Dec 13, 2017 at 8:51 PM, Stefan Agner <stefan@agner.ch> wrote:
> From: Stefan Agner <stefan.agner@toradex.com>
>
> This updates the kernel fork for the 4.9-1.0.x-imx branch, merges the
> 4.9.67 stable release on top of it and apply following changes:
> - ARM: dts: imx6ull: include all needed definitions
> - ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
> - video: fbdev: mxsfb: honor native-mode
> - video: mxsfb: simplify parsing
> - dmaengine: Kconfig: Extend the dependency for MXS_DMA
> - video: fbdev: mxsfb: fix pixelclock polarity
> - video: mxsfb: add compile dependencies
> - chipidea: make usb charger optional
>
> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
> ---
>  recipes-kernel/linux/linux-fslc-imx/defconfig    | 24 +++++-------------------
>  recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 16 ++++++++++++++++
>  2 files changed, 21 insertions(+), 19 deletions(-)
>  create mode 100644 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
>
> diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
> index 061a1bde..f9e53a6a 100644
> --- a/recipes-kernel/linux/linux-fslc-imx/defconfig
> +++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
> @@ -1,6 +1,5 @@
>  CONFIG_KERNEL_LZO=y
>  CONFIG_SYSVIPC=y
> -CONFIG_FHANDLE=y
>  CONFIG_NO_HZ=y
>  CONFIG_HIGH_RES_TIMERS=y
>  CONFIG_IKCONFIG=y

This should be dropped as FHANDLE is used for systemd


-- 
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

* Re: [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
  2017-12-15  1:20 ` Otavio Salvador
@ 2017-12-15 11:46   ` Stefan Agner
  2017-12-15 12:20     ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Agner @ 2017-12-15 11:46 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Stefan Agner

On 2017-12-15 02:20, Otavio Salvador wrote:
> On Wed, Dec 13, 2017 at 8:51 PM, Stefan Agner <stefan@agner.ch> wrote:
>> From: Stefan Agner <stefan.agner@toradex.com>
>>
>> This updates the kernel fork for the 4.9-1.0.x-imx branch, merges the
>> 4.9.67 stable release on top of it and apply following changes:
>> - ARM: dts: imx6ull: include all needed definitions
>> - ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
>> - video: fbdev: mxsfb: honor native-mode
>> - video: mxsfb: simplify parsing
>> - dmaengine: Kconfig: Extend the dependency for MXS_DMA
>> - video: fbdev: mxsfb: fix pixelclock polarity
>> - video: mxsfb: add compile dependencies
>> - chipidea: make usb charger optional
>>
>> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
>> ---
>>  recipes-kernel/linux/linux-fslc-imx/defconfig    | 24 +++++-------------------
>>  recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 16 ++++++++++++++++
>>  2 files changed, 21 insertions(+), 19 deletions(-)
>>  create mode 100644 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
>>
>> diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
>> index 061a1bde..f9e53a6a 100644
>> --- a/recipes-kernel/linux/linux-fslc-imx/defconfig
>> +++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
>> @@ -1,6 +1,5 @@
>>  CONFIG_KERNEL_LZO=y
>>  CONFIG_SYSVIPC=y
>> -CONFIG_FHANDLE=y
>>  CONFIG_NO_HZ=y
>>  CONFIG_HIGH_RES_TIMERS=y
>>  CONFIG_IKCONFIG=y
> 
> This should be dropped as FHANDLE is used for systemd

I did not disable it. I just did make defconfig and then make
savedefconfig again, so we have a proper minimal defconfig file for the
4.9 kernel.

The reason it does not appear any longer in defconfig is since during
the 4.6 development cycle f76be61755c5 ("Make CONFIG_FHANDLE default y")
enabled FHANDLE by default.

--
Stefan


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

* Re: [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
  2017-12-15 11:46   ` Stefan Agner
@ 2017-12-15 12:20     ` Otavio Salvador
  2017-12-15 12:33       ` Stefan Agner
  0 siblings, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2017-12-15 12:20 UTC (permalink / raw)
  To: Stefan Agner; +Cc: meta-freescale, Stefan Agner

On Fri, Dec 15, 2017 at 9:46 AM, Stefan Agner <stefan@agner.ch> wrote:
> On 2017-12-15 02:20, Otavio Salvador wrote:
>> On Wed, Dec 13, 2017 at 8:51 PM, Stefan Agner <stefan@agner.ch> wrote:
>>> From: Stefan Agner <stefan.agner@toradex.com>
>>>
>>> This updates the kernel fork for the 4.9-1.0.x-imx branch, merges the
>>> 4.9.67 stable release on top of it and apply following changes:
>>> - ARM: dts: imx6ull: include all needed definitions
>>> - ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
>>> - video: fbdev: mxsfb: honor native-mode
>>> - video: mxsfb: simplify parsing
>>> - dmaengine: Kconfig: Extend the dependency for MXS_DMA
>>> - video: fbdev: mxsfb: fix pixelclock polarity
>>> - video: mxsfb: add compile dependencies
>>> - chipidea: make usb charger optional
>>>
>>> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
>>> ---
>>>  recipes-kernel/linux/linux-fslc-imx/defconfig    | 24 +++++-------------------
>>>  recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 16 ++++++++++++++++
>>>  2 files changed, 21 insertions(+), 19 deletions(-)
>>>  create mode 100644 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
>>>
>>> diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
>>> index 061a1bde..f9e53a6a 100644
>>> --- a/recipes-kernel/linux/linux-fslc-imx/defconfig
>>> +++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
>>> @@ -1,6 +1,5 @@
>>>  CONFIG_KERNEL_LZO=y
>>>  CONFIG_SYSVIPC=y
>>> -CONFIG_FHANDLE=y
>>>  CONFIG_NO_HZ=y
>>>  CONFIG_HIGH_RES_TIMERS=y
>>>  CONFIG_IKCONFIG=y
>>
>> This should be dropped as FHANDLE is used for systemd
>
> I did not disable it. I just did make defconfig and then make
> savedefconfig again, so we have a proper minimal defconfig file for the
> 4.9 kernel.
>
> The reason it does not appear any longer in defconfig is since during
> the 4.6 development cycle f76be61755c5 ("Make CONFIG_FHANDLE default y")
> enabled FHANDLE by default.

Awesome :-)

Did you test the kernel using the current Vivante driver?

-- 
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

* Re: [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
  2017-12-15 12:20     ` Otavio Salvador
@ 2017-12-15 12:33       ` Stefan Agner
  2017-12-15 17:20         ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Agner @ 2017-12-15 12:33 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Stefan Agner

On 2017-12-15 13:20, Otavio Salvador wrote:
> On Fri, Dec 15, 2017 at 9:46 AM, Stefan Agner <stefan@agner.ch> wrote:
>> On 2017-12-15 02:20, Otavio Salvador wrote:
>>> On Wed, Dec 13, 2017 at 8:51 PM, Stefan Agner <stefan@agner.ch> wrote:
>>>> From: Stefan Agner <stefan.agner@toradex.com>
>>>>
>>>> This updates the kernel fork for the 4.9-1.0.x-imx branch, merges the
>>>> 4.9.67 stable release on top of it and apply following changes:
>>>> - ARM: dts: imx6ull: include all needed definitions
>>>> - ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
>>>> - video: fbdev: mxsfb: honor native-mode
>>>> - video: mxsfb: simplify parsing
>>>> - dmaengine: Kconfig: Extend the dependency for MXS_DMA
>>>> - video: fbdev: mxsfb: fix pixelclock polarity
>>>> - video: mxsfb: add compile dependencies
>>>> - chipidea: make usb charger optional
>>>>
>>>> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
>>>> ---
>>>>  recipes-kernel/linux/linux-fslc-imx/defconfig    | 24 +++++-------------------
>>>>  recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb | 16 ++++++++++++++++
>>>>  2 files changed, 21 insertions(+), 19 deletions(-)
>>>>  create mode 100644 recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
>>>>
>>>> diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
>>>> index 061a1bde..f9e53a6a 100644
>>>> --- a/recipes-kernel/linux/linux-fslc-imx/defconfig
>>>> +++ b/recipes-kernel/linux/linux-fslc-imx/defconfig
>>>> @@ -1,6 +1,5 @@
>>>>  CONFIG_KERNEL_LZO=y
>>>>  CONFIG_SYSVIPC=y
>>>> -CONFIG_FHANDLE=y
>>>>  CONFIG_NO_HZ=y
>>>>  CONFIG_HIGH_RES_TIMERS=y
>>>>  CONFIG_IKCONFIG=y
>>>
>>> This should be dropped as FHANDLE is used for systemd
>>
>> I did not disable it. I just did make defconfig and then make
>> savedefconfig again, so we have a proper minimal defconfig file for the
>> 4.9 kernel.
>>
>> The reason it does not appear any longer in defconfig is since during
>> the 4.6 development cycle f76be61755c5 ("Make CONFIG_FHANDLE default y")
>> enabled FHANDLE by default.
> 
> Awesome :-)
> 
> Did you test the kernel using the current Vivante driver?

Yes, with some additional patches to add Colibri/Apalis support. At
least X-Server with glmark2 seems to work fine.

Btw, I just realized that recipes-kernel/linux/linux-fslc-imx/defconfig
also gets used by the linux-fslc-imx_4.1-2.0.x.bb recipe... Do we want
to keep that kernel recipe? Then we probably should create two
defconfigs..

--
Stefan


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

* Re: [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork
  2017-12-15 12:33       ` Stefan Agner
@ 2017-12-15 17:20         ` Otavio Salvador
  0 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2017-12-15 17:20 UTC (permalink / raw)
  To: Stefan Agner; +Cc: meta-freescale, Stefan Agner

On Fri, Dec 15, 2017 at 10:33 AM, Stefan Agner <stefan@agner.ch> wrote:
> On 2017-12-15 13:20, Otavio Salvador wrote:
>> Did you test the kernel using the current Vivante driver?
>
> Yes, with some additional patches to add Colibri/Apalis support. At
> least X-Server with glmark2 seems to work fine.

Great.

> Btw, I just realized that recipes-kernel/linux/linux-fslc-imx/defconfig
> also gets used by the linux-fslc-imx_4.1-2.0.x.bb recipe... Do we want
> to keep that kernel recipe? Then we probably should create two
> defconfigs..

No, it should remove the recipe so all machines use the new kernel.

-- 
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

end of thread, other threads:[~2017-12-15 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 22:51 [PATCH] linux-fslc-imx: Update to 4.9-1.0.x GA based fork Stefan Agner
2017-12-15  1:20 ` Otavio Salvador
2017-12-15 11:46   ` Stefan Agner
2017-12-15 12:20     ` Otavio Salvador
2017-12-15 12:33       ` Stefan Agner
2017-12-15 17:20         ` Otavio Salvador

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.