On Thu, Feb 07, 2019 at 02:19:45PM +0300, Kurban Mallachiev wrote:

> Currently there are two problems in 'bootelf -p' (load elf by segments)
> command:
> - bss section is not flushed, so booted elf can have non zero values
>   in bss;
> - at least on ARM there are 'CACHE: Misaligned operation at
>   range...' warnings
> 
> Use p_memsz instead of p_filesz during cache flushing for elf segment.
> p_filesz doesn't include zero initialized memory (e.g. bss section),
> which also should be flushed.
> 
> Align these cache flushes to line boundaries.
> 
> Signed-off-by: Kurban Mallachiev <mallach...@ispras.ru>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to