Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-13 Thread Jean-Michel Hautbois
2009/2/12 Scott Wood scottw...@freescale.com: On Thu, Feb 12, 2009 at 03:26:58PM +0100, Jean-Michel Hautbois wrote: I think that the problem is in the reg part, but I can't understand why. Isn't it the RAM mpping of my MTD that is the first address ? No, it's the offset into the chipselect.

[MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
Hi everybody ! I am currently trying to add the support of partitions for the Flash chip on my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90). I have added this part: fl...@0,0 { compatible = jedec-flash; reg = 0x0 0x0 0x200;

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Pieter
Jean-Michel Hautbois wrote: Hi everybody ! I am currently trying to add the support of partitions for the Flash chip on my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90). I have added this part: fl...@0,0 { compatible = jedec-flash;

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter phenn...@vastech.co.za Jean-Michel Hautbois wrote: Warning (reg_format): reg property in /local...@f0010100/fl...@0,0/partit...@ff80 has invalid length (8 JM You are missing some definitions, The #address-cells and #size-cells = 1; tis is a snippet of teh dts i

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread David Gibson
On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: 2009/2/12 Pieter phenn...@vastech.co.za Jean-Michel Hautbois wrote: Warning (reg_format): reg property in /local...@f0010100/fl...@0,0/partit...@ff80 has invalid length (8 JM You are missing some definitions,

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 David Gibson da...@gibson.dropbear.id.au On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: 2009/2/12 Pieter phenn...@vastech.co.za Jean-Michel Hautbois wrote: Warning (reg_format): reg property in /local...@f0010100/fl...@0,0/partit...@ff80 has

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter phenn...@vastech.co.za Jean-Michel Hautbois wrote: 2009/2/12 David Gibson da...@gibson.dropbear.id.au mailto:da...@gibson.dropbear.id.au On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: 2009/2/12 Pieter phenn...@vastech.co.za

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Scott Wood
On Thu, Feb 12, 2009 at 03:26:58PM +0100, Jean-Michel Hautbois wrote: I think that the problem is in the reg part, but I can't understand why. Isn't it the RAM mpping of my MTD that is the first address ? No, it's the offset into the chipselect. -Scott