How to compile kernel modules

I’m trying to port alpine linux based on image of
duo-buildroot-sdk-v2 milkv-duo256m-musl-riscv64-sd

i found that i might need more kernel modules to use it properly, so i want to add more kernel modules, how can i do that?
i tried using /proc/config.gz from the image with linux_5.10 source but didn’t work

i’m using this kernel instead of mainline kernel because of camera support

let me know if i can get camera working on mainline(for example, by using externally built modules)

1 Like

You can certainly add kernel modules easily by modifying the *_defconfig file.
/duo-buildroot-sdk/build/boards/$CHIP_SEGMENT/$CONFIG/linux/*milkv*_defconfig

The problem with duo-buildroot-sdk-v2 right now, is that I can’t get it to build. :pensive:

1 Like