[U-Boot] dtc: invalid option -- 'i'

Tom Rini trini at ti.com
Thu Aug 22 20:03:19 CEST 2013


On Thu, Aug 22, 2013 at 05:55:46PM +0000, Sharma Bhupesh-B45370 wrote:
> 
> > -----Original Message-----
> > From: Tom Rini [mailto:tom.rini at gmail.com] On Behalf Of Tom Rini
> > Sent: Thursday, August 22, 2013 6:22 PM
> > To: Sharma Bhupesh-B45370
> > Cc: 'u-boot'; 'ubuntu-users at lists.ubuntu.com'; 'ubuntu-
> > devel at lists.ubuntu.com'
> > Subject: Re: [U-Boot] dtc: invalid option -- 'i'
> > 
> > On Thu, Aug 22, 2013 at 07:11:39AM +0000, Sharma Bhupesh-B45370 wrote:
> > 
> > > Hi List,
> > >
> > > I am using a 64-bit ubuntu machine running a 12.04 LTS.
> > > I see that the DTC (Device Tree Compiler) version is 1.3.0
> > >
> > > $ dtc -v
> > > Version: DTC 1.3.0
> > >
> > > When I try to  compile the latest u-boot 'master' branch (updated
> > > yesterday), I get the following error with dtc:
> > >
> > > dtc: invalid option -- 'i'
> > >
> > > followed by a Usage suggestion.
> > >
> > > I checked that a newer DTC version 1.4.0 is available from Linaro, but
> > > I can't find an updated version for ubuntu and apt-get returns me a
> > message:
> > >
> > > device-tree-compiler is already the newest version
> > >
> > > Any pointers to what I could be doing wrong here?
> > 
> > What target are you building for as it should have run the 'checkdtc'
> > rule and told you that you need to install DTC 1.4.0.  And yes for Ubuntu
> > you'll need to build your own.
> > 
> 
> Hi Tom,
> 
> I am trying to build the new support code of ARMv8 (using patches from
> David Fengua), using:
> 
> $ make vexpress_aemv8a

Ah, OK, I'll make sure that it invokes the checkdtc rule as well.

> I will try building a DTC 1.4.0 for u-buntu by myself, but if we are
> saying that latest u-boot requires DTC 1.4.0 to work well, aren't we
> breaking u-boot compilation on older systems like ubuntu/fedora which
> have older DTC versions?

We are, quite intentionally.  I should have spelled it out in the -rc1
release notes, but certainly will in the v2013.10 release itself.  We've
wanted to do these changes for a while (as the rules for invoking dtc
got quite complex for handling all the versions) but were able to get a
new release out of upstream before changing things around.  FWIW,
Fedora/related has packages available.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130822/880c34c1/attachment.pgp>


More information about the U-Boot mailing list