Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

Porting Preloader generation to U-Boot 2016 - FAT Support

Hello all,

I am porting the altera preloader generation to new U-boot and I would need little help.

I am successfully building spl from U-boot configured for my board via QTS Files.

Problem is the FAT Support in this SPL.

When I enable the CONFIG_SPL_FAT_SUPPORT.

the single SPL File size is increased to ~258 000 bytes. (original is ~55 000 bytes)

my question here:

Is is possible to make this size same as in Altera U-boot 2013 when generated U-boot and preloader via bsp-editor?

I notice that in altera U-boot there is also some lowlevel confing when using the CONFIG_SPL_FAT_SUPPORT.

/* relocated the stack to SDRAM which is much bigger */

relocate_stack_to_sdram();

under arch/arm/cpu/armv7/socfpga/lowlevel_init.S

is these something similar in u-boot 2016 to enable fat support for spl and reach the required size?

Thank you for any advice.

BR,

TO
No RepliesBe the first to reply