fix(core): fix storage offsets

[no changelog]
cepetr/low-power
tychovrahe 1 week ago committed by cepetr
parent 9e41b754c0
commit cdaa16b347

@ -6,7 +6,7 @@ BOOTLOADER_START = 0xc010000;
KERNEL_START = 0xc050000; KERNEL_START = 0xc050000;
FIRMWARE_START = 0xc050000; FIRMWARE_START = 0xc050000;
STORAGE_1_OFFSET = 0x30000; STORAGE_1_OFFSET = 0x30000;
STORAGE_2_OFFSET = 0x50000; STORAGE_2_OFFSET = 0x40000;
NORCOW_SECTOR_SIZE = 0x10000; NORCOW_SECTOR_SIZE = 0x10000;
BOARDLOADER_IMAGE_MAXSIZE = 0xc000; BOARDLOADER_IMAGE_MAXSIZE = 0xc000;
BOOTLOADER_IMAGE_MAXSIZE = 0x20000; BOOTLOADER_IMAGE_MAXSIZE = 0x20000;

@ -34,7 +34,7 @@
#define KERNEL_START 0x0C050000 #define KERNEL_START 0x0C050000
#define FIRMWARE_START 0x0C050000 #define FIRMWARE_START 0x0C050000
#define STORAGE_1_OFFSET 0x30000 #define STORAGE_1_OFFSET 0x30000
#define STORAGE_2_OFFSET 0x50000 #define STORAGE_2_OFFSET 0x40000
#define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB #define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB
#define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB #define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB
#define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB #define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB

@ -6,7 +6,7 @@ BOOTLOADER_START = 0xc010000;
KERNEL_START = 0xc050000; KERNEL_START = 0xc050000;
FIRMWARE_START = 0xc050000; FIRMWARE_START = 0xc050000;
STORAGE_1_OFFSET = 0x30000; STORAGE_1_OFFSET = 0x30000;
STORAGE_2_OFFSET = 0x50000; STORAGE_2_OFFSET = 0x40000;
NORCOW_SECTOR_SIZE = 0x10000; NORCOW_SECTOR_SIZE = 0x10000;
BOARDLOADER_IMAGE_MAXSIZE = 0xc000; BOARDLOADER_IMAGE_MAXSIZE = 0xc000;
BOOTLOADER_IMAGE_MAXSIZE = 0x20000; BOOTLOADER_IMAGE_MAXSIZE = 0x20000;

@ -34,7 +34,7 @@
#define KERNEL_START 0x0C050000 #define KERNEL_START 0x0C050000
#define FIRMWARE_START 0x0C050000 #define FIRMWARE_START 0x0C050000
#define STORAGE_1_OFFSET 0x30000 #define STORAGE_1_OFFSET 0x30000
#define STORAGE_2_OFFSET 0x50000 #define STORAGE_2_OFFSET 0x40000
#define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB #define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB
#define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB #define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB
#define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB #define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB

@ -6,7 +6,7 @@ BOOTLOADER_START = 0xc010000;
KERNEL_START = 0xc050000; KERNEL_START = 0xc050000;
FIRMWARE_START = 0xc050000; FIRMWARE_START = 0xc050000;
STORAGE_1_OFFSET = 0x30000; STORAGE_1_OFFSET = 0x30000;
STORAGE_2_OFFSET = 0x50000; STORAGE_2_OFFSET = 0x40000;
NORCOW_SECTOR_SIZE = 0x10000; NORCOW_SECTOR_SIZE = 0x10000;
BOARDLOADER_IMAGE_MAXSIZE = 0xc000; BOARDLOADER_IMAGE_MAXSIZE = 0xc000;
BOOTLOADER_IMAGE_MAXSIZE = 0x20000; BOOTLOADER_IMAGE_MAXSIZE = 0x20000;

@ -34,7 +34,7 @@
#define KERNEL_START 0x0C050000 #define KERNEL_START 0x0C050000
#define FIRMWARE_START 0x0C050000 #define FIRMWARE_START 0x0C050000
#define STORAGE_1_OFFSET 0x30000 #define STORAGE_1_OFFSET 0x30000
#define STORAGE_2_OFFSET 0x50000 #define STORAGE_2_OFFSET 0x40000
#define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB #define NORCOW_SECTOR_SIZE (8 * 8 * 1024) // 64 kB
#define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB #define BOARDLOADER_IMAGE_MAXSIZE (6 * 8 * 1024) // 48 kB
#define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB #define BOOTLOADER_IMAGE_MAXSIZE (16 * 8 * 1024) // 128 kB

Loading…
Cancel
Save