El mié, 19-07-2006 a las 19:35 +0200, Matthias Grimm escribió:
> On Mon, 17 Jul 2006 21:19:30 +0200
> Matthias Grimm <[EMAIL PROTECTED]> 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

[EMAIL PROTECTED]/ofp/2]$ strings /proc/device-tree/model
PowerBook6,7
[EMAIL PROTECTED]/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
[EMAIL PROTECTED]/ofp/2]$ ./of_probing

Probing machine...
  Machine: ID = 67 -> iBook G4 (Jul 2005)
  OF: '/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/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 está firmada digitalmente

Reply via email to