[U-Boot] BSS footprint of FAT very high - SPL issues

Albert ARIBAUD albert.aribaud at free.fr
Tue Feb 1 11:53:57 CET 2011


Le 01/02/2011 09:26, Aneesh V a écrit :

> I would prefer to have rest of the BSS in internal RAM itself.

In this case, you should define a dedicated output section in your 
linker file (say, ".ram"), which would locate in DRAM and collect input 
sections named similarly (".ram" as well would work) and then use 
attributes in the buffer declarations to put them in .ram sections.

That way, you'd clearly have .text, .data, .bss mapped to IRAM, and .ram 
  mapped to DRAM in a manner that readers of your code can understand.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list