Re: /dev/ram0 requires CONFIG_CMD_MEMORY?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luca,

On Thu, Dec 10, 2009 at 05:34:07PM +0100, list@xxxxxxxxxxxxxxxx wrote:
> Hi all,
> 
> starting from the instructions on
> http://elinux.org/BeagleBoardRecovery#USB_recovery I found
> that omap3530_beagle_per_uart_defconfig corrently compiles,
> but `loadb -f /dev/ram0` doesn't work.
> The error code is -2 (-ENOENT). The reason is that /dev/ram0
> doe not exist.
> 
> To make /dev/ram0 appear, I had to set CONFIG_CMD_MEMORY=y.
> Is this intended?

No, it is not intended. commands/mem.c only gets compiled when
CONFIG_CMD_MEMORY is set, but this file should only contain the
commands, not the driver itself.

Anyway, you should set CONFIG_CMD_MEMORY in your config because
otherwise you won't have the memory commands (md, mw, memset,...) which
you probably want to have.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
u-boot-v2 mailing list
u-boot-v2@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/u-boot-v2

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux