Skip to content

Commit bfc8ebf

Browse files
committed
Minor build fixes.
1 parent 432c453 commit bfc8ebf

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

config/examples/library_fs.config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ SPMATHALL?=0
1212
NO_LOADER=1
1313
USE_GCC_HEADLESS=0
1414

15-
# Required to build keytools
16-
WOLFBOOT_SECTOR_SIZE=0x1000
17-
1815
# Flash Partition Filename
1916
WOLFBOOT_PARTITION_FILENAME=\"/dev/mtd0\"
17+
2018
# Flash Sector Size
2119
WOLFBOOT_SECTOR_SIZE=0x2000
2220
# Application Partition Size
2321
WOLFBOOT_PARTITION_SIZE=0xA000
24-
# Location in flash for application
25-
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x8000
2622
# Location in flash for wolfBoot
23+
WOLFBOOT_ORIGIN=0x0
24+
# Location in flash for boot partition
2725
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
26+
# Location in flash for update partition
27+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x8000
2828
# Location in flash for swap
2929
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xFFE00

config/examples/zynqmp.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ WOLFBOOT_SECTOR_SIZE=0x20000
6363
# Application Partition Size
6464
WOLFBOOT_PARTITION_SIZE=0x2A00000
6565
# Location in Flash for wolfBoot
66+
WOLFBOOT_ORIGIN=0x0
67+
# Location in Flash for Primary Boot Partition
6668
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x800000
6769
# Load Partition to RAM Address
6870
WOLFBOOT_LOAD_ADDRESS?=0x10000000

src/libwolfboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ uint16_t wolfBoot_get_image_type(uint8_t part)
13541354
}
13551355
#endif /* WOLFBOOT_FIXED_PARTITIONS */
13561356

1357-
#if defined(WOLFBOOT_DUALBOOT)
1357+
#if defined(WOLFBOOT_DUALBOOT) && !defined(WOLFBOOT_PARTITION_FILENAME)
13581358

13591359
#if defined(WOLFBOOT_FIXED_PARTITIONS)
13601360
/**

0 commit comments

Comments
 (0)