Orange pi zero plus and bitmap loading

aurélien gibaud aurelien.gibaud at gmail.com
Thu Dec 17 09:53:22 CET 2020


Hi,

I am playing with an orange pi zero plus + latest armbian buster available
image.

When booting, i see the following error message from u-boot:


*** Reading file would overwrite reserved memory **Failed to load
'/boot/boot.bmp'*
*There is no valid bmp file at the given address*

The file itself (*/boot/boot.bmp*) exists.

I took a look at the u-boot code and saw the bitmap must be loaded at a
given address:
*loadaddr* if defined or *CONFIG_SYS_LOAD_ADDR*.

In the u-boot shell, i checked if *loadaddr* is defined:
*=> print loadaddr*
*## Error: "loadaddr" not defined*

According to this feedback, i checked in u-boot code the value of
*CONFIG_SYS_LOAD_ADDR*. It seems to be defined in
*./include/configs/sunxi-common.h*. There are two possible values here :
0x22000000 or 0x42000000 so i tried both:



*=> load mmc 0 0x22000000 /boot/boot.bmp** Reading file would overwrite
reserved memory **Failed to load '/boot/boot.bmp'*

*=> load mmc 0 0x42000000 /boot/boot.bmp230454 bytes read in 20 ms (11
MiB/s)*

Is there any chance the address used for loading is wrong or am i
misunderstanding something?

Regards,
Orel


More information about the U-Boot mailing list