[PATCH 1/2] ARM: kirkwood: add support for OpenBlocks A7 platform
Jason Cooper
jason at lakedaemon.net
Thu Oct 31 08:50:30 EDT 2013
On Thu, Oct 31, 2013 at 10:21:23AM +0100, Thomas Petazzoni wrote:
> Dear Gregory CLEMENT,
>
> On Thu, 31 Oct 2013 10:17:43 +0100, Gregory CLEMENT wrote:
>
> > > Strange. 'make dtbs' was working here. What was wrong exactly? Just
> > > that the unit address (@90000) didn't match the starting address
> > > 0x1c0000 ?
> >
> > The unit address has no special meaning for the device tree it's just a
> > way to give a unique name to a node right?
>
> Yes, that's also my understanding.
Correct, that's not what caused the error.
> > So in this case it is not really a problem, but it's just nicer for the
> > coherency of the information in the dt to have the unit address which match
> > the starting address.
>
> Indeed, it's much better if they match (shame on me for the silly
> copy/paste), but having then *not* matching should not cause any DTC
> error, I believe.
>
> > I also do a make dtbs ans I didn't get any errors:
> > $ make dtbs
> > [...]
> > DTC arch/arm/boot/dts/kirkwood-openblocks_a6.dtb
> > DTC arch/arm/boot/dts/kirkwood-openblocks_a7.dtb
>
> Same here.
With Thomas' original patch (on top of mvebu/dt, based on v3.12-rc1):
$ make kirkwood_defconfig
$ make dtbs
...
DTC arch/arm/boot/dts/kirkwood-openblocks_a6.dtb
DTC arch/arm/boot/dts/kirkwood-openblocks_a7.dtb
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at 0 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at 90000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at d4000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at f4000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at 4f4000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /ocp at f1000000/nand at 3000000/partition at 2214000 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at 0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at 0
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at 90000
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at 90000
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at d4000
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at d4000
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at f4000
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at f4000
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at 4f4000
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at 4f4000
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ocp at f1000000/nand at 3000000/partition at 2214000
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ocp at f1000000/nand at 3000000/partition at 2214000
thx,
Jason.
More information about the linux-arm-kernel
mailing list