Skip to content

Commit

Permalink
Merge pull request #53 from Dasharo/nvc_rwa
Browse files Browse the repository at this point in the history
dts/dts-functions.sh: fix updating boards without Vboot slot B
  • Loading branch information
macpijan authored Nov 3, 2023
2 parents 64e8074 + 865670b commit 26973f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the DTS project will be documented in this file.

## v1.2.12 - 2023-11-03

* Fix updating boards without Vboot slot B

## v1.2.11 - 2023-10-31

* Bumped supported firmware versions of NovaCustom to 1.5.1/1.7.1
Expand Down
2 changes: 1 addition & 1 deletion meta-dts-distro/conf/distro/dts-distro.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DISTRO = "dts-distro"

# distro name
DISTRO_NAME = "Dasharo Tools Suite"
DISTRO_VERSION = "1.2.11"
DISTRO_VERSION = "1.2.12"
SDK_VENDOR = "-dtssdk"

MAINTAINER = "3mdeb Sp. z o. o. <[email protected]>"
Expand Down
8 changes: 4 additions & 4 deletions meta-dts-distro/recipes-dts/dts/dts/dts-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ board_config() {
FLASHROM_ADD_OPT_UPDATE="--ifd -i bios"
else
# For Dasharo version greater or equal 1.5.0
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A -i RW_SECTION_B"
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A"
fi
fi
;;
Expand Down Expand Up @@ -169,7 +169,7 @@ board_config() {
FLASHROM_ADD_OPT_UPDATE="--ifd -i bios"
else
# For Dasharo version greater or equal 1.5.0
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A -i RW_SECTION_B"
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A"
fi
fi
;;
Expand Down Expand Up @@ -198,7 +198,7 @@ board_config() {
FLASHROM_ADD_OPT_UPDATE="--ifd -i bios"
else
# For Dasharo version greater or equal 1.7.0
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A -i RW_SECTION_B"
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A"
fi
fi
;;
Expand Down Expand Up @@ -227,7 +227,7 @@ board_config() {
FLASHROM_ADD_OPT_UPDATE="--ifd -i bios"
else
# For Dasharo version greater or equal 1.7.0
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A -i RW_SECTION_B"
FLASHROM_ADD_OPT_UPDATE="--fmap -i RW_SECTION_A"
fi
fi
;;
Expand Down

0 comments on commit 26973f1

Please sign in to comment.