Skip to contentSkip to conversation

ARM: configs: keystone: Add ramdisk support

PATCH In review Nishanth Menon 3 participants 6 messages Oct 7, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: configs: keystone: Add ramdisk support

Add ramdisk support to allow for minimal kernel to be supported.

---

Based on next-20151007 (with SPI disabled)
test: http://pastebin.ubuntu.com/12707715/

 arch/arm/configs/keystone_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/keystone_defconfig +2 -0
index 5bcc9cf9d8f1..836674b74b4f 100644
@@ -124,6 +124,8 @@ CONFIG_MTD_NAND_DAVINCI=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
 CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=8096
 CONFIG_EEPROM_AT24=y
 CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
Signature · 1 line
2.1.4
#1 lore raw
Quoted 4 lines · On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:

Add ramdisk support to allow for minimal kernel to be supported.

I have not seen that in a while. Can you explain why the normal initramfs method doesn't work on keystone?

Arnd

#2 lore raw
Quoted 8 lines · Arnd Bergmann
Quoted 4 lines · On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:

Add ramdisk support to allow for minimal kernel to be supported.

I have not seen that in a while. Can you explain why the normal initramfs method doesn't work on keystone?

It probably does - I have'nt used it - i am using an initrd thanks to legacy testing support framework I am stuck with. The SoC I am attempting to bring up has no support (yet) for any storage device for filesystem yet.

Signature · 2 lines
Regards,
Nishanth Menon
#5 lore raw
In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann
Quoted 4 lines · On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:

Add ramdisk support to allow for minimal kernel to be supported.

I have not seen that in a while. Can you explain why the normal initramfs method doesn't work on keystone?

It should work. It has been while I tried it, but IIRC, it use to work. At least can't recollect any issue around it.

Regards,
Santosh

#3 lore raw
In reply to Nishanth Menon

Nishant,

Quoted 7 lines · Nishanth Menon
Quoted 6 lines · Arnd Bergmann
Quoted 4 lines · On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:

Add ramdisk support to allow for minimal kernel to be supported.

Quoted 8 lines
Quoted 2 lines

I have not seen that in a while. Can you explain why the normal initramfs method doesn't work on keystone?

It probably does - I have'nt used it - i am using an initrd thanks to legacy testing support framework I am stuck with. The SoC I am attempting to bring up has no support (yet) for any storage device for filesystem yet.

If not checked already, please check with Vitaly.

Regards,
Santosh

#4 lore raw
Quoted 13 lines · santosh shilimkar

Nishant,

Quoted 10 lines · Nishanth Menon
Quoted 8 lines · Arnd Bergmann
Quoted 4 lines · On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:

Add ramdisk support to allow for minimal kernel to be supported.

I have not seen that in a while. Can you explain why the normal initramfs method doesn't work on keystone?

Quoted 6 lines
Quoted 5 lines

It probably does - I have'nt used it - i am using an initrd thanks to legacy testing support framework I am stuck with. The SoC I am attempting to bring up has no support (yet) for any storage device for filesystem yet.

If not checked already, please check with Vitaly.

I suppose the message is no initrd.. OK. will drop this patch.

Signature · 2 lines
Regards,
Nishanth Menon