Page 1 of 1

How to compile the 2.6.23 kernel

PostPosted: 28 May 2008, 00:45
by favfny
Hi,
I have a ps3 with ydl 6.0 installed.
I bought an external HD-DVD drive and I want to be able to use it on my PS3.
Reading some forums I found that I need to patch the kernel with UDF patch to be able to use my external HD-DVD drive.
I tried several time using make mrproper/make oldconfig/make/make modules/make modules_install
I can't find where the vmlinux or bzImage is?
What I am doing wrong.
Help please.

PostPosted: 28 May 2008, 00:59
by billb
You may find something helpful in this thread. I only tried it for the first time today and was mostly successful. :)

PostPosted: 28 May 2008, 05:46
by favfny
Is there something wrong with the kernel-source package from YDL 6.0?
I downloaded this one and gave me a lot of problems basically following the same procedure as the link suggested above.

PostPosted: 28 May 2008, 06:52
by billb
favfny wrote:Is there something wrong with the kernel-source package from YDL 6.0?
I downloaded this one and gave me a lot of problems basically following the same procedure as the link suggested above.


Sorry, my experience is extremely limited in this area -- maybe someone else can provide some help.

Re: How to compile the 2.6.23 kernel

PostPosted: 28 May 2008, 07:20
by ppietro
favfny wrote:Hi,
I have a ps3 with ydl 6.0 installed.
I bought an external HD-DVD drive and I want to be able to use it on my PS3.
Reading some forums I found that I need to patch the kernel with UDF patch to be able to use my external HD-DVD drive.
I tried several time using make mrproper/make oldconfig/make/make modules/make modules_install
I can't find where the vmlinux or bzImage is?
What I am doing wrong.
Help please.


Really? I'm surprised you have to do a UDF patch.

Could you post a link to the forum where you read about this patch? I'm curious as to why they're patching. Also - we might be able to help troubleshoot if we know what they're trying to do, etc.

Cheers,
Paul

PostPosted: 11 Jun 2008, 22:02
by kengreen
I also have a problem compiling the 2.6.23 kernel with addition of modules for ieee802.11, software MAC for ieee80211 and zydas 1211 wifi chipset. I posted the error message under zydas wifi chipset. Any help appreciated.

Re: How to compile the 2.6.23 kernel

PostPosted: 29 Jul 2008, 16:45
by kengreen
Got the kernel to compile from text console. Got zy1211rw module and the others added. :D

Re: How to compile the 2.6.23 kernel

PostPosted: 20 Aug 2008, 20:00
by XIONGYAN1
Ditto here~!
I support your point of view 。

Re: How to compile the 2.6.23 kernel

PostPosted: 07 Mar 2009, 02:03
by rtdrury
Here are my notes on a successful kernel build/boot.
I hope this helps others but use this at your own risk

powerbook with standard ydl6.1 installation

downloaded linux-2.6.23.9.tar.bz2
from http://www.kernel.org/pub/linux/kernel/v2.6/
this is the same version as ydl 6.1
bunzip2, tar xvf, cd linux-2.6.23.9
make menuconfig, and save the config file to .config
(the .config differs from ydl's but I have no idea what that means - view with diff or diffuse)
make
make a backup of /lib/modules subtree using tar czf
make modules_install per build instructions (it added new dir: /lib/modules/2.6.23.9)
make backup copy of /boot (cp -R /boot /bootbak)
cp vmlinux /boot/vmlinux-2.6.23.9.custom
cp System.map /boot/System.map-2.6.23-9.custom
cp .config /boot/config-2.6.23.9.custom

add this to bottom of /boot/etc/yaboot.conf :

image=/vmlinux-2.6.23-9.custom
label=custom
read-only
initrd=/initrd-2.6.23-9.ydl6.1.img
append="rhgb quiet root=LABEL=/1"

ybin -v is required to "register" the above changes.

reboot and at yaboot's second promp use tab key to see the two options - ydl6.1 and custom
both boot
Now you can experiment with the kernel.
I'm going to look into radeon_backlight.c and see what's causing the backlight to flash when I turn it off.