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

loadable module: define a new bit in fw_image_flags #191

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/mtl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ base_offset = "0x2000"
[fw_desc.header]
name = "ADSPFW"
load_offset = "0x40000"
fw_image_flags = "0x12" # BASE_FW (bit 1) + CONTEXT_IS_NOT_SAVED (bit 4)

[module]
count = 18
Expand Down
1 change: 0 additions & 1 deletion src/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,6 @@ int man_write_fw_ace_v1_5(struct image *image)
m->desc.header.build_version = image->fw_ver_build;

m->desc.header.feature_mask = 0x2; // -> should be feature mask - to fix
m->desc.header.fw_image_flags = 0x2; // -> should be feature mask - to fix
btian1 marked this conversation as resolved.
Show resolved Hide resolved
m->desc.header.fw_compat = 0x100000; // -> PUT PROPER STRUCT

/* create each module */
Expand Down
Loading