From: Steve Iribarne <siribarne@grid-net.com>
To: linux-mtd@lists.infradead.org
Subject: bud_replay size question
Date: Wed, 01 Dec 2010 10:20:32 -0800 [thread overview]
Message-ID: <4CF691F0.9010607@grid-net.com> (raw)
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
next reply other threads:[~2010-12-01 18:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-01 18:20 Steve Iribarne [this message]
2010-12-03 16:07 ` bud_replay size question Artem Bityutskiy
2010-12-03 16:14 ` Artem Bityutskiy
2010-12-03 18:20 ` Steve Iribarne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CF691F0.9010607@grid-net.com \
--to=siribarne@grid-net.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).