linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: configs: keystone: Add ramdisk support
@ 2015-10-07 19:28 Nishanth Menon
  2015-10-07 19:37 ` Arnd Bergmann
  0 siblings, 1 reply; 6+ messages in thread
From: Nishanth Menon @ 2015-10-07 19:28 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Nishanth Menon <nm@ti.com>
---

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

 arch/arm/configs/keystone_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig
index 5bcc9cf9d8f1..836674b74b4f 100644
--- a/arch/arm/configs/keystone_defconfig
+++ b/arch/arm/configs/keystone_defconfig
@@ -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
-- 
2.1.4

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

* [PATCH] ARM: configs: keystone: Add ramdisk support
  2015-10-07 19:28 [PATCH] ARM: configs: keystone: Add ramdisk support Nishanth Menon
@ 2015-10-07 19:37 ` Arnd Bergmann
  2015-10-07 19:56   ` Nishanth Menon
  2015-10-07 20:30   ` santosh shilimkar
  0 siblings, 2 replies; 6+ messages in thread
From: Arnd Bergmann @ 2015-10-07 19:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:
> Add ramdisk support to allow for minimal kernel to be supported.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> 

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

	Arnd

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

* [PATCH] ARM: configs: keystone: Add ramdisk support
  2015-10-07 19:37 ` Arnd Bergmann
@ 2015-10-07 19:56   ` Nishanth Menon
  2015-10-07 20:31     ` santosh shilimkar
  2015-10-07 20:30   ` santosh shilimkar
  1 sibling, 1 reply; 6+ messages in thread
From: Nishanth Menon @ 2015-10-07 19:56 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/07/2015 02:37 PM, Arnd Bergmann wrote:
> On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:
>> Add ramdisk support to allow for minimal kernel to be supported.
>>
>> Signed-off-by: Nishanth Menon <nm@ti.com>
>>
> 
> 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.


-- 
Regards,
Nishanth Menon

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

* [PATCH] ARM: configs: keystone: Add ramdisk support
  2015-10-07 19:37 ` Arnd Bergmann
  2015-10-07 19:56   ` Nishanth Menon
@ 2015-10-07 20:30   ` santosh shilimkar
  1 sibling, 0 replies; 6+ messages in thread
From: santosh shilimkar @ 2015-10-07 20:30 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/7/2015 12:37 PM, Arnd Bergmann wrote:
> On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:
>> Add ramdisk support to allow for minimal kernel to be supported.
>>
>> Signed-off-by: Nishanth Menon <nm@ti.com>
>>
>
> 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

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

* [PATCH] ARM: configs: keystone: Add ramdisk support
  2015-10-07 19:56   ` Nishanth Menon
@ 2015-10-07 20:31     ` santosh shilimkar
  2015-10-07 20:40       ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: santosh shilimkar @ 2015-10-07 20:31 UTC (permalink / raw)
  To: linux-arm-kernel

Nishant,

On 10/7/2015 12:56 PM, Nishanth Menon wrote:
> On 10/07/2015 02:37 PM, Arnd Bergmann wrote:
>> On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:
>>> Add ramdisk support to allow for minimal kernel to be supported.
>>>
>>> Signed-off-by: Nishanth Menon <nm@ti.com>
>>>
>>
>> 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

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

* [PATCH] ARM: configs: keystone: Add ramdisk support
  2015-10-07 20:31     ` santosh shilimkar
@ 2015-10-07 20:40       ` Nishanth Menon
  0 siblings, 0 replies; 6+ messages in thread
From: Nishanth Menon @ 2015-10-07 20:40 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/07/2015 03:31 PM, santosh shilimkar wrote:
> Nishant,
> 
> On 10/7/2015 12:56 PM, Nishanth Menon wrote:
>> On 10/07/2015 02:37 PM, Arnd Bergmann wrote:
>>> On Wednesday 07 October 2015 14:28:09 Nishanth Menon wrote:
>>>> Add ramdisk support to allow for minimal kernel to be supported.
>>>>
>>>> Signed-off-by: Nishanth Menon <nm@ti.com>
>>>>
>>>
>>> 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.

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


-- 
Regards,
Nishanth Menon

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

end of thread, other threads:[~2015-10-07 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 19:28 [PATCH] ARM: configs: keystone: Add ramdisk support Nishanth Menon
2015-10-07 19:37 ` Arnd Bergmann
2015-10-07 19:56   ` Nishanth Menon
2015-10-07 20:31     ` santosh shilimkar
2015-10-07 20:40       ` Nishanth Menon
2015-10-07 20:30   ` santosh shilimkar

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).