You're right Scott, there's no section in arch/powerpc/boot/Makefile involving dts file for mpc8272ads.
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. Because it's custom, the CPM_MAP_ADDR it's change from 0xF0000000 to 0xFF000000. ¿Changing this in mpc8272ads.dts soc8...@f0000000 { #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "soc"; ranges = <00000000 f0000000 00053000>; reg = <f0000000 10000>; c...@f0000000 { linux,phandle = <f0000000>; #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "cpm"; model = "CPM2"; ranges = <00000000 00000000 20000>; reg = <0 20000>; command-proc = <119c0>; brg-frequency = <17D7840>; cpm_clk = <BEBC200>; to this soc8...@ff000000 { #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "soc"; ranges = <00000000 ff000000 00053000>; reg = <ff000000 10000>; c...@ff000000 { linux,phandle = <ff000000>; #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "cpm"; model = "CPM2"; ranges = <00000000 00000000 20000>; reg = <0 20000>; command-proc = <119c0>; brg-frequency = <17D7840>; cpm_clk = <BEBC200>; should solve this issue? Also there is change in arch/powerpc/platforms/82xx/mpc82xx_ads.c + static void __init m82xx_map_io(void) /* gonza */ + { + io_block_mapping(CPM_MAP_ADDR, CPM_MAP_ADDR, ((uint)(4 * 64 * 1024)), _PAGE_IO); + } + + define_machine(mpc82xx_ads) { .name = "MPC82xx ADS", *************** *** 642,645 **** --- 648,652 ---- .get_irq = cpm2_get_irq, .calibrate_decr = m82xx_calibrate_decr, .restart = m82xx_restart,.halt = m82xx_halt, + .setup_io_mappings = m82xx_map_io, /* gonza */ }; Redefining the address of CPM in the dts file, the kernel "io_block_map" properly that address without no more code? Thank you very much. Alexandru. 2011/1/3 Scott Wood <scottw...@freescale.com> > On Wed, 29 Dec 2010 02:10:55 +0100 > Alexandru Ionut Grama <gramaalexandruio...@gmail.com> wrote: > > > My final question it's about of-tree. I have the mpc8272ads.dts file with > a > > tree that involves talitos, but I've changed the properties acording the > new > > version of it on 2.6.35. ¿This file (mpc8272ads.dts) when it's used?I > think > > I don't use this file for nothing (it doesn't appears on make V=1) > because I > > don't have a normal bootloader and I have to load the kernel like a > > flat-binary gz, so there's no more step after building System.map. > > IIRC, in 2.6.21, it wasn't used on 82xx (I think there was only > arch/ppc support for 82xx, or at best 82xx arch/powerpc support was > just getting started). 2.6.21 is very old, and doing new development on > it is not recommended. > > Why not work with the current kernel? > > -Scott > > -- *--------------------------------------------------------------- Alexandru Ionut Grama **email: gramaalexandruio...@gmail.com** *
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev