El mié, 19-07-2006 a las 19:35 +0200, Matthias Grimm escribió: > On Mon, 17 Jul 2006 21:19:30 +0200 > Matthias Grimm <matthiasgrimm@users.sourceforge.net> wrote: > > Damn, I didn't removed my debugging stuff and so the program used a > wrong device tree path. Sorry for that. Replace line > > #define OFBASE "./device-tree" > > with line > > #define OFBASE "/proc/device-tree" > > The attached program source contains the change. > > Best Regards > Matthias nueces@galateia[~/ofp/2]$ strings /proc/device-tree/model PowerBook6,7 nueces@galateia[~/ofp/2]$ cat /proc/cpuinfo processor : 0 cpu : 7447A, altivec supported clock : 1333.333000MHz revision : 0.2 (pvr 8003 0102) bogomips : 73.47 timebase : 18432000 platform : PowerMac machine : PowerBook6,7 motherboard : PowerBook6,7 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 0000001b L2 cache : 512K unified pmac-generation : NewWorld nueces@galateia[~/ofp/2]$ ./of_probing Probing machine... Machine: ID = 67 -> iBook G4 (Jul 2005) OF: '/proc/device-tree/uni-n@f8000000/i2c@f8001000/i2c-bus@1/reg' Path incomplete! One or more elements not found. LMU: No LMU found! Saludos -- Juan A. Diaz
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente