mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 09:01:35 +00:00
51df9457f41e0dab55372684d98eef3ec4a4a79c
When code is compiled for RAM (by re-enabling the flag in board.mk), use the following openocd commands to load it: reset halt load_image ../../../build/link/ec.RO.flat 0x20000000 bin reg 15 0x20000400 resume Note that you'll also usually need to disable a bunch of modules to make the code small enough to fit in RAM. Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:7681 TEST=if it runs, it works Change-Id: I2b3cc69b361ad73706af3ff6de1ce952e8d5a0a9
- EC Lib
This wraps Blizzard driverlib and implements the EC chip interface defined
by Google. See below diagram for architecture.
+--------------------+
| Host BIOS/OS |
+--------------------+
---- host interface ----
+--------------------+
| Google EC features |
+--------------------+
---- chip interface ---- The interface is defined in
src/platform/ec/chip_interface/*.
+--------------------+ But the real implementation is in EC Lib.
| EC Lib |
+--------------------+
| Blizzard low level |
| driver, the |
| driverlib. |
+--------------------+
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%