Open maximus64 opened 2 months ago
I confirm that picotool otp get OTP_DATA_PAGE1_LOCK1
and picotool otp get OTP_DATA_PAGE2_LOCK1
both return 0x040404
on a fresh new RP2350.
This is expected from the datasheet:
The main controls for the bootrom are stored in BOOT_FLAGS0 and BOOT_FLAGS1. These are both in page 1 of OTP, which has the following default permissions on a blank device: • Read-write for Secure (S) • Read-write for bootloader (BL) • Read-only for Non-secure (NS)
which is equivalent to 0x4
.
Boot key hashes are stored in page 2 of OTP, starting from BOOTKEY0_0. There is space for up to four boot key hashes in this page
Here, the datasheet does not say anything related with PAGE2_LOCK1 default permission, but it seems it uses the same: RW for S, RW for BL and RO for NS. So, NS cannot write BOOTKEYs.
Hey guys, would you be interested in teaming up to tackle this challenge?
Sure, what would you need?
Followed the instruction to lock chip but encounter error when burn lock for OTP_DATA_PAGE1_LOCK1 and OTP_DATA_PAGE2_LOCK1
With fresh Pico 2 board, this value already programmed to 0x040404 and when run
./lock_chip.sh
it refuse to burn since bit 3 is already set.I think the script need to update to follow:
So what is the actual OTP lock configuration of the Golden unit? is it will be 0x141414 or 0x101010?
Log: