On Fri, Nov 15, 2024 at 11:22 AM, Gyorgy Sarvari wrote:
>
> Random idea: have you tried including kernel-devsrc when generating the
> sdk?
>
> TOOLCHAIN_TARGET_TASK:append = " kernel-devsrc "
>
> This supposed to include the final files from the KERNEL_STAGING_DIR,
> which should have all the g
Random idea: have you tried including kernel-devsrc when generating the sdk?
TOOLCHAIN_TARGET_TASK:append = " kernel-devsrc "
This supposed to include the final files from the KERNEL_STAGING_DIR,
which should have all the generated headers and other stuff.
(As a quick check having this task,
After further investigation, it looks like this is not the issue. The issues
are:
1. Make looks for asm/types.h, but there is only asm-generic/types.h in
include/uapi/linux folder. This can be addressed by creating a symbolic link to
asm-generic in the same folder. It does address the kernel mo
It looks like that it is not because the kernel header misses head file, but
the kernel header is for user application, not the one for kernel module.
For example, in ./include/linux/types.h, there are below lines:
>
> #define __EXPORTED_HEADERS__
> #include
>
So, I am afraid that "populate_s
Hello,
I am using the SDK generated by populate_sdk to cross compile the programs.
For user application, it work fine.
For kernel modules, it shows the errors of missing
include/uapi/linux/asm/types.h, arch/arm64/include/asm/cpucaps.h. Probably some
other headers.
I am using Linux 6.1.77. It lo