linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Lower entry barrier for arm64 development
@ 2013-09-28 11:19 Ramkumar Ramachandra
  2013-09-28 11:19 ` [PATCH 1/2] arm64: include EXT4 in defconfig Ramkumar Ramachandra
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ramkumar Ramachandra @ 2013-09-28 11:19 UTC (permalink / raw)
  To: LKML; +Cc: Catalin Marinas, Andreas Schwab

Hi,

So I got this far after many hours of scratching my head. Let's make
EXT4, VIRTIO_MMIO, and VIRTIO_BLK part of the default configuration so
users have a pleasant ride when attempting to run their freshly built
AArch64 kernel. My boot wrapper has diverged from Catalin's quite
significantly [1], and it works well for me. I intend to address more
papercuts in future patches.

Thanks.

[1]: https://github.com/artagnon/boot-wrapper-aarch64

Ramkumar Ramachandra (2):
  arm64: include EXT4 in defconfig
  arm64: include VIRTIO_{MMIO,BLK} in defconfig

 arch/arm64/configs/defconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.8.4.477.g4cae6f5


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] arm64: include EXT4 in defconfig
  2013-09-28 11:19 [PATCH 0/2] Lower entry barrier for arm64 development Ramkumar Ramachandra
@ 2013-09-28 11:19 ` Ramkumar Ramachandra
  2013-09-28 11:19 ` [PATCH 2/2] arm64: include VIRTIO_{MMIO,BLK} " Ramkumar Ramachandra
  2013-09-30 14:54 ` [PATCH 0/2] Lower entry barrier for arm64 development Catalin Marinas
  2 siblings, 0 replies; 4+ messages in thread
From: Ramkumar Ramachandra @ 2013-09-28 11:19 UTC (permalink / raw)
  To: LKML; +Cc: Catalin Marinas, Andreas Schwab, Will Deacon

Most readily available root filesystems are formatted as EXT4 these
days. For example, see the raring rootfs that the Debian folk is
preparing [1].

[1]: http://people.debian.org/~wookey/bootstrap/rootfs/

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5b3e832..798bcbb 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -72,6 +72,7 @@ CONFIG_LOGO=y
 # CONFIG_IOMMU_SUPPORT is not set
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS=y
 # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
 # CONFIG_EXT3_FS_XATTR is not set
 CONFIG_FUSE_FS=y
-- 
1.8.4.477.g4cae6f5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm64: include VIRTIO_{MMIO,BLK} in defconfig
  2013-09-28 11:19 [PATCH 0/2] Lower entry barrier for arm64 development Ramkumar Ramachandra
  2013-09-28 11:19 ` [PATCH 1/2] arm64: include EXT4 in defconfig Ramkumar Ramachandra
@ 2013-09-28 11:19 ` Ramkumar Ramachandra
  2013-09-30 14:54 ` [PATCH 0/2] Lower entry barrier for arm64 development Catalin Marinas
  2 siblings, 0 replies; 4+ messages in thread
From: Ramkumar Ramachandra @ 2013-09-28 11:19 UTC (permalink / raw)
  To: LKML; +Cc: Catalin Marinas, Andreas Schwab, Will Deacon

Currently, development on arm64 is aided by a Foundation_v8 emulator
distributed by ARM [1]. To run their kernels, users will execute:

  $ ./Foundation_v8 --image linux-system.axf --block-device raring-rootfs

To mount the raring-rootfs filesystem, the kernel parameter should
typically include:

  root=/dev/vda

For this device to be present, the kernel must be compiled with
VIRTIO_{MMIO,BLK}. To make this work out-of-the-box, make it part of the
default configuration.

[1]: https://silver.arm.com/browse/FM00A

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 arch/arm64/configs/defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 798bcbb..31c81e9 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -42,7 +42,7 @@ CONFIG_IP_PNP_BOOTP=y
 # CONFIG_WIRELESS is not set
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
-# CONFIG_BLK_DEV is not set
+CONFIG_BLK_DEV=y
 CONFIG_SCSI=y
 # CONFIG_SCSI_PROC_FS is not set
 CONFIG_BLK_DEV_SD=y
@@ -91,3 +91,5 @@ CONFIG_DEBUG_KERNEL=y
 CONFIG_DEBUG_INFO=y
 # CONFIG_FTRACE is not set
 CONFIG_ATOMIC64_SELFTEST=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_VIRTIO_BLK=y
-- 
1.8.4.477.g4cae6f5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Lower entry barrier for arm64 development
  2013-09-28 11:19 [PATCH 0/2] Lower entry barrier for arm64 development Ramkumar Ramachandra
  2013-09-28 11:19 ` [PATCH 1/2] arm64: include EXT4 in defconfig Ramkumar Ramachandra
  2013-09-28 11:19 ` [PATCH 2/2] arm64: include VIRTIO_{MMIO,BLK} " Ramkumar Ramachandra
@ 2013-09-30 14:54 ` Catalin Marinas
  2 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2013-09-30 14:54 UTC (permalink / raw)
  To: Ramkumar Ramachandra; +Cc: LKML, Andreas Schwab

On Sat, Sep 28, 2013 at 12:19:54PM +0100, Ramkumar Ramachandra wrote:
> So I got this far after many hours of scratching my head. Let's make
> EXT4, VIRTIO_MMIO, and VIRTIO_BLK part of the default configuration so
> users have a pleasant ride when attempting to run their freshly built
> AArch64 kernel. My boot wrapper has diverged from Catalin's quite
> significantly [1], and it works well for me. I intend to address more
> papercuts in future patches.
> 
> Thanks.
> 
> [1]: https://github.com/artagnon/boot-wrapper-aarch64
> 
> Ramkumar Ramachandra (2):
>   arm64: include EXT4 in defconfig
>   arm64: include VIRTIO_{MMIO,BLK} in defconfig

Thanks. Both patches applied.

-- 
Catalin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-30 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-28 11:19 [PATCH 0/2] Lower entry barrier for arm64 development Ramkumar Ramachandra
2013-09-28 11:19 ` [PATCH 1/2] arm64: include EXT4 in defconfig Ramkumar Ramachandra
2013-09-28 11:19 ` [PATCH 2/2] arm64: include VIRTIO_{MMIO,BLK} " Ramkumar Ramachandra
2013-09-30 14:54 ` [PATCH 0/2] Lower entry barrier for arm64 development Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).