Skip to contentSkip to conversation

ubi layer tests (fastmap testing)

DISCUSSION Tanya Brokhman 2 participants 2 messages Apr 28, 2014 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi Richard

You referred me to ubi-tests which were very helpful and discovered a bug in our driver. Thank you! Unfortunately mtd-tests are not applicable to our driver.

I was wondering if there are any other ubi test I can run? Specially once concentrating on fastmap feature. How was it tested?

Thanks
Tanya Brokhman

Signature · 2 lines
QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
#1 lore raw

Hi Tanya,

Am 28.04.2014 09:23, schrieb Tanya Brokhman:

Quoted 3 lines

Hi Richard

You referred me to ubi-tests which were very helpful and discovered a bug in our driver. Thank you!

Yay! :)

Quoted 1 line

Unfortunately mtd-tests are not applicable to our driver.

Why are mtd-tests not useable?

Quoted 1 line

I was wondering if there are any other ubi test I can run? Specially once concentrating on fastmap feature. How was it tested?

Fastmap was mostly tested with ubi-tests (to see whether the fastmap data structure can always be written do flash) and by running many attach/detach cycles.
The critical part of fastmap happens at attach time. If fastmap fails to construct the EBA you'll have to find out whether the on flash fastmap data structure is faulty (i.e. fastmap forgot to save some state) or fastmap interpreted the data in a wrong manner.

BTW: It's awesome to see ongoing work on the still experimental fastmap feature. :-)

Thanks,
//richard