<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Thanks, Nelson. Yes, I believe Ubuntu has userland 32 bits and kernel 64 bits.<br><br>Do you mean literally (without change, including the ?= ) add this to the beginning of Makefile:<br> CROSS_COMPILE ?= powerpc64-unknown-linux-gnu-<br><br>I did that, and get a tons of errors like the following: <br>ps3-linux/scripts/gcc-version.sh: line 25: powerown-linux-gnu-gcc: command not found<br> <br>I do have ppu-gcc installed. So I tried add the following:<br> CROSS_COMPILE = ppu-<br>and I got the same error as my first email.<br><br>OK, I downloaded (use git clone) the 2.6.26.rc2 directly from linux kernel org and compiled it successfully. <br><br>Now I have questions on the installation. I know that I can do make install or/and make module_install. However, I
checked the Makefile, this will install lots of files on the system in different directories. If it does not work out, how do I roll back the OS to my current working status? <br><br>If there is no safe/easier way, I'd rather manually manage the install procedure. So I know exactly what I did, and therefore know how to rollback all the changes to the current status.<br><br>Can I simply do this:copy the 2 files: vmlinux and initrd.img to /boot (with proper name so it does not overwrite my current files), and add a new line in the kboot.conf:<br> testkernel='/boot/vmlinux.test initrd=/boot/initrd.img.test <br>video=ps3fb:mode:133'<br><br>If the answer is Yes, where is the initrd.img file? (I can see the vmlinux in the build root directoy.<br><br>Best regards, <br><br>Jiafu<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size:
12pt;">----- Original Message ----<br>From: Nelson Batalha <nelson_batalha@hotmail.com><br>To: Jiafu Gao <jiafu_gao@yahoo.com><br>Sent: Wednesday, August 6, 2008 8:28:13 PM<br>Subject: RE: [Cbe-oss-dev] Kernel Build Help<br><br><style>
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
FONT-SIZE:10pt;FONT-FAMILY:Tahoma;}
</style>
What is your userland and kernel combination? 32-64, 64-64? In the first case don't forget to add <br><br>CROSS_COMPILE ?= powerpc64-unknown-linux-gnu-<br><br>to your Makefile in the kernel folder.<br><br><hr>Date: Wed, 6 Aug 2008 10:12:53 -0700<br>From: jiafu_gao@yahoo.com<br>To: cbe-oss-dev@ozlabs.org<br>Subject: [Cbe-oss-dev] Kernel Build Help<br><br><style>
.ExternalClass DIV
{}
</style><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Here is the steps I took:<br>1. get source: <tt>$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git ps3-linux<br></tt>2. make config: $ make ps3_defconfig<br>3. compile: $ make <br></div></div></div><br><br><hr>Coloque até 500 fotografias por mês para partilhar com a família e amigos! Vá agora ao seu Windows Live Space gratuito! <a rel="nofollow" target="_blank" href="http://get.live.com/spaces/overview">Clica aqui!</a></div></div></div><br>
</body></html>