Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 23:44:42 +0000 (GMT)
From:      jenkins-admin@freebsd.org
To:        jenkins-admin@FreeBSD.org, freebsd-current@freebsd.org
Subject:   FreeBSD_HEAD-tests - Build #1059 - Fixed
Message-ID:  <387277181.69.1432597482630.JavaMail.jenkins@jenkins-9.freebsd.org>
In-Reply-To: <1834418236.64.1432582745639.JavaMail.jenkins@jenkins-9.freebsd.org>
References:  <1834418236.64.1432582745639.JavaMail.jenkins@jenkins-9.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD_HEAD-tests - Build #1059 - Fixed:

Check console output at https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1059/ to view the results.
From owner-freebsd-current@FreeBSD.ORG  Tue May 26 03:09:26 2015
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E14F726A;
 Tue, 26 May 2015 03:09:25 +0000 (UTC)
 (envelope-from f0andrey@gmail.com)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com
 [IPv6:2a00:1450:400c:c05::22e])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 77A6F8EA;
 Tue, 26 May 2015 03:09:25 +0000 (UTC)
 (envelope-from f0andrey@gmail.com)
Received: by wicmc15 with SMTP id mc15so52421621wic.1;
 Mon, 25 May 2015 20:09:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 bh=ePSpzX3TOmij1A+HkMHXwGQ9eTfLGZXU3wfT3QiWIEc=;
 b=zxfXSsALq9Ip3Bt6n8l2J9eDyhiSysivAO60Xryo6IdEdayoaQbPgeBQYR1Cnm/THC
 Lz2iVYyIem1UrsH1ZNZeBsMQEtigq3A4BOcNYl2480JyE8oaoav7hTcb1jy1vSndNk7T
 sOzUyr9V1OuYJuosAxjiBc5dM72SLxztujUfPal/ZZWvPn+oQMd4TORagBJK3JLxl8Wf
 MLyux1zYNpib2JuI+Dq/0YjNaCxbhpRIBToO6ObAy/WarTQDH2XPfxgGuBBPDoc31qTl
 6V/fmiGFGnkJFQHAR+8Ti5Qq8zJZzSU7P8DQyd51v37LwX8XxAJCEn6XG6+hrTqQltsQ
 qUDw==
MIME-Version: 1.0
X-Received: by 10.194.81.234 with SMTP id d10mr45555430wjy.84.1432609764020;
 Mon, 25 May 2015 20:09:24 -0700 (PDT)
Received: by 10.194.61.169 with HTTP; Mon, 25 May 2015 20:09:23 -0700 (PDT)
In-Reply-To: <27DD7AA7-4B66-4A8C-A529-1D67B081326E@kientzle.com>
References: <CA+K5SrNykSa4n0MykuEQ52nYdh5uXfqsv7=pdAkrW2_1kbDpzQ@mail.gmail.com>
 <8FF14032-CAAA-41AD-A3A7-DBBAA69D2153@bluezbox.com>
 <D1360633-5229-4FDF-8098-D585BE7481D2@gmail.com>
 <B97E9F41-7CCD-4C47-A887-A446EED7456E@bluezbox.com>
 <4F170567-59B8-477B-8524-D15AF58288C2@kientzle.com>
 <142808D5-D628-4FCF-BDF4-BBC96D91E118@bsdimp.com>
 <27DD7AA7-4B66-4A8C-A529-1D67B081326E@kientzle.com>
Date: Tue, 26 May 2015 06:09:23 +0300
Message-ID: <CA+K5SrOFtvwFSsHATnXQNfbPCcOWCvP_CNiXLxddZE_QVnm-_w@mail.gmail.com>
Subject: Re: am335x-bone.dts not exist
From: Andrey Fesenko <f0andrey@gmail.com>
To: Tim Kientzle <tim@kientzle.com>
Cc: Warner Losh <imp@bsdimp.com>, FreeBSD current <freebsd-current@freebsd.org>,
 freebsd-arm <freebsd-arm@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 26 May 2015 03:09:26 -0000

On Tue, May 26, 2015 at 1:19 AM, Tim Kientzle <tim@kientzle.com> wrote:
>
>> On May 25, 2015, at 8:25 AM, Warner Losh <imp@bsdimp.com> wrote:
>>
>>>
>>> On May 24, 2015, at 7:44 PM, Tim Kientzle <tim@kientzle.com> wrote:
>>>
>>>>
>>>> On May 24, 2015, at 12:55 AM, Oleksandr Tymoshenko <gonzo@bluezbox.com=
> wrote:
>>>>
>>>>
>>>>> On May 24, 2015, at 12:12 AM, Garrett Cooper <yaneurabeya@gmail.com> =
wrote:
>>>>>
>>>>> On May 24, 2015, at 0:07, Oleksandr Tymoshenko <gonzo@bluezbox.com> w=
rote:
>>>>>
>>>>>>> On May 23, 2015, at 7:21 PM, Andrey Fesenko <f0andrey@gmail.com> wr=
ote:
>>>>>>>
>>>>>>> # uname -a
>>>>>>> FreeBSD des.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283306: Sat
>>>>>>> May 23 11:56:46 MSK 2015
>>>>>>> root@des.local:/usr/obj/usr/src/sys/GENERIC  amd64
>>>>>>>
>>>>>>> I'm build BEAGLEBONE with crochet.
>>>>>>>
>>>>>>> build error
>>>>>>>
>>>>>>> Mounting UFS partition 1 at /usr/obj/_.mount.freebsd
>>>>>>> Installing U-Boot from : /usr/local/share/u-boot/u-boot-beaglebone
>>>>>>> Error: beaglebone.dts:29.1-2 syntax error
>>>>>>> FATAL ERROR: Unable to parse input tree
>>>>>>>
>>>>>>>
>>>>>>> file /usr/src/sys/boot/fdt/dts/arm/beaglebone.dts contain #include
>>>>>>> "am335x-bone.dts" but this file not existence. Need use am335x-evm.=
dts
>>>>>>> or else?
>>>>>>
>>>>>>
>>>>>> am335x-bone.dts in in sys/gnu/dts/arm/, it's a file provided by vend=
or (TI)
>>>>>>
>>>>>> I guess crochet does not have this path as include path when compili=
ng
>>>>>> dts files.
>>>>>
>>>>> Pardon me for being a bit daft potentially, but shouldn=E2=80=99t #in=
clude work for all dts files (look for #include in this doc: http://events.=
linuxfoundation.org/sites/events/files/slides/petazzoni-device-tree-dummies=
.pdf )?
>>>>> Thanks!
>>>>>
>>>>
>>>>
>>>> #include in dts file is handled by cpp(1). /include/ is handled
>>>> by dtc I believe
>>>>
>>>> You can take a look at how FreeBSD compiles dts files in
>>>> sys/tools/fdt/make_dtb.sh
>>>>
>>>> crochet does not have cpp stage of compilation and before my TI
>>>> code/devicetree refactoring none of the dts files referenced in
>>>> crochet used #include. That's why problem never appeared.
>>>>
>>>> Fix is just a matter of fixing freebsd_install_fdt in lib/freebsd.sh.
>>>> If nobody beats me to it I'll try to fix it and submit pull request to=
 Tim.
>>>
>>> I=E2=80=99m testing a fix for this now.
>>>
>>> Thanks for providing such detailed information.
>>
>> Is there any reason the standard dts to dtb script isn=E2=80=99t being u=
sed instead of enshrining another copy of that outside the tree which may b=
reak if/when we need to enhance the current script?
>
> Until recently, this didn=E2=80=99t seem necessary; it was a lot simpler =
to just invoke dtc.
>
> But times change:  https://github.com/freebsd/crochet/commit/22d7555
>
> Tim
>

It's working :)

% uname -a
FreeBSD bb.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r283544: Tue May
26 01:54:44 MSK 2015
root@des.local:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE-V6  arm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387277181.69.1432597482630.JavaMail.jenkins>