commit | bbcf3bc59a2fade3c6db109325482af3fe9b9871 | [log] [tgz] |
---|---|---|
author | Mary Ruthven <mruthven@chromium.org> | Fri Dec 11 22:50:18 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 15 10:29:18 2020 |
tree | ad81ace8f6e1c9245cd0a2f5567937a915c1d5cb | |
parent | 2ffef2493f9b73d0000fc8ba0fe808ba438cd5dd [diff] |
active_v4_device: use ec_uart_en for all servos C2D2 needs to be able to disable the EC UART output to be able to set the active_v4_device to ccd_cr50. Add a dummy ec_uart_en control, so we can use the standard ec_uart_en logic for active_v4_device. We'll add the actual commands to control the EC UART output later. This will work for setting the active v4 device to c2d2, which is the normal mode. You won't be able to set the device to ccd_cr50. The C2D2 CPU uart isn't connected to the board. Make cpu_uart_en a na control. BUG=b:168320602,b:175428947 TEST=manual # On Dedede with c2d2 + ccd # Open CCD and check level dut-control cr50_ccd_level cr50_ccd_level:open dut-control active_v4_device:c2d2 ec_board \ c2d2_ec_boot_mode_uut ec_uart_en \ active_v4_device ec_board:dedede ec_uart_en:on active_v4_device:c2d2 dut-control active_v4_device:ccd_cr50 \ c2d2_ec_boot_mode_uut ec_uart_en \ active_v4_device ccd_cr50.ec_board raises an error about not being able to set ec_uart_en off # On a board with servo micro + ccd # Open CCD and check level dut-control cr50_ccd_level cr50_ccd_level:open dut-control active_v4_device:servo_micro ec_board \ active_v4_device active_v4_device:ccd_cr50 \ active_v4_device ccd_cr50.ec_board ec_board:helios active_v4_device:servo_micro active_v4_device:ccd_cr50 ccd_cr50.ec_board:helios Change-Id: Ia7160740703fe523fdc39ea6ca9c2fb0630729fb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/hdctools/+/2587537 Reviewed-by: Evan Green <evgreen@chromium.org> Reviewed-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org> Tested-by: Evan Green <evgreen@chromium.org> Commit-Queue: Mary Ruthven <mruthven@chromium.org>
This repository contains source code and documentation for the Servo debug boards. The tools in this repository require the full CrOS chroot, while the Standalone hdctools can be used without the chroot.