Package Details: chromium-ectool R107-1

Git Clone URL: https://aur.archlinux.org/chromium-ectool.git (read-only, click to copy)
Package Base: chromium-ectool
Description: Query and send commands to ChromiumOS EC from userspace.
Upstream URL: https://chromium.googlesource.com/chromiumos/platform/ec
Licenses: BSD-3-Clause
Submitter: pl-luk
Maintainer: None
Last Packager: pl-luk
Votes: 0
Popularity: 0.000000
First Submitted: 2025-06-26 14:13 (UTC)
Last Updated: 2025-11-12 16:45 (UTC)

Pinned Comments

pl-luk commented on 2026-05-26 08:28 (UTC) (edited on 2026-05-26 08:29 (UTC) by pl-luk)

As grdgkjrpdihe already mentioned, releases after R107-15117.B require libec to compile. libec in turn depends on the platform2 stack which is hard to setup correctly.

For chromebooks prior to July 2021 this version of the ectool should work without problems, after that the implementation switched to the Zephyr EC implementation which might require additional effort.

As such, this package will remain at R107-15117.B for now

Latest Comments

pl-luk commented on 2026-05-26 08:28 (UTC) (edited on 2026-05-26 08:29 (UTC) by pl-luk)

As grdgkjrpdihe already mentioned, releases after R107-15117.B require libec to compile. libec in turn depends on the platform2 stack which is hard to setup correctly.

For chromebooks prior to July 2021 this version of the ectool should work without problems, after that the implementation switched to the Zephyr EC implementation which might require additional effort.

As such, this package will remain at R107-15117.B for now

grdgkjrpdihe commented on 2025-11-03 23:24 (UTC)

update to release-R107-15117.B-main . newer version requires https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/libec to compile.

diff --git a/PKGBUILD b/PKGBUILD
index 722a680..be5f206 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,24 @@
 # Maintainer: Lukas Pöschl <lukas@smart-ies.de>

-_google_version=release-R100-14526.B-main
-pkgbase=chromium-ectool
 pkgname=chromium-ectool
-pkgver=R100
-pkgrel=1
 pkgdesc="Query and send commands to ChromiumOS EC from userspace."
+pkgver=107.15117
+_tag=release-R${pkgver/\./-}.B-main
+pkgrel=1
 arch=('x86_64')
 url="https://chromium.googlesource.com/chromiumos/platform/ec"
 license=('BSD-3-Clause')
 depends=('libftdi' 'libusb')
 makedepends=('make' 'gcc')
-source=("https://chromium.googlesource.com/chromiumos/platform/ec/+archive/refs/heads/${_google_version}.tar.gz")
-noextract=("${_google_version}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://chromium.googlesource.com/chromiumos/platform/ec/+archive/refs/heads/${_tag}.tar.gz")
+#source=("git+https://chromium.googlesource.com/chromiumos/platform/ec#branch=${_tag}")
 sha256sums=('SKIP')

-prepare() {
-       mkdir -p "$pkgname-$pkgver"
-    cd "$pkgname-$pkgver"
-    bsdtar -xf ../$_google_version.tar.gz
-}
-
 build() {
-       cd "$pkgname-$pkgver"
        BOARD=host make utils-host
 }

 package() {
-       cd "$pkgname-$pkgver"
-    install -Dm755 build/host/util/ectool $pkgdir/usr/bin/ectool
+    install -Dm755 build/host/util/ectool $pkgdir/usr/bin/chromium-ectool
+    install -Dm755 build/host/util/{lbplay,stm32mon,ec_sb_firmware_update,lbcc,ec_parse_panicinfo,cbi-util,iteflash} $pkgdir/usr/bin/
 }