Maple fails to boot current git

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Feb 25 16:02:32 EST 2006


> For the record, changing the ISA ranges property does correct the
> problem translating the addresses for the devices hanging off that bus

Yup, we should get the PIBS folks to fix that.

> Note Ben - it looks like adding "ht" as a match in of_bus_pci_match()
> doesn't help matters -

It should still be done for correctness imho

> Updating the range property can be done via the EPOS(/PIBS for more
> recent versions) shell using this function:
> 
> of_change_property(char *nodename, char *propname, char* prop, size_t
> len)

Ah good to know, I couldn't remember how to do it.

> As an example:
> 
> PIBS $ int val=malloc(24)
> PIBS $ int *p=val
> PIBS $ *p=0x0000000100000000
> PIBS $ p+=1
> PIBS $ *p=0xf400000000000000
> PIBS $ p+=8 # Note - there appears to be an anomoly in my PIBS version
> where ptr arith is only done for the
> # first addition - check your values using "print p"
> PIBS $ *p=0x0000000000010000
> PIBS $ of_change_property("/ht/isa", "ranges", val, 24)
> 
> Note also - this range definition does appear to be compatible with
> older kernels (I booted a 2.6.10 based image w/ no obvious problems) 

Yup, the previous one was bogus.

Ben.





More information about the Linuxppc64-dev mailing list