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

General • Re: RP235X OTP Bootloader

$
0
0
My question: what's stored in OTP (with ECC) should be block like with custom bootloader?
Is the meta block also copied in RAM, or just stays there only in OTP?
Yes, the entire block from vector table to the signature block would live in OTP. The bootrom code copies all of what's inside (OTPBOOT_SRC, OTPBOOT_LEN) to OTPBOOT_DST0/1 and then treats it like any other RAM-only image.

Also having checked the datasheet again:
Note if there is no ENTRY_POINT or VECTOR_TABLE, Item,
then a VECTOR_TABLE at the start of the image is assumed.
So images indeed need to start with a vector table if there's no VECTOR_TABLE metadata block. The vector table at the start of the image being the actual thing and not the metadata block AFAIK, that part is confusingly written referring to both as VECTOR_TABLE.

This also answers the question from earlier, (on ARM) there's no default entry point because you always need to specify one.

Statistics: Posted by Tharre — Tue Jul 08, 2025 11:30 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles