Hi,
Recently, I run the firmware GreedyFTL-2.7.1.d on 2Ch8Way project and find when code run to
Press 'X' to re-make the bad block table.
and the program stops and always display this line. and this problem does not always appear. when I test 10 times, maybe occur 9 times. so this problem disturbs me.
So could you tell how to solve this problem?
Thanks
The OpenSSD firmware GreedyFTL-2.7.1.d problem
-
- Posts: 46
- Joined: Thu Jul 06, 2017 12:57 pm
Re: The OpenSSD firmware GreedyFTL-2.7.1.d problem
You can remove that message at line 108, page_map.c.
Remove below codes.
xil_printf("Press 'X' to re-make the bad block table.\r\n");
if (inbyte() == 'X')
{
for (i = 0; i < BLOCK_NUM_PER_DIE; ++i)
for (j = 0; j < DIE_NUM; ++j)
PushToSubReqQueue(j % CHANNEL_NUM, j / CHANNEL_NUM, V2FCommand_BlockErase, i*PAGE_NUM_PER_BLOCK, NONE, NONE);
EmptyLowLevelQ(SUB_REQ_QUEUE);
xil_printf("Done.\r\n");
}
Remove below codes.
xil_printf("Press 'X' to re-make the bad block table.\r\n");
if (inbyte() == 'X')
{
for (i = 0; i < BLOCK_NUM_PER_DIE; ++i)
for (j = 0; j < DIE_NUM; ++j)
PushToSubReqQueue(j % CHANNEL_NUM, j / CHANNEL_NUM, V2FCommand_BlockErase, i*PAGE_NUM_PER_BLOCK, NONE, NONE);
EmptyLowLevelQ(SUB_REQ_QUEUE);
xil_printf("Done.\r\n");
}
Who is online
Users browsing this forum: No registered users and 1 guest