u-boot internal code size overflow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

u-boot internal code size overflow

795 Views
RaffaelePiarull
Contributor I

On my mx53_loco board i have a problem:
when i add the command line help define (CONFIG_SYS_LONGHELP) in the board specific header, building complete successful but when i boot the board i find a corrupted environment (all commmands are unrecognized).

I have this problem even if i increase the size of the CONFIG_EXTRA_ENV_SETTINGS define.

So it seems to be a problem related to size of the u-boot code that overflows somewhere. (memory map re-definition?)

I would to be able to resize internal layout of u-boot correctly...

Can anyone explain me what happens or suggest a helpful link?

0 Kudos
Reply
1 Reply

686 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Raffaele,

In mainline U-boot CONFIG_SYS_LONGHELP is defined in include/configs/mx53loco.h and it works fine there.

http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/mx53loco.h;h=8cbaf08e0e1e097ff7856fed02898...

I suggest you to use the latest U-boot (from git.denx.de).

Regards,

Fabio Estevam

0 Kudos
Reply