Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build up with mec1521 #54

Closed
leenaarora18 opened this issue Oct 15, 2024 · 3 comments
Closed

build up with mec1521 #54

leenaarora18 opened this issue Oct 15, 2024 · 3 comments

Comments

@leenaarora18
Copy link

For building the intel raptor lake board which has mec1521 on it, which command can I use
cd ~/sandbox/ecfw-zephyr

Building for MTL-S (on-board EC)

west build -c -p auto -b mec172x_mtl_s

Building for MTL-P (on-board EC)

west build -c -p auto -b mec1501_mtl_p

Building for TGL + MECC card (deprecated)

west build -c -p always -b mec1501modular_assy6885 -- -DCONFIG_MEC15XX_AIC_ON_TGL=y

Building for MTL-P + MECC card (i.e. mec172x)

west build -c -p always -b mec172xmodular_assy6930

@albertofloyd
Copy link
Contributor

@leenaarora18 Intel Raptor lake is not part of the supported HW by this project

@leenaarora18
Copy link
Author

Thanks, Thats why how can i build intel rvp by using this code. Or how can i build MEC1521 if board is not defined.

@albertofloyd
Copy link
Contributor

@leenaarora18 board definitions refer to 2 categories in this project:

  1. EC HW features enabled e.g. I2C buses, EC CPU frequency, eSPI enabled or not, etc. (out-of-tree folder)
    This is virtually same in all designs using same EC chip. This is directly reusing Zephyr concept. Refer to[ Zephyr's porting guide for details ]
    (https://docs.zephyrproject.org/3.2.0/hardware/porting/board_porting.html#board-porting-guide)

  2. EC GPIO mapping for a particular RVP design (boards folder)
    This is particular to this project (basic EC FW)
    Even among designs using same EC chip e.g MEC152x, EC GPIOS are mapped differently.

For your case, need to add a new board folder under out-of-tree boards you can based on reference designs which define your features closest to yours. Then modify as needed.

Note: RPL-S is based on ADL-S which was previously supported but not deprecated. .
https://github.com/intel/ecfw-zephyr/tree/master/out_of_tree_boards/boards/arm/mec1501_adl

RPL-P is completely different and not supported as part of this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants