[PlanetCCRMA] Re: prism54 on 2.4.26-1.ll

Timo Sivula timo.sivula@luukku.com
Fri May 28 21:02:00 2004


On Thu, 2004-05-27 at 03:35, Fernando Pablo Lopez-Lezcano wrote: 
> There are several ways in which you can do this. First, to get a source
> tree patched you need to install the .src.rpm (you did that already) and
> then:
>   cd /usr/src/redhat/SPECS/
>   rpmbuild -bp kernel-2.4.26-1.ll.spec
I did the following.

0. Installed the ccrma kernel source rpm for 2.4.26
1. Unpacked /usr/src/redhat/SOURCES/kernel-2.4.26.tar.bz2 into a
subdirectory tree
2. put the patch file I need in /usr/src/redhat/SOURCE
3. Edited the SPEC file to include both header and exection part as
patch 40000 in it, -p1, call the kernel and SPEC file -2.ll
8. # rpmbuild -bp kernel-2.4.26-1.ll.spec
9. # cd /usr/src/redhat/BUILD/kernel-2.4.26/linux-2.4.26/ 
10.# cp configs/kernel-2.4.26-i686.config .config
11. #make xconfig
12 Configured modversions=N, CPU=P4, Prism54=m, and i2c bitbang=n
(Otherwise wont compile) 
13. # cp .config
14. # cd /usr/src/redhat/SPECS
15. # rpmbuild -bb --target i686 kernel-2.4.26-2.ll.spec

This gives me a kernel rpm that complains device-mapper is missing when
installing. I guess it means the i2c bit-banger needs to be there. Why
does the bit-banger i2c not give a problem with the original ccrma

I am sorry if this is the wrong forum for this question, but I guess it
can either be the prism driver that is at fault or then the ccrma

br, TImo