Received: by 10.223.164.202 with SMTP id h10csp1227574wrb; Fri, 10 Nov 2017 00:17:34 -0800 (PST) X-Google-Smtp-Source: ABhQp+ReueBNUnGyyItOpoWc3NT8lGwTjYZsrvu3wX2QiRI7ODYbeBk3NVjNt2FPcQA9FUhjDnOR X-Received: by 10.84.132.98 with SMTP id 89mr3329794ple.98.1510301854778; Fri, 10 Nov 2017 00:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510301854; cv=none; d=google.com; s=arc-20160816; b=GJMFsohHrpGW51qmAQ+t7QG68LEI07sfgmDMpRvrozsqMldM+dgkHZFM69ULbi4Pnr AMlNfOuxQnI8sbKcvjiI20wuCY8XqwrXVA8WxiNRK74nOPt99fvpunfas4od5lCN+fjP Iz7yQBPywpccaTo2TA0NS7E4HRMWsfAfL511yFBCNpqzmcBmeULfDvh4gHZaO36y1SAo LjT5hNGUCMHr8/ro0eZMJl6iuPrYt8WVGfwyi8HCRDLfK730HSRI4zrKYjDjYDIfQkyc 9s4xMJWBoPiAu5Zf4z+NMryV7Opy7HiuMz50BdQDvlo8g41Y4gezT2zlKZvNPaNO+u/w 5dwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XceKXSqP08dcAg5YW21rQ6Jm8VVV76HuZLIKfr9uKKU=; b=XE87fO7NdJfArEDRZun3u4xwUumZozXYMa2B5zNrdkP7Z91ybm+Ju+lhBMM5FpNe+c KYJA48c6vZNL0CdTkj9E1F7YLMbVNbdoQh8OAowkCQOe4LvoliRwBdiSzZfMsWSDFxst vXo9T+OMKkpsAENlzkxCFdfW+NnsDU1PQMS0O1kV2J6hVrKrdnUG5nkIW37xvxExcblH 2eTAUJRAeMmuml/gmynJj7hxK87UR4lsAVrgAmKqmkXOwnoWQL+BY+O07ULMBdXHg0e3 QaIQOt397ZFuEe0GZ/q12SJUEa4mi/5Sr+860h2linGjJ1tJHlEr4cSJiwrOGXp+kpd+ JUKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HqsZcu67; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si8220649pln.594.2017.11.10.00.17.23; Fri, 10 Nov 2017 00:17:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HqsZcu67; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751466AbdKJIQr (ORCPT + 83 others); Fri, 10 Nov 2017 03:16:47 -0500 Received: from mail-vk0-f66.google.com ([209.85.213.66]:44066 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbdKJIQp (ORCPT ); Fri, 10 Nov 2017 03:16:45 -0500 Received: by mail-vk0-f66.google.com with SMTP id x65so5634989vkx.1; Fri, 10 Nov 2017 00:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XceKXSqP08dcAg5YW21rQ6Jm8VVV76HuZLIKfr9uKKU=; b=HqsZcu67W2dxTiJCyb0SHj+qUI0r2oJj0FQuaFqlw5974yDLiyclHZvNxnLWsu6yZ5 OiOAas5z2nOGHNVlDuZKfkoeYdnhFbjUnAiA/McpGZ9yHWtX0kNPbZJXhJakaA/wXmeE fZWcUwtcFtJWOSX441/SlLUzzYtzXV97ARsVgsHBwfNVQZ2eONxnIyvslZz+C8feIHXB ger5PuP6L9Nt2773llbApoZLO9Dwr1dlDjYx6gwFZv8cWF1RlaPF3i9GbvkWCBprOEuU t/Pa9d0s5g7jaTx09Yst/FspVBUPISl79MpnaOFngVKtS9shGZ9JPWZuQ7byuHUN+bit 7OlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XceKXSqP08dcAg5YW21rQ6Jm8VVV76HuZLIKfr9uKKU=; b=XrMdVwzSQlhBHnLFIRMUlpINVFkPZ1diSKQYDrRW7IH6GXzS+x9SVz8i6veqNCZ/WN 8SeWmFxVWq2cQvkKcENCiKXbULQnrT/wtmz+trKb07XGt9cGoNuxEQY56gbYkFKzAnjP z3Gj/BXfNYrCS6wREFEueJitvrd5BVfpkssNIZlB2qe4U/S0+mPZquKakxwsLYiP3ReD Y4sy4jjqutXFYmcb6z/MWtULt3yXi5FPx3KAjT0KdXHoJTHupp/3gOq1ui4f2ApyTTlS wot2mUswfLeb4txRWxdnpGBWgPUM7mftNT+9hZbzxqVm6G390DuLLRSLFSfKQm2BIry7 djtQ== X-Gm-Message-State: AJaThX4fgIyoZAGJHLXk3rBlzfUctjPF84mY5rDV3pUeRfL8atjajECC /EPgHNOPc+bUH0fE+SIRBhETHV95WSRZrNJhXyA= X-Received: by 10.31.157.7 with SMTP id g7mr2798018vke.130.1510301804323; Fri, 10 Nov 2017 00:16:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.62.8 with HTTP; Fri, 10 Nov 2017 00:16:03 -0800 (PST) In-Reply-To: References: <805f8432979e2707fbc9bf62dc52b8abfbd2cb14.1510118606.git.green.hu@gmail.com> From: Greentime Hu Date: Fri, 10 Nov 2017 16:16:03 +0800 Message-ID: Subject: Re: [PATCH 25/31] nds32: defconfig To: Arnd Bergmann Cc: Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen , deanbo422@gmail.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-09 18:20 GMT+08:00 Arnd Bergmann : > On Thu, Nov 9, 2017 at 9:00 AM, Greentime Hu wrote: >> 2017-11-08 18:03 GMT+08:00 Arnd Bergmann : >>> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: >>>> From: Greentime Hu >>>> >>>> Signed-off-by: Vincent Chen >>>> Signed-off-by: Greentime Hu >>>> --- >>>> arch/nds32/configs/ae3xx_defconfig | 110 +++++++++++++++++++++++++++++++++++ >>>> arch/nds32/configs/ag101p_defconfig | 109 ++++++++++++++++++++++++++++++++++ >>> >>> Are those two incompatible? I would recommend starting without board >>> specific defconfig >>> files, it just gets messy once you get more than a few machines you >>> want to support. >> >> Thanks. >> These 2 are incompatible. >> They use different drivers. I may still keep these 2 defconfigs. > > Using different drivers doesn't make machines incompatible. For instance, the > x86 desktop machine has drivers for all kinds of devices, but it uses > one configuration > that works on basically any x86 machine. > > Similarly, we only have one defconfig file on arm64, and it works across very > diverse machines (phone, home routers, large servers, etc.). > > All drivers should be written in a way to allow being built into the > kernel without > doing any harm when you don't have the respective hardware. Thanks. Make sense. I will keep only one defconfig in the next version patch. >>>> +CONFIG_FB=y >>>> +# CONFIG_VGA_CONSOLE is not set >>>> +CONFIG_FRAMEBUFFER_CONSOLE=y >>> >>> You have a framebuffer console here, but no framebuffer driver? >> >> Thanks. >> I shall enable it when I push our framebuffer in the next time. >> I will disable it in the next version patch. > > The fbdev subsystem is no longer recommended for new drivers, they > should be written on top of the DRM framework. You can use > CONFIG_DRM_FBDEV_EMULATION to get the framebuffer > console on top of that, but then you don't need to enable CONFIG_FB. > > Please have a look at drivers/gpu/drm/tinydrm/ to see if you can either > use that directly, or take it as a skeleton for your own driver. > Thanks. We will check how to use CONFIG_DRM_FBDEV_EMULATION to get framebuffer. From 1583583502366947461@xxx Thu Nov 09 10:21:54 +0000 2017 X-GM-THRID: 1583483390425372255 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread