[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] uclinux memory exhausted, unable to allocate RAM



John,

John wrote:
> Can you please add the line
>
> FLTFLAGS += -v
>
> to your user app Makefile, then clean it and rebuild?
>
> Part of of the output from make when building your app will be the 
> verbose (-v) data from elf2flt.  Please extract that from the log and 
> post it to the list.

I did not use mb-elf2flt in my compilation. After compilation, I get this microblaze-target which gives:

[root@patricios nodefw]# mb-flthdr microblaze-target
microblaze-target
    Magic:        bFLT
    Rev:          4
    Build Date:   Fri Jun 22 19:05:14 2007
    Entry:        0x44
    Data Start:   0x143260
    Data End:     0x1a4570
    BSS End:      0x269d20
    Stack Size:   0x1000
    Reloc Start:  0x1a4570
    Reloc Count:  0x4761
    Flags:        0x1 ( Load-to-Ram )

As you see, microblaze-target is not an elf file. Do i generate elf file and then use mb-elf2flt?

Rgds,
Victor Yeo

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Friday, June 22, 2007 7:32 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] uclinux memory exhausted, unable to allocate RAM

Hi Victor,

victor-sv_yeo@xxxxxxxxxxx wrote:

> After I increase the program size to 700KB, I get a different error, which says BINFMT_FLAT: reloc outside program.
> 
> I have compressed the program, and use "permit large allocations" setting in the kernel. I searched the mailing list, but I could not get an answer.
> 

Can you please add the line

FLTFLAGS += -v

to your user app Makefile, then clean it and rebuild?

Part of of the output from make when building your app will be the 
verbose (-v) data from elf2flt.  Please extract that from the log and 
post it to the list.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/