Reading file would overwrite reserved memory. Failed to load 'hello_world.bin - imx7d-pico - Uboot 2022.04

Simon Glass sjg at chromium.org
Wed Apr 19 03:46:09 CEST 2023


Hi Neuber,

On Sun, 9 Apr 2023 at 07:02, neuber sousa <neuberfranbc at hotmail.com> wrote:
>
> https://stackoverflow.com/questions/71073386/reading-file-would-overwrite-reserved-memory-failed-to-load-hello-world-bin
>
>
> Hi,
>
> I had this issue last year and I solved it via device tree. However, I
> used Yocto hardknott and uboot 2021.04 and Ubuntu 20.04. Now I use Yocto
> kirkstone and uboot 2022.04 and Ubuntu 22.04
>
>
> I've been trying to resolve this issue for seven days now. I've already
> made several changes to the uboot and yocto/device tree configurations
> without success.
>
> Every help is welcome

This is presumably caused by lmb (logical memory blocks). You could
dump out the lmb list with lmb_dump_all() before doing the load. The
'bdinfo' command does this, but it looks like you can add '#define
LOG_DEBUG' at the top of lmb.c and it will do this before the load.

>
>
> Note:
>
> https://dantechrb.com/blog/how-to-build-and-debug-freertos-applications-for-cortexm4-on-mx6sx
>
>
> https://whycan.com/t_5474.html
>

Regards,
Simon


More information about the U-Boot mailing list