From 5f7b3d64424180301452be61f8cbbcedff9af44e Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 27 Oct 2025 18:20:58 +0800 Subject: [PATCH] commit more boot blobs these are burned in at CP and define the accessibility of various regions in the RRAM --- bao1x-boot/blobs/README.md | 19 +++++++++++++++--- .../blobs/{dabao-owc.bin => bootwait-owc.bin} | Bin 8192 -> 8192 bytes bao1x-boot/blobs/ifr_0x280_jtag_disa.bin | Bin 0 -> 32 bytes bao1x-boot/blobs/ifr_0x340.bin | Bin 0 -> 32 bytes bao1x-boot/blobs/pubkey-block.bin | Bin 0 -> 128 bytes 5 files changed, 16 insertions(+), 3 deletions(-) rename bao1x-boot/blobs/{dabao-owc.bin => bootwait-owc.bin} (99%) create mode 100644 bao1x-boot/blobs/ifr_0x280_jtag_disa.bin create mode 100644 bao1x-boot/blobs/ifr_0x340.bin create mode 100644 bao1x-boot/blobs/pubkey-block.bin diff --git a/bao1x-boot/blobs/README.md b/bao1x-boot/blobs/README.md index 8e197ee99..91ebc292a 100644 --- a/bao1x-boot/blobs/README.md +++ b/bao1x-boot/blobs/README.md @@ -1,8 +1,21 @@ # Binary Data Used in Programming +This directory contains a collection of binary objects that get written into the chip by the chip probe station. These either set blocks that are untouchable by the CPU (in the IFR region), or they commit data to the main array (which is touchable by the CPU). + +## IFR region blocks +* `ifr_0x280.bin`: locks out write access to boot0 partition from user code +* `ifr_0x280_jtag_disa.bin`: locks out write access to boot0 partition from both user code and JTAG +* `ifr_0xc0.bin`: defines the boot0 partition size +* `ifr_0x340.bin`: sets write-protect on the public keys stored in data slots 4-7 + +## Data blocks +* `pubkey-block.bin`: contains the public keys to be burned into data slots. Write to offset 0x3dc080 in the main array. + ## One-Way Counter Defaults -These blobs are burned into the one-way counter array to force some counters to be -tripped, thus pre-configuring the behavior of a given board. +These blobs are burned into the one-way counter array to force some counters to be tripped, thus pre-configuring the behavior of a given board. + +These are convenience block for setting up chips for a given board, In production all OWCs are set to 0, we won't have board-specific SKUs. + +* `dabao-owc.bin`: Sets board type to `dabao`, and sets wait on boot to true. -* `dabao-owc.bin`: Sets board type to `dabao`, and sets wait on boot to true diff --git a/bao1x-boot/blobs/dabao-owc.bin b/bao1x-boot/blobs/bootwait-owc.bin similarity index 99% rename from bao1x-boot/blobs/dabao-owc.bin rename to bao1x-boot/blobs/bootwait-owc.bin index e27cace9b1a8974dbf88bfd18a637775f5147e4b..298f14ed076a39d2cf5255f225b249656390b25f 100644 GIT binary patch delta 15 WcmZp0XmHq|z_rw@S+0RaFjBm~|7 delta 11 ScmZp0XmHq|z_p3%fhYhO2m}lO diff --git a/bao1x-boot/blobs/ifr_0x280_jtag_disa.bin b/bao1x-boot/blobs/ifr_0x280_jtag_disa.bin new file mode 100644 index 0000000000000000000000000000000000000000..dcf21dc6abc2e9f48707624333103b1233176b65 GIT binary patch literal 32 RcmZQzKmscmtdMwMCIAp}0OJ4v literal 0 HcmV?d00001 diff --git a/bao1x-boot/blobs/ifr_0x340.bin b/bao1x-boot/blobs/ifr_0x340.bin new file mode 100644 index 0000000000000000000000000000000000000000..2637054ff95de1b2313096b1be09609c4585cad1 GIT binary patch literal 32 LcmeysfFA$=9v}em literal 0 HcmV?d00001 diff --git a/bao1x-boot/blobs/pubkey-block.bin b/bao1x-boot/blobs/pubkey-block.bin new file mode 100644 index 0000000000000000000000000000000000000000..d8ca8992408f2271f878d1700cbe4c0195279982 GIT binary patch literal 128 zcmZQzzz-^gV~?e;|MLBE&`xHJioX4mj<;1PT5K*i=N6UpGt}s4m_AeU?FByvA@875 zFV}@^^1lCFtGbK9$B`}iqJu)ka+%q$9&5ciQObU>VTwiFf0>d*r>6CP8-s2Xn(E!R HkJt?Wch4<1 literal 0 HcmV?d00001