linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* bud_replay size question
@ 2010-12-01 18:20 Steve Iribarne
  2010-12-03 16:07 ` Artem Bityutskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Iribarne @ 2010-12-01 18:20 UTC (permalink / raw)
  To: linux-mtd

Hi List.

We had a problem here in our released product where we would get the 
dreaded "Error reading superblock!".

First some stats:

ARM processor (iMX25)
U-Boot version (U-Boot 2009.06-rc2-svn3608)  <- I know this is 
autogenerated but what the heck...

I still don't know how to reproduce the problem but I know what is 
causing the issue.

The issue is that ubifs_get_sb fails.  The reason it fails is that 
insert_node (u-boot/fs/ubifs/replay.c) runs out of memory.  So I can fix 
the problem by giving u-boot more space for malloc (increase the size of 
CONFIG_SYS_MALLOC_LEN)

This is all fine and dandy but I really don't like updating the bootrom 
in the field.  So I'm trying to get this value correct.

I have approx. 58MB to play with here.

Our file system lives on a NAND flash that is 256MB total but I have it 
broken up into 3 partitions.
1 is 10MiB and the other two (the ones that really hold most of the 
data) have 100MiB each.

What I'm trying to determine is how to figure out how big the replay_bud 
LEB list can get based on my configuration.  Is there such a thing or am 
I just dreaming?

Thanks.
-stv

-- 
Steve Iribarne
Sr. Software Engineer
Embedded Devices

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-03 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 18:20 bud_replay size question Steve Iribarne
2010-12-03 16:07 ` Artem Bityutskiy
2010-12-03 16:14   ` Artem Bityutskiy
2010-12-03 18:20     ` Steve Iribarne

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).