| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the interest of making long-term branch maintenance incur as little
technical debt on us as possible, we should not maintain any files on
the branch we are not actually using.
This has the added effect of making it extremely clear when merging CLs
from the main branch when changes have the possibility to affect us.
The follow-on CL adds a convenience script to actually pull updates from
the main branch and generate a CL for the update.
BUG=b:204206272
BRANCH=ish
TEST=make BOARD=arcada_ish && make BOARD=drallion_ish
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I17e4694c38219b5a0823e0a3e55a28d1348f4b18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3262038
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that currently CONFIG_SYSCON=y is required. There's an ongoing
PR (https://github.com/zephyrproject-rtos/zephyr/pull/38762) to remove
that requirement in favor of simply detecting an enabled node in DT
via the compatible string.
BRANCH=none
BUG=b:179900857, b:165777478, b:200642229
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: Idad1f53afbda503e0e0b2fdf2931d5267a391d4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3177749
Reviewed-by: Sam Hurst <shurst@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
BRANCH=none
TEST=zmake configure -b zephyr/projects/brya/brya
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: If780dd6dfc92e0dabbe7c1aff19d2c0fe945c6d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169561
Commit-Queue: Yuval Peress <peress@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our GitLab builder uses different toolchains than the supported ones
we use for development. At present, this means that the GitLab CI
needs to call -t for each build with the desired toolchain, preventing
us from using the more general commands "zmake coverage" or "zmake
testall".
Extend the idea of toolchain in our config files to be "supported
toolchains" instead (i.e., multiple toolchains can be supported
instead of one. We do this by refactoring our toolchain support code
to consist of two related methods:
- "probe" returns True if the toolchain is detected on the system, or
False otherwise
- "get_toolchain_config" returns the BuildConfig associated with the
toolchain for the system, mirroring the functionality previously
implemented in lambda functions.
Also dropped support for arm-none-eabi, as I believe this was only
used early on during scarlet development, and am not aware of any
current users.
BUG=b:178731498
BRANCH=none
TEST=./run_tests.sh
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I9b2ad508ae6703f0c3b56518fc32606c0ff1777c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3134668
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename CONFIG_PLATFORM_EC_VBOOT to CONFIG_PLATFORM_EC_VBOOT_EFS2,
since this is what is actually toggled by the config.
EFS2 is only a small component of verified boot, and we have many
boards which don't actually use it (e.g., trogdor family) for verified
boot, making the existing name very confusing.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I68ea5815b4a001c680fc78196bb7a02815799b52
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3088164
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove support for v2.5 for all projects which still indicate it's
supported.
BUG=b:195571108
BRANCH=none
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I5c22e382545741181866a4e88cb3d486a392f2f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3086365
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move all the boards directories together under zephyr/boards from
their scattered locations under projects/.
This is the first step towards de-coupling the concept of a Zephyr
board from baseboard/board/model, as it currently is. Further work
will be required to actually unify these directories and delete the
baseboard-specific names from our tree.
BUG=b:193814903
BRANCH=none
TEST=zmake testall
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I33a344af6890b2c2c54f1e91f0f0fa85caaf19d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3035222
Commit-Queue: Yuval Peress <peress@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor system_get_board_version() a bit so that we can remove
CONFIG_BOARD_VERSION_CUSTOM and CONFIG_BOARD_VERSION from config.h.
BRANCH=None
BUG=b:186264627
TEST=make buildall -j
TEST=zmake testall
Cq-Depend: chromium:3015243
Change-Id: Id5ab809493c297b7d330ea13dcd6934ec00042a6
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3004112
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As it turns out the CQ can't checkout both 2.5 and 2.6. For now each
project will need to support both.
BRANCH=none
BUG=b:190731415, b:191892353
TEST=emerge-volteer-zephyr chromeos-base/chromeos-zephyr
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ib73777560ad40b5d45f79d30525ced26e1acfb41
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983841
Reviewed-by: Jora Jacobi <jora@google.com>
Commit-Queue: Jora Jacobi <jora@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:190731415
TEST=flash EC and verify sysjump
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ia4f0edc00399430c7a949066967c63707a7a7a64
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983838
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:188605676
TEST=`ksstate on` in EC console, observe keyboard matrix in real time
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I1b0d26b4ade8298bc91dec2df274d9a159e9bc39
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932462
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:188605676
TEST=build and flash brya
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I204e114a460a0648dfc47da14d63ce3beb19e821
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2942930
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=none
TEST=build brya
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I6e41df8ddea88f8f1df719e7140cf8e5ee0fd479
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2942929
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is needed for the ES1 version of the npcx9 chip.
BRANCH=none
BUG=b:188605676
TEST=none
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I80ddc717165788248f8260050fc55ffb0bd4d11e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927770
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable (status = "okay") i2c ports for sensors, battery, and charger/
eeprom.
uart:~$ i2c scan I2C_7_PORT_0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 09 -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
2 devices found on I2C_7_PORT_0
BRANCH=none
BUG=b:188605676
TEST=run i2c scan shell command
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Id841551a09aec86faa56d9bd0977f0aa1f6b24e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932460
|
|
|
|
|
|
|
|
|
|
|
|
| |
BRANCH=none
BUG=b:188605676
TEST=run `sysinfo` in EC shell
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ie593090e7afc68701e21ae4f648a0a6e3b364fcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932459
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure wakeup gpios.
BRANCH=none
BUG=b:188605676
TEST=`hibernate` in EC console, then press the physical power button
to wake up.
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ice839bc39393f416fea7548f5497791c10a155ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2932458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the vboot feature for brya
BRANCH=none
BUG=b:188605676
TEST=flash brya and see vboot's hash result
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Ifeb3564a5a10e9aad77dd5f193d08fd4efd253ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2927769
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
|
|
Verify that npcx9 configuration and drivers work.
BRANCH=none
BUG=b:188605676
TEST=flash brya, check that LEDs work and console turns on
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I334ffc504da81ee6a6bb11b245b01a364ea05c6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2909754
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
|