NOR flash partitions gone

4 messages, 3 authors, 2008-02-15 · open the first message on its own page

NOR flash partitions gone

From: Sean MacLennan <hidden>
Date: 2008-02-15 18:11:49

I did a git pull of Josh's for-2.6.25 tree. Now the NOR partitions are 
no longer setup.

				nor_flash@0,0 {
					compatible = "amd,s29gl032a", "cfi-flash";
					bank-width = <2>;
					reg = <0 0 400000>;
					#address-cells = <1>;
					#size-cells = <1>;
					partition@300000 {
						label = "fpga";
						reg = <300000 40000>;
					};
					partition@340000 {
						label = "env";
						reg = <340000 40000>;
					};
					partition@380000 {
						label = "u-boot";
						reg = <380000 80000>;
					};
				};



It still detects the chip, it just doesn't configure the partitions. Any 
ideas?

Cheers,
   Sean

Re: NOR flash partitions gone

From: Scott Wood <hidden>
Date: 2008-02-15 18:14:34

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@0,0 {
					compatible = "amd,s29gl032a", "cfi-flash";
					bank-width = <2>;
					reg = <0 0 400000>;
					#address-cells = <1>;
					#size-cells = <1>;
					partition@300000 {
						label = "fpga";
						reg = <300000 40000>;
					};
					partition@340000 {
						label = "env";
						reg = <340000 40000>;
					};
					partition@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

Re: NOR flash partitions gone

From: Anton Vorontsov <hidden>
Date: 2008-02-15 18:17:45

On Fri, Feb 15, 2008 at 02:11:06PM -0500, 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@0,0 {
					compatible = "amd,s29gl032a", "cfi-flash";
					bank-width = <2>;
					reg = <0 0 400000>;
					#address-cells = <1>;
					#size-cells = <1>;
					partition@300000 {
						label = "fpga";
						reg = <300000 40000>;
					};
					partition@340000 {
						label = "env";
						reg = <340000 40000>;
					};
					partition@380000 {
						label = "u-boot";
						reg = <380000 80000>;
					};
				};



It still detects the chip, it just doesn't configure the partitions. Any 
ideas?
Probably CONFIG_MTD_OF_PARTS is not set?

Good luck,

-- 
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2

Re: NOR flash partitions gone

From: Sean MacLennan <hidden>
Date: 2008-02-15 18:40:38

Anton Vorontsov wrote:
Probably CONFIG_MTD_OF_PARTS is not set?

Good luck,
  
That was it! Thanks!

Cheers,
   Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help