From: Albert H. <alb...@ya...> - 2010-10-22 14:59:28
|
Pierre Sellamastique <mugre1975 <at> yahoo.com> writes: > By "building a kernel" do you mean recompile the kernel? Yes. > If so, I've no idea how to do that (I told you I'm really new at this!), I know I need the source kernel (2.6.32 in > this case), and then I guess I could follow one of the thousands tutorials or "how to's" on the web. > > Still, I don't know if it comes with preloaded options and you just modify the ones you want (case in point, > the one you're telling me), or if you need to know all the options there is to configure from scratch. > Anyway if you could point me to the source kernel and a tutorial or "how to" to recompile it, I'll give it a try gladly! > Sure. Start with the kernel configuration of your actual kernel image. To get your kernel configuration just boot into your whiite linux installation and do a "zcat /proc/config.gz > /tmp/my_kernel_config.txt". This will create a file named /tmp/my_kernel_config.txt, which you need to copy to your "build" machine (i.e. where you will build/compile your kernel). Then follow the instructions at: http://www.gc-linux.org/wiki/Building_a_GameCube_Linux_Kernel At step 2 of "Building the kernel image", instead of using a default config, do copy the contents of your my_kernel_config.txt file to linux-2.6.32/.config . Then modify the .config file to set the needed option (CONFIG_BLK_DEV_SR=y). The .config file is a text file that you can manually edit. Alternatively, if you prefer it, you can do a "make menuconfig" to tweak the options. Cheers, Albert |