PDA

View Full Version : Compiling a 4.0 Kernel


needo
07-12-2003, 07:34 PM
Im working on compiling a 4.0 kernel with the scramble code removed.

I have a sane build enviroment, and the TiVo kernel downloaded. I was wondering if any one had any suggestions on how to actually build it. Or if they had one already built.

Thank you.

David Bought
07-13-2003, 01:25 AM
Originally posted by needo
Im working on compiling a 4.0 kernel with the scramble code removed.

I have a sane build enviroment, and the TiVo kernel downloaded. I was wondering if any one had any suggestions on how to actually build it. Or if they had one already built.

Thank you.

make vmlinux.px modules modules_install INSTALL_MOD_PATH=/tmp/tivo

vmlinux.px goes in your boot partition (or wherever monte can find it if you use monte)

modules (*.o) go in /lib/modules

needo
07-13-2003, 01:38 AM
Originally posted by David Bought
make vmlinux.px modules modules_install INSTALL_MOD_PATH=/tmp/tivo

vmlinux.px goes in your boot partition (or wherever monte can find it if you use monte)

modules (*.o) go in /lib/modules

Thanks for the command line. Is there any more documentation on this subject? I have a lot of non-existent Makefile's etc. I really don't want to reinvent the wheel here if I can help it.

David Bought
07-13-2003, 10:49 AM
Originally posted by needo
Thanks for the command line. Is there any more documentation on this subject? I have a lot of non-existent Makefile's etc. I really don't want to reinvent the wheel here if I can help it.

Yes, there are dozens of howto docs on kernel recompilation. Try tldp.org or google.

needo
07-13-2003, 09:36 PM
Originally posted by David Bought
Yes, there are dozens of howto docs on kernel recompilation. Try tldp.org or google.

What I was referring to was a complete set of Makefile's to use with the TiVo source code that you download from TiVo's site.

When I try to run make I get errors that many Makefile's are missing.

Thank you.