From patchwork Tue Nov 27 13:56:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagar Kadam X-Patchwork-Id: 13240 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 25E894C1794 for ; Tue, 27 Nov 2012 13:57:02 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 991B5A19451 for ; Tue, 27 Nov 2012 13:57:01 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so6404216ieb.11 for ; Tue, 27 Nov 2012 05:57:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-forefront-antispam-report:x-spamscore:x-bigfish:received-spf:from :to:cc:subject:thread-topic:thread-index:date:message-id :accept-language:content-language:x-ms-has-attach :x-ms-tnef-correlator:x-originating-ip:content-type:mime-version :x-originatororg:x-gm-message-state; bh=lI6PFpZna40K4Jf4/uJkq3YZ3kztdtGGPLmDGSo/5SU=; b=g3/CuNefIWloGRgEh89a2WTi12fI6b3Kzp8xbqzxicQeCVBWTvIU7XZbXpIF02+w+q XTXNgzhpcihRyK7iTinpJg0TMLziNe+wjlUlVaE9DPLawuDNABLCZe8krll+rk+3K38d YoNpP9d3n1Q6hDjwow2FV9bcj/YGUh3DrNxX3X5b10zbauqihwDhwvhq6Lona6QXGDfV LMJ+WldFWUM2h1lfNeJdKAn9h8B9ssM+ta1INnMXq6hr6+/Ch2VDw0SomNqhPUnJbcuK B6AONzuRPOKyX0Fk70VW3Wi7nEeRxHL8Wlihnk+aqN7JuMFBX64rhzDfO7l866JWwq/y QOmQ== Received: by 10.50.213.69 with SMTP id nq5mr18087120igc.70.1354024620938; Tue, 27 Nov 2012 05:57:00 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp461631igt; Tue, 27 Nov 2012 05:57:00 -0800 (PST) Received: by 10.180.101.231 with SMTP id fj7mr27162041wib.4.1354024619695; Tue, 27 Nov 2012 05:56:59 -0800 (PST) Received: from db3outboundpool.messaging.microsoft.com (db3ehsobe002.messaging.microsoft.com. [213.199.154.140]) by mx.google.com with ESMTPS id v18si8352465weo.145.2012.11.27.05.56.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Nov 2012 05:56:59 -0800 (PST) Received-SPF: pass (google.com: domain of Sagar.Kadam@open-silicon.com designates 213.199.154.140 as permitted sender) client-ip=213.199.154.140; Authentication-Results: mx.google.com; spf=pass (google.com: domain of Sagar.Kadam@open-silicon.com designates 213.199.154.140 as permitted sender) smtp.mail=Sagar.Kadam@open-silicon.com Received: from mail55-db3-R.bigfish.com (10.3.81.238) by DB3EHSOBE007.bigfish.com (10.3.84.27) with Microsoft SMTP Server id 14.1.225.23; Tue, 27 Nov 2012 13:56:58 +0000 Received: from mail55-db3 (localhost [127.0.0.1]) by mail55-db3-R.bigfish.com (Postfix) with ESMTP id 933653C038A; Tue, 27 Nov 2012 13:56:58 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.234.117; KIP:(null); UIP:(null); IPV:NLI; H:SN2PRD0510HT005.namprd05.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: 4 X-BigFish: PS4(zzc85dhzz1202h1d2ahzz17326ah8275dh18c673hz2fh2a8h668h839hd25hf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h15d0l34h1155h) Received-SPF: pass (mail55-db3: domain of open-silicon.com designates 157.56.234.117 as permitted sender) client-ip=157.56.234.117; envelope-from=Sagar.Kadam@open-silicon.com; helo=SN2PRD0510HT005.namprd05.prod.outlook.com ; .outlook.com ; Received: from mail55-db3 (localhost.localdomain [127.0.0.1]) by mail55-db3 (MessageSwitch) id 1354024615946446_12328; Tue, 27 Nov 2012 13:56:55 +0000 (UTC) Received: from DB3EHSMHS001.bigfish.com (unknown [10.3.81.231]) by mail55-db3.bigfish.com (Postfix) with ESMTP id D7F0C8007E; Tue, 27 Nov 2012 13:56:55 +0000 (UTC) Received: from SN2PRD0510HT005.namprd05.prod.outlook.com (157.56.234.117) by DB3EHSMHS001.bigfish.com (10.3.87.101) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 27 Nov 2012 13:56:54 +0000 Received: from SN2PRD0510MB384.namprd05.prod.outlook.com ([169.254.10.12]) by SN2PRD0510HT005.namprd05.prod.outlook.com ([10.255.116.40]) with mapi id 14.16.0239.002; Tue, 27 Nov 2012 13:57:09 +0000 From: Sagar Kadam To: "linaro-dev@lists.linaro.org" CC: "patches@linaro.org" Subject: Bug Fix for ARMv8 bootup in Foundation_v8pkg Thread-Topic: Bug Fix for ARMv8 bootup in Foundation_v8pkg Thread-Index: Ac3MhrNMjPIppg8vS8alLe6wzLVbrA== Date: Tue, 27 Nov 2012 13:56:53 +0000 Message-ID: <69BFE20F6C30C34CA88FEF5B565A25CA07B8E9C7@SN2PRD0510MB384.namprd05.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [115.115.92.98] MIME-Version: 1.0 X-OriginatorOrg: open-silicon.com X-Gm-Message-State: ALoCoQlBfU4AJ2CpwAuZVNC9MF8fr7XEmFKTJpPBgdEGhh9/UKLqPguMsQMAv18Xm32qu5APsawS Hello, We are using ARM foundation models for evaluation of ARMv8 architecture. We are able to boot the prebuilt images as provided and directed by Linaro on the following link. http://www.linaro.org/engineering/armv8/#tab1 But if we try to recompile the kernel as directed on following link (https://wiki.linaro.org/HowTo/BuildArm64Kernel) we observed that Foundation model is not able to boot the kernel completely. The following is the error message "Starting Boolog daemon: bootlogd: cannot find console device 204:64 under /dev" I screened throughout the linaro site as well as on Google but didn't get any fix suitable for it. I have fixed this bug and would like to submit the patch to linaro upstream branch. Could you please review the patch and let me know how I can upload it to Linaro so that other developers can also use it. PFA the patch for the same. Thanks & BR, Sagar Kadam >From 0612fdc8eeadb192df779b8e32655dd2a707fa93 Mon Sep 17 00:00:00 2001 From: Sagar Kadam Date: Tue, 27 Nov 2012 19:17:56 +0530 Subject: [PATCH] [Linaro aarch64 booting Bug] Booting problem on ARM Foundation model:- When pulled a linaro kernel till following git commit 7181edd0539e195f78adedbb6c3878f9f1e0c4bb we observe that the kernel image built for vexpress_defconfig is not able to boot and provide a command prompt at the end. The console hangs after the following boot message: "Starting Boolog daemon: bootlogd: cannot find console device 204:64 under /dev" The reason for this is that CONFIG_DEVTMPFS_MOUNT was not configured into the default config. By enabling this feature, devtmpfs filesystem at /dev, directly after the kernel has mounted the root filesystem. Thus during bootup the /dev/ttyAMA0 device is detected and the command prompt is provided. --- arch/arm64/configs/vexpress_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm64/configs/vexpress_defconfig b/arch/arm64/configs/vexpress_defconfig index a82cfb8..85ff013 100644 --- a/arch/arm64/configs/vexpress_defconfig +++ b/arch/arm64/configs/vexpress_defconfig @@ -41,6 +41,7 @@ CONFIG_IP_PNP_BOOTP=y # CONFIG_WIRELESS is not set CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y CONFIG_BLK_DEV=y CONFIG_SCSI=y # CONFIG_SCSI_PROC_FS is not set -- 1.7.6.5