summaryrefslogtreecommitdiff
path: root/test/flash_write_protect.tasklist
Commit message (Collapse)AuthorAgeFilesLines
* Update license boilerplate text in source code filesMike Frysinger2022-09-121-1/+1
| | | | | | | | | | | | | | | Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=none BUG=chromium:1098010 TEST=`repo upload` works Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b Signed-off-by: Mike Frysinger <vapier@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* test: Make flash_write_protect a multistep testTom Hughes2020-06-181-1/+2
| | | | | | | | | | | | | | | | | | | Now that the scratchpad works on the STM32F412, we can make flash_write_protect a multistep test, so that no manual steps are required to run the test. BRANCH=none BUG=b:157059753 TEST=With dragonclaw v0.2 connected to Segger J-Trace and servo micro: dut-control -n bloonchipper fw_wp_en:on ./test/run_device_tests.py -t flash_write_protect => PASS Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: Iedb4ad8d89db805fa1c6e65d8a0bcc767993f5d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2233198 Reviewed-by: Craig Hesling <hesling@chromium.org> Commit-Queue: Craig Hesling <hesling@chromium.org>
* test: Add test for flash write protectionTom Hughes2020-05-301-0/+9
This test demonstrates the inconsistency between STM32H743 (dartmonkey) and STM32F412 (bloonchipper). BRANCH=none BUG=b:155897971 TEST=On bloonchipper after flashing flash_write_protect.bin test: * Enable HW WP: dut-control fw_wp_en:on * Reboot to RO: reboot ro * Enable flash protection: runtest 1 => PASS * Reboot to RO: reboot ro * Try to disable flash protection: runtest 2 => FAIL TEST=On dartmonkey after flashing flash_write_protect.bin test: * Enable HW WP: dut-control fw_wp_en:on * Reboot to RO: reboot ro * Enable flash protection: runtest 1 => PASS * Reboot to RO: reboot ro * Try to disable flash protection: runtest 2 => PASS Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I6eb69257f84f79a6609984efbdad7dd37803c8f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2209419 Commit-Queue: Yicheng Li <yichengli@chromium.org> Tested-by: Yicheng Li <yichengli@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>