Files
OpenCellular/extra/usb_updater/servo_micro.json
Nick Sanders 3d4c4ffdfa servo_v4: add python firmware update script
This script is more flexible for updating multiple targets,
including servo_v4, servo_micro, and sweetberry.

The command takes a json config file that specifies
flash layout, USB ID, and size.

BUG=chromium:571476
TEST=./fw_update.py -b servo_v4.json -f ec.bin; both RW, RO
BRANCH=none

Change-Id: Ic9dcee2c23484bb28c8bfaf1882c578314534116
Signed-off-by: Nick Sanders <nsanders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/361835
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
2016-07-21 17:33:07 -07:00

15 lines
415 B
JSON

{
"Comment": "This file describes the updateable sections of the flash.",
"board": "servo micro",
"vid": "0x18d1",
"pid": "0x501a",
"Comment on flash": "This is the base address of writeable flash",
"flash": "0x8000000",
"Comment on region format": "name: [baseoffset, length]",
"regions": {
"RW": ["0x10000", "0x10000"],
"PSTATE": ["0xf000", "0x1000"],
"RO": ["0x0000", "0xf000"]
}
}