networkimprov / arch-packages

1 stars 0 forks source link

custom kernel config #51

Open networkimprov opened 8 years ago

networkimprov commented 8 years ago

omap2plus_defconfig includes a ton of stuff we don't need. Kernel builds are slow, and the package is large.

mranostay commented 8 years ago

Need to run "make localmodconfig" as a first step

networkimprov commented 8 years ago

Note: this one is not a priority at present...

mranostay commented 8 years ago

@networkimprov @tmlind Oops. However just ran a few quick tests on reducing size :). Can drop modules down to 7mb vs 33mb before, and kernel image size from 4mb to 3.5mb (albeit we need to review if dropping CONFIG_SMP is safe)

https://github.com/networkimprov/linux/commits/anvl-v4.7-defconfig

networkimprov commented 8 years ago

Let's have a discussion about new issues before diving in. You mangled a branch I'm using for package builds :) I've switched to a new branch.

mranostay commented 8 years ago

Oops thought it was safe since that was originally my branch :)

networkimprov commented 8 years ago

Pretty sure I created this branch when changing RTC option. Also you pushed a PCA96 commit to it :-P

tmlind commented 8 years ago

I would not start optimizing the kernel until things work for sure. Leaving out things like lockdep certainly speed up things, but typically also end up easily causing broken out of tree patches because of the lack of automatic checks.