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

2009-02-13 Thread Scott Wood
Jean-Michel Hautbois wrote: 2009/2/12 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 chipselec

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

2009-02-13 Thread Jean-Michel Hautbois
2009/2/12 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 > OK.

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

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

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter > Jean-Michel Hautbois wrote: > > 2009/2/12 David Gibson > > > > > > On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > > > 2009/2/12 Pieter > > > > > > > > > Jean-Michel

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

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

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

2009-02-12 Thread Pieter
Jean-Michel Hautbois wrote: > 2009/2/12 David Gibson > > > On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > > 2009/2/12 Pieter > > > > > > Jean-Michel Hautbois wrote: > > > > Warning

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 > > > 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 #

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

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter > 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 defined for my

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"; >

[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>;