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 23:10:59 CEST 2023
+U-Boot Mailing List
Hi
On Wed, 19 Apr 2023 at 11:32, Neuber Sousa <neuberfran at gmail.com> wrote:
>
> To illustrate what is happening here and what I already said in a previous email, currently, even Uboot 2021.04 pulled recently (and not last year) does not work. To illustrate, I posted two files below:
>
> lmb.c when RPMsg work
> https://gist.github.com/neuberfran/c4df18a27974cd6fdc8a967f192d54d6
>
> lmb.c when RPMsg not Work
> https://gist.github.com/neuberfran/aebbac2db52c5f78c680f10496cb8784
I'm sorry, but I think you will need to debug this, unless someone
else has a bright idea.
Thererror is in fs_read_lmb_check() so something must be wrong in what
you think should happen in lmb_alloc_addr(), I suspect.
Regards,
Simon
>
> Em ter., 18 de abr. de 2023 às 22:50, Simon Glass <sjg at chromium.org> escreveu:
>>
>> Hi Neuber,
>>
>> On Mon, 10 Apr 2023 at 14:59, Neuber Sousa <neuberfran at gmail.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
>> >
>> > Note I tried:
>> >
>> > https://dantechrb.com/blog/how-to-build-and-debug-freertos-applications-for-cortexm4-on-mx6sx
>> >
>> > https://whycan.com/t_5474.html
>>
>> If you add '#define LOG_DEBUG' to the top of lmb.c you should see some
>> debugging about the reserved memory.
>>
>> Regards,
>> Simon
More information about the U-Boot
mailing list