[PATCH 3/4] at91: add kernel support for sama7g5 soc

Petr Štetiar ynezz at true.cz
Tue Feb 22 07:34:55 PST 2022


claudiu via openwrt-devel <openwrt-devel at lists.openwrt.org> [2022-02-22 14:49:55]:

Hi,

> Can you give me more details about how you build? Maybe I'm missing
> something. On my side I usually do:

I think, that you probably just need to add `CONFIG_ALL_KMODS=y`, which builds
all kernel modules, but I've never checked, I usually prefer to build test
slightly modified configs used on buildbots. That's what is being used on the
buildbots and enabled with `CONFIG_BUILDBOT=y`.

Something like this should be probably enough:

 curl https://downloads.openwrt.org/snapshots/targets/at91/sama5/config.buildinfo > .config
 echo 'CONFIG_BPF_TOOLCHAIN_NONE=y' >> .config
 echo '# CONFIG_SDK is not set' >> .config
 echo '# CONFIG_IB is not set' >> .config
 make defconfig 
 make -j32

Basically it's re-using build config used by buildbots, and removing build
time consuming options like LLVM/BPF, SDK, IB which are usually not needed
when buildtesting the kernel changes. Anyway, with -j32 you probably wont even
notice :-)

-- ynezz



More information about the openwrt-devel mailing list