[ELDK] Glacier PPC460GT glacier.dts cache 2 problem in last linux git

Etienne Lorrain etienne_lorrain at yahoo.fr
Thu Jun 18 16:38:30 CEST 2009


 Hello,

 Not sure to be in the right place for linux-2.6-denx.git tree for
the Glacier PPC460GT card, but I got latest tree by:
git clone http://git.denx.de/linux-2.6-denx.git
and re-generate/download the dtb & kernel - it does not work unless I apply
this patch:
diff arch/powerpc/boot/dts/glacier.dts arch/powerpc/boot/dts/glacier.dts-initial
108a109,118
> 	L2C0: l2c {
> 		compatible = "ibm,l2-cache-460ex", "ibm,l2-cache";
> 		dcr-reg = <20 8			/* Internal SRAM DCR's */
> 			   30 8>;		/* L2 cache DCR's */
> 		cache-line-size = <20>;		/* 32 bytes */
> 		cache-size = <40000>;		/* L2, 256K */
> 		interrupt-parent = <&UIC2>;
> 		interrupts = <17 1>;
> 	};
> 
i.e. Glacier does not work (uboot latest from git at denx last line: Loading Device Tree to ... OK) if secondary memory cache is enabled.
Seems 460ex and 460gt processors do not have the same cache, but being
extremely new to those two, I cannot say more...

 Regards,
 Etienne.


      


More information about the eldk mailing list