[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] mtd emulation
From: |
Renaud Barbier |
Subject: |
[Qemu-discuss] mtd emulation |
Date: |
Thu, 26 Sep 2013 11:46:58 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Hello,
I just started using qemu. Currently, I am using version 1.5.0 as I
build it using the Yocto project.
I would like to emulate two flashes on top of the existing flash system
in the ARM versatile board or files and be able to use commands such
ubiformat, ubiattach,... Preferably, I would like to use files.
So far using the qemu command options -mtdblock or -drive, I have not
been able to get two mtd devices.
I have now used the following method and made it work as follows:
- Updated qemu hw/arm/versatilepb.c to define a second flash.
- Updated Linux versatile board support to define a second flash.
- Configured Linux to enable PHYSMAP and UBI and UBIFS for testing.
- bootargs defines mtdparts as follows:
mtdparts=physmap-flash.0:address@hidden(nor);physmap-flash.1:address@hidden(nand)
Could somebody give some hints of how to do that using files?
The information I have gathered so far have not allowed me to use a file.
Cheers,
Renaud
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] mtd emulation,
Renaud Barbier <=