Skip to contentSkip to conversation

PALO/kernel-build change proposal

parisc-linux Paul Bame 6 participants 9 messages Jun 13, 2001 – Jun 18, 2001

lore
Share & tools
lore

Paul Bame

author
#0 lore raw

Many of us are accustomed to the way 'make palo' works in our kernel source tree (it goes over to the palo source tree, builds palo, and then utilizes the palo Makefile to produce a bootable image). I want to convert to a model based on palo being a separate stable piece of software for which you may not even have sources. Many of us are probably also not using 'palo.conf' files, which are the norm for self- hosted operation.

When self hosted, there's usually no need to run palo after every kernel build since palo boots out of the file system by file name. So I propose that the common self-hosted use model be to use simple 'make' in the kernel tree [and make modules or whatever]. The resulting 'vmlinux' file can then be copied to the desired location.

I propose that 'make palo' be changed to simply run 'palo -f ./palo.conf' after vmlinux is built. This means palo would have to be in the $PATH and that the top-level linux source directory would contain a suitable palo.conf file. I've been using this model for cross-compiling for several months and like it. I would document how xc-ers can best compile and "install" palo as well as supply a palo.conf file with our typical configurations.

What is 'make palo' today would be changed to 'make buildrunpalo'. The longer name is more truthful and less convenient on purpose.

Feedback?

	-P
#1 lore raw

Paul Bame wrote:
...

Quoted 5 lines

When self hosted, there's usually no need to run palo after every kernel build since palo boots out of the file system by file name. So I propose that the common self-hosted use model be to use simple 'make' in the kernel tree [and make modules or whatever]. The resulting 'vmlinux' file can then be copied to the desired location.

On x86, "make install" will do all the right things to install the freshly built kernel but doesn't do a damn thing for kernel modules. Need to run "make modules" and "make modules_install" to really make sure eveything is in sync.

Quoted 10 lines

I propose that 'make palo' be changed to simply run 'palo -f ./palo.conf' after vmlinux is built. This means palo would have to be in the $PATH and that the top-level linux source directory would contain a suitable palo.conf file. I've been using this model for cross-compiling for several months and like it. I would document how xc-ers can best compile and "install" palo as well as supply a palo.conf file with our typical configurations.

What is 'make palo' today would be changed to 'make buildrunpalo'. The longer name is more truthful and less convenient on purpose.

How about "make lifimage"?
That's the only reason I run "make palo" in the XC environment. Having a XC-palo in the environment is no problem.
In the XC env, I don't expect "make install" to do the right thing (tm).

grant

Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253

author
#2 lore raw

= > I propose that 'make palo' be changed to simply run 'palo -f ./palo.conf' = > after vmlinux is built. This means palo would have to be in the $PATH = > and that the top-level linux source directory would contain a = > suitable palo.conf file. I've been using this model for cross-compiling = > for several months and like it. I would document how xc-ers can best = > compile and "install" palo as well as supply a palo.conf file with = > our typical configurations.
= >
= > What is 'make palo' today would be changed to 'make buildrunpalo'. The = > longer name is more truthful and less convenient on purpose. =
=
= How about "make lifimage"?
= That's the only reason I run "make palo" in the XC environment. = Having a XC-palo in the environment is no problem.
= In the XC env, I don't expect "make install" to do the right thing (tm).

ok, I ammend my proposal so that what I just described as 'make palo' be changed to 'make lifimage', and that what I just called 'make buildrunpalo', which jumps into the source tree and builds palo among other things, retain the name buildrunpalo. Howzzat?

#3 lore raw
In reply to Grant Grundler
Quoted 11 lines · Grant Grundler
Quoted 5 lines · Paul Bame

When self hosted, there's usually no need to run palo after every kernel build since palo boots out of the file system by file name. So I propose that the common self-hosted use model be to use simple 'make' in the kernel tree [and make modules or whatever]. The resulting 'vmlinux' file can then be copied to the desired location.

On x86, "make install" will do all the right things to install the freshly built kernel but doesn't do a damn thing for kernel modules. Need to run "make modules" and "make modules_install" to really make sure eveything is in sync.

As a Debian user I discovered the wonders of Manoj's kernel-package suite to build Debian packages of kernel source/headers/image/docs from a single kernel tree. Certainly much easier to install the resulting kernel-image-*.deb package than fuss about with the various Makefile targets. I suppose it would be unfriendly though to ask that this become the standard means of building and installing hppa-linux kernels?

=)

I see nothing wrong with Paul's suggestion but hope that kernel-package is educated about the changes for the hppa architecture. I've grown fond of it (or too lazy to go back?) ...

Andrew.

--
Andrew Shugg <[email protected]> http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself." "Is there? Well I'd like to meet him. I could do with a good laugh."

#4 lore raw
Quoted 13 lines
Quoted 7 lines
Quoted 5 lines · Paul Bame

When self hosted, there's usually no need to run palo after every kernel build since palo boots out of the file system by file name. So I propose that the common self-hosted use model be to use simple 'make' in the kernel tree [and make modules or whatever]. The resulting 'vmlinux' file can then be copied to the desired location.

Quoted 4 lines · Grant Grundler

On x86, "make install" will do all the right things to install the freshly built kernel but doesn't do a damn thing for kernel modules. Need to run "make modules" and "make modules_install" to really make sure eveything is in sync.

Quoted 7 lines

Andrew Shugg <[email protected]>
As a Debian user I discovered the wonders of Manoj's kernel-package suite to build Debian packages of kernel source/headers/image/docs from a single kernel tree. Certainly much easier to install the resulting kernel-image-*.deb package than fuss about with the various Makefile targets. I suppose it would be unfriendly though to ask that this become the standard means of building and installing hppa-linux kernels?

(ObDisclaimer: I'm closer to 'user' than to 'developer', much closer...)

Working with this HP715 hasn't been too bad - very similar to early Debian on the Intel boxes. Lots of support via mailing lists, weird docs, strange ways of making things work... My only complaint on building a kernel was the docs at ESIEE. Lots of 'download and configure this, then this, now this...", which is fine, but they end with "Congrats - your new kernel is palo/lifimage" and no comment on where it goes...

I don't suppose someone has an updated how-to for actually *using* your new kernel, do they? Replacing /boot/vmlinux-2.4.0 with the new one results in an immediate hang on reboot...

#8 lore raw
In reply to Andrew Shugg
Quoted 8 lines · Andrew Shugg

Grant Grundler said:
As a Debian user I discovered the wonders of Manoj's kernel-package suite to build Debian packages of kernel source/headers/image/docs from a single kernel tree. Certainly much easier to install the resulting kernel-image-*.deb package than fuss about with the various Makefile targets. I suppose it would be unfriendly though to ask that this become the standard means of building and installing hppa-linux kernels?

Quoted 5 lines

=)

I see nothing wrong with Paul's suggestion but hope that kernel-package is educated about the changes for the hppa architecture. I've grown fond of it (or too lazy to go back?) ...

The changes required for kernel-package have been submitted to Manoj...

Signature · 1 line
Revolutions do not require corporate support.
#5 lore raw
In reply to Tom
Quoted 4 lines · Tom

I don't suppose someone has an updated how-to for actually *using* your new kernel, do they? Replacing /boot/vmlinux-2.4.0 with the new one results in an immediate hang on reboot...

*shrug*
Well, I've made two successful kernels, cp'd to /boot, edited /etc/palo.conf, just like normal to me.

--
Ed June

[email protected]
Linux: An open choice for free people worldwide.

#6 lore raw
Quoted 7 lines
Quoted 3 lines

I don't suppose someone has an updated how-to for actually *using* your new kernel, do they? Replacing /boot/vmlinux-2.4.0 with the new one results in an immediate hang on reboot...

*shrug*
Well, I've made two successful kernels, cp'd to /boot, edited /etc/palo.conf, just like normal to me.

Hmmm... I tried that - copied lifimage to /boot/vmlinux-240-pa15, edited /etc/palo.conf to change the kernel listed, then ran palo to update it and rebooted. Same error - can't understand the kernel executable format.

Am wondering if perhaps it's me goofing it up rather than the system. (Actually am pretty certain it's me, since other people can compile kernels fine...)

Time to try again!

#7 lore raw
Quoted 11 lines · Tom
Quoted 7 lines
Quoted 3 lines

I don't suppose someone has an updated how-to for actually *using* your new kernel, do they? Replacing /boot/vmlinux-2.4.0 with the new one results in an immediate hang on reboot...

*shrug*
Well, I've made two successful kernels, cp'd to /boot, edited /etc/palo.conf, just like normal to me.

Hmmm... I tried that - copied lifimage to /boot/vmlinux-240-pa15, edited /etc/palo.conf to change the kernel listed, then ran palo to update it and rebooted. Same error - can't understand the kernel executable format.

Sounds like you're using the lifimage instead of the vmlinux.

Signature · 1 line
Revolutions do not require corporate support.