[PATCH 1/2] ARM: kirkwood: add support for OpenBlocks A7 platform
From: Jason Cooper <hidden>
Date: 2013-10-31 13:20:31
On Thu, Oct 31, 2013 at 01:54:42PM +0100, Gregory CLEMENT wrote:
On 31/10/2013 13:50, Jason Cooper wrote:quoted
On Thu, Oct 31, 2013 at 10:21:23AM +0100, Thomas Petazzoni wrote:quoted
Dear Gregory CLEMENT, On Thu, 31 Oct 2013 10:17:43 +0100, Gregory CLEMENT wrote:quoted
quoted
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.quoted
quoted
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.quoted
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.dtbSame here.With Thomas' original patch (on top of mvebu/dt, based on v3.12-rc1):On my side I tested the patch on top on v3.12-rc7. So the difference should be there.
Ok, I get no warnings when I rebase the original patch onto v3.12-rc7. Since Thomas is ok with my version, I'm going to send it up since it doesn't generate warnings. There's no point merging in v3.12-rc7 just to silence a few warnings. thx, Jason.
quoted
$ 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