Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9AF18E006AB for ; Wed, 24 Aug 2011 02:04:56 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p7O94sgF019910 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 24 Aug 2011 02:04:55 -0700 (PDT) Received: from localhost.localdomain (128.224.162.211) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Wed, 24 Aug 2011 02:04:54 -0700 From: Liming Wang To: Date: Wed, 24 Aug 2011 16:48:26 +0800 Message-ID: <1314175707-9214-1-git-send-email-liming.wang@windriver.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Cc: yocto@yoctoproject.org, dvhart@linux.intel.com Subject: [PATCH 0/1] script/runqemu: change boot command line for qemuppc X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 09:04:56 -0000 Content-Type: text/plain This patch is just a workaround to speed up boot time of qemuppc, because qemuppc has no framebuffer support, no need to start X server for qemuppc. Richard suggested to fix the X scripts so that if an fbdev X server is in use and the framebuffer device node does not exist, it just exits cleanly with a suitable message and doesn't timeout on boot. But I think it needs more time to implement and test. > X scripts serve for all the boards. And we also can't assume all the > boards use the same > framebuffer device. So how to detect whether the framebuffer device > exists is board dependent. > Maybe we can see whether the device /dev/fb0 exists(it could be created > manually, so we should try to open it to verify) > or the file /proc/fb exists to confirm the framebuffer device. Anyway, > any modification should be > tested on all boards to see whether it works. I prefer to mark it as > todo task in 1.1 Bruce also suggests: > I know I'm ok with this strategy, since time is short in the > 1.1 cycle. We can always open a bugzilla item to track this, > just to be sure it isn't forgotten. Preferably we'll get a > qemuppc with a framebuffer in 1.x timeframe and we won't need > this at all. Coming up with something generic and the amount > of testing required doesn't fit the timeframe that we currently > have for 1.1. Liming Wang (1): script/runqemu: change boot command line for qemuppc scripts/runqemu-internal | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)