servo_updater: Updates the Servo V4.1 name

Updates the Servo V4.1 name from 'servo_v41' to 'servo_v4p1'
and the corresponding files and fields. As the VID:PID is
used to identify the device, no other changes are required.

BUG=b:157059356
BRANCH=servod
TEST=Updated the ServoV4.1 from 'servo_v41_v2.0.3735+440cf71e0' to
    'servo_v4p1_v2.0.4232-514cb4e92' to verify the servo_updater
    supports renames.
TEST=Verified servo_v4p1 manually: Validated console, firmware
    update, and servod can connect to the device.

Signed-off-by: Brian Nemec <bnemec@chromium.org>

Depends-On: Ia05134179fab4ff118355ba9b3b1b92cdf0748f2
Change-Id: Ie470469bf9115bbfef14a08c02b156dcd5aed849
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2219124
Tested-by: Brian Nemec <bnemec@chromium.org>
Reviewed-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
This commit is contained in:
Brian J. Nemec 2020-05-27 22:18:09 -07:00 committed by Ruben Rodriguez Buchillon
parent 785f968014
commit dba753130c
4 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,9 @@ class ServoUpdaterException(Exception):
BOARD_C2D2 = 'c2d2'
BOARD_SERVO_MICRO = 'servo_micro'
BOARD_SERVO_V4 = 'servo_v4'
BOARD_SERVO_V4P1 = 'servo_v4p1'
BOARD_SWEETBERRY = 'sweetberry'
DEFAULT_BOARD = BOARD_SERVO_V4
DEFAULT_BASE_PATH = '/usr/'

View File

@ -1,6 +1,6 @@
{
"Comment": "This file describes the updateable sections of the flash.",
"board": "servo_v41",
"board": "servo_v4p1",
"vid": "0x18d1",
"pid": "0x520d",
"console": "0",

View File

@ -41,7 +41,7 @@ setup(
data_files=[("share/servo_updater/configs",
["extra/usb_updater/c2d2.json",
"extra/usb_updater/servo_v4.json",
"extra/usb_updater/servo_v41.json",
"extra/usb_updater/servo_v4p1.json",
"extra/usb_updater/servo_micro.json",
"extra/usb_updater/sweetberry.json"])],
description="Servo usb updater.",

View File

@ -100,7 +100,7 @@ BOARDS_STM32_DFU=(
twinkie
discovery
servo_v4
servo_v41
servo_v4p1
servo_micro
sweetberry
polyberry