* [U-Boot] Need some help with a UBI memory allocation issue
@ 2009-11-25 23:25 Hedwin Koning
0 siblings, 0 replies; only message in thread
From: Hedwin Koning @ 2009-11-25 23:25 UTC (permalink / raw)
To: u-boot
Hi,
I am interested in some thoughts, ideas from the uboot community with an
issue I have with u-boot.
When I use the following sequence of commands:
nand erase /partition1
ubi part nand /partition1
ubi create aVolume1
nand erase /partition2
ubi part nand /partition2
ubi create aVolume2
When I execute "ubi part nand /partition2" uboot has a hangup. I was
able to
trace is back to a call to kmem_cache_alloc in file wl.c in function
ubi_wl_init_scan which never
returns. I did not yet had a closer look at what is happening in
dlmalloc.c but one solution that
works is to set the minimum allocateble chunck to 64B. So for chunks
smaller than 64B always 64B
is allocated.
The system we use uboot, the size of the allocatable memory region has
to be more than 2MB (is now 4MB).
With 2MB or lower it simply doesn't work. Looking at how much is being
allocated by UBI it is
not that supprising.
Is this an entirely unknown issue in uboot waiting in the dark to
strike? or is it something I might
have done incorrectly, like a CONFIG I need to set or .. or ..
Oh yeah, I use the 2009.01 version, can't change that need to keep the
customer happy but I frequently
check the latest uboot for any interesting update/sollution/bugfix.
Appreciate any comment/ideas on this.
Hedwin Koning
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-25 23:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 23:25 [U-Boot] Need some help with a UBI memory allocation issue Hedwin Koning
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox