From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Stein Date: Mon, 18 Aug 2014 13:34:48 +0200 Message-ID: <7124302.PM5OnXHlFd@ws-stein> In-Reply-To: <20140818075037.GB16424@pengutronix.de> References: <1407134971-3887-1-git-send-email-alexander.stein@systec-electronic.com> <20140818075037.GB16424@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH] dtc: Do not inhibit linemarker generation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Michael Olbrich On Monday 18 August 2014 09:50:37, Michael Olbrich wrote: > On Mon, Aug 04, 2014 at 08:49:31AM +0200, Alexander Stein wrote: > > Without linemarkers the error messages are somehwat useless. > > To demonstrate I picked a random .dts file file from the arm tree in > > linux sources: > > DTC ptx-testprj_arm/platform/images/vf610-twr.dtb > > Error: /tmp/testprj/platform/state/vf610-twr.dts.tmp:366.1-5 syntax error > > FATAL ERROR: Unable to parse input tree > > > > If linemarkers are inserted the error message clearly states in which file > > which line caused the error: > > > > DTC ptx-testprj_arm/platform/images/vf610-twr.dtb > > Error: /tmp/testprj/platform/build-target/linux/arch/arm/boot/dts/vf610-twr.dts:13.1-5 syntax error > > FATAL ERROR: Unable to parse input tree > > I think that means that the dtc must understand these markers, right? This > will most likely break building device-trees for older kernels. AFAICS this included since dtc-1.4.0. Regards, Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH Am Windrad 2 08468 Heinsdorfergrund Tel.: 03765 38600-1156 Fax: 03765 38600-4100 Email: alexander.stein@systec-electronic.com Website: www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Chemnitz, HRB 28082 -- ptxdist mailing list ptxdist@pengutronix.de