
Hi Everyone,
I am facing issues with malloc in U-Boot while trying to allocate some memory. Here are the prints which I am getting after enabling the debug.
U-Boot 2011.12 (May 31 2012 - 20:49:16)
U-Boot code: 60800020 -> 60824874 BSS: -> 608592BC monitor len: 0005929C ramsize: 20000000 TLB table at: 7fff0000 Top of RAM usable for U-Boot at: 7fff0000 Reserving 356k for U-Boot at: 7ff96000 Reserving 1024k for malloc() at: 7fe96000 Reserving 32 Bytes for Board Info at: 7fe95fe0 Reserving 120 Bytes for Global Data at: 7fe95f68 New Stack Pointer is: 7fe95f58 RAM Configuration: Bank #0: 60000000 512 MiB Bank #1: 80000000 512 MiB relocation Offset is: 1f795fe0 WARNING: Caches not enabled monitor flash len: 00028904 Board Init called.. GPIO Init called.. spi_setup_slave: bus:0 cs:0 SPI Init Done... spi_xfer: tx:9f rx:00 spi_xfer: tx:ff rx:ef spi_xfer: tx:ff rx:40 spi_xfer: tx:ff rx:17 spi_xfer: tx:ff rx:0 spi_xfer: tx:ff rx:0 spi_cs_deactivate Done... SF: Got idcodes 00000000: ef 40 17 00 00 .@... ARRAY_SIZE = 1 shift = 0 idcode = 0xEF shift = 0 idcode = 0xEF Calling Probe... SF: Winbond id 0x4017 found SF: Failed to allocate memory SF: Unsupported manufacturer ef spi_release_bus: bus:0 cs:0 spi_release_bus Done... dlmalloc.c:1656: do_check_chunk: Assertion `(char*)p >= sbrk_base' failed. resetting ...)
Any kind of help will be highly appreciated.
Thanks and Regards, Sandeep
<PRE><font size="2" face="calibri" color="blue">The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material.If you are not the intended recipient of this message please do not read, copy, use or disclose this communication and notify the sender immediately.It should be noted that any review, retransmission, dissemination or other use of, or taking action or reliance upon, this information by persons or entities other than the intended recipient is prohibited.</PRE>