From owner-freebsd-arm@freebsd.org Wed Jan 17 00:33:26 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41AB7EC2DC0 for ; Wed, 17 Jan 2018 00:33:26 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 C6AE674BDB; Wed, 17 Jan 2018 00:33:25 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id x4so19376389wmc.0; Tue, 16 Jan 2018 16:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8DWW/FkDsdalmxtPE5+QB62jeAuyPe+XKz4JwPZNvrc=; b=Fk7W5UxfpFvdziulu9meRYFCHYQ4z4dNo7jAVHZp2BYTboJ47IMRfnmSIPZLtOVTw5 pBX1Z5YR3lvY3Au5YBK0m1lvqUhEbRGduoRXCUapZuFdRV0JSXsCIWOiI08XgYgIiA8T a2TrXVl0mFlRvYFZtqnvNELOpAwu5qAzrHkC2BtuKLkl++YM4xWKcLe8d2xJatmPjPXl ruLWMXVm90954lBSKKDblWltfB/Vjr4SxQTe5taUVectYYhMpfIA8Jh8wmZ4Zfc+9EfJ MI+BsC1Se+i0DMMh+Tonfle/CgfMxdwFw9qZNwzPsttDysxHx1iRcKHX91LtaMynR/om 852A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8DWW/FkDsdalmxtPE5+QB62jeAuyPe+XKz4JwPZNvrc=; b=iMHeXNGjp8g4H56lAOlbx0cjISefWdeVJRNg/a1is2TpIRDFjrUMqJKmRqlBOjOE1K 0uAHNNeecdIWk/EI08YxAqye5PtmFj5vMRcpcd36h5GZhaYGkTF7+sIL7bgNdYq5J09W pW1ZdySMtHJK9MQ0MekkCTgaVOoDwuv+xHkmMJLu0LiDPixOEKcod5iG4he+rbPsQyN4 TdA9fHX2I3Bek8p9Vu3HgfzRJ0phWEkVwkPD1/CkJ4FR4Bm0o6ELFKQA5gw+rRNe/Mtp jEEpQHIjN1MqGbY0lnkAEp90BLTWQYieTlXByfJs/8iqiPGmzSHgbBcVHOm8oVuAACL/ ecRA== X-Gm-Message-State: AKwxytfrv1B5CpialplLJHpOrbcabzwr/N7QvlkIOWik9+5opKOxKdv7 1ExRbREWQibaMAknyUDyofvcwJ/twZJIoxvfaFfLUodd X-Google-Smtp-Source: ACJfBouBFzROtX3Q5Df4mCr9jp9NaVm72xuAg29zXV1MQsaF064Ftzd8ywyet2xOrqcffVX17H5ol3UzxHowrJmvfz8= X-Received: by 10.80.213.82 with SMTP id f18mr269707edj.255.1516149203916; Tue, 16 Jan 2018 16:33:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.222.139 with HTTP; Tue, 16 Jan 2018 16:33:23 -0800 (PST) In-Reply-To: References: <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net> From: =?UTF-8?B?6Zi/6YeR?= Date: Wed, 17 Jan 2018 08:33:23 +0800 Message-ID: Subject: Re: Orange pi one ,receive panic: bad pte2 To: Kyle Evans Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 00:33:26 -0000 Thanks help ,I will try it later. could you please give me the method or link =3D> how to pull new DTS from Linux?? I want to learn how to do it . 2018-01-16 22:21 GMT+08:00 Kyle Evans : > On Tue, Jan 16, 2018 at 7:19 AM, =E9=98=BF=E9=87=91 wrote: > > OKOK below is booting message. > > Thanks! > > > [ .. snip .. ] > > syscon_generic0: mem 0x1c00000-0x1c00033 on simplebus0 > > [.. snip ..] > > awg0: mem > > 0x1c30000-0x1c30103,0x1c00030-0x1c00033 irq 23 on simplebus0 > > awg0: cannot get tx clock > > [.. snip .. ] > > That explains it- I hadn't encountered this in practice, so it broke. > =3D( Your DTS here has a /soc/syscon *and* uses our former hacky method > for passing syscon, so syscon_generic takes the syscon registers and > awg can't. You have I think three choices for recourse here, any of > which should fix your problem: > > 1.) Remove the /soc/syscon from the DTB you're using > 2.) Update your DTB to actually use /soc/syscon, removing the syscon > reg from /soc/ethernet and adding a 'syscon =3D <&syscon>' attribute to > that node. > 3.) Update to r327825 or later and pull new DTS from Linux. If pulling > new from Linux is a pain, I can generate a new DTB for you based on > what we'll be importing from Linux in a couple weeks. > > r327825 added support for the new stable emac bindings, so after DTS > update this won't break again. >