summaryrefslogtreecommitdiff
path: root/board/nami_fp
Commit message (Collapse)AuthorAgeFilesLines
* nami_fp: Replace individual symlinks with directory symlinkTom Hughes2020-01-048-7/+1
| | | | | | | | | | | | | | | | | When the directory was originally created, there were separate flash_fp_mcu scripts for nocturne_fp and nami_fp. Now there is a single script, so we can symlink the entire directory instead of individual files. BRANCH=none BUG=none TEST=make buildall -j Change-Id: I7a0f645f65aeba16c8ae0ae3b4cb367b8175cfb0 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1986321 Commit-Queue: Craig Hesling <hesling@chromium.org> Reviewed-by: Craig Hesling <hesling@chromium.org>
* util: Unify separate flash_fp_mcu scripts into single common oneTom Hughes2019-07-231-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | For fingerprint firmware we are moving towards a model where the "board" (in EC terminology) is a specific MCU+FP_SENSOR combination and not tied to the main system board that it's connected to (e.g., "hatch", "nocturne", etc.). This change decouples flash_fp_mcu from the EC "board". BRANCH=none BUG=b:136678758,b:137108509 TEST=make buildall -j hatch: flash_fp_mcu /opt/google/biod/fw/hatch_fp_v2.0.1359-6f54be08d.bin nocturne: flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.0.1765+87bb17a39.bin nami: flash_fp_mcu /opt/google/biod/fw/nami_fp_v2.2.144-7a08e07eb.bin Cq-Depend:chromium:1705055 Change-Id: Idfe298f59ab9df8657a570cc47e956b4e94ee1a1 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1704808 Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* Add OWNERS files for fingerprintTom Hughes2019-06-051-0/+1
| | | | | | | | | | | | BRANCH=none BUG=chromium:967924 TEST=none Change-Id: Ief50a64d45cc6862fab3417e3f8350d3c581209e Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1633909 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* flash_fp_mcu: use modalias to detect FP spiidTom Hughes2019-04-261-3/+0
| | | | | | | | | | | | | | | | | | During bringup there was a point where the spiid for the fingerprint sensor changed between devices (apparently due to broken TPM firmware since the TPM is usually the first SPI device)). This resulted in non-obvious failures when running flash_fp_mcu since many other things were also not working. BRANCH=none BUG=chromium:955117 TEST=emerge-nocturne ec-utils-test && cros deploy nocturne ec-utils-test flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin Change-Id: I9161361e2c66de200f618c00074eeb42a9ecb29b Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1566653 Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* flash_fp_mcu: source common script from relative directoryTom Hughes2019-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | This change makes flash_fp_mcu (which sources flash_fp_mcu_common.sh) work when installed into either /usr/bin or /usr/local/bin. BRANCH=none BUG=chromium:890059 TEST=emerge-nocturne ec-utils-test cros deploy <IP> ec-utils-test dut> flash_fp_mcu -h dut> rm -rf /usr/share/flash_fp_mcu dut> rm /usr/bin/flash_fp_mcu cros deploy --root=/usr/local <IP> ec-utils-test dut> flash_fp_mcu -h Change-Id: I371ce25bf61d216307c7f4e090f0d5b3ce329a74 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1535118 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Mike Frysinger <vapier@chromium.org>
* flash_fp_mcu: add option (-r) to read from FPMCUTom Hughes2019-02-061-68/+15
| | | | | | | | | | | | | | | | | | | This is useful for debugging and will also be used in the automated tests to validate RDP1. BRANCH=nocturne,nami BUG=chromium:890059 TEST=dut-control fw_wp_state:force_off flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin ectool --name=cros_fp version flash_fp_mcu -r rb.bin diff rb.in /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin CQ-DEPEND=Iaf56d202828d58e855e567d3cd859f02a1996e09 Change-Id: Ieeb60e97df72093bec01b240782b902d8d0674d6 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1443857 Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* flash_fp_mcu: use bash per style guide and remove unused configTom Hughes2019-01-311-3/+3
| | | | | | | | | | | | | https://www.chromium.org/chromium-os/shell-style-guidelines BRANCH=nocturne,nami BUG=none TEST=flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin Change-Id: Ic95ab83bf436f3b4bb3af93cc543da07f053fd82 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1446535 Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* flash_fp_mcu: convert tabs to two spaces to match shell style guideTom Hughes2019-01-301-18/+18
| | | | | | | | | | | | | | | | | | | tab2space -unix -t2 board/nocturne_fp/flash_fp_mcu > tmp mv tmp board/nocturne_fp/flash_fp_mcu chmod +x board/nocturne_fp/flash_fp_mcu tab2space -unix -t2 board/nami_fp/flash_fp_mcu > tmp mv tmp board/nami_fp/flash_fp_mcu chmod +x board/nami_fp/flash_fp_mcu BRANCH=nocturne,nami BUG=none TEST=flash_fp_mcu /opt/google/biod/fw/nocturne_fp_v2.2.110-b936c0a3c.bin Change-Id: Ie85aabf3d785a5bb69c4fd36a71dbbd5cc1e966d Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1444096 Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* nami_fp: Update flash_fp_mcu to ekko gpiosShelley Chen2018-12-121-0/+88
| | | | | | | | | | | | | | BUG=b:119565385 BRANCH=None TEST=flash_fp_mcu <bin> and make sure bin was updated with: ectools --name=cros_fp version Change-Id: I99673a3fff1e69845f0dd817ac5dfe41f4b85708 Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/1370745 Commit-Ready: Shelley Chen <shchen@chromium.org> Tested-by: Shelley Chen <shchen@chromium.org> Reviewed-by: Nicolas Norvez <norvez@chromium.org>
* nami_fp: remove flash_fp_mcu file soft linkShelley Chen2018-12-121-1/+0
| | | | | | | | | | | | | | | | | | | We need to change this soft link to a new file. Somehow it's not working when I try to do it in one go, so have a separate CL where we remove the soft link with a follow up CL where we add the new file. When I view the CL with gitk, I see the proper diffs, but seems like there's a bug in gerrit that prevents the diffs from showing up. BUG=b:119565385 BRANCH=None TEST=None Change-Id: I89a3978d1b081e7912d52c1688df5e18e45b1a85 Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/1372093 Commit-Ready: Shelley Chen <shchen@chromium.org> Tested-by: Shelley Chen <shchen@chromium.org> Reviewed-by: YH Lin <yueherngl@chromium.org>
* nami_fp: branching nocturne_fp to cope with variationsYH Lin2018-12-118-1/+7
| | | | | | | | | | | BRANCH=none BUG=b:117297043 TEST=make BOARD=nami_fp -j Change-Id: I05ad15c621876185a0908ce7599578e7ebcff7df Signed-off-by: YH Lin <yueherngl@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1369586 Reviewed-by: Shelley Chen <shchen@chromium.org>
* meowth: remove meowth/zoombini overlays and repositoriesBob Moragues2018-12-081-1/+1
| | | | | | | | | | | | | | BRANCH=none BUG=b:118494679 TEST=Verify PreCQ build Signed-off-by: Bob Moragues <moragues@chromium.org> Change-Id: Id6889d922a2b4d812cc92ddbb35b2581d881459d Reviewed-on: https://chromium-review.googlesource.com/1354316 Commit-Ready: Bob Moragues <moragues@chromium.org> Tested-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
* Add nami_fp configurationNicolas Norvez2018-10-261-0/+1
Just an alias for now. BRANCH=nocturne BUG=b:117297043 TEST=make BOARD=nami_fp -j Change-Id: I92685ba23782e120f88a41bbf31adce082e95af5 Signed-off-by: Nicolas Norvez <norvez@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1300375 Reviewed-by: YH Lin <yueherngl@chromium.org> Reviewed-by: Shelley Chen <shchen@chromium.org>