You're right Scott, there's no section in arch/powerpc/boot/Makefile involving dts file for mpc8272ads.<br><br>Well some time ago I've already write an email explaining that I've try to port a custom board patch from 2.6.21 to 2.6.35. I can't make the changes properly in 2.6.35, so that's why I've decided to backport cryptoAPI and talitos to 2.6.21.<br>

<br> Because it's custom, the CPM_MAP_ADDR it's change from 0xF0000000 to 0xFF000000. ¿Changing this in mpc8272ads.dts<br><br>soc8272@f0000000 {<br>               #address-cells = <1>;<br>               #size-cells = <1>;<br>

               #interrupt-cells = <2>;<br>               device_type = "soc";<br>               ranges = <00000000 f0000000 00053000>;<br>               reg = <f0000000 10000>;<br><br> cpm@f0000000 {<br>

                       linux,phandle = <f0000000>;<br>                       #address-cells = <1>;<br>                       #size-cells = <1>;<br>                       #interrupt-cells = <2>;<br>

                       device_type = "cpm";<br>                       model = "CPM2";<br>                       ranges = <00000000 00000000 20000>;<br>                       reg = <0 20000>;<br>

                       command-proc = <119c0>;<br>                       brg-frequency = <17D7840>;<br>                       cpm_clk = <BEBC200>;<br><br><br><br>to this<br><br>soc8272@ff000000 {<br>               #address-cells = <1>;<br>

               #size-cells = <1>;<br>               #interrupt-cells = <2>;<br>               device_type = "soc";<br>               ranges = <00000000 ff000000 00053000>;<br>               reg = <ff000000 10000>;<br>

<br>cpm@ff000000 {<br>                       linux,phandle = <ff000000>;<br>                       #address-cells = <1>;<br>                       #size-cells = <1>;<br>                       #interrupt-cells = <2>;<br>

                       device_type = "cpm";<br>                       model = "CPM2";<br>                       ranges = <00000000 00000000 20000>;<br>                       reg = <0 20000>;<br>

                       command-proc = <119c0>;<br>                       brg-frequency = <17D7840>;<br>                       cpm_clk = <BEBC200>;<br><br><br>should solve this issue?<br><br>Also there is change in arch/powerpc/platforms/82xx/mpc82xx_ads.c<pre>

+ static void __init m82xx_map_io(void)   /* gonza */<br>+ {<br>+     io_block_mapping(CPM_MAP_ADDR, CPM_MAP_ADDR, ((uint)(4 * 64 * 1024)),<br>_PAGE_IO);<br>+ }<br>+<br>+<br><br>define_machine(mpc82xx_ads)<br>  {<br>    .name = "MPC82xx ADS",<br>

***************<br>*** 642,645 ****<br>--- 648,652 ----<br>    .get_irq =    cpm2_get_irq,<br>    .calibrate_decr =    m82xx_calibrate_decr,<br>    .restart = m82xx_restart,.halt = m82xx_halt,<br>+   .setup_io_mappings =    m82xx_map_io, /* gonza */<br>

  };<br><br><br></pre>Redefining the address of CPM in the dts file, the kernel "io_block_map" properly that address without no more code?<br><br>Thank you very much.<br>Alexandru.<br><br><br><div class="gmail_quote">

2011/1/3 Scott Wood <span dir="ltr"><<a href="mailto:scottwood@freescale.com" target="_blank">scottwood@freescale.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div>On Wed, 29 Dec 2010 02:10:55 +0100<br>
Alexandru Ionut Grama <<a href="mailto:gramaalexandruionut@gmail.com" target="_blank">gramaalexandruionut@gmail.com</a>> wrote:<br>
<br>
> My final question it's about of-tree. I have the mpc8272ads.dts file with a<br>
> tree that involves talitos, but I've changed the properties acording the new<br>
> version of it on 2.6.35. ¿This file (mpc8272ads.dts) when it's used?I think<br>
> I don't use this file for nothing (it doesn't appears on make V=1) because I<br>
> don't have a normal bootloader and I have to load the kernel like a<br>
> flat-binary gz, so there's no more step after building System.map.<br>
<br>
</div>IIRC, in 2.6.21, it wasn't used on 82xx (I think there was only<br>
arch/ppc support for 82xx, or at best 82xx arch/powerpc support was<br>
just getting started).  2.6.21 is very old, and doing new development on<br>
it is not recommended.<br>
<br>
Why not work with the current kernel?<br>
<font color="#888888"><br>
-Scott<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><b>---------------------------------------------------------------<br>Alexandru Ionut Grama<br></b><i style="color: rgb(102, 102, 102);">email: <a href="mailto:gramaalexandruionut@gmail.com" target="_blank">gramaalexandruionut@gmail.com</a></i><b><br>


</b><br>