The other way to do it would be to replace /proc/cpuinfo in the
file with /etc//cpuinfo - the same way we hack IBM Java to run
on a modern G4. Then simply add the appropriate line to the
file /etc/cpuinfo. This is less intrusive and more flexible
--
Matt Sealey <
matt@genesi.co.uk>
Manager, Genesi, Developer Relations
> -----Original Message-----
> From: nels664868 [mailto:
nels664868@earthlink.net]
> Sent: Saturday, March 26, 2005 12:17 PM
> To:
ppczone-users@forums.ppczone.org
> Subject: A hack for dnetc
>
> Hi All,
>
> I made a hack to enable AltiVec in dnetc for kernels above 2.6.4.
> using KHexEdit I modefied the text for cpu detection like so from
>
> 000a:a9b0 37 34 35 31 00 00 00 00 37 34 34 35 00 00 00 00
> 7451....7445....
> 000a:a9c0 37 34 35 35 00 00 00 00 37 34 34 37 00 00 00 00
> 7455....7447....
> 000a:a9d0 37 34 35 37 00 00 00 00 37 34 31 30 00 00 00 00
> 7457....7410....
> 000a:a9e0 41 75 74 6f 6d 61 74 69 63 20 70 72 6f 63 65 73
> Automatic proces 000a:a9f0 73 6f 72 20 74 79 70 65 20 64
> 65 74 65 63 74 69 sor type detecti
>
> to
>
> 000a:a990 34 30 33 47 00 00 00 00 34 30 33 47 43 00 00 00
> 403G....403GC...
> 000a:a9a0 34 30 33 47 43 58 00 00 37 34 34 31 00 00 00 00
> 403GCX..7441....
> 000a:a9b0 37 34 35 31 00 00 00 00 37 34 34 35 00 00 00 00
> 7451....7445....
> 000a:a9c0 37 34 35 35 00 00 00 00 37 34 34 37 2f 37 34 35
> 7455....7447/745 000a:a9d0 37 00 00 00 00 00 00 00 37 34
> 31 30 00 00 00 00 7.......7410....
> 000a:a9e0 41 75 74 6f 6d 61 74 69 63 20 70 72 6f 63 65 73
> Automatic proces 000a:a9f0 73 6f 72 20 74 79 70 65 20 64
> 65 74 65 63 74 69 sor type detecti
>
> nels
> _________________________________________________________
> PPCZone Forums:
http://www.ppczone.org/forums
>