burzumishi / linux-baytrail-flexx10

Install GNU/Linux on NextBook Flexx 10.1
GNU General Public License v2.0
82 stars 18 forks source link

The resulting kernel is huge! ~ 2.8G #3

Closed nicman23 closed 8 years ago

nicman23 commented 8 years ago

We should probably try to slim the .config .... Will try to do this next week.

Basic plan: 1.remove radeonsi, noveau (i flanked french - no idea how new is written) 2.remove non intel powersaving / mobo management / chipset stuff 3.remove any network cards (pci) 4.Hope did nothing to kill everything

Will make a new pull request :)

burzumishi commented 8 years ago

Yes you are right! Thank you!

I've been working on removing pci network cards, non intel chipsets and other stuff.

I'll update a new ".config" using the latest kernel sources, I guess to do it today (I've been a bit busy these week to play with my device). :)

nicman23 commented 8 years ago

Nice :), btw i wont be able to test anything until after the weekend (irl stuff + do not have my charger :P )

A bit not relevant: there multiple clones of the device we are using. Such as vero w10i, odys wintab 10 and of course flexx10.

I am currently using a vero flashed with odys uefi/bios and should not have too much of an impact... Except maybe the audio card which might be different. You know of any way to get the model?

EDIT: after using my google-fu, found my old driveridentifier page (for windows i know ugh) that lists the card as realtek \ACPI\10EC5640 focus on the 5640

burzumishi commented 8 years ago

Yes you are right, the sound card codec loaded by the kernel is rt5640 but I've have not any advance on that point, all required sound modules are loaded but I can't see the device listed with "lspci".

I've uploaded a configuration script stored in "sound" directory.

nicman23 commented 8 years ago

you would not see it through lspci. It is through sdio and acpi iirc (an interface through sd cards) so it is not a pci device.

emelcher commented 8 years ago

To reduce kernel size try: make INSTALL_MOD_STRIP=1 -j 4 deb-pkg

burzumishi commented 8 years ago

I'm using "make deb-pkg" instead of "make; make install", this is stripping my kernel build on Debian.

nicman23 commented 8 years ago

Closing - this is irrelevant as it is the users' concern. He or she should edit the default - distro provided - config to add the needed codecs and drivers for the sound.