Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5429

General • Re: Differences in .uf2 Loading: Picotool vs. Bootrom Loader

$
0
0
I can confirm that rounding the block number to 4KB (and zeroing the blocks used for the rounding) works.

This is the memory map in the UF2 file:

Code:

+-------------------------+-------------------------------+-------------+-------------+--------------+| Memory Address          | Description                   | Block Number| Used blocks | Empty blocks |+-------------------------+-------------------------------+-------------+-------------+--------------+| 0x10000000 - 0x1003FFFF | all apps and gaps zeored      |    1-1024   |   1-1024    |    None      |+-------------------------+-------------------------------+-------------+-------------+--------------+| 0x10040000 - 0x1007FFFF | ROM binaries space            | 1025-2048   | 1025-2048   |    None      |+-------------------------+-------------------------------+-------------+-------------+--------------+| 0x10080000 - 0x10FFDFFF | NOT USED                      |             |             |              |+-------------------------+-------------------------------+-------------+-------------+--------------+| 0x10FFE000 - 0x10FFEFFF | parameters                    |  2049-2064  |  2049-2064  |    None      |+-------------------------+-------------------------------+-------------+-------------+--------------+| 0x10FFF000 - 0x10FFFFFF | catalog                       |  2065-2080  |  2065-2080  |    None      |+-------------------------+-------------------------------+-------------+-------------+--------------+
The ROM binaries are already 4KB aligned, and the parameters and catalog areas are also 4KB, so once I guaranteed that the area to store the different apps is now also 4KB aligned, the deployment with the ROM loader and picotool work.

Thank you very much for your help!
Diego

Statistics: Posted by logronoide — Wed Jul 03, 2024 2:57 pm



Viewing all articles
Browse latest Browse all 5429

Trending Articles