mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-21 06:51:48 +02:00
Add 0x0026a custom AES-128-CMAC secure bootloader, Week 11a notebook, and README links
This commit is contained in:
1 parent
b85aaf72d6
commit
bec685d573
33 files changed
+3451
No files matched your search
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* @file flash_layout.h
|
||||
* @brief Flash partition map shared by the bootloader and the host signer.
|
||||
* @author Kevin Thomas
|
||||
* @date 2026
|
||||
*
|
||||
* MIT License
|
||||
* Copyright (c) 2026 Kevin Thomas
|
||||
*/
|
||||
|
||||
#ifndef FLASH_LAYOUT_H
|
||||
#define FLASH_LAYOUT_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/** @brief Absolute base address of the bootloader image in XIP flash. */
|
||||
#define BOOTLOADER_BASE 0x10000000U
|
||||
|
||||
/** @brief Absolute address of the one-sector firmware manifest. */
|
||||
#define FW_MANIFEST_BASE 0x1001F000U
|
||||
|
||||
/** @brief Size in bytes of the flash sector holding the manifest. */
|
||||
#define FW_MANIFEST_SECTOR_SIZE 4096U
|
||||
|
||||
/** @brief Absolute base address where the signed application runs. */
|
||||
#define APP_BASE 0x10020000U
|
||||
|
||||
/** @brief Total XIP flash size in bytes on the RP2350 Pico 2 board. */
|
||||
#define FLASH_TOTAL_SIZE 0x200000U
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user