What happened to "make install" in YDl 4.0?

All kernel questions! 2.4 or new 2.6 kernel, compiling, modules, panics, etc.

What happened to "make install" in YDl 4.0?

Postby jg167 » 11 Nov 2004, 06:52

The configuration and compilation process seems completely standard for YDL 4.0 (or at least the same as what works on RH 9 wth a 2.6.8.1 kernel), untill you get to
make install
The Makefile for YDL 4.0 has removed this entirely instead of modifing it for yaboot. Except of course that make help still shows it, the README still talks about it.

So what gives?
jg167
ydl newbie
ydl newbie
 
Posts: 2
Joined: 11 Nov 2004, 05:45

Postby StarKnight83 » 11 Nov 2004, 14:21

I believe that the make install option is really for x86 only; though its fairly simple to just do it yourself. You just copy the System.map file and the vmlinux make an initrd and modify yaboot.conf to show the new kernel and initrd files.

Also make sure you do a "make modules_install" after you run make



If enough people want one I will write a faq/howto to do a custom kernel on YDL-either post a request here or pm me

Joe
Til our paths cross again
User avatar
StarKnight83
Moderator
Moderator
 
Posts: 959
Joined: 12 Jul 2004, 16:26
Location: Ft. Wayne, IN; USA

Postby jg167 » 11 Nov 2004, 21:03

Soe notes about how to install a new kernel with yaboot seems like a good idea. It wasn't hard to figure it out (i.e. what the names are and whre it goes etc wrt yaboot) but having a cheat sheet would have been easier. If I hadn't been doing this on RH/intel it might have been considerably more confusing. I guess my biggest complaint about it is that the install target was removd but the "make help" info on install remians as does the README so its inconsistent. I don't know if that is a base linux PPC thing, or was done by TerraSoft or what.
jg167
ydl newbie
ydl newbie
 
Posts: 2
Joined: 11 Nov 2004, 05:45

Postby StarKnight83 » 12 Nov 2004, 05:02

its a base linux ppc thing; if you took that same source, unpacked it on a x86 machine all would be as you knew it. Ill start on a quick tutorial for kernel compiles
Til our paths cross again
User avatar
StarKnight83
Moderator
Moderator
 
Posts: 959
Joined: 12 Jul 2004, 16:26
Location: Ft. Wayne, IN; USA

Postby afro » 11 Dec 2004, 05:20

StarKnight83 wrote:If enough people want one I will write a faq/howto to do a custom kernel on YDL...


Yes, please do share with us (newbies :wink: ) with your knowledge on that.

Thanks.
afro
ydl newbie
ydl newbie
 
Posts: 12
Joined: 11 Dec 2004, 05:13

Postby Ben Ben » 11 Dec 2004, 15:06

StarKnight: Can correct mine if you want... http://www.yellowdog-board.com/viewtopic.php?t=398

But why don't u just do yum update kernel* and put a new entry into your yaboot.conf....
Ben Ben
ydl beginner
ydl beginner
 
Posts: 32
Joined: 10 Aug 2004, 14:09

Postby scanaday » 02 Feb 2006, 18:21

make bzImage in this process does not work with the kernel 2.6.12, does anyone know why or what it's replacement is? I tried vmlinux instead but for some reason, I get no output or new kernel image now
scanaday
ydl newbie
ydl newbie
 
Posts: 8
Joined: 18 Jan 2006, 15:12

Postby scanaday » 02 Feb 2006, 18:43

Never mind, it just copied the output to vmlinux with no suffix or prefix. Here's a great step by step guide for newbies:

http://www.yellowdog-board.com/viewtopi ... ht=vmlinux

Thanks
scanaday
ydl newbie
ydl newbie
 
Posts: 8
Joined: 18 Jan 2006, 15:12


Return to Kernel

Who is online

Users browsing this forum: No registered users and 2 guests

cron