From 15cddccc1dc368f7b3c78bc38e97ce2149ca5014 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Wed, 4 Oct 2023 17:53:34 -0700 Subject: [PATCH] Move everything to subdirectory tools/rimage to prepare merge Preparation to merge back into https://github.com/thesofproject/sof/ repo, see https://github.com/thesofproject/sof/issues/8178 Signed-off-by: Marc Herbert --- .checkpatch.conf => tools/rimage/.checkpatch.conf | 0 {.github => tools/rimage/.github}/workflows/build.yml | 0 {.github => tools/rimage/.github}/workflows/cppcheck.yml | 0 {.github => tools/rimage/.github}/workflows/pull-request.yml | 0 .gitignore => tools/rimage/.gitignore | 0 .gitmodules => tools/rimage/.gitmodules | 0 CMakeLists.txt => tools/rimage/CMakeLists.txt | 0 LICENSE => tools/rimage/LICENSE | 0 README.md => tools/rimage/README.md | 0 {config => tools/rimage/config}/apl.toml | 0 {config => tools/rimage/config}/bdw.toml | 0 {config => tools/rimage/config}/bsw.toml | 0 {config => tools/rimage/config}/byt.toml | 0 {config => tools/rimage/config}/cht.toml | 0 {config => tools/rimage/config}/cnl.toml | 0 {config => tools/rimage/config}/hsw.toml | 0 {config => tools/rimage/config}/icl.toml | 0 {config => tools/rimage/config}/imx8.toml | 0 {config => tools/rimage/config}/imx8m.toml | 0 {config => tools/rimage/config}/imx8ulp.toml | 0 {config => tools/rimage/config}/imx8x.toml | 0 {config => tools/rimage/config}/jsl.toml | 0 {config => tools/rimage/config}/kbl.toml | 0 {config => tools/rimage/config}/lnl.toml | 0 {config => tools/rimage/config}/mt8186.toml | 0 {config => tools/rimage/config}/mt8188.toml | 0 {config => tools/rimage/config}/mt8195.toml | 0 {config => tools/rimage/config}/mtl.toml | 0 {config => tools/rimage/config}/rmb.toml | 0 {config => tools/rimage/config}/rn.toml | 0 {config => tools/rimage/config}/skl.toml | 0 {config => tools/rimage/config}/sue.toml | 0 {config => tools/rimage/config}/tgl-cavs.toml | 0 {config => tools/rimage/config}/tgl-h-cavs.toml | 0 {config => tools/rimage/config}/tgl-h.toml | 0 {config => tools/rimage/config}/tgl.toml | 0 {config => tools/rimage/config}/vangogh.toml | 0 {scripts => tools/rimage/scripts}/checkpatch.pl | 0 {scripts => tools/rimage/scripts}/const_structs.checkpatch | 0 {scripts => tools/rimage/scripts}/spelling.txt | 0 {src => tools/rimage/src}/adsp_config.c | 0 {src => tools/rimage/src}/cse.c | 0 {src => tools/rimage/src}/css.c | 0 {src => tools/rimage/src}/elf_file.c | 0 {src => tools/rimage/src}/ext_manifest.c | 0 {src => tools/rimage/src}/file_simple.c | 0 {src => tools/rimage/src}/file_utils.c | 0 {src => tools/rimage/src}/hash.c | 0 {src => tools/rimage/src}/include/rimage/adsp_config.h | 0 {src => tools/rimage/src}/include/rimage/cavs/cavs_ext_manifest.h | 0 {src => tools/rimage/src}/include/rimage/cse.h | 0 {src => tools/rimage/src}/include/rimage/css.h | 0 {src => tools/rimage/src}/include/rimage/elf.h | 0 {src => tools/rimage/src}/include/rimage/elf_file.h | 0 {src => tools/rimage/src}/include/rimage/ext_manifest_gen.h | 0 {src => tools/rimage/src}/include/rimage/file_utils.h | 0 {src => tools/rimage/src}/include/rimage/hash.h | 0 {src => tools/rimage/src}/include/rimage/manifest.h | 0 {src => tools/rimage/src}/include/rimage/misc_utils.h | 0 {src => tools/rimage/src}/include/rimage/module.h | 0 {src => tools/rimage/src}/include/rimage/plat_auth.h | 0 {src => tools/rimage/src}/include/rimage/rimage.h | 0 .../rimage/src}/include/rimage/sof/kernel/ext_manifest.h | 0 {src => tools/rimage/src}/include/rimage/sof/kernel/fw.h | 0 {src => tools/rimage/src}/include/rimage/sof/user/manifest.h | 0 {src => tools/rimage/src}/include/rimage/toml_utils.h | 0 {src => tools/rimage/src}/manifest.c | 0 {src => tools/rimage/src}/misc_utils.c | 0 {src => tools/rimage/src}/module.c | 0 {src => tools/rimage/src}/pkcs1_5.c | 0 {src => tools/rimage/src}/plat_auth.c | 0 {src => tools/rimage/src}/rimage.c | 0 {src => tools/rimage/src}/toml_utils.c | 0 tomlc99 => tools/rimage/tomlc99 | 0 74 files changed, 0 insertions(+), 0 deletions(-) rename .checkpatch.conf => tools/rimage/.checkpatch.conf (100%) rename {.github => tools/rimage/.github}/workflows/build.yml (100%) rename {.github => tools/rimage/.github}/workflows/cppcheck.yml (100%) rename {.github => tools/rimage/.github}/workflows/pull-request.yml (100%) rename .gitignore => tools/rimage/.gitignore (100%) rename .gitmodules => tools/rimage/.gitmodules (100%) rename CMakeLists.txt => tools/rimage/CMakeLists.txt (100%) rename LICENSE => tools/rimage/LICENSE (100%) rename README.md => tools/rimage/README.md (100%) rename {config => tools/rimage/config}/apl.toml (100%) rename {config => tools/rimage/config}/bdw.toml (100%) rename {config => tools/rimage/config}/bsw.toml (100%) rename {config => tools/rimage/config}/byt.toml (100%) rename {config => tools/rimage/config}/cht.toml (100%) rename {config => tools/rimage/config}/cnl.toml (100%) rename {config => tools/rimage/config}/hsw.toml (100%) rename {config => tools/rimage/config}/icl.toml (100%) rename {config => tools/rimage/config}/imx8.toml (100%) rename {config => tools/rimage/config}/imx8m.toml (100%) rename {config => tools/rimage/config}/imx8ulp.toml (100%) rename {config => tools/rimage/config}/imx8x.toml (100%) rename {config => tools/rimage/config}/jsl.toml (100%) rename {config => tools/rimage/config}/kbl.toml (100%) rename {config => tools/rimage/config}/lnl.toml (100%) rename {config => tools/rimage/config}/mt8186.toml (100%) rename {config => tools/rimage/config}/mt8188.toml (100%) rename {config => tools/rimage/config}/mt8195.toml (100%) rename {config => tools/rimage/config}/mtl.toml (100%) rename {config => tools/rimage/config}/rmb.toml (100%) rename {config => tools/rimage/config}/rn.toml (100%) rename {config => tools/rimage/config}/skl.toml (100%) rename {config => tools/rimage/config}/sue.toml (100%) rename {config => tools/rimage/config}/tgl-cavs.toml (100%) rename {config => tools/rimage/config}/tgl-h-cavs.toml (100%) rename {config => tools/rimage/config}/tgl-h.toml (100%) rename {config => tools/rimage/config}/tgl.toml (100%) rename {config => tools/rimage/config}/vangogh.toml (100%) rename {scripts => tools/rimage/scripts}/checkpatch.pl (100%) rename {scripts => tools/rimage/scripts}/const_structs.checkpatch (100%) rename {scripts => tools/rimage/scripts}/spelling.txt (100%) rename {src => tools/rimage/src}/adsp_config.c (100%) rename {src => tools/rimage/src}/cse.c (100%) rename {src => tools/rimage/src}/css.c (100%) rename {src => tools/rimage/src}/elf_file.c (100%) rename {src => tools/rimage/src}/ext_manifest.c (100%) rename {src => tools/rimage/src}/file_simple.c (100%) rename {src => tools/rimage/src}/file_utils.c (100%) rename {src => tools/rimage/src}/hash.c (100%) rename {src => tools/rimage/src}/include/rimage/adsp_config.h (100%) rename {src => tools/rimage/src}/include/rimage/cavs/cavs_ext_manifest.h (100%) rename {src => tools/rimage/src}/include/rimage/cse.h (100%) rename {src => tools/rimage/src}/include/rimage/css.h (100%) rename {src => tools/rimage/src}/include/rimage/elf.h (100%) rename {src => tools/rimage/src}/include/rimage/elf_file.h (100%) rename {src => tools/rimage/src}/include/rimage/ext_manifest_gen.h (100%) rename {src => tools/rimage/src}/include/rimage/file_utils.h (100%) rename {src => tools/rimage/src}/include/rimage/hash.h (100%) rename {src => tools/rimage/src}/include/rimage/manifest.h (100%) rename {src => tools/rimage/src}/include/rimage/misc_utils.h (100%) rename {src => tools/rimage/src}/include/rimage/module.h (100%) rename {src => tools/rimage/src}/include/rimage/plat_auth.h (100%) rename {src => tools/rimage/src}/include/rimage/rimage.h (100%) rename {src => tools/rimage/src}/include/rimage/sof/kernel/ext_manifest.h (100%) rename {src => tools/rimage/src}/include/rimage/sof/kernel/fw.h (100%) rename {src => tools/rimage/src}/include/rimage/sof/user/manifest.h (100%) rename {src => tools/rimage/src}/include/rimage/toml_utils.h (100%) rename {src => tools/rimage/src}/manifest.c (100%) rename {src => tools/rimage/src}/misc_utils.c (100%) rename {src => tools/rimage/src}/module.c (100%) rename {src => tools/rimage/src}/pkcs1_5.c (100%) rename {src => tools/rimage/src}/plat_auth.c (100%) rename {src => tools/rimage/src}/rimage.c (100%) rename {src => tools/rimage/src}/toml_utils.c (100%) rename tomlc99 => tools/rimage/tomlc99 (100%) diff --git a/.checkpatch.conf b/tools/rimage/.checkpatch.conf similarity index 100% rename from .checkpatch.conf rename to tools/rimage/.checkpatch.conf diff --git a/.github/workflows/build.yml b/tools/rimage/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build.yml rename to tools/rimage/.github/workflows/build.yml diff --git a/.github/workflows/cppcheck.yml b/tools/rimage/.github/workflows/cppcheck.yml similarity index 100% rename from .github/workflows/cppcheck.yml rename to tools/rimage/.github/workflows/cppcheck.yml diff --git a/.github/workflows/pull-request.yml b/tools/rimage/.github/workflows/pull-request.yml similarity index 100% rename from .github/workflows/pull-request.yml rename to tools/rimage/.github/workflows/pull-request.yml diff --git a/.gitignore b/tools/rimage/.gitignore similarity index 100% rename from .gitignore rename to tools/rimage/.gitignore diff --git a/.gitmodules b/tools/rimage/.gitmodules similarity index 100% rename from .gitmodules rename to tools/rimage/.gitmodules diff --git a/CMakeLists.txt b/tools/rimage/CMakeLists.txt similarity index 100% rename from CMakeLists.txt rename to tools/rimage/CMakeLists.txt diff --git a/LICENSE b/tools/rimage/LICENSE similarity index 100% rename from LICENSE rename to tools/rimage/LICENSE diff --git a/README.md b/tools/rimage/README.md similarity index 100% rename from README.md rename to tools/rimage/README.md diff --git a/config/apl.toml b/tools/rimage/config/apl.toml similarity index 100% rename from config/apl.toml rename to tools/rimage/config/apl.toml diff --git a/config/bdw.toml b/tools/rimage/config/bdw.toml similarity index 100% rename from config/bdw.toml rename to tools/rimage/config/bdw.toml diff --git a/config/bsw.toml b/tools/rimage/config/bsw.toml similarity index 100% rename from config/bsw.toml rename to tools/rimage/config/bsw.toml diff --git a/config/byt.toml b/tools/rimage/config/byt.toml similarity index 100% rename from config/byt.toml rename to tools/rimage/config/byt.toml diff --git a/config/cht.toml b/tools/rimage/config/cht.toml similarity index 100% rename from config/cht.toml rename to tools/rimage/config/cht.toml diff --git a/config/cnl.toml b/tools/rimage/config/cnl.toml similarity index 100% rename from config/cnl.toml rename to tools/rimage/config/cnl.toml diff --git a/config/hsw.toml b/tools/rimage/config/hsw.toml similarity index 100% rename from config/hsw.toml rename to tools/rimage/config/hsw.toml diff --git a/config/icl.toml b/tools/rimage/config/icl.toml similarity index 100% rename from config/icl.toml rename to tools/rimage/config/icl.toml diff --git a/config/imx8.toml b/tools/rimage/config/imx8.toml similarity index 100% rename from config/imx8.toml rename to tools/rimage/config/imx8.toml diff --git a/config/imx8m.toml b/tools/rimage/config/imx8m.toml similarity index 100% rename from config/imx8m.toml rename to tools/rimage/config/imx8m.toml diff --git a/config/imx8ulp.toml b/tools/rimage/config/imx8ulp.toml similarity index 100% rename from config/imx8ulp.toml rename to tools/rimage/config/imx8ulp.toml diff --git a/config/imx8x.toml b/tools/rimage/config/imx8x.toml similarity index 100% rename from config/imx8x.toml rename to tools/rimage/config/imx8x.toml diff --git a/config/jsl.toml b/tools/rimage/config/jsl.toml similarity index 100% rename from config/jsl.toml rename to tools/rimage/config/jsl.toml diff --git a/config/kbl.toml b/tools/rimage/config/kbl.toml similarity index 100% rename from config/kbl.toml rename to tools/rimage/config/kbl.toml diff --git a/config/lnl.toml b/tools/rimage/config/lnl.toml similarity index 100% rename from config/lnl.toml rename to tools/rimage/config/lnl.toml diff --git a/config/mt8186.toml b/tools/rimage/config/mt8186.toml similarity index 100% rename from config/mt8186.toml rename to tools/rimage/config/mt8186.toml diff --git a/config/mt8188.toml b/tools/rimage/config/mt8188.toml similarity index 100% rename from config/mt8188.toml rename to tools/rimage/config/mt8188.toml diff --git a/config/mt8195.toml b/tools/rimage/config/mt8195.toml similarity index 100% rename from config/mt8195.toml rename to tools/rimage/config/mt8195.toml diff --git a/config/mtl.toml b/tools/rimage/config/mtl.toml similarity index 100% rename from config/mtl.toml rename to tools/rimage/config/mtl.toml diff --git a/config/rmb.toml b/tools/rimage/config/rmb.toml similarity index 100% rename from config/rmb.toml rename to tools/rimage/config/rmb.toml diff --git a/config/rn.toml b/tools/rimage/config/rn.toml similarity index 100% rename from config/rn.toml rename to tools/rimage/config/rn.toml diff --git a/config/skl.toml b/tools/rimage/config/skl.toml similarity index 100% rename from config/skl.toml rename to tools/rimage/config/skl.toml diff --git a/config/sue.toml b/tools/rimage/config/sue.toml similarity index 100% rename from config/sue.toml rename to tools/rimage/config/sue.toml diff --git a/config/tgl-cavs.toml b/tools/rimage/config/tgl-cavs.toml similarity index 100% rename from config/tgl-cavs.toml rename to tools/rimage/config/tgl-cavs.toml diff --git a/config/tgl-h-cavs.toml b/tools/rimage/config/tgl-h-cavs.toml similarity index 100% rename from config/tgl-h-cavs.toml rename to tools/rimage/config/tgl-h-cavs.toml diff --git a/config/tgl-h.toml b/tools/rimage/config/tgl-h.toml similarity index 100% rename from config/tgl-h.toml rename to tools/rimage/config/tgl-h.toml diff --git a/config/tgl.toml b/tools/rimage/config/tgl.toml similarity index 100% rename from config/tgl.toml rename to tools/rimage/config/tgl.toml diff --git a/config/vangogh.toml b/tools/rimage/config/vangogh.toml similarity index 100% rename from config/vangogh.toml rename to tools/rimage/config/vangogh.toml diff --git a/scripts/checkpatch.pl b/tools/rimage/scripts/checkpatch.pl similarity index 100% rename from scripts/checkpatch.pl rename to tools/rimage/scripts/checkpatch.pl diff --git a/scripts/const_structs.checkpatch b/tools/rimage/scripts/const_structs.checkpatch similarity index 100% rename from scripts/const_structs.checkpatch rename to tools/rimage/scripts/const_structs.checkpatch diff --git a/scripts/spelling.txt b/tools/rimage/scripts/spelling.txt similarity index 100% rename from scripts/spelling.txt rename to tools/rimage/scripts/spelling.txt diff --git a/src/adsp_config.c b/tools/rimage/src/adsp_config.c similarity index 100% rename from src/adsp_config.c rename to tools/rimage/src/adsp_config.c diff --git a/src/cse.c b/tools/rimage/src/cse.c similarity index 100% rename from src/cse.c rename to tools/rimage/src/cse.c diff --git a/src/css.c b/tools/rimage/src/css.c similarity index 100% rename from src/css.c rename to tools/rimage/src/css.c diff --git a/src/elf_file.c b/tools/rimage/src/elf_file.c similarity index 100% rename from src/elf_file.c rename to tools/rimage/src/elf_file.c diff --git a/src/ext_manifest.c b/tools/rimage/src/ext_manifest.c similarity index 100% rename from src/ext_manifest.c rename to tools/rimage/src/ext_manifest.c diff --git a/src/file_simple.c b/tools/rimage/src/file_simple.c similarity index 100% rename from src/file_simple.c rename to tools/rimage/src/file_simple.c diff --git a/src/file_utils.c b/tools/rimage/src/file_utils.c similarity index 100% rename from src/file_utils.c rename to tools/rimage/src/file_utils.c diff --git a/src/hash.c b/tools/rimage/src/hash.c similarity index 100% rename from src/hash.c rename to tools/rimage/src/hash.c diff --git a/src/include/rimage/adsp_config.h b/tools/rimage/src/include/rimage/adsp_config.h similarity index 100% rename from src/include/rimage/adsp_config.h rename to tools/rimage/src/include/rimage/adsp_config.h diff --git a/src/include/rimage/cavs/cavs_ext_manifest.h b/tools/rimage/src/include/rimage/cavs/cavs_ext_manifest.h similarity index 100% rename from src/include/rimage/cavs/cavs_ext_manifest.h rename to tools/rimage/src/include/rimage/cavs/cavs_ext_manifest.h diff --git a/src/include/rimage/cse.h b/tools/rimage/src/include/rimage/cse.h similarity index 100% rename from src/include/rimage/cse.h rename to tools/rimage/src/include/rimage/cse.h diff --git a/src/include/rimage/css.h b/tools/rimage/src/include/rimage/css.h similarity index 100% rename from src/include/rimage/css.h rename to tools/rimage/src/include/rimage/css.h diff --git a/src/include/rimage/elf.h b/tools/rimage/src/include/rimage/elf.h similarity index 100% rename from src/include/rimage/elf.h rename to tools/rimage/src/include/rimage/elf.h diff --git a/src/include/rimage/elf_file.h b/tools/rimage/src/include/rimage/elf_file.h similarity index 100% rename from src/include/rimage/elf_file.h rename to tools/rimage/src/include/rimage/elf_file.h diff --git a/src/include/rimage/ext_manifest_gen.h b/tools/rimage/src/include/rimage/ext_manifest_gen.h similarity index 100% rename from src/include/rimage/ext_manifest_gen.h rename to tools/rimage/src/include/rimage/ext_manifest_gen.h diff --git a/src/include/rimage/file_utils.h b/tools/rimage/src/include/rimage/file_utils.h similarity index 100% rename from src/include/rimage/file_utils.h rename to tools/rimage/src/include/rimage/file_utils.h diff --git a/src/include/rimage/hash.h b/tools/rimage/src/include/rimage/hash.h similarity index 100% rename from src/include/rimage/hash.h rename to tools/rimage/src/include/rimage/hash.h diff --git a/src/include/rimage/manifest.h b/tools/rimage/src/include/rimage/manifest.h similarity index 100% rename from src/include/rimage/manifest.h rename to tools/rimage/src/include/rimage/manifest.h diff --git a/src/include/rimage/misc_utils.h b/tools/rimage/src/include/rimage/misc_utils.h similarity index 100% rename from src/include/rimage/misc_utils.h rename to tools/rimage/src/include/rimage/misc_utils.h diff --git a/src/include/rimage/module.h b/tools/rimage/src/include/rimage/module.h similarity index 100% rename from src/include/rimage/module.h rename to tools/rimage/src/include/rimage/module.h diff --git a/src/include/rimage/plat_auth.h b/tools/rimage/src/include/rimage/plat_auth.h similarity index 100% rename from src/include/rimage/plat_auth.h rename to tools/rimage/src/include/rimage/plat_auth.h diff --git a/src/include/rimage/rimage.h b/tools/rimage/src/include/rimage/rimage.h similarity index 100% rename from src/include/rimage/rimage.h rename to tools/rimage/src/include/rimage/rimage.h diff --git a/src/include/rimage/sof/kernel/ext_manifest.h b/tools/rimage/src/include/rimage/sof/kernel/ext_manifest.h similarity index 100% rename from src/include/rimage/sof/kernel/ext_manifest.h rename to tools/rimage/src/include/rimage/sof/kernel/ext_manifest.h diff --git a/src/include/rimage/sof/kernel/fw.h b/tools/rimage/src/include/rimage/sof/kernel/fw.h similarity index 100% rename from src/include/rimage/sof/kernel/fw.h rename to tools/rimage/src/include/rimage/sof/kernel/fw.h diff --git a/src/include/rimage/sof/user/manifest.h b/tools/rimage/src/include/rimage/sof/user/manifest.h similarity index 100% rename from src/include/rimage/sof/user/manifest.h rename to tools/rimage/src/include/rimage/sof/user/manifest.h diff --git a/src/include/rimage/toml_utils.h b/tools/rimage/src/include/rimage/toml_utils.h similarity index 100% rename from src/include/rimage/toml_utils.h rename to tools/rimage/src/include/rimage/toml_utils.h diff --git a/src/manifest.c b/tools/rimage/src/manifest.c similarity index 100% rename from src/manifest.c rename to tools/rimage/src/manifest.c diff --git a/src/misc_utils.c b/tools/rimage/src/misc_utils.c similarity index 100% rename from src/misc_utils.c rename to tools/rimage/src/misc_utils.c diff --git a/src/module.c b/tools/rimage/src/module.c similarity index 100% rename from src/module.c rename to tools/rimage/src/module.c diff --git a/src/pkcs1_5.c b/tools/rimage/src/pkcs1_5.c similarity index 100% rename from src/pkcs1_5.c rename to tools/rimage/src/pkcs1_5.c diff --git a/src/plat_auth.c b/tools/rimage/src/plat_auth.c similarity index 100% rename from src/plat_auth.c rename to tools/rimage/src/plat_auth.c diff --git a/src/rimage.c b/tools/rimage/src/rimage.c similarity index 100% rename from src/rimage.c rename to tools/rimage/src/rimage.c diff --git a/src/toml_utils.c b/tools/rimage/src/toml_utils.c similarity index 100% rename from src/toml_utils.c rename to tools/rimage/src/toml_utils.c diff --git a/tomlc99 b/tools/rimage/tomlc99 similarity index 100% rename from tomlc99 rename to tools/rimage/tomlc99