kernel compiling in woof-ce

Under development: PCMCIA, wireless, etc.
Message
Author
Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

Kernel >= 4.1 with chromeos_laptop.ko

#201 Post by Rand »

Not sure if this is the right place to ask this. Has anyone built a kernel >= 4.1 with chromeos_laptop.ko module (installed in platform/chrome) that they can post a link for. Thanks.

stemsee

#202 Post by stemsee »

I sometimes I include chromebook compatibility in kernel compiles, and also android and google stuff!

If no one else takes up the call I will build 4.1.1 with it. But not right now!

Maybe you can simply download sukk or go to github and enter woof-ce > fdrv > download then use the updated kernel kit and learn to build the kernel. I tried it but stopped at downloading aufs! Anyway I will be updating SUKK to include any improvements from fdrv|kernel-kit. Maybe 666philb included chromebook.ko in 4.0.4-pae kernel.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#203 Post by 666philb »

yes the 4.0.4 kernel does contain chromeos_laptop.ko & chromeos_pstore.ko however there may still be other chromeos stuff missing http://ftp.nluug.nl/ibiblio/distributio ... r/kernels/ if you discover other missing stuff let us know so that they can be added

cheers
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

#204 Post by Rand »

stemsee - where can I download the latest version of SUKK. In this thread on page 9, I see a link for SUKK-1.5. Yet in later posts you also mention SUKK-1.7 and SUKK universal. Also are any changes required to be made in SUKK-1.5 for chromeos support; DOTconfig-pae already has CONFIG_CHROME_PLATFORMS=y.

666philb - Tahrpup Kernel 4.0.4 was the first kernel that I tried. It works for older Chromebooks (i.e. Acer 720), when the MODULESCONFIG file is edited to load chromeos_laptop and other related modules. It does not work for newer Chromebooks (such as Acer 910). This is with Slacko 5.6. Apparently a kernel >= 4.1 will work on newer chromebooks; not tested myself.
Last edited by Rand on Wed 08 Jul 2015, 08:56, edited 1 time in total.

stemsee

#205 Post by stemsee »

@Rand

generally in Sukk universal you will need to select option 888 to reconfigure three DOTconfig files consecutively (auto: make menuconfig) and go through the menus to find chrome related settings (can't be more specific at the moment but should be Drivers submenu).

Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

#206 Post by Rand »

Was able to build kernel 4.1.1. Used the latest kernel-kit and DOTconfig from Tahrpup 4.0.4. Ran into the downloading aufs problem. In build.conf changed aufsv=3.14.40+ to aufsv=4.1. For my limited purposes the new kernel seems to work.

stemsee

#207 Post by stemsee »

@rand

Upload and post the link here so others caan benefit from its use.

Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

#208 Post by Rand »

stemsee wrote:@rand

Upload and post the link here so others caan benefit from its use.
Edit : link deleted newer build posted in a later post
Sure; https://mega.co.nz/#!VUdF2bxR!9mxoR91X5 ... J_0904qcPc

Kernel 4.1.1 32 bit with PAE support. Built using the kernel-kit.
Last edited by Rand on Thu 09 Jul 2015, 06:56, edited 1 time in total.

stemsee

#209 Post by stemsee »

@Rand

I had aufsv=4.1.1 - No wonder it didn't fetch it!

I am running your kernel now. Absolutely fine! Any chance of posting the kernel-sources.sfs?

Cheers!

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#210 Post by 01micko »

@stemsee

I haven't tried yet with 4.1, but since there is an aufs4.1 branch you could possibly leave 'aufsv=' unset.

I does work unset with 4.0.x kernels, tried 4.0.5 and 4.0.6 so far.
Puppy Linux Blog - contact me for access

Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

#211 Post by Rand »

stemsee wrote:@Rand

I had aufsv=4.1.1 - No wonder it didn't fetch it!

I am running your kernel now. Absolutely fine! Any chance of posting the kernel-sources.sfs?

Cheers!
I deleted the kernel sources for that build. I am posting my latest build below along with its kernel sources (not sure how interchangeable these are) .

Kernel 4.1.1 PAE 32 bit.

kernel: https://mega.co.nz/#!dQlmnDAR!Zoz5l4FoW ... X8ApHjMVUw

kernel sources: https://mega.co.nz/#!JJUQHJRA!zq2xhCmMr ... 7mm8KV83aM

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#212 Post by peebee »

Rand wrote:Kernel 4.1.1 PAE 32 bit.
Hi Rand

Tested both Version#1 and Version#2 - both seemed fine - also compiled 3 drivers in Version#2 - again all went well.

Just wondering why Version#2 is so much bigger than Version#1 (and bigger than most other Huge kernels that have been posted) - is this because of the chromebook support you have added?

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

stemsee

#213 Post by stemsee »

01micko wrote:@stemsee

I haven't tried yet with 4.1, but since there is an aufs4.1 branch you could possibly leave 'aufsv=' unset.

I does work unset with 4.0.x kernels, tried 4.0.5 and 4.0.6 so far.
Oh! Nice to know .... I will try that out soon.

stemsee

#214 Post by stemsee »

'aufsv=' worked ok.

Huge kernel-4.1.1-Woof-ce-pae


SOURCES

Rand
Posts: 7
Joined: Mon 06 Jul 2015, 16:07

#215 Post by Rand »

peebee wrote: Hi Rand

Tested both Version#1 and Version#2 - both seemed fine - also compiled 3 drivers in Version#2 - again all went well.

Just wondering why Version#2 is so much bigger than Version#1 (and bigger than most other Huge kernels that have been posted) - is this because of the chromebook support you have added?

Cheers
peebee
The chromebook support does not add much to the size. I could not get some of my hardware to work with my first build. So I tried the Out house sink approach with the second build and included more drivers and kernel modules.

stemsee

#216 Post by stemsee »

@01micko

An attempt to auto switch aufs servers.
I uncommented both aufs_git lines in build.conf renaming one to 'aufs_git1'

Code: Select all

# new vars
# aufs standalone
# if sourceforge seems unstable use the sfjro url
aufs_git1=git://github.com/sfjro/aufs4-linux.git
aufs_git=https://github.com/sfjro/aufs4-standalone.git
in build.sh 'Download aufs' section I found that double quoting '$aufs_git' in place of hard coded line makes it work

Code: Select all

git clone "$aufs_git" aufs${aufs_version}-$kernel_branch-git$today >> build.log 2>&1
		if [ $? -ne 0 ]; then
			echo "Error: failed to download the Aufs sources. Switching server."
			git clone "$aufs_git1" aufs${aufs_version}-$kernel_branch-git$today >> build.log 2>&1
		fi
Any comments?

stemsee

#217 Post by stemsee »

So my aufs problem seems to be that aufs-util is 4.0 and does not branch to 4.x
Attachments
capture6832.jpg
(22.22 KiB) Downloaded 742 times

stemsee

#218 Post by stemsee »

I have no idea what is going on with my laptop, but I finally managed to compile 4.1.2-pae on Vivid gcc-4.6.4. After attempting on tahr-6.0.3 and EmSee-Ultra (wheezy) with sukk-universal and fdrv-kernel-kit unsuccessfully several times (aufs-patch wouldn't take).

Here it is with sources and sukk-4 used to build it (a good idea to replace DOTconfigs or reconfigure).

http://tinyurl.com/ph5qssw

sources

http://tinyurl.com/of3dlba


sukk-4 (this has not been updated from fdrv/kernel-kit)

https://mega.nz/#!BchEWLRZ!YH8oSyq-6RQn ... OZbXS8y0IY

stemsee

#219 Post by stemsee »

I have no idea what is going on with my laptop, but I finally managed to compile 4.1.2-pae on Vivid gcc-4.6.4. After attempting on tahr-6.0.3 and EmSee-Ultra (wheezy) with sukk-universal and fdrv-kernel-kit unsuccessfully several times (aufs-patch wouldn't take).

Here it is with sources and sukk-4 used to build it (a good idea to replace DOTconfigs or reconfigure).

http://tinyurl.com/ph5qssw

sources

http://tinyurl.com/of3dlba

sukk-4 (this has not been updated from fdrv/kernel-kit)

http://preview.tinyurl.com/nj2kcto

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#220 Post by peebee »

stemsee wrote:managed to compile 4.1.2-pae
Working ok here.....thanks
Attachments
Screenshot.png
(23.94 KiB) Downloaded 687 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Post Reply