Hi Phil, Alan
Am Montag, 25. Juli 2016, 17:28:08 schrieb Phil Reid:
> >> So looks like possible fpga region is not getting mapped correctly and
> >> I'm
> >> not sure where this is done. New one for me. The fpga-region stuff may be
> >> related:
> >> 
> >> base_fpga_region {
> >> 
> >>    compatible = "fpga-region";
> >>    fpga-mgr = <&fpga_mgr>;
> >>    fpga-bridges = <&fpga_bridge0>, <&fpga_bridge1>;
> >>    
> >>    #address-cells = <0x1>;
> >>    #size-cells = <0x1>;
> >>    ranges = <0 0xff200000 0x100000>;
> > 
> > Shouldn't this look like this:
> >                         ranges = <0 0x0 0xc0000000 0x20000000>,
> >                         
> >                                 <1 0x0 0xff200000 0x00200000>;
> > 
> > or if you would like to keep your indexes:
> >                         ranges = <0 0x0 0xff200000 0x00200000>,
> >                         
> >                                          <1 0x0 0xc0000000 0x20000000>;
> >> 
> >> };
> >> 
> >> The dtsi only reference the lw h2f range, not sure if that's related.
> >> Someone with a bit more knowledge may be able to offer some advice.
> > 
> > I am currently still chewing on the configs you sent me...
Ok, now i have found a way to use the fpga areas:
Disable Bridges and Region driver in the dts and initialize anything in the 
bootloader. As soon as i try to enable any bridges i am unable to access the
hardware control registers of the bridges. Bridge id register: 0xFF401FD0 
gives a bus error on access!

But i have a hard time beliving that this is the proper fix. As this also means 
that i can't use dts overlays. And it seems to me that people are clearly 
using these here on the mailing list.

But so far i was not able to get something working with 4.1, 4.4 or 4.6 kernel 
series?!? This shouldn't be that hard and there should be definetly some 
examples for this! The 4.1 kernel is out for more than a year.
 
> Yeap that worked for me. I can now 'devmem2 0xc0000000' and get something
> meaningful. Thanks for the suggestion.
You are welcome.

Best regards
Tim

Hottinger Baldwin Messtechnik GmbH, Im Tiefen See 45, 64293 Darmstadt, Germany 
| www.hbm.com 

Registered as GmbH (German limited liability corporation) in the commercial 
register at the local court of Darmstadt, HRB 1147  
Company domiciled in Darmstadt | Managing Director: Andreas Huellhorst | 
Chairman of the board: Eoghan O'Lionaird

Als Gesellschaft mit beschraenkter Haftung eingetragen im Handelsregister des 
Amtsgerichts Darmstadt unter HRB 1147 
Sitz der Gesellschaft: Darmstadt | Geschaeftsfuehrung: Andreas Huellhorst | 
Aufsichtsratsvorsitzender: Eoghan O'Lionaird

The information in this email is confidential. It is intended solely for the 
addressee. If you are not the intended recipient, please let me know and delete 
this email.

Die in dieser E-Mail enthaltene Information ist vertraulich und lediglich fuer 
den Empfaenger bestimmt. Sollten Sie nicht der eigentliche Empfaenger sein, 
informieren Sie mich bitte kurz und loeschen diese E-Mail.
_______________________________________________
Rfi mailing list
Rfi@lists.rocketboards.org
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi

Reply via email to