Linux 6.6.18 eic7x out-of-tree build fixes#16
Open
ziswiler wants to merge 6 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
Open
Linux 6.6.18 eic7x out-of-tree build fixes#16ziswiler wants to merge 6 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
ziswiler wants to merge 6 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
Conversation
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c: In function 'relocate_relative':
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:348:37: error: passing argument 3 of 'reloc_addr_value' from incompatible pointer type [-Wincompatible-pointer-types]
348 | &raddr);
| ^~~~~~
| |
| void **
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:310:57: note: expected 'unsigned int *' but argument is of type 'void **'
310 | Elf32_Addr *relocation)
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:359:38: error: passing argument 3 of 'reloc_addr_value' from incompatible pointer type [-Wincompatible-pointer-types]
359 | ((xtmld_ptr *)&val));
| ~^~~~~~~~~~~~~~~~~~
| |
| void **
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:310:57: note: expected 'unsigned int *' but argument is of type 'void **'
310 | Elf32_Addr *relocation)
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c: In function 'relocate_32_pcrel':
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:383:61: error: passing argument 3 of 'reloc_addr_value' from incompatible pointer type [-Wincompatible-pointer-types]
383 | status = reloc_addr_value(lib_info, rela->r_addend, &raddr);
| ^~~~~~
| |
| void **
linux-stable/drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.c:310:57: note: expected 'unsigned int *' but argument is of type 'void **'
310 | Elf32_Addr *relocation)
make[8]: *** [linux-stable/scripts/Makefile.build:243: drivers/soc/eswin/ai_driver/dsp/mloader/xt_mld_relocate.o] Error 1
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
linux-stable/drivers/net/wireless/ap12275/aiutils.c:25:10: fatal error: typedefs.h: No such file or directory
25 | #include <typedefs.h>
| ^~~~~~~~~~~~
compilation terminated.
make[7]: *** [linux-stable/scripts/Makefile.build:243: drivers/net/wireless/ap12275/aiutils.o] Error 1
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
In file included from linux-stable/drivers/staging/media/eswin/es-media-ext/./chn/dev_channel.c:1:
linux-stable/drivers/staging/media/eswin/es-media-ext/./chn/dev_channel.h:3:10: fatal error: dev_common.h: No such file or directory
3 | #include "dev_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
CC drivers/staging/media/eswin/es-media-ext/./chn/class_chn_mgr.o
make[8]: *** [linux-stable/scripts/Makefile.build:243: drivers/staging/media/eswin/es-media-ext/./chn/dev_channel.o] Error 1
make[8]: *** Waiting for unfinished jobs....
cp: cannot stat 'drivers/memory/eswin/es_dev_buf/include/linux/*.h': No such file or directory
In file included from linux-stable/drivers/staging/media/eswin/es-media-ext/./chn/class_chn_mgr.c:1:
linux-stable/drivers/staging/media/eswin/es-media-ext/./chn/class_chn_mgr.h:4:10: fatal error: dev_common.h: No such file or directory
4 | #include "dev_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[8]: *** [linux-stable/scripts/Makefile.build:243: drivers/staging/media/eswin/es-media-ext/./chn/class_chn_mgr.o] Error 1
CC drivers/memory/eswin/es_dev_buf/es_dev_buf.o
In file included from linux-stable/drivers/staging/media/eswin/es-media-ext/es_media_ext_drv_main.c:13:
linux-stable/drivers/staging/media/eswin/es-media-ext/./module/dev_module.h:4:10: fatal error: dev_common.h: No such file or directory
4 | #include "dev_common.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make[8]: *** [linux-stable/scripts/Makefile.build:243: drivers/staging/media/eswin/es-media-ext/es_media_ext_drv_main.o] Error 1
make[7]: *** [linux-stable/scripts/Makefile.build:480: drivers/staging/media/eswin/es-media-ext] Error 2
make[6]: *** [linux-stable/scripts/Makefile.build:480: drivers/staging/media/eswin] Error 2
make[5]: *** [linux-stable/scripts/Makefile.build:480: drivers/staging/media] Error 2
make[4]: *** [linux-stable/scripts/Makefile.build:480: drivers/staging] Error 2
make[4]: *** Waiting for unfinished jobs....
linux-stable/drivers/memory/eswin/es_dev_buf/es_dev_buf.c:10:10: fatal error: linux/dsp_dma_buf.h: No such file or directory
10 | #include <linux/dsp_dma_buf.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[7]: *** [linux-stable/scripts/Makefile.build:243: drivers/memory/eswin/es_dev_buf/es_dev_buf.o] Error 1
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
linux-stable/drivers/memory/eswin/es_dev_buf/es_dev_buf.c:10:10: fatal error: linux/dsp_dma_buf.h: No such file or directory
10 | #include <linux/dsp_dma_buf.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[7]: *** [linux-stable/scripts/Makefile.build:243: drivers/memory/eswin/es_dev_buf/es_dev_buf.o] Error 1
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
cp: cannot stat 'drivers/memory/eswin//*.h': No such file or directory Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
⬢ [user@host linux-stable]$ make mrproper scripts/Makefile.clean:12: drivers/media/i2c/rk628/Makefile: No such file or directory make[6]: *** No rule to make target 'drivers/media/i2c/rk628/Makefile'. Stop. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some fixes for out-of-tree building et. al. I came up with when working on Yocto Project integration (also see https://github.com/ziswiler/meta-riscv/tree/add-eswin-ebc77-support) for my upcoming FOSDEM'26 talk (also see https://fosdem.org/2026/schedule/event/LX3NNU-upstream-embedded-linux-on-risc-v-sbcs).
Thanks!