Re: Making use of the BigRamPlus?
On Tue, Dec 17, 2013 at 12:07 PM, Ingo Jürgensmann
<ij@2013.bluespice.org> wrote:
>> We don't need block wear leveling, so please use mtdblock instead.
>
>
> modprobe block2mtd block2mtd="/dev/mtd0",4096 results in:
>
> [14573.380000] block2mtd: error: cannot open device /dev/mtd0
>
> Although:
>
> spice:/home/ij# cat /proc/mtd
> dev: size erasesize name
> mtd0: 0fffffe0 00001000 "bigram"
Please try mtdblock, not block2mtd.
The latter creates an mtd from a block device, not the other way around.
For best performance (as a block device), I suggest creating a normal block
device driver. drivers/block/ps3vram.c may be a good start point. After
removing all PS3-specific code and just using memcpy(), not much will
be left.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: