From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guo Ren Subject: Re: [PATCH 17/19] csky: defconfig Date: Wed, 28 Mar 2018 11:59:42 +0800 Message-ID: <20180328035942.GA23588@guoren> References: <8a9c9b588cdfdf8b25ca9d449bf5c862d329c1d8.1521399976.git.ren_guo@c-sky.com> <20180327022128.GB10185@guoren> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org List-Id: linux-arch.vger.kernel.org On Tue, Mar 27, 2018 at 09:48:23AM +0200, Arnd Bergmann wrote: > On Tue, Mar 27, 2018 at 4:21 AM, Guo Ren wrote: > > On Mon, Mar 26, 2018 at 03:16:31PM +0200, Arnd Bergmann wrote: > > >> > +CONFIG_CFG80211=y > >> > +CONFIG_CFG80211_DEBUGFS=y > >> > +CONFIG_CFG80211_WEXT=y > >> > >> I would guess you want IPV6 but not WEXT here. > > Gx6605s devlepment board support usb-wifi. > > Perhaps WEXT is needed by iwconfig or iwlist? So I just enable it. > > However, I'll consider to remove it. > > I think it's only for backwards compatibility with old versions of > those tools. There are some older drivers that use WEXT as the > native interface, but CFG80211 based drivers have a netlink > interface. Thx for remind. I'll check. > > >> > +CONFIG_FB=y > >> > +CONFIG_FB_TILEBLITTING=y > >> > +CONFIG_FB_SIMPLE=y > >> > +CONFIG_BACKLIGHT_LCD_SUPPORT=y > >> > +# CONFIG_LCD_CLASS_DEVICE is not set > >> > +# CONFIG_BACKLIGHT_CLASS_DEVICE is not set > >> > +# CONFIG_VGA_CONSOLE is not set > >> > +CONFIG_FRAMEBUFFER_CONSOLE=y > >> > +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y > >> > +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y > >> > +CONFIG_LOGO=y > >> > +# CONFIG_LOGO_LINUX_MONO is not set > >> > +# CONFIG_LOGO_LINUX_VGA16 is not set > >> > >> For new platforms, using the DRM subsystem is the recommend > >> way to do graphics, it mostly replaces the framebuffer subsystem > >> here. > > These used by: > > https://github.com/c-sky/addons-linux/tree/master/addons/drivers/video/fbdev/nationalchip > > > > I'll consider the DRM subsystem. > > It used to be rather hard to write a new DRM driver, but that has > improved a lot recently. You might be able to fit your driver into > drivers/gpu/drm/tinydrm/, or maybe do something a bit more complex > like drivers/gpu/drm/pl111/ or drivers/gpu/drm/stm/. For this patchset, I won't upstream the fbdev driver. I'll remove the CONFIG_FB in defconfig first. Thx for remind about the develop-tips, and it's very helpful. Best Regards Guo Ren From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:57021 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbeC1D76 (ORCPT ); Tue, 27 Mar 2018 23:59:58 -0400 Date: Wed, 28 Mar 2018 11:59:42 +0800 From: Guo Ren Subject: Re: [PATCH 17/19] csky: defconfig Message-ID: <20180328035942.GA23588@guoren> References: <8a9c9b588cdfdf8b25ca9d449bf5c862d329c1d8.1521399976.git.ren_guo@c-sky.com> <20180327022128.GB10185@guoren> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org Message-ID: <20180328035942.NIwHuCCC8ucYHivAv5nfU50vcRY0juqTjoh1rcSCL8c@z> On Tue, Mar 27, 2018 at 09:48:23AM +0200, Arnd Bergmann wrote: > On Tue, Mar 27, 2018 at 4:21 AM, Guo Ren wrote: > > On Mon, Mar 26, 2018 at 03:16:31PM +0200, Arnd Bergmann wrote: > > >> > +CONFIG_CFG80211=y > >> > +CONFIG_CFG80211_DEBUGFS=y > >> > +CONFIG_CFG80211_WEXT=y > >> > >> I would guess you want IPV6 but not WEXT here. > > Gx6605s devlepment board support usb-wifi. > > Perhaps WEXT is needed by iwconfig or iwlist? So I just enable it. > > However, I'll consider to remove it. > > I think it's only for backwards compatibility with old versions of > those tools. There are some older drivers that use WEXT as the > native interface, but CFG80211 based drivers have a netlink > interface. Thx for remind. I'll check. > > >> > +CONFIG_FB=y > >> > +CONFIG_FB_TILEBLITTING=y > >> > +CONFIG_FB_SIMPLE=y > >> > +CONFIG_BACKLIGHT_LCD_SUPPORT=y > >> > +# CONFIG_LCD_CLASS_DEVICE is not set > >> > +# CONFIG_BACKLIGHT_CLASS_DEVICE is not set > >> > +# CONFIG_VGA_CONSOLE is not set > >> > +CONFIG_FRAMEBUFFER_CONSOLE=y > >> > +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y > >> > +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y > >> > +CONFIG_LOGO=y > >> > +# CONFIG_LOGO_LINUX_MONO is not set > >> > +# CONFIG_LOGO_LINUX_VGA16 is not set > >> > >> For new platforms, using the DRM subsystem is the recommend > >> way to do graphics, it mostly replaces the framebuffer subsystem > >> here. > > These used by: > > https://github.com/c-sky/addons-linux/tree/master/addons/drivers/video/fbdev/nationalchip > > > > I'll consider the DRM subsystem. > > It used to be rather hard to write a new DRM driver, but that has > improved a lot recently. You might be able to fit your driver into > drivers/gpu/drm/tinydrm/, or maybe do something a bit more complex > like drivers/gpu/drm/pl111/ or drivers/gpu/drm/stm/. For this patchset, I won't upstream the fbdev driver. I'll remove the CONFIG_FB in defconfig first. Thx for remind about the develop-tips, and it's very helpful. Best Regards Guo Ren