* nandsim configuration question
@ 2014-04-20 11:52 Tanya Brokhman
0 siblings, 0 replies; only message in thread
From: Tanya Brokhman @ 2014-04-20 11:52 UTC (permalink / raw)
To: linux-mtd
Hi
I'm trying to use the nandsim but unfortunately encountered some
difficulties in configuring it. I need to simulate mtd device with the
following parameters:
Eraseblock size: 131072 bytes, 128.0 KiB
Minimum input/output unit size: 2048 bytes
Sub-page size: 2048 bytes
OOB size: 64 bytes
Bad blocks are allowed: true
Device is writable: true
Default UBI VID header offset: 2048
Default UBI data offset: 4096
Default UBI LEB size: 126976 bytes, 124.0 KiB
Maximum UBI volumes count: 128
I can't figure out how to set sub-page size to 2048. Or basically - how
to disable sub-page support?
I found only usage examples so I'm using the following command:
modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa
third_id_byte=0x00 fourth_id_byte=0x15 overridesize=12
cache_file=cashe_file.txt
the mtd device created is:
Name: NAND simulator partition 0
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 4096 (536870912 bytes, 512.0 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 512 bytes
OOB size: 64 bytes
Bad blocks are allowed: true
Device is writable: true
Default UBI VID header offset: 512
Default UBI data offset: 2048
Default UBI LEB size: 129024 bytes, 126.0 KiB
Maximum UBI volumes count: 128
How do I set sub-page size to 2048?
Thanks!
Tanya Brokhman
--
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-20 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-20 11:52 nandsim configuration question Tanya Brokhman
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).