Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 15 Sep 2014, 21:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Puppy Linux Lupu 5.25 kernel 2.6.33.2 --> 2.6.38.7
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
ndujoe1

Joined: 04 Dec 2005
Posts: 698

PostPosted: Tue 26 Jun 2012, 11:47    Post subject:  Puppy Linux Lupu 5.25 kernel 2.6.33.2 --> 2.6.38.7  

Can I update the kernel? This updated version support the Netgear G54/N150 sub micro wireless adapter WMA1000m chip set RTL8188CUS.


The procedures for doing so. Thanks.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Tue 21 Aug 2012, 22:26    Post subject:  

That is a very long story .

1) dl the kernel source.
2) uncompress it.
3) copy the /etc/modules/DOTconfig-k2.6.33.2.xxxxx file into the source.
4) open a terminal in toplevel of kernel source.
5) copy the DOTconfig file as .config (hidden file).
6) Type "make menuconfig" in the terminal .
7) Adjust things.
Cool Type "make" .
9) Now it takes two hours on 2GHz machine to compile.
10) Type "make install" . That would install vmlinuz into /boot folder and the drivers into /lib/modules/KERNEL_VERSION/ .
11) Type "make help" . Kernel is nearly the only source that has "make help" feature .
12) Check for the headers install command .
13) Create a new initrd.gz .
14) If the kernel default unionfs does not work good enough you need to add aufs to the kernel source and adjust the makefiles to show aufs in menuconfg via the aufs2-kbuild.patch :

aufs2.1 kbuild patch for linux-2.6.38

Code:
diff --git a/fs/Kconfig b/fs/Kconfig
index 3db9caa..c9e1f11 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -190,6 +190,7 @@ source "fs/romfs/Kconfig"
 source "fs/sysv/Kconfig"
 source "fs/ufs/Kconfig"
 source "fs/exofs/Kconfig"
+source "fs/aufs/Kconfig"
 
 endif # MISC_FILESYSTEMS
 
diff --git a/fs/Makefile b/fs/Makefile
index a7f7cef..95dd4d3 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -121,3 +121,4 @@ obj-$(CONFIG_BTRFS_FS)      += btrfs/
 obj-$(CONFIG_GFS2_FS)           += gfs2/
 obj-$(CONFIG_EXOFS_FS)          += exofs/
 obj-$(CONFIG_CEPH_FS)      += ceph/
+obj-$(CONFIG_AUFS_FS)           += aufs/
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index b0ada6f..5cb5837 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -64,6 +64,7 @@ header-y += atmppp.h
 header-y += atmsap.h
 header-y += atmsvc.h
 header-y += audit.h
+header-y += aufs_type.h
 header-y += auto_fs.h
 header-y += auto_fs4.h
 header-y += auxvec.h


PLUS
aufs2-base.patch
aufs2-standalone.patch

*

Source tarball aufs for 2.6.38 :

http://git.c3sl.ufpr.br/gitweb?p=aufs/aufs2-standalone.git;a=snapshot;h=refs/heads/aufs2.2-38;sf=tgz

http://git.c3sl.ufpr.br/gitweb?p=aufs/aufs2-standalone.git;a=snapshot;h=refs/heads/aufs2.1-38;sf=tgz
Back to top
View user's profile Send private message Visit poster's website 
Hesse James


Joined: 08 Feb 2010
Posts: 44

PostPosted: Tue 28 Aug 2012, 15:41    Post subject:  

You could use the easier method instead: http://www.murga-linux.com/puppy/viewtopic.php?t=60180

Good luck.
Christian
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0456s ][ Queries: 12 (0.0043s) ][ GZIP on ]