[PATCH] xilinx: zynqmp: Do not use null as spl bss start address

Michal Simek michal.simek at xilinx.com
Wed Jun 1 13:59:06 CEST 2022


Hi,

first of all subject is not accurate. We are not using null as start but address 0.

On 6/1/22 12:55, Stefan Herbrechtsmeier wrote:
> [CAUTION: External Email]
> 
> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> 
> Do not use null as address for memory because of the special meaning for
> pointers. Change the spl bss start address to the second page.
> 
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
> 
> ---
> The problem was discovered with a static char array initialized with an
> empty string.

It means your code is doing wrong pointer arithmeticians which pointed to BSS 
section and overwrites there something. What is that code doing?

I have not a problem to move BSS section but I want to at least clean that 
message to be accurate.

Thanks,
Michal


More information about the U-Boot mailing list