NOR flash partitions gone

Scott Wood scottwood at freescale.com
Sat Feb 16 05:14:48 EST 2008


Sean MacLennan wrote:
> I did a git pull of Josh's for-2.6.25 tree. Now the NOR partitions are 
> no longer setup.
> 
> 				nor_flash at 0,0 {
> 					compatible = "amd,s29gl032a", "cfi-flash";
> 					bank-width = <2>;
> 					reg = <0 0 400000>;
> 					#address-cells = <1>;
> 					#size-cells = <1>;
> 					partition at 300000 {
> 						label = "fpga";
> 						reg = <300000 40000>;
> 					};
> 					partition at 340000 {
> 						label = "env";
> 						reg = <340000 40000>;
> 					};
> 					partition at 380000 {
> 						label = "u-boot";
> 						reg = <380000 80000>;
> 					};
> 				};
> 
> 
> 
> It still detects the chip, it just doesn't configure the partitions. Any 
> ideas?

Try turning off command line partition support -- there's a bug in it 
that was exposed by changes to the OF physmap code (in particular, it 
returns -EINVAL rather than zero when no command line partitions are 
present).

-Scott



More information about the Linuxppc-dev mailing list