board-specific kernel .config files?

Jan 03, 2012 2 Replies

I can pick up any number of kernel source trees for my Beagleboard from all sorts of places, either git repositories or as tarballs. (FWIW, Beagleboard is a low-cost ARM OMAP3 hardware platform, kind of an eval board.)



My question is: For such hardware-specific kernels, is it reasonable or logical to expect that these .config files will already be set with the most appropriate options?



Is there some sort of custom or tradition here, or no? Will I still need to "make xconfig" an puzzle through the options?



It's reasonable to expect that. However, some of the time it seems it's reasonable to expect the kernel to fail to even compile with those settings. (Certainly true of the later 2.6.XX tags.)

A strong tradition: cross fingers as you cross compile.

Phil

Unix is simple. It just takes a genius to understand its simplicity -- Dennis Ritchie (1941-2011), Unix Co-Creator

I wouldn't expect a .config, but I would expect that there is a defconfig for your board (or the prototype baord it was based on) which you may use as starting point via "make defconfig". Have a look at arch/arm/configs/

"make defconfig" creates a .config which might be for an older kernel (have seen this), so do a "make oldconfig" afterwards. The result should compile.

By(t)e, Vitus

Vitus Jensen, Hannover, Germany, Earth, Universe (current)

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required