I notice that Dave Howett’s framework ec page is dated 22-Dec-2022 and so doesn’t mention the AMD Framework 16 laptop. But his ectool does support it.
To save others from figuring out how to compile it - just clone the repo and then follow the commands listed in the .gitlab-ci.yml file. Note: it needs root permissions to work. The command: ectool version gave
RO version: lotus_v3.4.113353-ec:b4c1fb,os:
RW version: lotus_v3.4.113353-ec:b4c1fb,os:
Firmware copy: RO
Build info: lotus_v3.4.113353-ec:b4c1fb,os:7b88e1,cmsis:4aa3ff 2024-03-26 07:08:43 lotus@ip-172-26-3-226
Tool version: 0.0.1-isolate Jul 9 2024 none
DHowett in this discussion mentions the code is Zephyr port of the ChromeOS EC
which I presume is chromiumos ec platform but then links through to some very long complex multi-git extractions to build .
Sigh - it does seem very hard to find the actual EC source code.
Also it seems that the AMD Framework 16 EC datasheet is not freely available - probably have to have a login account at nuvoton to get it…
The good news is that the ectool is working well even if the documentation of the EC and the firmware source is very difficult to obtain.
Also interestingly
ectool chipinfo
gives
Chip info:
vendor: Nuvoton
name: npcx9m3f
revision: 00160207