From owner-freebsd-arm@freebsd.org Tue Jan 16 15:24:22 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 18935E75BB0 for ; Tue, 16 Jan 2018 15:24:22 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) (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 D9EFF7E620 for ; Tue, 16 Jan 2018 15:24:21 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-io0-f177.google.com with SMTP id c17so17205132iod.1 for ; Tue, 16 Jan 2018 07:24:21 -0800 (PST) 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:content-transfer-encoding; bh=tBuWkg7m+bmOla8c1+Ha79M9qpAQHNigt0XsPq+t4XY=; b=VDmpqkub1SXVfc4G2dcMhSGdOzLUQyyiwzJlSks6y4J1jp6v4GigY2mYn+kkUdELed a4SaeC3nOxGZnATxzwj9pilBU5x/OZ2eYEXW5DXM7+INL/wHX8rkEcD4hpvKnudS4GM+ 0yAMIsmKioc+0J2Jp8wCW2J597TQLtf9ylKWPbDcDDwGiLQr8A6HNR4v7C8U2mfZfwVw 2vABNBdmXaVs6QXKV7GidUp/ZTAN9qszn3o+HfF/iIWih7cSvHirTQuM4jE6BII73U+V quYwmzdSDkM2YxO/SHZGeq1GoR4vIKwQF2t6tOy2omzb5lT7xX/qlG144AkK6mS+8OX0 oYPA== X-Gm-Message-State: AKwxytd2KtUJxLFiXtpwAI3dKF/2xb/Uw9jLR5Pso5sSIwQkhQ8g1oKL jZElgrME6LEFa+QT3e8KTphAYHnf X-Google-Smtp-Source: ACJfBouzTy7ZTz8G7emRxl/m3yjvB7BxZsfB6LliTo7N8uH1x2wSHLJunKlNb61hyl0G2gbZYl3Sow== X-Received: by 10.107.8.214 with SMTP id h83mr17918581ioi.214.1516112529510; Tue, 16 Jan 2018 06:22:09 -0800 (PST) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com. [209.85.223.180]) by smtp.gmail.com with ESMTPSA id k73sm1128886ioe.24.2018.01.16.06.22.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 06:22:09 -0800 (PST) Received: by mail-io0-f180.google.com with SMTP id n7so494814iob.0 for ; Tue, 16 Jan 2018 06:22:09 -0800 (PST) X-Received: by 10.107.151.131 with SMTP id z125mr33882410iod.224.1516112528789; Tue, 16 Jan 2018 06:22:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.149.147 with HTTP; Tue, 16 Jan 2018 06:21:47 -0800 (PST) In-Reply-To: References: <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net> From: Kyle Evans Date: Tue, 16 Jan 2018 08:21:47 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Orange pi one ,receive panic: bad pte2 To: =?UTF-8?B?6Zi/6YeR?= Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Tue, 16 Jan 2018 15:24:22 -0000 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.