Bug Fix for ARMv8 bootup in Foundation_v8pkg
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 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
RE: Bug Fix for ARMv8 bootup in Foundation_v8pkg
Hello Loïc Minier, Thanks for hosting a bug on my behalf. Just a small query: To provide a patch for OE build, shall I extract the core-image-minimal-genericarmv8-20121019001847.rootfs.tar.gz add entry for /dev/ttyAMA into the /etc/device_table and provide its patch. Thanks & BR, Sagar Kadam From: Loïc Minier [loic.min...@linaro.org] Sent: Wednesday, November 28, 2012 4:45 PM To: Sagar Kadam Cc: linaro-dev@lists.linaro.org Subject: Re: Bug Fix for ARMv8 bootup in Foundation_v8pkg Hi, On Tue, Nov 27, 2012, Sagar Kadam wrote: > The following is the error message "Starting Boolog daemon: bootlogd: > cannot find console device 204:64 under /dev" Indeed, /dev/ttyAMA0 is missing from the rootfs; thanks for pointing this out. I've logged this problem on your behalf in: https://bugs.launchpad.net/linaro-oe/+bug/1084037 > +CONFIG_DEVTMPFS_MOUNT=y This change might be too intrusive; we probably want to just patch our OE build to include the missing device node along the other ones. Thanks! -- Loïc Minier ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
RE: Bug Fix for ARMv8 bootup in Foundation_v8pkg
Hello Loïc Minier, Thanks for hosting a bug on my behalf. Just a small query: To provide a patch for OE build, shall I extract the core-image-minimal-genericarmv8-20121019001847.rootfs.tar.gz edit the required /etc/fstab to mount the devtmpfs file system during boot or shall I add the device entry into /etc/device_list file BR, Sagar Kadam From: Loïc Minier [loic.min...@linaro.org] Sent: Wednesday, November 28, 2012 4:45 PM To: Sagar Kadam Cc: linaro-dev@lists.linaro.org Subject: Re: Bug Fix for ARMv8 bootup in Foundation_v8pkg Hi, On Tue, Nov 27, 2012, Sagar Kadam wrote: > The following is the error message "Starting Boolog daemon: bootlogd: > cannot find console device 204:64 under /dev" Indeed, /dev/ttyAMA0 is missing from the rootfs; thanks for pointing this out. I've logged this problem on your behalf in: https://bugs.launchpad.net/linaro-oe/+bug/1084037 > +CONFIG_DEVTMPFS_MOUNT=y This change might be too intrusive; we probably want to just patch our OE build to include the missing device node along the other ones. Thanks! -- Loïc Minier ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev