
HI, So you say I have to rebuild u-boot with expanded CONFIG_SYS_MALLOC_LEN. So far I have used rebuild images from: http://people.debian.org/~tbm/u-boot/2011.12-3/sheevaplug/u-boot.kwb
I see following files in the parrent directory:
[image: [ ]] u-boot_2012.04.01-2.debian.tar.gz http://people.debian.org/%7Etbm/u-boot/2012.04.01-2/u-boot_2012.04.01-2.debian.tar.gz[image: [ ]] u-boot_2012.04.01-2_armel.deb http://people.debian.org/%7Etbm/u-boot/2012.04.01-2/u-boot_2012.04.01-2_armel.deb[image: [ ]] u-boot_2012.04.01.orig.tar.bz2 http://people.debian.org/%7Etbm/u-boot/2012.04.01-2/u-boot_2012.04.01.orig.tar.bz2
Is it all I need to rebuild? Are there any general instructions?
On Mon, Oct 29, 2012 at 8:48 AM, Andreas Bießmann < andreas.devel@googlemail.com> wrote:
Dear Dimax,
On 29.10.12 07:38, Dimax wrote:
Tried latest available version for SheevaPlug:
Marvell>> version U-Boot 2012.04.01 (Jun 01 2012 - 02:27:06) Marvell-Sheevaplug - eSATA - SD/MMC gcc (Debian 4.6.3-5) 4.6.3 GNU ld (GNU Binutils for Debian) 2.22
Same result. Do you know if u-boot has a functionality to recover ubifs partitions?
It should work. AFAIR there is a problem when the malloc arena is to small. I do currently not know if [1] made it into mainline. However, can you please check if expanding the CONFIG_SYS_MALLOC_LEN fixes your problem?
Best regards
Andreas Bießmann
[1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/124769