[Ocf-linux-users] I have some question about building kernel with OCF-linux...
Brought to you by:
david-m
From: Mosquito <mos...@gm...> - 2007-10-31 16:18:39
|
HI...guys:) I'm a newbie of kernel and ocf-linux... and i got a work to write a driver for a product's prototype... so i need make ocf-linux worked first... i have some problem with make it work... i'm using ubuntu 7.10... and i trying to build it with kernel 2.6.22.10... I'm following instruction in readme... and somebody's note http://www.docunext.com/resources/mediawiki/index.php/My_Notes_on_Patching_2.6.22_with_OCF I'm patch kernel source with ocf-linux-26-XXXXXXXX.patch.gz it's have no error msg...but when i make menuconfig i didn't see OCF's option... so i follow the note... manual add {source "crypto/ocf/Kconfig"} into <$Linux Source dir$>/drivers/crypto/Kconfig and then i can set options for OCF when i make menuconfig... is this a bug need to fix?? then...i set OCF option as "M"...to be complier as module... and then i build kernel with those commands... make-kpkg clean make-kpkg --initrd kernel_image kernel_headers dpkg -i linux-image-2.6.22.10.Custom_i386.deb dpkg -i linux-headers-2.6.22.10.Custom_i386.deb it's should be fine...and i reboot...using new kernel to boot... but like the note...OCF didn't complier as module... the note say david remind that he skipped "install kernel" part... but i'm not sure what does that mean... so i subscribe this mailing list and hope some one give me some help... thanks a lot:) best regards~ mosquito |