diff mbox

Bug Fix for ARMv8 bootup in Foundation_v8pkg

Message ID 69BFE20F6C30C34CA88FEF5B565A25CA07B8E9C7@SN2PRD0510MB384.namprd05.prod.outlook.com
State New
Headers show

Commit Message

Sagar Kadam Nov. 27, 2012, 1:56 p.m. UTC
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
diff mbox

Patch

From 0612fdc8eeadb192df779b8e32655dd2a707fa93 Mon Sep 17 00:00:00 2001
From: Sagar Kadam <sagar.kadam@open-silicon.com>
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