From owner-freebsd-arm@freebsd.org Sun Dec 15 20:22:05 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED83C1CD8B9 for ; Sun, 15 Dec 2019 20:22:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bbRK64l7z3PvS for ; Sun, 15 Dec 2019 20:22:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CC2541A66D for ; Sun, 15 Dec 2019 20:22:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBFKM5vM058263 for ; Sun, 15 Dec 2019 20:22:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBFKM5wp058221 for freebsd-arm@FreeBSD.org; Sun, 15 Dec 2019 20:22:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 242654] Bgx driver fails to match PHY on ThunderX after r336281 Date: Sun, 15 Dec 2019 20:22:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marcel@brickporch.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 20:22:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242654 Bug ID: 242654 Summary: Bgx driver fails to match PHY on ThunderX after r336281 Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: marcel@brickporch.com Following base r336281 the onboard NIC on ThunderX boards fails to load properly with the BGX driver (specifically on MT30-GS2, but it likely appli= es to others). In particular, during boot it warns: bgx0: Could not find matching PHY and vnic setup via iovctl fails. Manually removing the check in base r336281 fixes this warning and allows t= he vnic setup to complete successfully. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sun Dec 15 21:00:38 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22E8B1CE3E6 for ; Sun, 15 Dec 2019 21:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bcHp0CPPz3RKW for ; Sun, 15 Dec 2019 21:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0270F1AC8B for ; Sun, 15 Dec 2019 21:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBFL0bB7046073 for ; Sun, 15 Dec 2019 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBFL0bOU046071 for freebsd-arm@FreeBSD.org; Sun, 15 Dec 2019 21:00:37 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201912152100.xBFL0bOU046071@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 15 Dec 2019 21:00:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2019 21:00:38 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 239673 | Spurious Interrupt message from /dev/led/led1 2 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Tue Dec 17 01:50:49 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1E471D6A10 for ; Tue, 17 Dec 2019 01:50:49 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cLh86fR4z4dMR for ; Tue, 17 Dec 2019 01:50:48 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id f82so9221365ioa.9 for ; Mon, 16 Dec 2019 17:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zJr5gy1rn1RkWtucvIsjFzQp+F2DjJ5/62pNxKlHw3o=; b=JhL6AMtOqo+KgreIWjj9xvY25CuoemtCU5AnjuZR+G+jwv48ahz2GAZjmGro4avrm+ eJpDQ28bEqQw0JKW7/8BM0CM8Qn1o7cy0k5bZj74DrFS7HqDgMWKI58lrklbFTDRmCbd 7QnIfQUyVV+PbG85wUWYzXbDBQkm/pz1GLLasr2KS2PjeEc8GXvPQOvwUCe7sr8xbeZh 2YjZd33G2ONV912o5BgVELRzMsHJWTH/XSUq0nfMb2lp7BNDoFyAClQ1YDq2OVLPtV+A hNQXdjt4cjaZLynhNsRexnv8TZUcr4iBtcJRpDCQRnSocgZLBx1H+RIhaGpT6ANj6ril FrHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zJr5gy1rn1RkWtucvIsjFzQp+F2DjJ5/62pNxKlHw3o=; b=V0ox4N6Go5oXobU2o34TUr7NECbmeUVqxH5ZsXrEr/lD07N28OjkuKpszaXSU6jtLZ 9/drLrNGDEk2Iwk+h3a99HMNig7pr2sVr6aVlrOzlbDXaSXfAwo/fvv0d5faUmPXB1Ep 6h94LB2v+UK40OSxkogrlRene0CuCCdrjdLKWeTuwRYdV0IjqIu/qinUjlhgdgFhsGIC DJdyi6UQfn6koQORLGktoVG5ZdKrf8LF5Xu743TEGOcSp3yskM+ba5vNcEs0PMNPoVBQ reHX2OeZNgmq6fzt1pZyebxVeDWXur5DSI5y2tcXQT59aSytkH4TfmLilvzpOWTrSZcN GAlA== X-Gm-Message-State: APjAAAWs9AFfB3a2u4J0uWzLOgn8o8kbxoaaDsNFjgsaYZJZd/PkBFgC 7Aa870kPbJTBCde+ai6qv78O4KXLA6qkPRpbFb4OUIkKhzA= X-Google-Smtp-Source: APXvYqwtMPaV8qbG17Sx8tholB2V+ChbeLjiDOT2Q4klwH5jnOtK/0/oXLMSL6qEX4oXYkLdxATa7P3VHs4eW3SBdsY= X-Received: by 2002:a6b:8f11:: with SMTP id r17mr1934936iod.50.1576547447435; Mon, 16 Dec 2019 17:50:47 -0800 (PST) MIME-Version: 1.0 From: ykla Date: Tue, 17 Dec 2019 09:50:36 +0800 Message-ID: Subject: How to boot freebsd on rpi4b? To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47cLh86fR4z4dMR X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JhL6AMtO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-6.29), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 01:50:50 -0000 Hi, I download latest version 12.12 current 13 img and write in TF card. Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it in BOOT partition. And look at my screen shows me that stop boot on lo0 state. I know it can't support USB/PCI/ethernet and I just want to install it. Thanks. From owner-freebsd-arm@freebsd.org Tue Dec 17 02:04:13 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F2C01D743D for ; Tue, 17 Dec 2019 02:04:13 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cLzd3KzVz4fH3 for ; Tue, 17 Dec 2019 02:04:13 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 5CE773D6A for ; Tue, 17 Dec 2019 02:04:13 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f171.google.com with SMTP id a203so6020395qkc.3 for ; Mon, 16 Dec 2019 18:04:13 -0800 (PST) X-Gm-Message-State: APjAAAWZiQSydlyl9qML/7dz+iglBmKvZg0JuT7CYAatt1DOsgwe3Crs +jfsa2fksGal/gKyIW9DNHFYESCndV+NHD0295U= X-Google-Smtp-Source: APXvYqzn1h/uQkEBuK7K0Aj815X9+Ow6Epm3wdSuVXzLyZ+3ghLbqHFf0j4wMbT1b7l+MkH/DlR8l7qQYe09+80GNz4= X-Received: by 2002:ae9:e513:: with SMTP id w19mr2780517qkf.34.1576548252742; Mon, 16 Dec 2019 18:04:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Mon, 16 Dec 2019 20:04:01 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: ykla Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 02:04:13 -0000 On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: > > Hi, I download latest version 12.12 current 13 img and write in TF card. > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > in BOOT partition. And look at my screen shows me that stop boot on lo0 > state. I know it can't support USB/PCI/ethernet and I just want to install > it. Thanks. That's a most curious failure mode... if you got to the point where we're bringing up lo0, it should have either been fine or blown up terribly in an obvious way -- I'll reimage tomorrow-ish based on the latest snapshot and see if I can reproduce. In the meantime, can you post a transcript of the boot? Thanks, Kyle Evans From owner-freebsd-arm@freebsd.org Tue Dec 17 02:33:21 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 042711D86DC for ; Tue, 17 Dec 2019 02:33:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cMdD6MRDz3C8m for ; Tue, 17 Dec 2019 02:33:20 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id C7AF640D7 for ; Tue, 17 Dec 2019 02:33:20 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f181.google.com with SMTP id w127so7055255qkb.11 for ; Mon, 16 Dec 2019 18:33:20 -0800 (PST) X-Gm-Message-State: APjAAAXVIXALuAEZ4tjlTUkE4I+kfoM93/ZF0aQ1BPvJEMvqIDXCgDPv A+sbyov2Ic+nWydz+GbQnMwhKdpdMJDHM8M5pf8= X-Google-Smtp-Source: APXvYqzp+6ex0GxpOyZBmaTZv+A5RcKUGp3/50CPI9dMt5Cw+/FFPyfUnNBhdpXMvWMrnAOMMXmqNiJdi5drMLiDvZk= X-Received: by 2002:ae9:e10e:: with SMTP id g14mr2848891qkm.430.1576550000218; Mon, 16 Dec 2019 18:33:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Mon, 16 Dec 2019 20:33:08 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: ykla 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.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 02:33:21 -0000 On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5=E5= =91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93=EF=BC=9A >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: >>> > >>> > Hi, I download latest version 12.12 current 13 img and write in TF ca= rd. >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and co= py it >>> > in BOOT partition. And look at my screen shows me that stop boot on l= o0 >>> > state. I know it can't support USB/PCI/ethernet and I just want to in= stall >>> > it. Thanks. >>> >>> That's a most curious failure mode... if you got to the point where >>> we're bringing up lo0, it should have either been fine or blown up >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on the >>> latest snapshot and see if I can reproduce. >>> >>> In the meantime, can you post a transcript of the boot? >>> >>> Thanks, >>> >>> Kyle Evans >> >> New error: stopped at >> Warning: no time-of-day clock registered. system time will not be set ac= curately. > > I just reboot and bugs show: > lo0 :link state change to UP. > Can you scroll up to just above that sdhci output and take another picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) Thanks, Kyle Evans From owner-freebsd-arm@freebsd.org Tue Dec 17 03:13:23 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 113601D981B for ; Tue, 17 Dec 2019 03:13:23 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cNWR0LPTz3FP8; Tue, 17 Dec 2019 03:13:22 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd29.google.com with SMTP id v3so9411393ioj.5; Mon, 16 Dec 2019 19:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6gA+UC+tHqg1lcVjGE6Th0G6y7zR+e3zCYdVqg6hXgo=; b=quCRA+1P+3jRlxVEBsClgNgqdK6wEXLFCBE4CngRsNO6zZtDeSYvRrRWQ3ZN0qg0qn Md/PzkrppLJxqajXw2jDa5ypfVIjP5UA9VQV5zGH7dtiMigLQ3s+MecKvL+RzeELYioZ b+PQfDu704IAMMqmLRfb1hJF/99ldhCAwMYv58rSMM2aD7rdQiqST+3CBb6g7axrEC2R GEqbPOww5dr1smqQ3zz9KiXVq9GyUszpHq1RceS7fqQMkWKpoOiAumNZghdBFNcjYu7z EvNyp86qCtGhxA5X3mMh4YjuqYRtNE4PEOi31syWzVjeFBQMRvn6nC5A+mhlh44CV/vh yqEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6gA+UC+tHqg1lcVjGE6Th0G6y7zR+e3zCYdVqg6hXgo=; b=qSzXrEC4iWGYnKraq6bHXbGHDDFskX0lb+hMNZGA8r8Xy9v6Hfc8IVVw/GDmcJkyfX mQ+ajS2bubf+NFLP9mPqfTkuxInsu+Y5i9DSkdhGkW7So3HRz7A4qRC/hZNwK0FWnbLb wUQTiSRkzyDFzoqadrY/5MekfqUKj0gEuEGNYc4s9oMlmq08JxxoN+3WAObWi+ZQALMT UCnhQ3f1W1EGQiOmroUJARRH1B4R/nfRTtADygrxZ9diNTDFpNXnSeaAj37Jp9/+OWyI tmRCwcN5STm5PzeHJ/vF7BKfl2IjNc2HraCuX25Bg0f+dlmPEOfOQqS6xjkXbeEUtuiw DfoQ== X-Gm-Message-State: APjAAAUEDdsENxgZYlbwpGFXb2L29SUyFbNGuP6BBTxCP2dS1GEo5FBg tZnh741RUghAeZahayt48cQdbSxkiX6MYNkqaNz+rcyxviKvWw== X-Google-Smtp-Source: APXvYqzFzx32Nbz0y857eekKjBWEdvKi3guJyJi6okRaGBKAjGms6gw6QIlPO4jc6yW/OUg94LyJlrsUqKqrHiYLZX8= X-Received: by 2002:a5e:940e:: with SMTP id q14mr1911320ioj.247.1576552401260; Mon, 16 Dec 2019 19:13:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Tue, 17 Dec 2019 11:13:09 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Kyle Evans Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47cNWR0LPTz3FP8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 03:13:23 -0000 I reboot for 10 times and now show me root login, but usually stops on lo0. Here's log: Connecting to COM10... Connected. MMC: emmc2@7e340000: 0, mmc@7e300000: 1 Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found EFI removable media binary efi/boot/bootaa64.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk emmc2@7e340000.blk... Scanning disk mmc@7e300000.blk... Disk mmc@7e300000.blk not ready Found 3 disks BootOrder not defined EFI boot manager: Cannot load any image 677944 bytes read in 77 ms (8.4 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p1: FreeBSD/arm64 EFI loader, Revision 1.1 (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) Command line arguments: loader.efi Image base: 0x39ea3000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8217.4096) Console: efi (0x1000) Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc52a= f,0x81f,0x18fa8) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc52a= f,0x81f,0x18fa8) Setting currdev to disk0p1: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc52a= f,0x197c7,0xeb68839) Setting currdev to disk0p2: Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local Loading kernel... /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b9e0 syms=3D[0x8+0x1441e0+0x8+0x12ebce] Loading configured modules... /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 syms=3D[0x8+0xf48+0x8+0xb6e] /boot/entropy size=3D0x1000 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x7ef2000. EFI framebuffer information: addr, size 0x3eab2000, 0x148000 dimensions 656 x 512 stride 656 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 656x512 module firmware already present! KLD file umodem.ko is missing dependencies Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface MAP 39f53000 mode 2 pages 1 MAP 39f57000 mode 2 pages 1 MAP 3b360000 mode 2 pages 16 MAP fe100000 mode 0 pages 1 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. kbd0 at kbdmux0 WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0. ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 simplebus1: on ofwbus0 simplebus2: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 psci0: on ofwbus0 gic0: mem 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x4004600= 0-0x40047fff irq 46 on simplebus0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 gpio0: mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0 gpiobus0: on gpio0 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 generic_timer0: irq 4,5,6,7 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 usb_nop_xceiv0: on ofwbus0 gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 bcm_dma0: mem 0x7e007000-0x7e007aff irq 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 Checking root against brcm,bcm2837 Checking root against brcm,bcm2711 bcmwd0: mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0 mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e2011ff irq 24 on simplebus0 uart0: console (115200,n,8,1) sdhci_bcm0: mem 0x7e340000-0x7e3400ff irq 60 on simplebus0 mmc0: on sdhci_bcm0 sdhci_bcm1: mem 0x7e300000-0x7e3000ff irq 61 on simplebus0 mmc1: on sdhci_bcm1 fb0: on simplebus0 fb0: keeping existing fb bpp of 32 fbd0 on fb0 WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0= . VT: Replacing driver "efifb" with new "fb". fb0: 656x512(656x512@0,0) 32bpp fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 gpioled0: on ofwbus0 gpioled0: failed to map pin gpioregulator0: on ofwbus0 gpioregulator0: cannot get pin 0 gpioregulator0: cannot parse parameters device_attach: gpioregulator0 attach returned 6 cryptosoft0: Timecounters tick every 1.000 msec usb_needs_explore_all: no devclass mmcsd0: 126GB at mmc0 50.0MHz/4bit/65535-block sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no active command. sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D mmc1: No compatible cards found on bus Release APs...done CPU 0: ARM Cortex-A72 r0p3 affinity: 0 Instruction Set Attributes 0 =3D Trying to mount root from ufs:/dev/ufs/rootfs [rw]... Instruction Set Attributes 1 =3D <> Processor Features 0 =3D Processor Features 1 =3D <> Memory Model Features 0 =3D Memory Model Features 1 =3D <8bit VMID> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8> Debug Features 1 =3D <> Auxiliary Features 0 =3D <> Auxiliary Features 1 =3D <> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 CPU 2: ARM Cortex-A72 r0p3 affinity: 2 CPU 3: ARM Cortex-A72 r0p3 affinity: 3 WARNING: WITNESS option enabled, expect reduced performance. WARNING: was not properly dismounted Warning: no time-of-day clock registered, system time will not be set accurately Setting hostuuid: 30303031-3030-3030-3165-653364373161. Setting hostid: 0x3c744718. No suitable dump device was found. Starting file system checks: /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) (CORRECTED) /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOULD BE 2= 4 (ADJUSTED) /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 (CLEARED) /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 (CLEARED) /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 (CLEARED) /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 (CLEARED) /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, 3647242 blocks, 0.0% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Setting hostname: generic. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,AT= TACH,CACHED Feeding entropy: . lo0: link state changed to UP Starting Network: lo0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 Starting devd. add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Creating and/or trimming log files. Starting syslogd. Clearing /tmp (X related). Updating motd:. Mounting late filesystems:. Updating /var/run/os-release done. Configuring vt: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. Thu Dec 12 09:13:14 UTC 2019 FreeBSD/arm64 (generic) (ttyu0) login: Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC=9A > On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: > > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A > >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93=EF=BC= =9A > >>> > >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: > >>> > > >>> > Hi, I download latest version 12.12 current 13 img and write in TF > card. > >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and > copy it > >>> > in BOOT partition. And look at my screen shows me that stop boot on > lo0 > >>> > state. I know it can't support USB/PCI/ethernet and I just want to > install > >>> > it. Thanks. > >>> > >>> That's a most curious failure mode... if you got to the point where > >>> we're bringing up lo0, it should have either been fine or blown up > >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on the > >>> latest snapshot and see if I can reproduce. > >>> > >>> In the meantime, can you post a transcript of the boot? > >>> > >>> Thanks, > >>> > >>> Kyle Evans > >> > >> New error: stopped at > >> Warning: no time-of-day clock registered. system time will not be set > accurately. > > > > I just reboot and bugs show: > > lo0 :link state change to UP. > > > > Can you scroll up to just above that sdhci output and take another > picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) > > Thanks, > > Kyle Evans > From owner-freebsd-arm@freebsd.org Tue Dec 17 03:47:29 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C75BF1DA5FB for ; Tue, 17 Dec 2019 03:47:29 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cPGm69Vxz3H7B; Tue, 17 Dec 2019 03:47:28 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id x1so325581iop.7; Mon, 16 Dec 2019 19:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=73r02oC2rIB7/+Uj4TvQ1xopkrm5/qxZtGJ4ebTWLJg=; b=R3IPW4c4eE6Ar9R9jxBmeP7862zpyV7XgB7nY9MTbbLqxCCju84uwyKVHFULibEWdL jmvnFzGiw68lXf1MWwjvNuKnvNr2f9FxIN4TrLZPSRMLK79J1orY5G6Hkr1CYd2eJMCu NFv3Gh0jgOrwsV1T1qoUhVorP7IfJW1R8ezGA3ih3+qn/+6wtGCzif6uXWN+oQEdnyzr N7wHJaiccQ0P8hbD8FOuTnDALv7iajX1TieQVf61cQj8oOWFfXWC5cuozERoUb/s3dXW +HP7jtSth1mlQBJyhOyu4Z9iFiC0ECvzu8pxg7KAkkgYTCu32jJFrYtywz30GYcZOJG0 PV/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=73r02oC2rIB7/+Uj4TvQ1xopkrm5/qxZtGJ4ebTWLJg=; b=nSp3Pw6ZevwhuTRjCpeONir73gWZj6AL9zP6aGNVORRIjNPppqw+NLX7gaK17I/E7y aUi4v7Lx/fxugsM1tZW6GqgmkzYVMrURGltgZp/kpgFOdO+EvScV72eFAWsB84M/U7j4 p/a8abjBs61KaEnCrHKG1C50s5P/MJlKxpTS2a9Yj1f0Jt6xcBCn2BMv23g1CItqj9jz G0AWK0Gr3/A/5rkHHHImo4VaGiAfhgphRKzytlHky2F7T8kzl0FOsdoFSih4lxbIa02a 9usrNVSDqQbHYzBqHCC+BMyxepztqLhStjESirMHgRakSmYSkEle/c3DI1bcLO0nE3xc 79xw== X-Gm-Message-State: APjAAAVE2XGpW5cX02RkUJue+kM7ErUCl5SRamqD3NPYc0Zg8R6+rQmH j8IPvWEsFkvqcPmENLZ7OiBs/GNpk+22bn5MbA0JeHXSQUaweg== X-Google-Smtp-Source: APXvYqzpfBHoBRMpW7p220yCJhM5LJIs7p2HUKI2+lQC2F5tV64WiPzMpcfZ5j9pJdTuifqNcP2FDKIS3nCJOg9IpTQ= X-Received: by 2002:a02:cc7a:: with SMTP id j26mr15473243jaq.79.1576554446856; Mon, 16 Dec 2019 19:47:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Tue, 17 Dec 2019 11:47:14 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Kyle Evans Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47cPGm69Vxz3H7B X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=R3IPW4c4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-6.01), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 03:47:29 -0000 PL2303 TTL to USB can only output and I can't input anything. Any input are garbled. [image: 1217114605.png] ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97=A5=E5=91= =A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A > I reboot for 10 times and now show me root login, but usually stops on lo= 0. > Here's log: > > Connecting to COM10... > Connected. > > MMC: emmc2@7e340000: 0, mmc@7e300000: 1 > Loading Environment from FAT... In: serial > Out: vidconsole > Err: vidconsole > Net: Net Initialization Skipped > No ethernet found. > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > Found EFI removable media binary efi/boot/bootaa64.efi > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Scanning disk emmc2@7e340000.blk... > Scanning disk mmc@7e300000.blk... > Disk mmc@7e300000.blk not ready > Found 3 disks > BootOrder not defined > EFI boot manager: Cannot load any image > 677944 bytes read in 77 ms (8.4 MiB/s) > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Consoles: EFI console > Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk0p1: > FreeBSD/arm64 EFI loader, Revision 1.1 > (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) > > Command line arguments: loader.efi > Image base: 0x39ea3000 > EFI version: 2.80 > EFI Firmware: Das U-Boot (rev 8217.4096) > Console: efi (0x1000) > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > Setting currdev to disk0p1: > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc5= 2af,0x197c7,0xeb68839) > Setting currdev to disk0p2: > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.local > Loading kernel... > /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b9e0 > syms=3D[0x8+0x1441e0+0x8+0x12ebce] > Loading configured modules... > /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 > syms=3D[0x8+0xf48+0x8+0xb6e] > /boot/entropy size=3D0x1000 > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x7ef2000. > EFI framebuffer information: > addr, size 0x3eab2000, 0x148000 > dimensions 656 x 512 > stride 656 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > ---<>--- > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2019 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENER= IC > arm64 > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLV= M > 9.0.0) > WARNING: WITNESS option enabled, expect reduced performance. > VT(efifb): resolution 656x512 > module firmware already present! > KLD file umodem.ko is missing dependencies > Starting CPU 1 (1) > Starting CPU 2 (2) > Starting CPU 3 (3) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > random: unblocking device. > random: entropy device external interface > MAP 39f53000 mode 2 pages 1 > MAP 39f57000 mode 2 pages 1 > MAP 3b360000 mode 2 pages 16 > MAP fe100000 mode 0 pages 1 > WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD > 13.0. > kbd0 at kbdmux0 > WARNING: Device "openfirm" is Giant locked and may be deleted before > FreeBSD 13.0. > ofwbus0: > simplebus0: on ofwbus0 > ofw_clkbus0: on ofwbus0 > clk_fixed0: on ofw_clkbus0 > clk_fixed1: on ofw_clkbus0 > simplebus1: on ofwbus0 > simplebus2: on ofwbus0 > regfix0: on ofwbus0 > regfix1: on ofwbus0 > psci0: on ofwbus0 > gic0: mem > 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046= 000-0x40047fff > irq 46 on simplebus0 > gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 > gpio0: mem 0x7e200000-0x7e2000b3 irq 22,23 > on simplebus0 > gpiobus0: on gpio0 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > generic_timer0: irq 4,5,6,7 on ofwbus0 > Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 > Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > usb_nop_xceiv0: on ofwbus0 > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > bcm_dma0: mem 0x7e007000-0x7e007aff irq > 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 > Checking root against brcm,bcm2837 > Checking root against brcm,bcm2711 > bcmwd0: mem > 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on > simplebus0 > mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on > simplebus0 > gpioc0: on gpio0 > uart0: mem 0x7e201000-0x7e2011ff irq 24 on > simplebus0 > uart0: console (115200,n,8,1) > sdhci_bcm0: mem 0x7e340000-0x7e3400ff ir= q > 60 on simplebus0 > mmc0: on sdhci_bcm0 > sdhci_bcm1: mem 0x7e300000-0x7e3000ff ir= q > 61 on simplebus0 > mmc1: on sdhci_bcm1 > fb0: on simplebus0 > fb0: keeping existing fb bpp of 32 > fbd0 on fb0 > WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD > 13.0. > VT: Replacing driver "efifb" with new "fb". > fb0: 656x512(656x512@0,0) 32bpp > fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > cpu2: on cpulist0 > cpu3: on cpulist0 > gpioled0: on ofwbus0 > gpioled0: failed to map pin > gpioregulator0: on ofwbus0 > gpioregulator0: cannot get pin 0 > gpioregulator0: cannot parse parameters > device_attach: gpioregulator0 attach returned 6 > cryptosoft0: > Timecounters tick every 1.000 msec > usb_needs_explore_all: no devclass > mmcsd0: 126GB at mmc0 > 50.0MHz/4bit/65535-block > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no activ= e > command. > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUM= P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > mmc1: No compatible cards found on bus > Release APs...done > CPU 0: ARM Cortex-A72 r0p3 affinity: 0 > Instruction Set Attributes 0 =3D > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > Instruction Set Attributes 1 =3D <> > Processor Features 0 =3D > Processor Features 1 =3D <> > Memory Model Features 0 =3D ASID,16TB PA> > Memory Model Features 1 =3D <8bit VMID> > Memory Model Features 2 =3D <32bit CCIDX,48bit VA> > Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 > Breakpoints,PMUv3,Debugv8> > Debug Features 1 =3D <> > Auxiliary Features 0 =3D <> > Auxiliary Features 1 =3D <> > CPU 1: ARM Cortex-A72 r0p3 affinity: 1 > CPU 2: ARM Cortex-A72 r0p3 affinity: 2 > CPU 3: ARM Cortex-A72 r0p3 affinity: 3 > WARNING: WITNESS option enabled, expect reduced performance. > WARNING: was not properly dismounted > Warning: no time-of-day clock registered, system time will not be set > accurately > Setting hostuuid: 30303031-3030-3030-3165-653364373161. > Setting hostid: 0x3c744718. > No suitable dump device was found. > Starting file system checks: > /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) (CORRECTE= D) > /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 > /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOULD BE= 24 > (ADJUSTED) > /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 > /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > (CLEARED) > /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 > /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > (CLEARED) > /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 > /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > (CLEARED) > /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 > /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 > (CLEARED) > /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) > /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) > /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, > 3647242 blocks, 0.0% fragmentation) > Mounting local filesystems:. > ELF ldconfig path: /lib /usr/lib /usr/lib/compat > Setting hostname: generic. > Setting up harvesting: > [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,= ATTACH,CACHED > Feeding entropy: . > lo0: link state changed to UP > Starting Network: lo0. > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D680003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=3D21 > Starting devd. > add host 127.0.0.1: gateway lo0 fib 0: route already in table > add host ::1: gateway lo0 fib 0: route already in table > add net fe80::: gateway ::1 > add net ff02::: gateway ::1 > add net ::ffff:0.0.0.0: gateway ::1 > add net ::0.0.0.0: gateway ::1 > Creating and/or trimming log files. > Starting syslogd. > Clearing /tmp (X related). > Updating motd:. > Mounting late filesystems:. > Updating /var/run/os-release done. > Configuring vt: blanktime. > Performing sanity check on sshd configuration. > Starting sshd. > Starting cron. > Starting background file system checks in 60 seconds. > > Thu Dec 12 09:13:14 UTC 2019 > > FreeBSD/arm64 (generic) (ttyu0) > > login: > > Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC=9A > >> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93=EF=BC= =9A >> >>> >> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: >> >>> > >> >>> > Hi, I download latest version 12.12 current 13 img and write in TF >> card. >> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and >> copy it >> >>> > in BOOT partition. And look at my screen shows me that stop boot o= n >> lo0 >> >>> > state. I know it can't support USB/PCI/ethernet and I just want to >> install >> >>> > it. Thanks. >> >>> >> >>> That's a most curious failure mode... if you got to the point where >> >>> we're bringing up lo0, it should have either been fine or blown up >> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on the >> >>> latest snapshot and see if I can reproduce. >> >>> >> >>> In the meantime, can you post a transcript of the boot? >> >>> >> >>> Thanks, >> >>> >> >>> Kyle Evans >> >> >> >> New error: stopped at >> >> Warning: no time-of-day clock registered. system time will not be set >> accurately. >> > >> > I just reboot and bugs show: >> > lo0 :link state change to UP. >> > >> >> Can you scroll up to just above that sdhci output and take another >> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >> >> Thanks, >> >> Kyle Evans >> > From owner-freebsd-arm@freebsd.org Tue Dec 17 11:38:33 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 464851E47B9 for ; Tue, 17 Dec 2019 11:38:33 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from mail.rlwinm.de (mail.rlwinm.de [138.201.35.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47cbkJ1dKyz4F7j for ; Tue, 17 Dec 2019 11:38:31 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from crest.bultmann.eu (unknown [IPv6:2a00:c380:c0d5:1:ac02:9624:a6a6:e121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rlwinm.de (Postfix) with ESMTPSA id 93FEC18B1A for ; Tue, 17 Dec 2019 11:38:16 +0000 (UTC) Subject: Re: How to boot freebsd on rpi4b? To: freebsd-arm@freebsd.org References: From: Jan Bramkamp Message-ID: <513ae155-b9ce-1fde-5063-c2bc1089e89a@rlwinm.de> Date: Tue, 17 Dec 2019 12:38:07 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 47cbkJ1dKyz4F7j X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of crest@rlwinm.de designates 138.201.35.217 as permitted sender) smtp.mailfrom=crest@rlwinm.de X-Spamd-Result: default: False [-3.17 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[rlwinm.de]; IP_SCORE(-1.87)[ip: (-8.73), ipnet: 138.201.0.0/16(0.92), asn: 24940(-1.54), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:138.201.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 11:38:33 -0000 On 17.12.19 04:47, ykla wrote: > PL2303 TTL to USB can only output and I can't input anything. Any input are > garbled. Some USB <-> serial converters have automatic baud rate matching (at least in one direction). Which tool did you use with which arguments to call out to the USB serial port? From owner-freebsd-arm@freebsd.org Tue Dec 17 13:41:11 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 270941E8CC0 for ; Tue, 17 Dec 2019 13:41:11 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cfRp2P8Vz4MCK; Tue, 17 Dec 2019 13:41:10 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd32.google.com with SMTP id s2so11000603iog.10; Tue, 17 Dec 2019 05:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nmQ5PFXRYB6dIETSLI67vLD2KGiVI82n/4D2ZwBGUIk=; b=EQ2tFG5LJCR/gEQR6o77msW+D0eyvTpcWHEHiamQapgM1kvsHTAC/n237e2TY1wRWR vK1R+e62ID3Rcqw7CR3wp2FQo6cCMSeWBxqUneR5D/7cBXwVgUZwW23LBO3Nk1W0j22y hYE2LIC4/0pgkxCNEhsHHe+zlLwaS0CdlQkws45G5QE1Rmi/skIYdB8ZbC9YieM9sc+i N3i9uyB9Ieku/PBcJ2XkbiL4RmxDqzEIiTs2kwnmpdEvFDsOR6t4GaPDZqIKbhC00Hwo AYZKlzoSNbSXK4HHFWmr7/CyrL2hKYCGo96+Sr9mvEK7X86RmqfI3TjwNZkLRdwBlLBo JzHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nmQ5PFXRYB6dIETSLI67vLD2KGiVI82n/4D2ZwBGUIk=; b=jSO/pKMVQXHInOWzQroW6PKRAwDHiYCvLMhkVH8h6Rs9VzY3fa9QRlT06dVK70NYJw 6ktYszoD+bOpanjmQAyRuh3MjA9aCGIRv6fw+CVv8rw10TG83tX76549j+/hTTCiQVPE mkiyu2Y2GYUSkw5yIVBugPjz6BgaB6vivKd/b+ZFuAvvYe9aw4ZSeToFzFZ438d573PO 0+1k0guc+j5iTZjTWAO1q94soEPsokvqc0hNGOVDag+m5QqMupO5snX7L93bZsCsRN4C rPR9zUSq39oJPF4tVc2A0SgUyFnQAo8Tzx/gBDc3Y2MHnLVJ5cW2aL3meFbYKqmrHTH+ N2Ug== X-Gm-Message-State: APjAAAUCYgU9fymQdUoRsrHfTqgNHdccm03kJKYyr70woGm/+K1gTTwh F4+lBTN/ldvk9E+Op0pyZ6X3MmVQUjqzWj89iq6WJFN7mWA= X-Google-Smtp-Source: APXvYqxyybpT6awzB44XVO4s0+NSGcQdbVKaiMsT7i716yNbjrRsK/uciojOwqDSP2ZEI4dgLb1IfeEvkLs7ARYSscA= X-Received: by 2002:a6b:8ecd:: with SMTP id q196mr3667462iod.136.1576590068234; Tue, 17 Dec 2019 05:41:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Tue, 17 Dec 2019 21:40:54 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Kyle Evans Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47cfRp2P8Vz4MCK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EQ2tFG5L; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d32 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-5.33), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 13:41:11 -0000 I try two tools putty and xshell. Com10 115200. ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5=E5= =91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A > PL2303 TTL to USB can only output and I can't input anything. Any input > are garbled. > > [image: 1217114605.png] > > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97=A5=E5= =91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A > >> I reboot for 10 times and now show me root login, but usually stops on >> lo0. >> Here's log: >> >> Connecting to COM10... >> Connected. >> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 >> Loading Environment from FAT... In: serial >> Out: vidconsole >> Err: vidconsole >> Net: Net Initialization Skipped >> No ethernet found. >> Hit any key to stop autoboot: 0 >> switch to partitions #0, OK >> mmc0 is current device >> Scanning mmc 0:1... >> Found EFI removable media binary efi/boot/bootaa64.efi >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> Scanning disk emmc2@7e340000.blk... >> Scanning disk mmc@7e300000.blk... >> Disk mmc@7e300000.blk not ready >> Found 3 disks >> BootOrder not defined >> EFI boot manager: Cannot load any image >> 677944 bytes read in 77 ms (8.4 MiB/s) >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> Consoles: EFI console >> Reading loader env vars from /efi/freebsd/loader.env >> Setting currdev to disk0p1: >> FreeBSD/arm64 EFI loader, Revision 1.1 >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) >> >> Command line arguments: loader.efi >> Image base: 0x39ea3000 >> EFI version: 2.80 >> EFI Firmware: Das U-Boot (rev 8217.4096) >> Console: efi (0x1000) >> Load Path: /efi\boot\bootaa64.efi >> Load Device: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc= 52af,0x81f,0x18fa8) >> Trying ESP: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc= 52af,0x81f,0x18fa8) >> Setting currdev to disk0p1: >> Trying: >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc= 52af,0x197c7,0xeb68839) >> Setting currdev to disk0p2: >> Loading /boot/defaults/loader.conf >> Loading /boot/device.hints >> Loading /boot/loader.conf >> Loading /boot/loader.conf.local >> Loading kernel... >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b9e0 >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >> Loading configured modules... >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 >> syms=3D[0x8+0xf48+0x8+0xb6e] >> /boot/entropy size=3D0x1000 >> >> Hit [Enter] to boot immediately, or any other key for command prompt. >> Booting [/boot/kernel/kernel]... >> Using DTB provided by EFI at 0x7ef2000. >> EFI framebuffer information: >> addr, size 0x3eab2000, 0x148000 >> dimensions 656 x 512 >> stride 656 >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >> ---<>--- >> KDB: debugger backends: ddb >> KDB: current backend: ddb >> Copyright (c) 1992-2019 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENE= RIC >> arm64 >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on >> LLVM 9.0.0) >> WARNING: WITNESS option enabled, expect reduced performance. >> VT(efifb): resolution 656x512 >> module firmware already present! >> KLD file umodem.ko is missing dependencies >> Starting CPU 1 (1) >> Starting CPU 2 (2) >> Starting CPU 3 (3) >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> random: unblocking device. >> random: entropy device external interface >> MAP 39f53000 mode 2 pages 1 >> MAP 39f57000 mode 2 pages 1 >> MAP 3b360000 mode 2 pages 16 >> MAP fe100000 mode 0 pages 1 >> WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD >> 13.0. >> kbd0 at kbdmux0 >> WARNING: Device "openfirm" is Giant locked and may be deleted before >> FreeBSD 13.0. >> ofwbus0: >> simplebus0: on ofwbus0 >> ofw_clkbus0: on ofwbus0 >> clk_fixed0: on ofw_clkbus0 >> clk_fixed1: on ofw_clkbus0 >> simplebus1: on ofwbus0 >> simplebus2: on ofwbus0 >> regfix0: on ofwbus0 >> regfix1: on ofwbus0 >> psci0: on ofwbus0 >> gic0: mem >> 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x4004= 6000-0x40047fff >> irq 46 on simplebus0 >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 >> gpio0: mem 0x7e200000-0x7e2000b3 irq 22,2= 3 >> on simplebus0 >> gpiobus0: on gpio0 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> generic_timer0: irq 4,5,6,7 on ofwbus0 >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> usb_nop_xceiv0: on ofwbus0 >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> bcm_dma0: mem 0x7e007000-0x7e007aff irq >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >> Checking root against brcm,bcm2837 >> Checking root against brcm,bcm2711 >> bcmwd0: mem >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on >> simplebus0 >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on >> simplebus0 >> gpioc0: on gpio0 >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >> simplebus0 >> uart0: console (115200,n,8,1) >> sdhci_bcm0: mem 0x7e340000-0x7e3400ff >> irq 60 on simplebus0 >> mmc0: on sdhci_bcm0 >> sdhci_bcm1: mem 0x7e300000-0x7e3000ff >> irq 61 on simplebus0 >> mmc1: on sdhci_bcm1 >> fb0: on simplebus0 >> fb0: keeping existing fb bpp of 32 >> fbd0 on fb0 >> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD >> 13.0. >> VT: Replacing driver "efifb" with new "fb". >> fb0: 656x512(656x512@0,0) 32bpp >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 >> cpulist0: on ofwbus0 >> cpu0: on cpulist0 >> cpu1: on cpulist0 >> cpu2: on cpulist0 >> cpu3: on cpulist0 >> gpioled0: on ofwbus0 >> gpioled0: failed to map pin >> gpioregulator0: on ofwbus0 >> gpioregulator0: cannot get pin 0 >> gpioregulator0: cannot parse parameters >> device_attach: gpioregulator0 attach returned 6 >> cryptosoft0: >> Timecounters tick every 1.000 msec >> usb_needs_explore_all: no devclass >> mmcsd0: 126GB at mmc0 >> 50.0MHz/4bit/65535-block >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> active command. >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DU= MP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> mmc1: No compatible cards found on bus >> Release APs...done >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 >> Instruction Set Attributes 0 =3D >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >> Instruction Set Attributes 1 =3D <> >> Processor Features 0 =3D >> Processor Features 1 =3D <> >> Memory Model Features 0 =3D > ASID,16TB PA> >> Memory Model Features 1 =3D <8bit VMID> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 >> Breakpoints,PMUv3,Debugv8> >> Debug Features 1 =3D <> >> Auxiliary Features 0 =3D <> >> Auxiliary Features 1 =3D <> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 >> WARNING: WITNESS option enabled, expect reduced performance. >> WARNING: was not properly dismounted >> Warning: no time-of-day clock registered, system time will not be set >> accurately >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. >> Setting hostid: 0x3c744718. >> No suitable dump device was found. >> Starting file system checks: >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) (CORRECT= ED) >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOULD B= E 24 >> (ADJUSTED) >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> (CLEARED) >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> (CLEARED) >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> (CLEARED) >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 >> (CLEARED) >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, >> 3647242 blocks, 0.0% fragmentation) >> Mounting local filesystems:. >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >> Setting hostname: generic. >> Setting up harvesting: >> [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD= ,ATTACH,CACHED >> Feeding entropy: . >> lo0: link state changed to UP >> Starting Network: lo0. >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D680003 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >> inet 127.0.0.1 netmask 0xff000000 >> groups: lo >> nd6 options=3D21 >> Starting devd. >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >> add host ::1: gateway lo0 fib 0: route already in table >> add net fe80::: gateway ::1 >> add net ff02::: gateway ::1 >> add net ::ffff:0.0.0.0: gateway ::1 >> add net ::0.0.0.0: gateway ::1 >> Creating and/or trimming log files. >> Starting syslogd. >> Clearing /tmp (X related). >> Updating motd:. >> Mounting late filesystems:. >> Updating /var/run/os-release done. >> Configuring vt: blanktime. >> Performing sanity check on sshd configuration. >> Starting sshd. >> Starting cron. >> Starting background file system checks in 60 seconds. >> >> Thu Dec 12 09:13:14 UTC 2019 >> >> FreeBSD/arm64 (generic) (ttyu0) >> >> login: >> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC=9A >> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93=EF=BC= =9A >>> >>> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: >>> >>> > >>> >>> > Hi, I download latest version 12.12 current 13 img and write in T= F >>> card. >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract an= d >>> copy it >>> >>> > in BOOT partition. And look at my screen shows me that stop boot >>> on lo0 >>> >>> > state. I know it can't support USB/PCI/ethernet and I just want t= o >>> install >>> >>> > it. Thanks. >>> >>> >>> >>> That's a most curious failure mode... if you got to the point where >>> >>> we're bringing up lo0, it should have either been fine or blown up >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on th= e >>> >>> latest snapshot and see if I can reproduce. >>> >>> >>> >>> In the meantime, can you post a transcript of the boot? >>> >>> >>> >>> Thanks, >>> >>> >>> >>> Kyle Evans >>> >> >>> >> New error: stopped at >>> >> Warning: no time-of-day clock registered. system time will not be se= t >>> accurately. >>> > >>> > I just reboot and bugs show: >>> > lo0 :link state change to UP. >>> > >>> >>> Can you scroll up to just above that sdhci output and take another >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >>> >>> Thanks, >>> >>> Kyle Evans >>> >> From owner-freebsd-arm@freebsd.org Tue Dec 17 16:18:29 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01B731EC0A7 for ; Tue, 17 Dec 2019 16:18:29 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cjxH54Vnz4WK3 for ; Tue, 17 Dec 2019 16:18:27 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Tue, 17 Dec 2019 16:18:16 +0000 To: ykla , Kyle Evans From: Robert Crowston Cc: freebsd-arm@freebsd.org Reply-To: Robert Crowston Subject: Re: How to boot freebsd on rpi4b? Message-ID: In-Reply-To: References: Feedback-ID: 2OVbcR1yHYpdkD8cgQllkFwcuMVZg_LiVMMPvptooFDfHD_03MuQO4ZaF626jWHZYFEhNR2cmIbZ53j4QGWMBQ==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 47cjxH54Vnz4WK3 X-Spamd-Bar: / X-Spamd-Result: default: False [-1.00 / 15.00]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[134.40.70.185.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; IP_SCORE_FREEMAIL(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; AUTOGEN_PHP_SPAMMY(1.00)[]; IP_SCORE(0.00)[ip: (-9.46), ipnet: 185.70.40.0/24(-4.89), asn: 62371(-3.90), country: CH(0.02)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 16:18:29 -0000 RG9lcyB0aGlzIGdhcmJsaW5nIGhhcHBlbiBqdXN0IGFmdGVyIC9zYmluL2luaXQgc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pj4+ID4KPj4+ Pgo+Pj4+IENhbiB5b3Ugc2Nyb2xsIHVwIHRvIGp1c3QgYWJvdmUgdGhhdCBzZGhjaSBvdXRwdXQg YW5kIHRha2UgYW5vdGhlcgo+Pj4+IHBpY3R1cmU/IChhYm92ZSB0aGUgPT09PT09PT09PT09PSkK Pj4+Pgo+Pj4+IFRoYW5rcywKPj4+Pgo+Pj4+IEt5bGUgRXZhbnMKPj4+Pgo+Pj4KPiBfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IGZyZWVic2QtYXJtQGZy ZWVic2Qub3JnIG1haWxpbmcgbGlzdAo+IGh0dHBzOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1h bi9saXN0aW5mby9mcmVlYnNkLWFybQo+IFRvIHVuc3Vic2NyaWJlLCBzZW5kIGFueSBtYWlsIHRv ICJmcmVlYnNkLWFybS11bnN1YnNjcmliZUBmcmVlYnNkLm9yZyI= From owner-freebsd-arm@freebsd.org Tue Dec 17 22:12:00 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57FA81CB913 for ; Tue, 17 Dec 2019 22:12:00 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47csnC0c9Sz3M0l for ; Tue, 17 Dec 2019 22:11:58 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xBHMBw1R019212 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Dec 2019 14:11:59 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xBHMBw5t019211; Tue, 17 Dec 2019 14:11:58 -0800 (PST) (envelope-from fbsd) Date: Tue, 17 Dec 2019 14:11:57 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: No suitable SOC memory configuration found. Message-ID: <20191217221157.GA18825@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47csnC0c9Sz3M0l X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.873,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.07)[ip: (0.29), ipnet: 50.1.16.0/20(0.14), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.66)[-0.655,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 22:12:00 -0000 After updating 12-stable on a Pi2B with a GENERIC kernel the machine started to fall into an endless boot cycle, reporting in part: ..... iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 spi0: mem 0x204000-0x20401f irq 11 on simplebus0 spibus0: on spi0 bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 Checking root against brcm,bcm2836 panic: No suitable SOC memory configuration found. cpuid = 0 time = 1 Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort ..... I don't think it's the kernel, because two other kernels, one in the 11-stable vintage, do the same thing. I did make some changes to /boot/loader.conf and would like to try skipping it in a boot to single-user to see what happens. The changes didn't cause obvious/immediate problems, but I've no better ideas. Is there some way let the kernel boot -s without reference to loader.conf? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Tue Dec 17 22:31:37 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86F5B1CBE2F for ; Tue, 17 Dec 2019 22:31:37 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ctCs32dXz3Mkn for ; Tue, 17 Dec 2019 22:31:37 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ED92C8E6 for ; Tue, 17 Dec 2019 22:31:37 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f178.google.com with SMTP id b3so215642qti.10 for ; Tue, 17 Dec 2019 14:31:37 -0800 (PST) X-Gm-Message-State: APjAAAX6ZVYDRdafoJBdZ+Mo3lhYb5mUTYC0FnGIJfQ5q4v4LtzBT/s/ 6ZRWt6B9S3i2Mhiu5niKw1VbP7XA+q7t5Rw7yPo= X-Google-Smtp-Source: APXvYqz6bJ+EmL+P2pfrQgcuxZnxMGvkA1jfReBcimfM0eJNCGF65DgK7du3Q9zew1G707Dw+Z79isISTSPnhFmF67I= X-Received: by 2002:ac8:73c3:: with SMTP id v3mr228129qtp.211.1576621896738; Tue, 17 Dec 2019 14:31:36 -0800 (PST) MIME-Version: 1.0 References: <20191217221157.GA18825@www.zefox.net> In-Reply-To: <20191217221157.GA18825@www.zefox.net> From: Kyle Evans Date: Tue, 17 Dec 2019 16:31:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No suitable SOC memory configuration found. To: bob prohaska Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 22:31:37 -0000 On Tue, Dec 17, 2019 at 4:12 PM bob prohaska wrote: > > > After updating 12-stable on a Pi2B with a GENERIC kernel the machine > started to fall into an endless boot cycle, reporting in part: > ..... > iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 > spi0: mem 0x204000-0x20401f irq 11 on simplebus0 > spibus0: on spi0 > bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 > Checking root against brcm,bcm2836 > panic: No suitable SOC memory configuration found. > cpuid = 0 > time = 1 > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort > ..... > > I don't think it's the kernel, because two other kernels, one in the 11-stable > vintage, do the same thing. I did make some changes to /boot/loader.conf and > would like to try skipping it in a boot to single-user to see what happens. > The changes didn't cause obvious/immediate problems, but I've no better ideas. > > Is there some way let the kernel boot -s without reference to loader.conf? > > Thanks for reading, > > bob prohaska Hi, Unfortunately, that error is quite fatal as it needs to be able to deduce what the mappings look like for vcbus <-> armc, otherwise there's an absolutely awesome chance that your board will turn into a raspberry anyways as it can't do DMA. I think you can possibly recover for the time being by dropping to loader prompt and changing /compatible to "brcm,bcm2836" with `fdt prop /compatible brcm,bcm2836` The proper fix is something like the following patch, because the RPi 2B v1.2 (which must be the one you're running here) is actually a 64-bit BCM2837 that we run in an armv7 config, the lowest common denominator of the RPi 2 series. The naming of the new (to armv[67]) option is inconsistent with the other armv[67] broadcom boards, but it's consistent with the arm64 version of this same SoC and I'd prefer to keep it consistent for the same SoC. Thanks, Kyle Evans diff --git a/sys/arm/conf/GENERIC b/sys/arm/conf/GENERIC index c5f39ef916f..9fbc31cb247 100644 --- a/sys/arm/conf/GENERIC +++ b/sys/arm/conf/GENERIC @@ -57,6 +57,7 @@ options SOC_ALLWINNER_A83T options SOC_ALLWINNER_H2PLUS options SOC_ALLWINNER_H3 options SOC_BCM2836 +options SOC_BRCM_BCM2837 options SOC_MV_ARMADA38X options SOC_MV_ARMADAXP options SOC_TI_AM335X diff --git a/sys/conf/options.arm b/sys/conf/options.arm index 1bea34a5865..34229044fbf 100644 --- a/sys/conf/options.arm +++ b/sys/conf/options.arm @@ -47,6 +47,7 @@ SOC_ALTERA_ARRIA10 opt_global.h SOC_ALTERA_CYCLONE5 opt_global.h SOC_BCM2835 opt_global.h SOC_BCM2836 opt_global.h +SOC_BRCM_BCM2837 opt_global.h SOC_IMX51 opt_global.h SOC_IMX53 opt_global.h SOC_IMX6 opt_global.h From owner-freebsd-arm@freebsd.org Tue Dec 17 23:32:58 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3A00B1CD4F0 for ; Tue, 17 Dec 2019 23:32:58 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cvZd6nb8z3QG3; Tue, 17 Dec 2019 23:32:57 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xBHNX2d6019401 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Dec 2019 15:33:03 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xBHNX2G3019400; Tue, 17 Dec 2019 15:33:02 -0800 (PST) (envelope-from fbsd) Date: Tue, 17 Dec 2019 15:33:01 -0800 From: bob prohaska To: Kyle Evans Cc: "freebsd-arm@freebsd.org" , bob prohaska Subject: Re: No suitable SOC memory configuration found. Message-ID: <20191217233301.GB18825@www.zefox.net> References: <20191217221157.GA18825@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47cvZd6nb8z3QG3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 23:32:58 -0000 On Tue, Dec 17, 2019 at 04:31:24PM -0600, Kyle Evans wrote: > On Tue, Dec 17, 2019 at 4:12 PM bob prohaska wrote: > > > > > > After updating 12-stable on a Pi2B with a GENERIC kernel the machine > > started to fall into an endless boot cycle, reporting in part: > > ..... > > iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 > > spi0: mem 0x204000-0x20401f irq 11 on simplebus0 > > spibus0: on spi0 > > bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 > > Checking root against brcm,bcm2836 > > panic: No suitable SOC memory configuration found. > > cpuid = 0 > > time = 1 > > Uptime: 1s > > Automatic reboot in 15 seconds - press a key on the console to abort > > ..... > > > > Hi, > > Unfortunately, that error is quite fatal as it needs to be able to > deduce what the mappings look like for vcbus <-> armc, otherwise > there's an absolutely awesome chance that your board will turn into a > raspberry anyways as it can't do DMA. I think you can possibly recover > for the time being by dropping to loader prompt and changing > /compatible to "brcm,bcm2836" with `fdt prop /compatible > brcm,bcm2836` > This is actually an old Pi2 v 1.1, not the later version. In any case, I'm doing something wrong: Type '?' for a list of commands, 'help' for more detailed help. loader> fdt prop /compatible brcm,bcm2836 [also tried fdt prop /compatible "brcm,bcm2836"] Using DTB provided by U-Boot at address 0x100. loader> boot -s Booting... Using DTB provided by U-Boot at address 0x100. Kernel entry at 0x2200180... Kernel args: -s and it fails with iichb0: mem 0x205000-0x20501f irq 9 on simplebus0 iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 spi0: mem 0x204000-0x20401f irq 11 on simplebus0 spibus0: on spi0 bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 Checking root against brcm,bcm2836 panic: No suitable SOC memory configuration found. cpuid = 0 time = 1 Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort Am I commiting a mortal typo somewhere? The odd thing is that the problem appears with older kernels, not just the latest one, both of which worked reasonably well. That's what made me suspect recent changes to /boot/loader.conf might be the culprit. > The proper fix is something like the following patch, because the RPi > 2B v1.2 (which must be the one you're running here) is actually a No, this is definitely not the 64 bit RPi2, it's the old 32bit one. It did successfully make the transition to armv7 using the RPI2 kernel config, but when that config came up missing "device pass" I decided to try GENERIC, thinking RPI2 was deprecated. The first iteration worked. I know this Pi2 had a short production run, but I've got three more running 11-stable and I don't want to break them on upgrade if I can avoid it. Thanks for the speedy reply and any further suggestions! bob prohaska From owner-freebsd-arm@freebsd.org Wed Dec 18 00:14:08 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D6431CE5D9 for ; Wed, 18 Dec 2019 00:14:08 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47cwV81pWsz3xCY for ; Wed, 18 Dec 2019 00:14:08 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 2CBC8D578 for ; Wed, 18 Dec 2019 00:14:08 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f177.google.com with SMTP id b3so447349qti.10 for ; Tue, 17 Dec 2019 16:14:08 -0800 (PST) X-Gm-Message-State: APjAAAVB8icCXvMtYt3GI3vrdKd0ouizTHYsxkEcj1kDPTIMuxsKFMUQ 1+0PlnFLJ4bVrwMLrYHTJCwk5nHK5aYavJsoGhk= X-Google-Smtp-Source: APXvYqzJ0yeiRRbGWd7wldHbOilek3zKrW85zsEYK8poerPL2RBi9UuFbjJiLf/Aij8mBZfT7fm+GNYxbcedenOrzKM= X-Received: by 2002:ac8:ff6:: with SMTP id f51mr652151qtk.60.1576628047460; Tue, 17 Dec 2019 16:14:07 -0800 (PST) MIME-Version: 1.0 References: <20191217221157.GA18825@www.zefox.net> <20191217233301.GB18825@www.zefox.net> In-Reply-To: <20191217233301.GB18825@www.zefox.net> From: Kyle Evans Date: Tue, 17 Dec 2019 18:13:55 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No suitable SOC memory configuration found. To: bob prohaska Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 00:14:08 -0000 On Tue, Dec 17, 2019 at 5:33 PM bob prohaska wrote: > > On Tue, Dec 17, 2019 at 04:31:24PM -0600, Kyle Evans wrote: > > On Tue, Dec 17, 2019 at 4:12 PM bob prohaska wrote: > > > > > > > > > After updating 12-stable on a Pi2B with a GENERIC kernel the machine > > > started to fall into an endless boot cycle, reporting in part: > > > ..... > > > iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 > > > spi0: mem 0x204000-0x20401f irq 11 on simplebus0 > > > spibus0: on spi0 > > > bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 > > > Checking root against brcm,bcm2836 > > > panic: No suitable SOC memory configuration found. > > > cpuid = 0 > > > time = 1 > > > Uptime: 1s > > > Automatic reboot in 15 seconds - press a key on the console to abort > > > ..... > > > > > > > Hi, > > > > Unfortunately, that error is quite fatal as it needs to be able to > > deduce what the mappings look like for vcbus <-> armc, otherwise > > there's an absolutely awesome chance that your board will turn into a > > raspberry anyways as it can't do DMA. I think you can possibly recover > > for the time being by dropping to loader prompt and changing > > /compatible to "brcm,bcm2836" with `fdt prop /compatible > > brcm,bcm2836` > > > > This is actually an old Pi2 v 1.1, not the later version. In any case, > I'm doing something wrong: > > Type '?' for a list of commands, 'help' for more detailed help. > loader> fdt prop /compatible brcm,bcm2836 [also tried fdt prop /compatible "brcm,bcm2836"] > Using DTB provided by U-Boot at address 0x100. > loader> boot -s > Booting... > Using DTB provided by U-Boot at address 0x100. > Kernel entry at 0x2200180... > Kernel args: -s > > and it fails with > iichb0: mem 0x205000-0x20501f irq 9 on simplebus0 > iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 > spi0: mem 0x204000-0x20401f irq 11 on simplebus0 > spibus0: on spi0 > bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 > Checking root against brcm,bcm2836 > panic: No suitable SOC memory configuration found. > cpuid = 0 > time = 1 > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort > > Am I commiting a mortal typo somewhere? No- I don't recall the correct incantations and don't have a board near me to boot atm, unfortunately. =-( > The odd thing is that the problem appears with older kernels, not just > the latest one, both of which worked reasonably well. That's what made > me suspect recent changes to /boot/loader.conf might be the culprit. > > > The proper fix is something like the following patch, because the RPi > > 2B v1.2 (which must be the one you're running here) is actually a > No, this is definitely not the 64 bit RPi2, it's the old 32bit one. > It did successfully make the transition to armv7 using the RPI2 kernel > config, but when that config came up missing "device pass" I decided > to try GENERIC, thinking RPI2 was deprecated. The first iteration worked. Oh- then I think I can only conclude that you're actually inadvertently using the wrong DTB, but they're similar enough that things still generally function. How did these boards get provisioned in the first place? It looks like the RPI2 config will use the bcm2709* DTS, which is correct for the earlier RPI2 but not the later. This is a tad bit of a mess. =-( > I know this Pi2 had a short production run, but I've got three more > running 11-stable and I don't want to break them on upgrade if I can > avoid it. > 11-stable is safe -- the code that's blocking you now hasn't been MFC'd, and will not be MFC'd, to stable/11. From owner-freebsd-arm@freebsd.org Wed Dec 18 02:39:20 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B3BF91D1316 for ; Wed, 18 Dec 2019 02:39:20 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47czjg2JVcz43rv; Wed, 18 Dec 2019 02:39:19 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id s2so340249iog.10; Tue, 17 Dec 2019 18:39:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cyZ8QzBp165MkYfS9Qqta+pVj2U3puWcnkka7YDrIrQ=; b=tGVv/Niwuby3y9tMQvvq8MouE68jlmtnWPzy9hSyP5BiFyO8eJV9HwvvYWZQD1IMMU X/PIR7HeA7UG0iU/kOMjV/6+pQ3VAzflsFQx8xnCzVrfWGHAEuwcwXWLcuPv2MAZ68yD jqSaA6NB/fOV5+kIVAufqEnCTu15w0EGQkhqppuKdNcz/zrydlBeoogOtb0Ga0UEhwiG U57N2ulYC393AL2hWB3iWoD45ayLOKhG/p2YWccubDHjiJoXw17ugw6c5i77CB/lYrD1 yxRuz4ybwje+2oIVOKYK/3DwJN1sanmiPsmA5vawmJQm7AfHsJkMvfe/zKTDhyBPlreF QVrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cyZ8QzBp165MkYfS9Qqta+pVj2U3puWcnkka7YDrIrQ=; b=eV27740cak5Vq4TBUkKXdbfAB6sHNFTGQ30nuDZH9Zel4uawqEdccK/KetfON6IOND egqPQ74rgxJVKy0EZz6lL+1mad2H7Rthhq2Me0yTnjUhZutOKABf0JDCc5ylk+Orj7SK 2+5WBUDVjowRwe4sX74FuM2OQwRdcMG5zbrMin/bsPd4Z18XaUsaFz677Jgep/BPVN69 hg/ICQuo8WVvJromW7KLMWNgkBc+QTOpAYhFhCIZVZBHqssjx7vf5z1Ryzb4HUxBrnTU JN0x/pkF/Uwt7AnifcKZef/5CbdertxgSxRjzvD/ZVpXKezxI0Z+iiKa2AH8uMWUzkAI yc3w== X-Gm-Message-State: APjAAAUMpxCSWQu1beIGWkK8A3XOwXtQqlQnxejI2in2MPj7lQLphnjx MN5xTlrBsMBLGAp/l2arGZ5r83I2R2iqgcawWlbfL46U+Ks= X-Google-Smtp-Source: APXvYqzQQs5WGRcbqgDf6zvtFDbnQWk9a2dLzcIUiV9cG1p2gAp/4hbRXm4m26gMLqtvacmbIUEqF+oB8ywSz2sJ7Xg= X-Received: by 2002:a6b:8f11:: with SMTP id r17mr876252iod.50.1576636757952; Tue, 17 Dec 2019 18:39:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 10:39:06 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Robert Crowston Cc: Kyle Evans , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47czjg2JVcz43rv X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tGVv/Niw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ip: (-6.21), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 02:39:20 -0000 Not after something(It show me login I can't input), and all my input to raspberry pi are error but the raspberry pi output are normal. Robert Crowston =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9=81=93= =EF=BC=9A > Does this garbling happen just after /sbin/init runs? > > You need to add an overlay to your config.txt, I can=E2=80=99t remember w= hich one > from here. Or double your comspeed from that point. > > On Tue, Dec 17, 2019 at 13:40, ykla wrote: > > I try two tools putty and xshell. Com10 115200. > > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5=E5= =91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A > > > PL2303 TTL to USB can only output and I can't input anything. Any input > > are garbled. > > > > [image: 1217114605.png] > > > > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A > > > >> I reboot for 10 times and now show me root login, but usually stops on > >> lo0. > >> Here's log: > >> > >> Connecting to COM10... > >> Connected. > >> > >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 > >> Loading Environment from FAT... In: serial > >> Out: vidconsole > >> Err: vidconsole > >> Net: Net Initialization Skipped > >> No ethernet found. > >> Hit any key to stop autoboot: 0 > >> switch to partitions #0, OK > >> mmc0 is current device > >> Scanning mmc 0:1... > >> Found EFI removable media binary efi/boot/bootaa64.efi > >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >> Scanning disk emmc2@7e340000.blk... > >> Scanning disk mmc@7e300000.blk... > >> Disk mmc@7e300000.blk not ready > >> Found 3 disks > >> BootOrder not defined > >> EFI boot manager: Cannot load any image > >> 677944 bytes read in 77 ms (8.4 MiB/s) > >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >> Consoles: EFI console > >> Reading loader env vars from /efi/freebsd/loader.env > >> Setting currdev to disk0p1: > >> FreeBSD/arm64 EFI loader, Revision 1.1 > >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) > >> > >> Command line arguments: loader.efi > >> Image base: 0x39ea3000 > >> EFI version: 2.80 > >> EFI Firmware: Das U-Boot (rev 8217.4096) > >> Console: efi (0x1000) > >> Load Path: /efi\boot\bootaa64.efi > >> Load Device: > >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > >> Trying ESP: > >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > >> Setting currdev to disk0p1: > >> Trying: > >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc5= 2af,0x197c7,0xeb68839) > >> Setting currdev to disk0p2: > >> Loading /boot/defaults/loader.conf > >> Loading /boot/device.hints > >> Loading /boot/loader.conf > >> Loading /boot/loader.conf.local > >> Loading kernel... > >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b9e= 0 > >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] > >> Loading configured modules... > >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 > >> syms=3D[0x8+0xf48+0x8+0xb6e] > >> /boot/entropy size=3D0x1000 > >> > >> Hit [Enter] to boot immediately, or any other key for command prompt. > >> Booting [/boot/kernel/kernel]... > >> Using DTB provided by EFI at 0x7ef2000. > >> EFI framebuffer information: > >> addr, size 0x3eab2000, 0x148000 > >> dimensions 656 x 512 > >> stride 656 > >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > >> ---<>--- > >> KDB: debugger backends: ddb > >> KDB: current backend: ddb > >> Copyright (c) 1992-2019 The FreeBSD Project. > >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 19= 94 > >> The Regents of the University of California. All rights reserved. > >> FreeBSD is a registered trademark of The FreeBSD Foundation. > >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 > >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERI= C > >> arm64 > >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on > >> LLVM 9.0.0) > >> WARNING: WITNESS option enabled, expect reduced performance. > >> VT(efifb): resolution 656x512 > >> module firmware already present! > >> KLD file umodem.ko is missing dependencies > >> Starting CPU 1 (1) > >> Starting CPU 2 (2) > >> Starting CPU 3 (3) > >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >> random: unblocking device. > >> random: entropy device external interface > >> MAP 39f53000 mode 2 pages 1 > >> MAP 39f57000 mode 2 pages 1 > >> MAP 3b360000 mode 2 pages 16 > >> MAP fe100000 mode 0 pages 1 > >> WARNING: Device "kbd" is Giant locked and may be deleted before FreeBS= D > >> 13.0. > >> kbd0 at kbdmux0 > >> WARNING: Device "openfirm" is Giant locked and may be deleted before > >> FreeBSD 13.0. > >> ofwbus0: > >> simplebus0: on ofwbus0 > >> ofw_clkbus0: on ofwbus0 > >> clk_fixed0: on ofw_clkbus0 > >> clk_fixed1: on ofw_clkbus0 > >> simplebus1: on ofwbus0 > >> simplebus2: on ofwbus0 > >> regfix0: on ofwbus0 > >> regfix1: on ofwbus0 > >> psci0: on ofwbus0 > >> gic0: mem > >> > 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046= 000-0x40047fff > >> irq 46 on simplebus0 > >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 > >> gpio0: mem 0x7e200000-0x7e2000b3 irq > 22,23 > >> on simplebus0 > >> gpiobus0: on gpio0 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> generic_timer0: irq 4,5,6,7 on ofwbus0 > >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 100= 0 > >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> usb_nop_xceiv0: on ofwbus0 > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> bcm_dma0: mem 0x7e007000-0x7e007aff irq > >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 > >> Checking root against brcm,bcm2837 > >> Checking root against brcm,bcm2711 > >> bcmwd0: mem > >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on > >> simplebus0 > >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on > >> simplebus0 > >> gpioc0: on gpio0 > >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on > >> simplebus0 > >> uart0: console (115200,n,8,1) > >> sdhci_bcm0: mem 0x7e340000-0x7e3400ff > >> irq 60 on simplebus0 > >> mmc0: on sdhci_bcm0 > >> sdhci_bcm1: mem 0x7e300000-0x7e3000ff > >> irq 61 on simplebus0 > >> mmc1: on sdhci_bcm1 > >> fb0: on simplebus0 > >> fb0: keeping existing fb bpp of 32 > >> fbd0 on fb0 > >> WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD > >> 13.0. > >> VT: Replacing driver "efifb" with new "fb". > >> fb0: 656x512(656x512@0,0) 32bpp > >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 > >> cpulist0: on ofwbus0 > >> cpu0: on cpulist0 > >> cpu1: on cpulist0 > >> cpu2: on cpulist0 > >> cpu3: on cpulist0 > >> gpioled0: on ofwbus0 > >> gpioled0: failed to map pin > >> gpioregulator0: on ofwbus0 > >> gpioregulator0: cannot get pin 0 > >> gpioregulator0: cannot parse parameters > >> device_attach: gpioregulator0 attach returned 6 > >> cryptosoft0: > >> Timecounters tick every 1.000 msec > >> usb_needs_explore_all: no devclass > >> mmcsd0: 126GB at mm= c0 > >> 50.0MHz/4bit/65535-block > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no > >> active command. > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER = DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > >> mmc1: No compatible cards found on bus > >> Release APs...done > >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 > >> Instruction Set Attributes 0 =3D > >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > >> Instruction Set Attributes 1 =3D <> > >> Processor Features 0 =3D > >> Processor Features 1 =3D <> > >> Memory Model Features 0 =3D >> ASID,16TB PA> > >> Memory Model Features 1 =3D <8bit VMID> > >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> > >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 > >> Breakpoints,PMUv3,Debugv8> > >> Debug Features 1 =3D <> > >> Auxiliary Features 0 =3D <> > >> Auxiliary Features 1 =3D <> > >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 > >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 > >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 > >> WARNING: WITNESS option enabled, expect reduced performance. > >> WARNING: was not properly dismounted > >> Warning: no time-of-day clock registered, system time will not be set > >> accurately > >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. > >> Setting hostid: 0x3c744718. > >> No suitable dump device was found. > >> Starting file system checks: > >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) > (CORRECTED) > >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 > >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOULD = BE 24 > >> (ADJUSTED) > >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 > >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >> (CLEARED) > >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 > >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >> (CLEARED) > >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 > >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >> (CLEARED) > >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 > >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 > >> (CLEARED) > >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) > >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) > >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, > >> 3647242 blocks, 0.0% fragmentation) > >> Mounting local filesystems:. > >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat > >> Setting hostname: generic. > >> Setting up harvesting: > >> > [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,= ATTACH,CACHED > >> Feeding entropy: . > >> lo0: link state changed to UP > >> Starting Network: lo0. > >> lo0: flags=3D8049 metric 0 mtu 16384 > >> options=3D680003 > >> inet6 ::1 prefixlen 128 > >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > >> inet 127.0.0.1 netmask 0xff000000 > >> groups: lo > >> nd6 options=3D21 > >> Starting devd. > >> add host 127.0.0.1: gateway lo0 fib 0: route already in table > >> add host ::1: gateway lo0 fib 0: route already in table > >> add net fe80::: gateway ::1 > >> add net ff02::: gateway ::1 > >> add net ::ffff:0.0.0.0: gateway ::1 > >> add net ::0.0.0.0: gateway ::1 > >> Creating and/or trimming log files. > >> Starting syslogd. > >> Clearing /tmp (X related). > >> Updating motd:. > >> Mounting late filesystems:. > >> Updating /var/run/os-release done. > >> Configuring vt: blanktime. > >> Performing sanity check on sshd configuration. > >> Starting sshd. > >> Starting cron. > >> Starting background file system checks in 60 seconds. > >> > >> Thu Dec 12 09:13:14 UTC 2019 > >> > >> FreeBSD/arm64 (generic) (ttyu0) > >> > >> login: > >> > >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC=9A > >> > >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: > >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A > >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C=88= 17=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93=EF= =BC=9A > >>> >>> > >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: > >>> >>> > > >>> >>> > Hi, I download latest version 12.12 current 13 img and write in > TF > >>> card. > >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract a= nd > >>> copy it > >>> >>> > in BOOT partition. And look at my screen shows me that stop boo= t > >>> on lo0 > >>> >>> > state. I know it can't support USB/PCI/ethernet and I just want > to > >>> install > >>> >>> > it. Thanks. > >>> >>> > >>> >>> That's a most curious failure mode... if you got to the point whe= re > >>> >>> we're bringing up lo0, it should have either been fine or blown u= p > >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on > the > >>> >>> latest snapshot and see if I can reproduce. > >>> >>> > >>> >>> In the meantime, can you post a transcript of the boot? > >>> >>> > >>> >>> Thanks, > >>> >>> > >>> >>> Kyle Evans > >>> >> > >>> >> New error: stopped at > >>> >> Warning: no time-of-day clock registered. system time will not be > set > >>> accurately. > >>> > > >>> > I just reboot and bugs show: > >>> > lo0 :link state change to UP. > >>> > > >>> > >>> Can you scroll up to just above that sdhci output and take another > >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) > >>> > >>> Thanks, > >>> > >>> Kyle Evans > >>> > >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > > From owner-freebsd-arm@freebsd.org Wed Dec 18 02:44:10 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0CCB31D1731 for ; Wed, 18 Dec 2019 02:44:10 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47czqD3jkRz44K7; Wed, 18 Dec 2019 02:44:08 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id z8so393485ioh.0; Tue, 17 Dec 2019 18:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jYWj/doorgvm9ZjzMEzN4KxJ1rOOwtmh66FaITlGJyg=; b=pMIU7HgxRxgvOpGVJznXLKVoo2E4Yhd2QoaKasYrT+tssEA9JDo4T6vRsMq2MLZNjr TyFW7IQwCJvy16HboRwlMLKmhayCVR0C2Oekfr8ReeWZ/AGQwCTNNOnlSgD/ZqRRvBee iE4D5b1NhUCUOIJYCxsI1kJU1rUVyNFrVov4oFdIPo5c8pd9y6eCsotk6Mjm9pi6s+EH ejLUqntbfzlm5xrLBWGLNEpDBLFJBMRYA90wAJrqJDM2YNRX4VOkNmuq/bvbnSxjyjKQ 1Kqx36KTyrZtjgqZz670qFrZRzkwmWxDhr+XqHwEcgF4cMw9Iy0puWuDrE54mGb5+fKL wTQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jYWj/doorgvm9ZjzMEzN4KxJ1rOOwtmh66FaITlGJyg=; b=h7y4TMYVfMeWIatzSudhSRcz9C42e9v45b6oj4jxYZ8W2nX8J6oMMlo9aYQ+m/E2yV CFXxmXnMY93jUTwRS+et1O03u47IZ6uooxnPMzFupyiHdzOAJ9/5MTGk8CP/CL2MI7gS SZBBPKjbzd4pBIcwVSyeDpMA8PogUN4u4nerLCR2ATSye9U34wDdWJFp1BgPV40answA aMaVGmYr0Ch98aUcoW2TopeZkXv0Ch658d9oJujMvqBH+7b1c5w07mtFJdw361XQxf3G nroeg6PjfB3bPYyRc7rxKGwCpfd+h4KsIWBoaESDFayX525pyVAn8dAn3FENxh5WH3E4 bWdQ== X-Gm-Message-State: APjAAAUBowN82ZSb8nLoHwNqF8C/jbtH+NVlbkyeZAMOljA1U7Zc2mCF IzBFPhz1No/NLhJ0CPbku8J3JwNJH7eqkKAG59g= X-Google-Smtp-Source: APXvYqzMD5bLSyrmS8SNepgAxyn4dlDU0Lh1itJ3OAA7Exok4lkT5lXgWi/0rehS4xP0jRYisKmID0QBd6YXEb43WBk= X-Received: by 2002:a02:5883:: with SMTP id f125mr288237jab.45.1576637046994; Tue, 17 Dec 2019 18:44:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 10:43:56 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Robert Crowston Cc: Kyle Evans , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47czqD3jkRz44K7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pMIU7Hgx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ip: (-5.43), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 02:44:10 -0000 my config.txt ---------------------------------------------------------------------------= ----------- arm_control=3D0x200 arm_64bit=3D1 dtoverlay=3Ddisable-bt dtoverlay=3Dmmc device_tree_address=3D0x4000 kernel=3Du-boot.bin armstub=3Darmstub8-gic.bin enable_uart=3D1 ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5=91= =A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:39=E5=86=99=E9=81=93=EF=BC=9A > Not after something(It show me login I can't input), and all my input to > raspberry pi are error but the raspberry pi output are normal. > > Robert Crowston =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9=81=93= =EF=BC=9A > >> Does this garbling happen just after /sbin/init runs? >> >> You need to add an overlay to your config.txt, I can=E2=80=99t remember = which one >> from here. Or double your comspeed from that point. >> >> On Tue, Dec 17, 2019 at 13:40, ykla wrote: >> >> I try two tools putty and xshell. Com10 115200. >> >> ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A >> >> > PL2303 TTL to USB can only output and I can't input anything. Any inpu= t >> > are garbled. >> > >> > [image: 1217114605.png] >> > >> > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A >> > >> >> I reboot for 10 times and now show me root login, but usually stops o= n >> >> lo0. >> >> Here's log: >> >> >> >> Connecting to COM10... >> >> Connected. >> >> >> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 >> >> Loading Environment from FAT... In: serial >> >> Out: vidconsole >> >> Err: vidconsole >> >> Net: Net Initialization Skipped >> >> No ethernet found. >> >> Hit any key to stop autoboot: 0 >> >> switch to partitions #0, OK >> >> mmc0 is current device >> >> Scanning mmc 0:1... >> >> Found EFI removable media binary efi/boot/bootaa64.efi >> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> >> Scanning disk emmc2@7e340000.blk... >> >> Scanning disk mmc@7e300000.blk... >> >> Disk mmc@7e300000.blk not ready >> >> Found 3 disks >> >> BootOrder not defined >> >> EFI boot manager: Cannot load any image >> >> 677944 bytes read in 77 ms (8.4 MiB/s) >> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> >> Consoles: EFI console >> >> Reading loader env vars from /efi/freebsd/loader.env >> >> Setting currdev to disk0p1: >> >> FreeBSD/arm64 EFI loader, Revision 1.1 >> >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) >> >> >> >> Command line arguments: loader.efi >> >> Image base: 0x39ea3000 >> >> EFI version: 2.80 >> >> EFI Firmware: Das U-Boot (rev 8217.4096) >> >> Console: efi (0x1000) >> >> Load Path: /efi\boot\bootaa64.efi >> >> Load Device: >> >> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc= 52af,0x81f,0x18fa8) >> >> Trying ESP: >> >> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc= 52af,0x81f,0x18fa8) >> >> Setting currdev to disk0p1: >> >> Trying: >> >> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc= 52af,0x197c7,0xeb68839) >> >> Setting currdev to disk0p2: >> >> Loading /boot/defaults/loader.conf >> >> Loading /boot/device.hints >> >> Loading /boot/loader.conf >> >> Loading /boot/loader.conf.local >> >> Loading kernel... >> >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b9= e0 >> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >> >> Loading configured modules... >> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 >> >> syms=3D[0x8+0xf48+0x8+0xb6e] >> >> /boot/entropy size=3D0x1000 >> >> >> >> Hit [Enter] to boot immediately, or any other key for command prompt. >> >> Booting [/boot/kernel/kernel]... >> >> Using DTB provided by EFI at 0x7ef2000. >> >> EFI framebuffer information: >> >> addr, size 0x3eab2000, 0x148000 >> >> dimensions 656 x 512 >> >> stride 656 >> >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >> >> ---<>--- >> >> KDB: debugger backends: ddb >> >> KDB: current backend: ddb >> >> Copyright (c) 1992-2019 The FreeBSD Project. >> >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >> 1994 >> >> The Regents of the University of California. All rights reserved. >> >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 >> >> root@releng1.nyi.freebsd.org: >> /usr/obj/usr/src/arm64.aarch64/sys/GENERIC >> >> arm64 >> >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on >> >> LLVM 9.0.0) >> >> WARNING: WITNESS option enabled, expect reduced performance. >> >> VT(efifb): resolution 656x512 >> >> module firmware already present! >> >> KLD file umodem.ko is missing dependencies >> >> Starting CPU 1 (1) >> >> Starting CPU 2 (2) >> >> Starting CPU 3 (3) >> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> >> random: unblocking device. >> >> random: entropy device external interface >> >> MAP 39f53000 mode 2 pages 1 >> >> MAP 39f57000 mode 2 pages 1 >> >> MAP 3b360000 mode 2 pages 16 >> >> MAP fe100000 mode 0 pages 1 >> >> WARNING: Device "kbd" is Giant locked and may be deleted before FreeB= SD >> >> 13.0. >> >> kbd0 at kbdmux0 >> >> WARNING: Device "openfirm" is Giant locked and may be deleted before >> >> FreeBSD 13.0. >> >> ofwbus0: >> >> simplebus0: on ofwbus0 >> >> ofw_clkbus0: on ofwbus0 >> >> clk_fixed0: on ofw_clkbus0 >> >> clk_fixed1: on ofw_clkbus0 >> >> simplebus1: on ofwbus0 >> >> simplebus2: on ofwbus0 >> >> regfix0: on ofwbus0 >> >> regfix1: on ofwbus0 >> >> psci0: on ofwbus0 >> >> gic0: mem >> >> >> 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x4004= 6000-0x40047fff >> >> irq 46 on simplebus0 >> >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 >> >> gpio0: mem 0x7e200000-0x7e2000b3 irq >> 22,23 >> >> on simplebus0 >> >> gpiobus0: on gpio0 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> generic_timer0: irq 4,5,6,7 on ofwbus0 >> >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 10= 00 >> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 100= 0 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> usb_nop_xceiv0: on ofwbus0 >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> bcm_dma0: mem 0x7e007000-0x7e007aff irq >> >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >> >> Checking root against brcm,bcm2837 >> >> Checking root against brcm,bcm2711 >> >> bcmwd0: mem >> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on >> >> simplebus0 >> >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 o= n >> >> simplebus0 >> >> gpioc0: on gpio0 >> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >> >> simplebus0 >> >> uart0: console (115200,n,8,1) >> >> sdhci_bcm0: mem 0x7e340000-0x7e3400f= f >> >> irq 60 on simplebus0 >> >> mmc0: on sdhci_bcm0 >> >> sdhci_bcm1: mem 0x7e300000-0x7e3000f= f >> >> irq 61 on simplebus0 >> >> mmc1: on sdhci_bcm1 >> >> fb0: on simplebus0 >> >> fb0: keeping existing fb bpp of 32 >> >> fbd0 on fb0 >> >> WARNING: Device "fb" is Giant locked and may be deleted before FreeBS= D >> >> 13.0. >> >> VT: Replacing driver "efifb" with new "fb". >> >> fb0: 656x512(656x512@0,0) 32bpp >> >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 >> >> cpulist0: on ofwbus0 >> >> cpu0: on cpulist0 >> >> cpu1: on cpulist0 >> >> cpu2: on cpulist0 >> >> cpu3: on cpulist0 >> >> gpioled0: on ofwbus0 >> >> gpioled0: failed to map pin >> >> gpioregulator0: on ofwbus0 >> >> gpioregulator0: cannot get pin 0 >> >> gpioregulator0: cannot parse parameters >> >> device_attach: gpioregulator0 attach returned 6 >> >> cryptosoft0: >> >> Timecounters tick every 1.000 msec >> >> usb_needs_explore_all: no devclass >> >> mmcsd0: 126GB at >> mmc0 >> >> 50.0MHz/4bit/65535-block >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >> >> active command. >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER= DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> >> mmc1: No compatible cards found on bus >> >> Release APs...done >> >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 >> >> Instruction Set Attributes 0 =3D >> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >> >> Instruction Set Attributes 1 =3D <> >> >> Processor Features 0 =3D >> >> Processor Features 1 =3D <> >> >> Memory Model Features 0 =3D > >> ASID,16TB PA> >> >> Memory Model Features 1 =3D <8bit VMID> >> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 >> >> Breakpoints,PMUv3,Debugv8> >> >> Debug Features 1 =3D <> >> >> Auxiliary Features 0 =3D <> >> >> Auxiliary Features 1 =3D <> >> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 >> >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 >> >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 >> >> WARNING: WITNESS option enabled, expect reduced performance. >> >> WARNING: was not properly dismounted >> >> Warning: no time-of-day clock registered, system time will not be set >> >> accurately >> >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. >> >> Setting hostid: 0x3c744718. >> >> No suitable dump device was found. >> >> Starting file system checks: >> >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) >> (CORRECTED) >> >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 >> >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOULD= BE 24 >> >> (ADJUSTED) >> >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 >> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> >> (CLEARED) >> >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 >> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> >> (CLEARED) >> >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 >> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >> >> (CLEARED) >> >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 >> >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 >> >> (CLEARED) >> >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) >> >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) >> >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, >> >> 3647242 blocks, 0.0% fragmentation) >> >> Mounting local filesystems:. >> >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >> >> Setting hostname: generic. >> >> Setting up harvesting: >> >> >> [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD= ,ATTACH,CACHED >> >> Feeding entropy: . >> >> lo0: link state changed to UP >> >> Starting Network: lo0. >> >> lo0: flags=3D8049 metric 0 mtu 16384 >> >> options=3D680003 >> >> inet6 ::1 prefixlen 128 >> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >> >> inet 127.0.0.1 netmask 0xff000000 >> >> groups: lo >> >> nd6 options=3D21 >> >> Starting devd. >> >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >> >> add host ::1: gateway lo0 fib 0: route already in table >> >> add net fe80::: gateway ::1 >> >> add net ff02::: gateway ::1 >> >> add net ::ffff:0.0.0.0: gateway ::1 >> >> add net ::0.0.0.0: gateway ::1 >> >> Creating and/or trimming log files. >> >> Starting syslogd. >> >> Clearing /tmp (X related). >> >> Updating motd:. >> >> Mounting late filesystems:. >> >> Updating /var/run/os-release done. >> >> Configuring vt: blanktime. >> >> Performing sanity check on sshd configuration. >> >> Starting sshd. >> >> Starting cron. >> >> Starting background file system checks in 60 seconds. >> >> >> >> Thu Dec 12 09:13:14 UTC 2019 >> >> >> >> FreeBSD/arm64 (generic) (ttyu0) >> >> >> >> login: >> >> >> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC= =9A >> >> >> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >> >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >> >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8817=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93= =EF=BC=9A >> >>> >>> >> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: >> >>> >>> > >> >>> >>> > Hi, I download latest version 12.12 current 13 img and write i= n >> TF >> >>> card. >> >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract >> and >> >>> copy it >> >>> >>> > in BOOT partition. And look at my screen shows me that stop bo= ot >> >>> on lo0 >> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just wan= t >> to >> >>> install >> >>> >>> > it. Thanks. >> >>> >>> >> >>> >>> That's a most curious failure mode... if you got to the point >> where >> >>> >>> we're bringing up lo0, it should have either been fine or blown = up >> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based on >> the >> >>> >>> latest snapshot and see if I can reproduce. >> >>> >>> >> >>> >>> In the meantime, can you post a transcript of the boot? >> >>> >>> >> >>> >>> Thanks, >> >>> >>> >> >>> >>> Kyle Evans >> >>> >> >> >>> >> New error: stopped at >> >>> >> Warning: no time-of-day clock registered. system time will not be >> set >> >>> accurately. >> >>> > >> >>> > I just reboot and bugs show: >> >>> > lo0 :link state change to UP. >> >>> > >> >>> >> >>> Can you scroll up to just above that sdhci output and take another >> >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >> >>> >> >>> Thanks, >> >>> >> >>> Kyle Evans >> >>> >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >> >> >> From owner-freebsd-arm@freebsd.org Wed Dec 18 03:16:37 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA5E61D21B9 for ; Wed, 18 Dec 2019 03:16:37 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47d0Xj0Nt0z45by; Wed, 18 Dec 2019 03:16:36 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-il1-x130.google.com with SMTP id g12so444842ild.2; Tue, 17 Dec 2019 19:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/PA4Ye5cks1OsV7bpFQiOW2ytsfoIbHhY9ppmNdO3hs=; b=V7qLJiUsY51/gqS0SWPgVmv2zwAbq5PBUp10iSvp3DZW/+Jibg57NZ/bi98zkjJMlp +U8bAKASCExEU+xusk2zycFG0JIYAKSYV3o1Oc9SN2H/bcojQ2V0nrMOvJGxHLA4XYdO b5IQpppkfl4gzrUpIo+5O56Qhya3JaLZcI3fxTPDDoyIILOc9j2fPQAJ1wLJnN9M2BUJ yaWtzWmn22AFwVqDfq733Ah9jafMQ2YuqVyiK3BaLGgccv7u4Lv0ZBp6YtfCoF7AMArh CDj9/4OIHH6ZzABSXALrAY9PfLk01DCHV0RK/7MsKvEo5xnbymyhjFTA0DNyEHijMQil YODQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/PA4Ye5cks1OsV7bpFQiOW2ytsfoIbHhY9ppmNdO3hs=; b=iuuC4QJKcJaDGa1UM2UGpufa4iCDWBI7+fL6o/f6XqAon/2huryI1F01SBkif2aWyf SUplkI+k+PBStcSjStrYAv5Y6FUuVTvOFlsGok8ttsolJMX/aGqvVzdfYOfDk+7yWB7S DPoOTNXVShc8LioaQ3Ld/DoGFtnP2m53IXL3tqfmj6OltyyrcQm/OV7E7T+Wiv1bKCYs 5TeknRlWIB1vwig/w1NMEFt1MJEshs/NlaqkzlR2l/o70KjwyUm7Xbct6D8EN+C28vBo JcHgGm1LHjJYsMtH6aNWtFA9Iov3f1uhmEkAEjVJHEeWZHJZjtuXNRc9kH/MlGGSYXj3 O8pg== X-Gm-Message-State: APjAAAXC/oQM+njh+RfrFPg04ZwtQBqnJBMjnP7o1+AzfS8PIkAh3ap7 64VNW4ouHsz1s5qZaGaTlLJmyLCVODsAtYqxdSI= X-Google-Smtp-Source: APXvYqwNuRykep9qXsJye3xTltmjYTb/q9oOkP+a+OlSM/dUlCw2BLf35XoaVxxA4P2cStM5dqFKneQU847zyxqlf3Y= X-Received: by 2002:a92:1699:: with SMTP id 25mr1144057ilw.234.1576638995480; Tue, 17 Dec 2019 19:16:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 11:16:24 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Robert Crowston Cc: Kyle Evans , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47d0Xj0Nt0z45by X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V7qLJiUs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yklaxds@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=yklaxds@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[protonmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(0.00)[ip: (-8.60), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 03:16:37 -0000 I tested many dtoverlay likes dtoverlay=3Dpi3-miniuart-bt=EF=BC=8Cpi3-disa= ble-bt or disable-bt miniuart-bt. All of them will shows me garbled. ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5=91= =A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:43=E5=86=99=E9=81=93=EF=BC=9A > my config.txt > > -------------------------------------------------------------------------= ------------- > arm_control=3D0x200 > arm_64bit=3D1 > dtoverlay=3Ddisable-bt > dtoverlay=3Dmmc > device_tree_address=3D0x4000 > kernel=3Du-boot.bin > armstub=3Darmstub8-gic.bin > enable_uart=3D1 > > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5= =91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:39=E5=86=99=E9=81=93=EF=BC=9A > >> Not after something(It show me login I can't input), and all my input to >> raspberry pi are error but the raspberry pi output are normal. >> >> Robert Crowston =E4=BA=8E 2019=E5=B9=B412=E6= =9C=8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9=81= =93=EF=BC=9A >> >>> Does this garbling happen just after /sbin/init runs? >>> >>> You need to add an overlay to your config.txt, I can=E2=80=99t remember= which >>> one from here. Or double your comspeed from that point. >>> >>> On Tue, Dec 17, 2019 at 13:40, ykla wrote: >>> >>> I try two tools putty and xshell. Com10 115200. >>> >>> ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A >>> >>> > PL2303 TTL to USB can only output and I can't input anything. Any inp= ut >>> > are garbled. >>> > >>> > [image: 1217114605.png] >>> > >>> > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A >>> > >>> >> I reboot for 10 times and now show me root login, but usually stops = on >>> >> lo0. >>> >> Here's log: >>> >> >>> >> Connecting to COM10... >>> >> Connected. >>> >> >>> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 >>> >> Loading Environment from FAT... In: serial >>> >> Out: vidconsole >>> >> Err: vidconsole >>> >> Net: Net Initialization Skipped >>> >> No ethernet found. >>> >> Hit any key to stop autoboot: 0 >>> >> switch to partitions #0, OK >>> >> mmc0 is current device >>> >> Scanning mmc 0:1... >>> >> Found EFI removable media binary efi/boot/bootaa64.efi >>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>> >> Scanning disk emmc2@7e340000.blk... >>> >> Scanning disk mmc@7e300000.blk... >>> >> Disk mmc@7e300000.blk not ready >>> >> Found 3 disks >>> >> BootOrder not defined >>> >> EFI boot manager: Cannot load any image >>> >> 677944 bytes read in 77 ms (8.4 MiB/s) >>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>> >> Consoles: EFI console >>> >> Reading loader env vars from /efi/freebsd/loader.env >>> >> Setting currdev to disk0p1: >>> >> FreeBSD/arm64 EFI loader, Revision 1.1 >>> >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) >>> >> >>> >> Command line arguments: loader.efi >>> >> Image base: 0x39ea3000 >>> >> EFI version: 2.80 >>> >> EFI Firmware: Das U-Boot (rev 8217.4096) >>> >> Console: efi (0x1000) >>> >> Load Path: /efi\boot\bootaa64.efi >>> >> Load Device: >>> >> >>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6f= c52af,0x81f,0x18fa8) >>> >> Trying ESP: >>> >> >>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6f= c52af,0x81f,0x18fa8) >>> >> Setting currdev to disk0p1: >>> >> Trying: >>> >> >>> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6f= c52af,0x197c7,0xeb68839) >>> >> Setting currdev to disk0p2: >>> >> Loading /boot/defaults/loader.conf >>> >> Loading /boot/device.hints >>> >> Loading /boot/loader.conf >>> >> Loading /boot/loader.conf.local >>> >> Loading kernel... >>> >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79b= 9e0 >>> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >>> >> Loading configured modules... >>> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x10 >>> >> syms=3D[0x8+0xf48+0x8+0xb6e] >>> >> /boot/entropy size=3D0x1000 >>> >> >>> >> Hit [Enter] to boot immediately, or any other key for command prompt= . >>> >> Booting [/boot/kernel/kernel]... >>> >> Using DTB provided by EFI at 0x7ef2000. >>> >> EFI framebuffer information: >>> >> addr, size 0x3eab2000, 0x148000 >>> >> dimensions 656 x 512 >>> >> stride 656 >>> >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >>> >> ---<>--- >>> >> KDB: debugger backends: ddb >>> >> KDB: current backend: ddb >>> >> Copyright (c) 1992-2019 The FreeBSD Project. >>> >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >>> 1994 >>> >> The Regents of the University of California. All rights reserved. >>> >> FreeBSD is a registered trademark of The FreeBSD Foundation. >>> >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 >>> >> root@releng1.nyi.freebsd.org: >>> /usr/obj/usr/src/arm64.aarch64/sys/GENERIC >>> >> arm64 >>> >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based o= n >>> >> LLVM 9.0.0) >>> >> WARNING: WITNESS option enabled, expect reduced performance. >>> >> VT(efifb): resolution 656x512 >>> >> module firmware already present! >>> >> KLD file umodem.ko is missing dependencies >>> >> Starting CPU 1 (1) >>> >> Starting CPU 2 (2) >>> >> Starting CPU 3 (3) >>> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>> >> random: unblocking device. >>> >> random: entropy device external interface >>> >> MAP 39f53000 mode 2 pages 1 >>> >> MAP 39f57000 mode 2 pages 1 >>> >> MAP 3b360000 mode 2 pages 16 >>> >> MAP fe100000 mode 0 pages 1 >>> >> WARNING: Device "kbd" is Giant locked and may be deleted before >>> FreeBSD >>> >> 13.0. >>> >> kbd0 at kbdmux0 >>> >> WARNING: Device "openfirm" is Giant locked and may be deleted before >>> >> FreeBSD 13.0. >>> >> ofwbus0: >>> >> simplebus0: on ofwbus0 >>> >> ofw_clkbus0: on ofwbus0 >>> >> clk_fixed0: on ofw_clkbus0 >>> >> clk_fixed1: on ofw_clkbus0 >>> >> simplebus1: on ofwbus0 >>> >> simplebus2: on ofwbus0 >>> >> regfix0: on ofwbus0 >>> >> regfix1: on ofwbus0 >>> >> psci0: on ofwbus0 >>> >> gic0: mem >>> >> >>> 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x400= 46000-0x40047fff >>> >> irq 46 on simplebus0 >>> >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 >>> >> gpio0: mem 0x7e200000-0x7e2000b3 irq >>> 22,23 >>> >> on simplebus0 >>> >> gpiobus0: on gpio0 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> generic_timer0: irq 4,5,6,7 on ofwbus0 >>> >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality >>> 1000 >>> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 10= 00 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> usb_nop_xceiv0: on ofwbus0 >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> bcm_dma0: mem 0x7e007000-0x7e007aff irq >>> >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >>> >> Checking root against brcm,bcm2837 >>> >> Checking root against brcm,bcm2711 >>> >> bcmwd0: mem >>> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on >>> >> simplebus0 >>> >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 = on >>> >> simplebus0 >>> >> gpioc0: on gpio0 >>> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >>> >> simplebus0 >>> >> uart0: console (115200,n,8,1) >>> >> sdhci_bcm0: mem 0x7e340000-0x7e3400= ff >>> >> irq 60 on simplebus0 >>> >> mmc0: on sdhci_bcm0 >>> >> sdhci_bcm1: mem 0x7e300000-0x7e3000= ff >>> >> irq 61 on simplebus0 >>> >> mmc1: on sdhci_bcm1 >>> >> fb0: on simplebus0 >>> >> fb0: keeping existing fb bpp of 32 >>> >> fbd0 on fb0 >>> >> WARNING: Device "fb" is Giant locked and may be deleted before FreeB= SD >>> >> 13.0. >>> >> VT: Replacing driver "efifb" with new "fb". >>> >> fb0: 656x512(656x512@0,0) 32bpp >>> >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 >>> >> cpulist0: on ofwbus0 >>> >> cpu0: on cpulist0 >>> >> cpu1: on cpulist0 >>> >> cpu2: on cpulist0 >>> >> cpu3: on cpulist0 >>> >> gpioled0: on ofwbus0 >>> >> gpioled0: failed to map pin >>> >> gpioregulator0: on ofwbus0 >>> >> gpioregulator0: cannot get pin 0 >>> >> gpioregulator0: cannot parse parameters >>> >> device_attach: gpioregulator0 attach returned 6 >>> >> cryptosoft0: >>> >> Timecounters tick every 1.000 msec >>> >> usb_needs_explore_all: no devclass >>> >> mmcsd0: 126GB at >>> mmc0 >>> >> 50.0MHz/4bit/65535-block >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>> >> active command. >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTE= R DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>> >> mmc1: No compatible cards found on bus >>> >> Release APs...done >>> >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 >>> >> Instruction Set Attributes 0 =3D >>> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >>> >> Instruction Set Attributes 1 =3D <> >>> >> Processor Features 0 =3D >>> >> Processor Features 1 =3D <> >>> >> Memory Model Features 0 =3D >> >> ASID,16TB PA> >>> >> Memory Model Features 1 =3D <8bit VMID> >>> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >>> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 >>> >> Breakpoints,PMUv3,Debugv8> >>> >> Debug Features 1 =3D <> >>> >> Auxiliary Features 0 =3D <> >>> >> Auxiliary Features 1 =3D <> >>> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 >>> >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 >>> >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 >>> >> WARNING: WITNESS option enabled, expect reduced performance. >>> >> WARNING: was not properly dismounted >>> >> Warning: no time-of-day clock registered, system time will not be se= t >>> >> accurately >>> >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. >>> >> Setting hostid: 0x3c744718. >>> >> No suitable dump device was found. >>> >> Starting file system checks: >>> >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) >>> (CORRECTED) >>> >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 >>> >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOUL= D BE >>> 24 >>> >> (ADJUSTED) >>> >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 >>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>> >> (CLEARED) >>> >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 >>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>> >> (CLEARED) >>> >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 >>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>> >> (CLEARED) >>> >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 >>> >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 >>> >> (CLEARED) >>> >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) >>> >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) >>> >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags, >>> >> 3647242 blocks, 0.0% fragmentation) >>> >> Mounting local filesystems:. >>> >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>> >> Setting hostname: generic. >>> >> Setting up harvesting: >>> >> >>> [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOAR= D,ATTACH,CACHED >>> >> Feeding entropy: . >>> >> lo0: link state changed to UP >>> >> Starting Network: lo0. >>> >> lo0: flags=3D8049 metric 0 mtu 16384 >>> >> options=3D680003 >>> >> inet6 ::1 prefixlen 128 >>> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >>> >> inet 127.0.0.1 netmask 0xff000000 >>> >> groups: lo >>> >> nd6 options=3D21 >>> >> Starting devd. >>> >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >>> >> add host ::1: gateway lo0 fib 0: route already in table >>> >> add net fe80::: gateway ::1 >>> >> add net ff02::: gateway ::1 >>> >> add net ::ffff:0.0.0.0: gateway ::1 >>> >> add net ::0.0.0.0: gateway ::1 >>> >> Creating and/or trimming log files. >>> >> Starting syslogd. >>> >> Clearing /tmp (X related). >>> >> Updating motd:. >>> >> Mounting late filesystems:. >>> >> Updating /var/run/os-release done. >>> >> Configuring vt: blanktime. >>> >> Performing sanity check on sshd configuration. >>> >> Starting sshd. >>> >> Starting cron. >>> >> Starting background file system checks in 60 seconds. >>> >> >>> >> Thu Dec 12 09:13:14 UTC 2019 >>> >> >>> >> FreeBSD/arm64 (generic) (ttyu0) >>> >> >>> >> login: >>> >> >>> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC= =9A >>> >> >>> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >>> >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >>> >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8817=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93= =EF=BC=9A >>> >>> >>> >>> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote: >>> >>> >>> > >>> >>> >>> > Hi, I download latest version 12.12 current 13 img and write >>> in TF >>> >>> card. >>> >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extract >>> and >>> >>> copy it >>> >>> >>> > in BOOT partition. And look at my screen shows me that stop >>> boot >>> >>> on lo0 >>> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just >>> want to >>> >>> install >>> >>> >>> > it. Thanks. >>> >>> >>> >>> >>> >>> That's a most curious failure mode... if you got to the point >>> where >>> >>> >>> we're bringing up lo0, it should have either been fine or blown >>> up >>> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based o= n >>> the >>> >>> >>> latest snapshot and see if I can reproduce. >>> >>> >>> >>> >>> >>> In the meantime, can you post a transcript of the boot? >>> >>> >>> >>> >>> >>> Thanks, >>> >>> >>> >>> >>> >>> Kyle Evans >>> >>> >> >>> >>> >> New error: stopped at >>> >>> >> Warning: no time-of-day clock registered. system time will not b= e >>> set >>> >>> accurately. >>> >>> > >>> >>> > I just reboot and bugs show: >>> >>> > lo0 :link state change to UP. >>> >>> > >>> >>> >>> >>> Can you scroll up to just above that sdhci output and take another >>> >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >>> >>> >>> >>> Thanks, >>> >>> >>> >>> Kyle Evans >>> >>> >>> >> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>> >>> >>> >>> From owner-freebsd-arm@freebsd.org Wed Dec 18 03:25:36 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 765261D254D for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47d0l43JVlz46J6 for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 5C08CEB2F for ; Wed, 18 Dec 2019 03:25:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f169.google.com with SMTP id k40so809980qtk.8 for ; Tue, 17 Dec 2019 19:25:36 -0800 (PST) X-Gm-Message-State: APjAAAVbDYFsJ4o/WGT9FOW95BIh5Rym4f8EPnPA8M2gk9FM/jLZPTew lakU/Fe9UbkbBCkqE6ENi6CaKk0uo5Kil2dOBzc= X-Google-Smtp-Source: APXvYqyRFNLMVSC+NdJww8D698G1Ip0w5s5AE7wEoJrAZCHFb5a4SNJ20DCCf/E4lbHUQj3xTCOLy399NDi0fhr2YTU= X-Received: by 2002:ac8:544f:: with SMTP id d15mr408902qtq.53.1576639535577; Tue, 17 Dec 2019 19:25:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Tue, 17 Dec 2019 21:25:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: ykla Cc: Robert Crowston , "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.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 03:25:36 -0000 On Tue, Dec 17, 2019 at 9:16 PM ykla wrote: > > I tested many dtoverlay likes dtoverlay=3Dpi3-miniuart-bt=EF=BC=8Cpi3-di= sable-bt or disable-bt miniuart-bt. All of them will shows me garbled. > disable-bt (which is the new name for pi3-disable-bt) was sufficient for me to stop the baudrate goofiness that Rob was referring to -- I've not yet had time to provision a new RPi4 image to try this out, but it should work. You clearly have the latest rpi-firmware update based on your config.txt. You dd'ed u-boot-rpi4 over to the image, right? ISTR the differences between rpi3 and rpi4 weren't that great, so there's a chance it could've worked to some extent if it was an rpi3 u-boot. > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5= =91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:43=E5=86=99=E9=81=93=EF=BC=9A >> >> my config.txt >> ------------------------------------------------------------------------= -------------- >> arm_control=3D0x200 >> arm_64bit=3D1 >> dtoverlay=3Ddisable-bt >> dtoverlay=3Dmmc >> device_tree_address=3D0x4000 >> kernel=3Du-boot.bin >> armstub=3Darmstub8-gic.bin >> enable_uart=3D1 >> >> ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5=E5= =91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:39=E5=86=99=E9=81=93=EF=BC=9A >>> >>> Not after something(It show me login I can't input), and all my input t= o raspberry pi are error but the raspberry pi output are normal. >>> >>> Robert Crowston =E4=BA=8E 2019=E5=B9=B412=E6= =9C=8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9=81= =93=EF=BC=9A >>>> >>>> Does this garbling happen just after /sbin/init runs? >>>> >>>> You need to add an overlay to your config.txt, I can=E2=80=99t remembe= r which one from here. Or double your comspeed from that point. >>>> >>>> On Tue, Dec 17, 2019 at 13:40, ykla wrote: >>>> >>>> I try two tools putty and xshell. Com10 115200. >>>> >>>> ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97=A5= =E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A >>>> >>>> > PL2303 TTL to USB can only output and I can't input anything. Any in= put >>>> > are garbled. >>>> > >>>> > [image: 1217114605.png] >>>> > >>>> > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A >>>> > >>>> >> I reboot for 10 times and now show me root login, but usually stops= on >>>> >> lo0. >>>> >> Here's log: >>>> >> >>>> >> Connecting to COM10... >>>> >> Connected. >>>> >> >>>> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 >>>> >> Loading Environment from FAT... In: serial >>>> >> Out: vidconsole >>>> >> Err: vidconsole >>>> >> Net: Net Initialization Skipped >>>> >> No ethernet found. >>>> >> Hit any key to stop autoboot: 0 >>>> >> switch to partitions #0, OK >>>> >> mmc0 is current device >>>> >> Scanning mmc 0:1... >>>> >> Found EFI removable media binary efi/boot/bootaa64.efi >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>>> >> Scanning disk emmc2@7e340000.blk... >>>> >> Scanning disk mmc@7e300000.blk... >>>> >> Disk mmc@7e300000.blk not ready >>>> >> Found 3 disks >>>> >> BootOrder not defined >>>> >> EFI boot manager: Cannot load any image >>>> >> 677944 bytes read in 77 ms (8.4 MiB/s) >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>>> >> Consoles: EFI console >>>> >> Reading loader env vars from /efi/freebsd/loader.env >>>> >> Setting currdev to disk0p1: >>>> >> FreeBSD/arm64 EFI loader, Revision 1.1 >>>> >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) >>>> >> >>>> >> Command line arguments: loader.efi >>>> >> Image base: 0x39ea3000 >>>> >> EFI version: 2.80 >>>> >> EFI Firmware: Das U-Boot (rev 8217.4096) >>>> >> Console: efi (0x1000) >>>> >> Load Path: /efi\boot\bootaa64.efi >>>> >> Load Device: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0= xf6fc52af,0x81f,0x18fa8) >>>> >> Trying ESP: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0= xf6fc52af,0x81f,0x18fa8) >>>> >> Setting currdev to disk0p1: >>>> >> Trying: >>>> >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0= xf6fc52af,0x197c7,0xeb68839) >>>> >> Setting currdev to disk0p2: >>>> >> Loading /boot/defaults/loader.conf >>>> >> Loading /boot/device.hints >>>> >> Loading /boot/loader.conf >>>> >> Loading /boot/loader.conf.local >>>> >> Loading kernel... >>>> >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x79= b9e0 >>>> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] >>>> >> Loading configured modules... >>>> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x1= 0 >>>> >> syms=3D[0x8+0xf48+0x8+0xb6e] >>>> >> /boot/entropy size=3D0x1000 >>>> >> >>>> >> Hit [Enter] to boot immediately, or any other key for command promp= t. >>>> >> Booting [/boot/kernel/kernel]... >>>> >> Using DTB provided by EFI at 0x7ef2000. >>>> >> EFI framebuffer information: >>>> >> addr, size 0x3eab2000, 0x148000 >>>> >> dimensions 656 x 512 >>>> >> stride 656 >>>> >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >>>> >> ---<>--- >>>> >> KDB: debugger backends: ddb >>>> >> KDB: current backend: ddb >>>> >> Copyright (c) 1992-2019 The FreeBSD Project. >>>> >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,= 1994 >>>> >> The Regents of the University of California. All rights reserved. >>>> >> FreeBSD is a registered trademark of The FreeBSD Foundation. >>>> >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 >>>> >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GEN= ERIC >>>> >> arm64 >>>> >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based = on >>>> >> LLVM 9.0.0) >>>> >> WARNING: WITNESS option enabled, expect reduced performance. >>>> >> VT(efifb): resolution 656x512 >>>> >> module firmware already present! >>>> >> KLD file umodem.ko is missing dependencies >>>> >> Starting CPU 1 (1) >>>> >> Starting CPU 2 (2) >>>> >> Starting CPU 3 (3) >>>> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>>> >> random: unblocking device. >>>> >> random: entropy device external interface >>>> >> MAP 39f53000 mode 2 pages 1 >>>> >> MAP 39f57000 mode 2 pages 1 >>>> >> MAP 3b360000 mode 2 pages 16 >>>> >> MAP fe100000 mode 0 pages 1 >>>> >> WARNING: Device "kbd" is Giant locked and may be deleted before Fre= eBSD >>>> >> 13.0. >>>> >> kbd0 at kbdmux0 >>>> >> WARNING: Device "openfirm" is Giant locked and may be deleted befor= e >>>> >> FreeBSD 13.0. >>>> >> ofwbus0: >>>> >> simplebus0: on ofwbus0 >>>> >> ofw_clkbus0: on ofwbus0 >>>> >> clk_fixed0: on ofw_clkbus0 >>>> >> clk_fixed1: on ofw_clkbus0 >>>> >> simplebus1: on ofwbus0 >>>> >> simplebus2: on ofwbus0 >>>> >> regfix0: on ofwbus0 >>>> >> regfix1: on ofwbus0 >>>> >> psci0: on ofwbus0 >>>> >> gic0: mem >>>> >> 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0= x40046000-0x40047fff >>>> >> irq 46 on simplebus0 >>>> >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 >>>> >> gpio0: mem 0x7e200000-0x7e2000b3 irq= 22,23 >>>> >> on simplebus0 >>>> >> gpiobus0: on gpio0 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> generic_timer0: irq 4,5,6,7 on ofwbus0 >>>> >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality = 1000 >>>> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1= 000 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> usb_nop_xceiv0: on ofwbus0 >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> bcm_dma0: mem 0x7e007000-0x7e007aff irq >>>> >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >>>> >> Checking root against brcm,bcm2837 >>>> >> Checking root against brcm,bcm2711 >>>> >> bcmwd0: mem >>>> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f o= n >>>> >> simplebus0 >>>> >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21= on >>>> >> simplebus0 >>>> >> gpioc0: on gpio0 >>>> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 on >>>> >> simplebus0 >>>> >> uart0: console (115200,n,8,1) >>>> >> sdhci_bcm0: mem 0x7e340000-0x7e340= 0ff >>>> >> irq 60 on simplebus0 >>>> >> mmc0: on sdhci_bcm0 >>>> >> sdhci_bcm1: mem 0x7e300000-0x7e300= 0ff >>>> >> irq 61 on simplebus0 >>>> >> mmc1: on sdhci_bcm1 >>>> >> fb0: on simplebus0 >>>> >> fb0: keeping existing fb bpp of 32 >>>> >> fbd0 on fb0 >>>> >> WARNING: Device "fb" is Giant locked and may be deleted before Free= BSD >>>> >> 13.0. >>>> >> VT: Replacing driver "efifb" with new "fb". >>>> >> fb0: 656x512(656x512@0,0) 32bpp >>>> >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 >>>> >> cpulist0: on ofwbus0 >>>> >> cpu0: on cpulist0 >>>> >> cpu1: on cpulist0 >>>> >> cpu2: on cpulist0 >>>> >> cpu3: on cpulist0 >>>> >> gpioled0: on ofwbus0 >>>> >> gpioled0: failed to map pin >>>> >> gpioregulator0: on ofwbus0 >>>> >> gpioregulator0: cannot get pin 0 >>>> >> gpioregulator0: cannot parse parameters >>>> >> device_attach: gpioregulator0 attach returned 6 >>>> >> cryptosoft0: >>>> >> Timecounters tick every 1.000 msec >>>> >> usb_needs_explore_all: no devclass >>>> >> mmcsd0: 126GB at= mmc0 >>>> >> 50.0MHz/4bit/65535-block >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is no >>>> >> active command. >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGIST= ER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >>>> >> mmc1: No compatible cards found on bus >>>> >> Release APs...done >>>> >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 >>>> >> Instruction Set Attributes 0 =3D >>>> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... >>>> >> Instruction Set Attributes 1 =3D <> >>>> >> Processor Features 0 =3D >>>> >> Processor Features 1 =3D <> >>>> >> Memory Model Features 0 =3D >>> >> ASID,16TB PA> >>>> >> Memory Model Features 1 =3D <8bit VMID> >>>> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >>>> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 >>>> >> Breakpoints,PMUv3,Debugv8> >>>> >> Debug Features 1 =3D <> >>>> >> Auxiliary Features 0 =3D <> >>>> >> Auxiliary Features 1 =3D <> >>>> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 >>>> >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 >>>> >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 >>>> >> WARNING: WITNESS option enabled, expect reduced performance. >>>> >> WARNING: was not properly dismounted >>>> >> Warning: no time-of-day clock registered, system time will not be s= et >>>> >> accurately >>>> >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. >>>> >> Setting hostid: 0x3c744718. >>>> >> No suitable dump device was found. >>>> >> Starting file system checks: >>>> >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) (CO= RRECTED) >>>> >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 >>>> >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SHOU= LD BE 24 >>>> >> (ADJUSTED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 >>>> >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 >>>> >> (CLEARED) >>>> >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) >>>> >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) >>>> >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 frags= , >>>> >> 3647242 blocks, 0.0% fragmentation) >>>> >> Mounting local filesystems:. >>>> >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>>> >> Setting hostname: generic. >>>> >> Setting up harvesting: >>>> >> [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEY= BOARD,ATTACH,CACHED >>>> >> Feeding entropy: . >>>> >> lo0: link state changed to UP >>>> >> Starting Network: lo0. >>>> >> lo0: flags=3D8049 metric 0 mtu 16384 >>>> >> options=3D680003 >>>> >> inet6 ::1 prefixlen 128 >>>> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >>>> >> inet 127.0.0.1 netmask 0xff000000 >>>> >> groups: lo >>>> >> nd6 options=3D21 >>>> >> Starting devd. >>>> >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >>>> >> add host ::1: gateway lo0 fib 0: route already in table >>>> >> add net fe80::: gateway ::1 >>>> >> add net ff02::: gateway ::1 >>>> >> add net ::ffff:0.0.0.0: gateway ::1 >>>> >> add net ::0.0.0.0: gateway ::1 >>>> >> Creating and/or trimming log files. >>>> >> Starting syslogd. >>>> >> Clearing /tmp (X related). >>>> >> Updating motd:. >>>> >> Mounting late filesystems:. >>>> >> Updating /var/run/os-release done. >>>> >> Configuring vt: blanktime. >>>> >> Performing sanity check on sshd configuration. >>>> >> Starting sshd. >>>> >> Starting cron. >>>> >> Starting background file system checks in 60 seconds. >>>> >> >>>> >> Thu Dec 12 09:13:14 UTC 2019 >>>> >> >>>> >> FreeBSD/arm64 (generic) (ttyu0) >>>> >> >>>> >> login: >>>> >> >>>> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF=BC= =9A >>>> >> >>>> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: >>>> >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6= =97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC=9A >>>> >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6=9C= =8817=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81=93= =EF=BC=9A >>>> >>> >>> >>>> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla wrote= : >>>> >>> >>> > >>>> >>> >>> > Hi, I download latest version 12.12 current 13 img and write= in TF >>>> >>> card. >>>> >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and extrac= t and >>>> >>> copy it >>>> >>> >>> > in BOOT partition. And look at my screen shows me that stop = boot >>>> >>> on lo0 >>>> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just w= ant to >>>> >>> install >>>> >>> >>> > it. Thanks. >>>> >>> >>> >>>> >>> >>> That's a most curious failure mode... if you got to the point = where >>>> >>> >>> we're bringing up lo0, it should have either been fine or blow= n up >>>> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish based = on the >>>> >>> >>> latest snapshot and see if I can reproduce. >>>> >>> >>> >>>> >>> >>> In the meantime, can you post a transcript of the boot? >>>> >>> >>> >>>> >>> >>> Thanks, >>>> >>> >>> >>>> >>> >>> Kyle Evans >>>> >>> >> >>>> >>> >> New error: stopped at >>>> >>> >> Warning: no time-of-day clock registered. system time will not = be set >>>> >>> accurately. >>>> >>> > >>>> >>> > I just reboot and bugs show: >>>> >>> > lo0 :link state change to UP. >>>> >>> > >>>> >>> >>>> >>> Can you scroll up to just above that sdhci output and take another >>>> >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) >>>> >>> >>>> >>> Thanks, >>>> >>> >>>> >>> Kyle Evans >>>> >>> >>>> >> >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>>> >>>> >>>> From owner-freebsd-arm@freebsd.org Wed Dec 18 03:46:59 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0816E1D2AAC for ; Wed, 18 Dec 2019 03:46:59 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47d1Ck6c2Fz475X; Wed, 18 Dec 2019 03:46:58 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id b10so453540iof.11; Tue, 17 Dec 2019 19:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+fsC2HP3gjS+h10bW5N5BfgUamUO8cXNfKl3QxsGjUw=; b=McdSGwpYTNyLoBHrAgp6O4+Mq+AXDvLZX2kXs7WJmEkVM7bPfZzjReesDwQSbBvs4O q9pyDZb7oHgoA1T+2SowtYVTtZsNwhI9mHc5rEygNdKY4/hIDPeSy5HaSAGg7I2js7R1 KTzT6TpaTolMoVQeyqaBjmtTecg0ivLdllpVmNPhObqOJ6ZVqW08C4R/YQfZ78rl9ebK s0bqyVGLypd7qzxRpidAL1881OTYNYftzGxjYEN/NTJG9GKj4331XKCL/3XZeAiz7Bn5 +kSpHFAzudBAEJ9GmMw2kHILh28p4JJhjhglA+Tc4Mbzva9FYgeefp4FnQ0SXoeXY8t7 UTtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+fsC2HP3gjS+h10bW5N5BfgUamUO8cXNfKl3QxsGjUw=; b=ICqIWRooNXQPhadbrx3s/7naoFJQTwHC7bf/AyQ9pHwbRDf0T20DqfzMIlA0bqk6Qy i3rDdtMeCi+utBKlrOYITVam3V84v/Gcw6y3ENPOEfXNYdGTyEUYASHUEhhtsI969Itq 9QH2io6tPkrR2b0nit2g55Qi/HqfjtSEVInuR3udAyA1kSTKAtefJlwIsdKPnfDhiozz GmmQWz+78L53apoS/7fT1Ys66HuJiueOMNVda+R2fGIIVgyicWwI5s1A6U5BKKhsD7u+ U3Vh3sz8Ta24WiZypiubgOfiYVw9mUp0mpV3uz+YboQ1C7XgDjV4aVtRqbhKi1yTl5M4 INTQ== X-Gm-Message-State: APjAAAW1DKfqjUKRs6PlbXQvrvnh92FNptjREWT2Y6PNdyMX2VBqWe5r jVje64EL3I1kb3xso/sXqD4ZSo2sx5b0mSQ1aidHRVdb5jk= X-Google-Smtp-Source: APXvYqyDYgAC2G582PfocF9y2Wi2VljJtb1tlpAbapGJpd9zlj+75BZsKu672BJHrmi1aViMtv14F0MfoU5OKr/fljE= X-Received: by 2002:a02:5883:: with SMTP id f125mr473247jab.45.1576640817454; Tue, 17 Dec 2019 19:46:57 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: ykla Date: Wed, 18 Dec 2019 11:46:45 +0800 Message-ID: Subject: Re: How to boot freebsd on rpi4b? To: Kyle Evans Cc: Robert Crowston , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47d1Ck6c2Fz475X X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 03:46:59 -0000 Yes, it not works. I had been using latest version rpi-firmware. Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97= =A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8811:25=E5=86=99=E9=81=93=EF=BC=9A > On Tue, Dec 17, 2019 at 9:16 PM ykla wrote: > > > > I tested many dtoverlay likes dtoverlay=3Dpi3-miniuart-bt=EF=BC=8Cpi3-= disable-bt > or disable-bt miniuart-bt. All of them will shows me garbled. > > > > disable-bt (which is the new name for pi3-disable-bt) was sufficient > for me to stop the baudrate goofiness that Rob was referring to -- > I've not yet had time to provision a new RPi4 image to try this out, > but it should work. You clearly have the latest rpi-firmware update > based on your config.txt. You dd'ed u-boot-rpi4 over to the image, > right? ISTR the differences between rpi3 and rpi4 weren't that great, > so there's a chance it could've worked to some extent if it was an > rpi3 u-boot. > > > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5= =E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:43=E5=86=99=E9=81=93=EF=BC=9A > >> > >> my config.txt > >> > -------------------------------------------------------------------------= ------------- > >> arm_control=3D0x200 > >> arm_64bit=3D1 > >> dtoverlay=3Ddisable-bt > >> dtoverlay=3Dmmc > >> device_tree_address=3D0x4000 > >> kernel=3Du-boot.bin > >> armstub=3Darmstub8-gic.bin > >> enable_uart=3D1 > >> > >> ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8818=E6=97=A5= =E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8810:39=E5=86=99=E9=81=93=EF=BC=9A > >>> > >>> Not after something(It show me login I can't input), and all my input > to raspberry pi are error but the raspberry pi output are normal. > >>> > >>> Robert Crowston =E4=BA=8E 2019=E5=B9=B412= =E6=9C=8818=E6=97=A5=E5=91=A8=E4=B8=89 =E4=B8=8A=E5=8D=8812:18=E5=86=99=E9= =81=93=EF=BC=9A > >>>> > >>>> Does this garbling happen just after /sbin/init runs? > >>>> > >>>> You need to add an overlay to your config.txt, I can=E2=80=99t remem= ber which > one from here. Or double your comspeed from that point. > >>>> > >>>> On Tue, Dec 17, 2019 at 13:40, ykla wrote: > >>>> > >>>> I try two tools putty and xshell. Com10 115200. > >>>> > >>>> ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:47=E5=86=99=E9=81=93=EF=BC=9A > >>>> > >>>> > PL2303 TTL to USB can only output and I can't input anything. Any > input > >>>> > are garbled. > >>>> > > >>>> > [image: 1217114605.png] > >>>> > > >>>> > ykla =E4=BA=8E2019=E5=B9=B412=E6=9C=8817=E6=97= =A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8811:13=E5=86=99=E9=81=93=EF=BC=9A > >>>> > > >>>> >> I reboot for 10 times and now show me root login, but usually > stops on > >>>> >> lo0. > >>>> >> Here's log: > >>>> >> > >>>> >> Connecting to COM10... > >>>> >> Connected. > >>>> >> > >>>> >> MMC: emmc2@7e340000: 0, mmc@7e300000: 1 > >>>> >> Loading Environment from FAT... In: serial > >>>> >> Out: vidconsole > >>>> >> Err: vidconsole > >>>> >> Net: Net Initialization Skipped > >>>> >> No ethernet found. > >>>> >> Hit any key to stop autoboot: 0 > >>>> >> switch to partitions #0, OK > >>>> >> mmc0 is current device > >>>> >> Scanning mmc 0:1... > >>>> >> Found EFI removable media binary efi/boot/bootaa64.efi > >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >>>> >> Scanning disk emmc2@7e340000.blk... > >>>> >> Scanning disk mmc@7e300000.blk... > >>>> >> Disk mmc@7e300000.blk not ready > >>>> >> Found 3 disks > >>>> >> BootOrder not defined > >>>> >> EFI boot manager: Cannot load any image > >>>> >> 677944 bytes read in 77 ms (8.4 MiB/s) > >>>> >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC > >>>> >> Consoles: EFI console > >>>> >> Reading loader env vars from /efi/freebsd/loader.env > >>>> >> Setting currdev to disk0p1: > >>>> >> FreeBSD/arm64 EFI loader, Revision 1.1 > >>>> >> (Thu Dec 12 06:37:06 UTC 2019 root@releng1.nyi.freebsd.org) > >>>> >> > >>>> >> Command line arguments: loader.efi > >>>> >> Image base: 0x39ea3000 > >>>> >> EFI version: 2.80 > >>>> >> EFI Firmware: Das U-Boot (rev 8217.4096) > >>>> >> Console: efi (0x1000) > >>>> >> Load Path: /efi\boot\bootaa64.efi > >>>> >> Load Device: > >>>> >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > >>>> >> Trying ESP: > >>>> >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,MBR,0xf6fc5= 2af,0x81f,0x18fa8) > >>>> >> Setting currdev to disk0p1: > >>>> >> Trying: > >>>> >> > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,MBR,0xf6fc5= 2af,0x197c7,0xeb68839) > >>>> >> Setting currdev to disk0p2: > >>>> >> Loading /boot/defaults/loader.conf > >>>> >> Loading /boot/device.hints > >>>> >> Loading /boot/loader.conf > >>>> >> Loading /boot/loader.conf.local > >>>> >> Loading kernel... > >>>> >> /boot/kernel/kernel text=3D0x9785cc data=3D0x18f538 data=3D0x0+0x= 79b9e0 > >>>> >> syms=3D[0x8+0x1441e0+0x8+0x12ebce] > >>>> >> Loading configured modules... > >>>> >> /boot/kernel/umodem.ko text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0= x10 > >>>> >> syms=3D[0x8+0xf48+0x8+0xb6e] > >>>> >> /boot/entropy size=3D0x1000 > >>>> >> > >>>> >> Hit [Enter] to boot immediately, or any other key for command > prompt. > >>>> >> Booting [/boot/kernel/kernel]... > >>>> >> Using DTB provided by EFI at 0x7ef2000. > >>>> >> EFI framebuffer information: > >>>> >> addr, size 0x3eab2000, 0x148000 > >>>> >> dimensions 656 x 512 > >>>> >> stride 656 > >>>> >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > >>>> >> ---<>--- > >>>> >> KDB: debugger backends: ddb > >>>> >> KDB: current backend: ddb > >>>> >> Copyright (c) 1992-2019 The FreeBSD Project. > >>>> >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, > 1993, 1994 > >>>> >> The Regents of the University of California. All rights reserved. > >>>> >> FreeBSD is a registered trademark of The FreeBSD Foundation. > >>>> >> FreeBSD 13.0-CURRENT #0 r355634: Thu Dec 12 07:51:26 UTC 2019 > >>>> >> root@releng1.nyi.freebsd.org: > /usr/obj/usr/src/arm64.aarch64/sys/GENERIC > >>>> >> arm64 > >>>> >> FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (base= d > on > >>>> >> LLVM 9.0.0) > >>>> >> WARNING: WITNESS option enabled, expect reduced performance. > >>>> >> VT(efifb): resolution 656x512 > >>>> >> module firmware already present! > >>>> >> KLD file umodem.ko is missing dependencies > >>>> >> Starting CPU 1 (1) > >>>> >> Starting CPU 2 (2) > >>>> >> Starting CPU 3 (3) > >>>> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >>>> >> random: unblocking device. > >>>> >> random: entropy device external interface > >>>> >> MAP 39f53000 mode 2 pages 1 > >>>> >> MAP 39f57000 mode 2 pages 1 > >>>> >> MAP 3b360000 mode 2 pages 16 > >>>> >> MAP fe100000 mode 0 pages 1 > >>>> >> WARNING: Device "kbd" is Giant locked and may be deleted before > FreeBSD > >>>> >> 13.0. > >>>> >> kbd0 at kbdmux0 > >>>> >> WARNING: Device "openfirm" is Giant locked and may be deleted > before > >>>> >> FreeBSD 13.0. > >>>> >> ofwbus0: > >>>> >> simplebus0: on ofwbus0 > >>>> >> ofw_clkbus0: on ofwbus0 > >>>> >> clk_fixed0: on ofw_clkbus0 > >>>> >> clk_fixed1: on ofw_clkbus0 > >>>> >> simplebus1: on ofwbus0 > >>>> >> simplebus2: on ofwbus0 > >>>> >> regfix0: on ofwbus0 > >>>> >> regfix1: on ofwbus0 > >>>> >> psci0: on ofwbus= 0 > >>>> >> gic0: mem > >>>> >> > 0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046= 000-0x40047fff > >>>> >> irq 46 on simplebus0 > >>>> >> gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 > >>>> >> gpio0: mem 0x7e200000-0x7e2000b3 > irq 22,23 > >>>> >> on simplebus0 > >>>> >> gpiobus0: on gpio0 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> generic_timer0: irq 4,5,6,7 on ofwbus0 > >>>> >> Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz qualit= y > 1000 > >>>> >> Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality > 1000 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> usb_nop_xceiv0: on ofwbus0 > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> bcm_dma0: mem 0x7e007000-0x7e007aff irq > >>>> >> 9,10,11,12,13,14,15,16,17,18,19 on simplebus0 > >>>> >> Checking root against brcm,bcm2837 > >>>> >> Checking root against brcm,bcm2711 > >>>> >> bcmwd0: mem > >>>> >> 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f > on > >>>> >> simplebus0 > >>>> >> mbox0: mem 0x7e00b880-0x7e00b8bf irq > 21 on > >>>> >> simplebus0 > >>>> >> gpioc0: on gpio0 > >>>> >> uart0: mem 0x7e201000-0x7e2011ff irq 24 = on > >>>> >> simplebus0 > >>>> >> uart0: console (115200,n,8,1) > >>>> >> sdhci_bcm0: mem > 0x7e340000-0x7e3400ff > >>>> >> irq 60 on simplebus0 > >>>> >> mmc0: on sdhci_bcm0 > >>>> >> sdhci_bcm1: mem > 0x7e300000-0x7e3000ff > >>>> >> irq 61 on simplebus0 > >>>> >> mmc1: on sdhci_bcm1 > >>>> >> fb0: on simplebus0 > >>>> >> fb0: keeping existing fb bpp of 32 > >>>> >> fbd0 on fb0 > >>>> >> WARNING: Device "fb" is Giant locked and may be deleted before > FreeBSD > >>>> >> 13.0. > >>>> >> VT: Replacing driver "efifb" with new "fb". > >>>> >> fb0: 656x512(656x512@0,0) 32bpp > >>>> >> fb0: fbswap: 1, pitch 2624, base 0x3eab2000, screen_size 1343488 > >>>> >> cpulist0: on ofwbus0 > >>>> >> cpu0: on cpulist0 > >>>> >> cpu1: on cpulist0 > >>>> >> cpu2: on cpulist0 > >>>> >> cpu3: on cpulist0 > >>>> >> gpioled0: on ofwbus0 > >>>> >> gpioled0: failed to map pin > >>>> >> gpioregulator0: on ofwbus0 > >>>> >> gpioregulator0: cannot get pin 0 > >>>> >> gpioregulator0: cannot parse parameters > >>>> >> device_attach: gpioregulator0 attach returned 6 > >>>> >> cryptosoft0: > >>>> >> Timecounters tick every 1.000 msec > >>>> >> usb_needs_explore_all: no devclass > >>>> >> mmcsd0: 126GB > at mmc0 > >>>> >> 50.0MHz/4bit/65535-block > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x000001aa | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Got command interrupt 0x00030000, but there is = no > >>>> >> active command. > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGI= STER DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >>>> >> sdhci_bcm1-slot0: Sys addr: 0x00000000 | Version: 0x00009902 > >>>> >> sdhci_bcm1-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Present: 0x000f0000 | Host ctl: 0x00000001 > >>>> >> sdhci_bcm1-slot0: Power: 0x0000000f | Blk gap: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Wake-up: 0x00000000 | Clock: 0x0000fa07 > >>>> >> sdhci_bcm1-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Int enab: 0x01ff00bb | Sig enab: 0x01ff00bb > >>>> >> sdhci_bcm1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000 > >>>> >> sdhci_bcm1-slot0: Caps: 0x00000000 | Caps2: 0x00000000 > >>>> >> sdhci_bcm1-slot0: Max curr: 0x00000001 | ADMA err: 0x00000000 > >>>> >> sdhci_bcm1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000 > >>>> >> sdhci_bcm1-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > >>>> >> mmc1: No compatible cards found on bus > >>>> >> Release APs...done > >>>> >> CPU 0: ARM Cortex-A72 r0p3 affinity: 0 > >>>> >> Instruction Set Attributes 0 =3D > >>>> >> Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > >>>> >> Instruction Set Attributes 1 =3D <> > >>>> >> Processor Features 0 =3D > >>>> >> Processor Features 1 =3D <> > >>>> >> Memory Model Features 0 =3D >>>> >> ASID,16TB PA> > >>>> >> Memory Model Features 1 =3D <8bit VMID> > >>>> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> > >>>> >> Debug Features 0 =3D <2 CTX BKPTs,4 Watchpoints,6 > >>>> >> Breakpoints,PMUv3,Debugv8> > >>>> >> Debug Features 1 =3D <> > >>>> >> Auxiliary Features 0 =3D <> > >>>> >> Auxiliary Features 1 =3D <> > >>>> >> CPU 1: ARM Cortex-A72 r0p3 affinity: 1 > >>>> >> CPU 2: ARM Cortex-A72 r0p3 affinity: 2 > >>>> >> CPU 3: ARM Cortex-A72 r0p3 affinity: 3 > >>>> >> WARNING: WITNESS option enabled, expect reduced performance. > >>>> >> WARNING: was not properly dismounted > >>>> >> Warning: no time-of-day clock registered, system time will not be > set > >>>> >> accurately > >>>> >> Setting hostuuid: 30303031-3030-3030-3165-653364373161. > >>>> >> Setting hostid: 0x3c744718. > >>>> >> No suitable dump device was found. > >>>> >> Starting file system checks: > >>>> >> /dev/ufs/rootfs: INCORRECT BLOCK COUNT I=3D4470 (8 should be 0) > (CORRECTED) > >>>> >> /dev/ufs/rootfs: LINK COUNT DIR I=3D11 OWNER=3Droot MODE=3D40755 > >>>> >> /dev/ufs/rootfs: SIZE=3D512 MTIME=3DDec 12 09:12 2019 COUNT 25 SH= OULD > BE 24 > >>>> >> (ADJUSTED) > >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4466 OWNER=3Droot MODE=3D100644 > >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >>>> >> (CLEARED) > >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4469 OWNER=3Droot MODE=3D100644 > >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >>>> >> (CLEARED) > >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4470 OWNER=3Droot MODE=3D100444 > >>>> >> /dev/ufs/rootfs: SIZE=3D0 MTIME=3DDec 12 09:12 2019 > >>>> >> (CLEARED) > >>>> >> /dev/ufs/rootfs: UNREF FILE I=3D4501 OWNER=3Droot MODE=3D100600 > >>>> >> /dev/ufs/rootfs: SIZE=3D4096 MTIME=3DDec 12 09:11 2019 > >>>> >> (CLEARED) > >>>> >> /dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED) > >>>> >> /dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED) > >>>> >> /dev/ufs/rootfs: 23639 files, 705985 used, 29178238 free (302 > frags, > >>>> >> 3647242 blocks, 0.0% fragmentation) > >>>> >> Mounting local filesystems:. > >>>> >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat > >>>> >> Setting hostname: generic. > >>>> >> Setting up harvesting: > >>>> >> > [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,= ATTACH,CACHED > >>>> >> Feeding entropy: . > >>>> >> lo0: link state changed to UP > >>>> >> Starting Network: lo0. > >>>> >> lo0: flags=3D8049 metric 0 mtu 163= 84 > >>>> >> options=3D680003 > >>>> >> inet6 ::1 prefixlen 128 > >>>> >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > >>>> >> inet 127.0.0.1 netmask 0xff000000 > >>>> >> groups: lo > >>>> >> nd6 options=3D21 > >>>> >> Starting devd. > >>>> >> add host 127.0.0.1: gateway lo0 fib 0: route already in table > >>>> >> add host ::1: gateway lo0 fib 0: route already in table > >>>> >> add net fe80::: gateway ::1 > >>>> >> add net ff02::: gateway ::1 > >>>> >> add net ::ffff:0.0.0.0: gateway ::1 > >>>> >> add net ::0.0.0.0: gateway ::1 > >>>> >> Creating and/or trimming log files. > >>>> >> Starting syslogd. > >>>> >> Clearing /tmp (X related). > >>>> >> Updating motd:. > >>>> >> Mounting late filesystems:. > >>>> >> Updating /var/run/os-release done. > >>>> >> Configuring vt: blanktime. > >>>> >> Performing sanity check on sshd configuration. > >>>> >> Starting sshd. > >>>> >> Starting cron. > >>>> >> Starting background file system checks in 60 seconds. > >>>> >> > >>>> >> Thu Dec 12 09:13:14 UTC 2019 > >>>> >> > >>>> >> FreeBSD/arm64 (generic) (ttyu0) > >>>> >> > >>>> >> login: > >>>> >> > >>>> >> Kyle Evans =E4=BA=8E2019=E5=B9=B412=E6=9C=88= 17=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:33=E5=86=99=E9=81=93=EF= =BC=9A > >>>> >> > >>>> >>> On Mon, Dec 16, 2019 at 8:30 PM ykla wrote: > >>>> >>> > ykla =E4=BA=8E 2019=E5=B9=B412=E6=9C=8817= =E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:27=E5=86=99=E9=81=93=EF=BC= =9A > >>>> >>> >> Kyle Evans =E4=BA=8E 2019=E5=B9=B412=E6= =9C=8817=E6=97=A5=E5=91=A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:04=E5=86=99=E9=81= =93=EF=BC=9A > >>>> >>> >>> > >>>> >>> >>> On Mon, Dec 16, 2019 at 7:50 PM ykla > wrote: > >>>> >>> >>> > > >>>> >>> >>> > Hi, I download latest version 12.12 current 13 img and > write in TF > >>>> >>> card. > >>>> >>> >>> > Then I download rpi-firmware(2019-12-05 16:15:16) and > extract and > >>>> >>> copy it > >>>> >>> >>> > in BOOT partition. And look at my screen shows me that sto= p > boot > >>>> >>> on lo0 > >>>> >>> >>> > state. I know it can't support USB/PCI/ethernet and I just > want to > >>>> >>> install > >>>> >>> >>> > it. Thanks. > >>>> >>> >>> > >>>> >>> >>> That's a most curious failure mode... if you got to the poin= t > where > >>>> >>> >>> we're bringing up lo0, it should have either been fine or > blown up > >>>> >>> >>> terribly in an obvious way -- I'll reimage tomorrow-ish base= d > on the > >>>> >>> >>> latest snapshot and see if I can reproduce. > >>>> >>> >>> > >>>> >>> >>> In the meantime, can you post a transcript of the boot? > >>>> >>> >>> > >>>> >>> >>> Thanks, > >>>> >>> >>> > >>>> >>> >>> Kyle Evans > >>>> >>> >> > >>>> >>> >> New error: stopped at > >>>> >>> >> Warning: no time-of-day clock registered. system time will no= t > be set > >>>> >>> accurately. > >>>> >>> > > >>>> >>> > I just reboot and bugs show: > >>>> >>> > lo0 :link state change to UP. > >>>> >>> > > >>>> >>> > >>>> >>> Can you scroll up to just above that sdhci output and take anoth= er > >>>> >>> picture? (above the =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D) > >>>> >>> > >>>> >>> Thanks, > >>>> >>> > >>>> >>> Kyle Evans > >>>> >>> > >>>> >> > >>>> _______________________________________________ > >>>> freebsd-arm@freebsd.org mailing list > >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.or= g > " > >>>> > >>>> > >>>> > From owner-freebsd-arm@freebsd.org Wed Dec 18 10:19:52 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D1671DAA6D for ; Wed, 18 Dec 2019 10:19:52 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47d9x32xlHz4QV3 for ; Wed, 18 Dec 2019 10:19:50 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Wed, 18 Dec 2019 10:11:29 +0000 Received: from [127.0.0.1] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 16D2EEB9-3E80-48E7-83F4-118BEE45EFC4.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Wed, 18 Dec 2019 10:11:28 +0000 Date: Wed, 18 Dec 2019 10:11:27 +0000 (UTC) From: Greg V To: ykla Cc: freebsd-arm@freebsd.org Message-ID: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> In-Reply-To: References: Subject: Re: How to boot freebsd on rpi4b? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Correlation-ID: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> DKIM-Signature: v=1; a=rsa-sha256; bh=lNz3TUbjjzPDaBHaa00iGYmc6vz1aXJeARX0LLadFqs=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=HsOminRAb06HhiibjYz7Ot5E8kkYeuPfiJC022yQfR2hSDmPd80uPv8s1VYRLRPu0iUOowseRXe+TeeST8Vd/r01SUvlAz3d38wONlWcsS9ybFqWZPlxNEYap1WnSr21rdlx2fS/gw3ZgVqa3qVTjO08Q3HI5Q5U85KClztg7Kg= X-Rspamd-Queue-Id: 47d9x32xlHz4QV3 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=HsOminRA; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [5.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:91.121.223.63:c]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[unrelenting.technology,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; IP_SCORE(-1.84)[ip: (-9.82), ipnet: 91.121.0.0/16(-1.25), asn: 16276(1.87), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[146.208.122.62.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[unrelenting.technology:s=default]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.23)[0.234,0]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.81)[0.813,0]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[63.223.121.91.rep.mailspike.net : 127.0.0.17]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 10:19:52 -0000 Dec 17, 2019 4:51:00 AM ykla : > Hi, I download latest version 12.12 current 13 img and write in TF card. > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > in BOOT partition. And look at my screen shows me that stop boot on lo0 > state. I know it can't support USB/PCI/ethernet and I just want to install > it. Thanks. USB should be relatively easy to add by the way. No need for actual PCIe support, we can directly use it as a memory mapped generic XHCI: https://github.com/pftf/edk2-platforms/commit/5779a50fd5a001f496fe5d9744a06e75762ba58c From owner-freebsd-arm@freebsd.org Wed Dec 18 10:34:01 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 745931DB2DF for ; Wed, 18 Dec 2019 10:34:01 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dBFM6B8hz4RP3 for ; Wed, 18 Dec 2019 10:33:59 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id f1b9f1e3; Wed, 18 Dec 2019 11:33:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=angb61b70PYgoYS/8ML9CBNjCUU=; b=WZYOpUMw+PB7NhG4n+NX9UEH1uWd XBdib7qtQFs7fCJofTPTRope+5dlD0yNYeBczsrjaVbryGpfXL0fEKvZuOOOXtOf Qmcu3eWgwHcvetTzw06t6Dgqkq7IS2fL4zOxSCgKRsmjCCdP2+8vnVRW1YQKyxMg BGgTqipkIG/SmkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=Qv/+6l0UPPHvRbIsDyoRtf9AWahPH1KoSmvPGKPWUcAwy7CdXPAo7/SA NG+EeVtBXM/oXpeMHuiL0u4p3+yUKaxVlwHMbnUe4K5DqxoZeYnDmI4/K9b9I6CK OZIjH7UHNd5Flt3APxxL3sMaZVl7JmE6n9nSMvRLRfIETceS3a0= Received: from skull.home.blih.net (lfbn-idf2-1-1164-130.w90-92.abo.wanadoo.fr [90.92.223.130]) by mail.blih.net (OpenSMTPD) with ESMTPSA id e48b652c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 18 Dec 2019 11:33:51 +0100 (CET) Date: Wed, 18 Dec 2019 11:33:48 +0100 From: Emmanuel Vadot To: Greg V Cc: ykla , freebsd-arm@freebsd.org Subject: Re: How to boot freebsd on rpi4b? Message-Id: <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> In-Reply-To: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> References: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dBFM6B8hz4RP3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=WZYOpUMw; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.85)[-0.848,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.60)[-0.600,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; IP_SCORE(0.37)[ip: (-0.57), ipnet: 212.83.160.0/19(2.41), asn: 12876(0.03), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 10:34:01 -0000 On Wed, 18 Dec 2019 10:11:27 +0000 (UTC) Greg V wrote: > > > Dec 17, 2019 4:51:00 AM ykla : > > > Hi, I download latest version 12.12 current 13 img and write in TF card. > > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > > in BOOT partition. And look at my screen shows me that stop boot on lo0 > > state. I know it can't support USB/PCI/ethernet and I just want to install > > it. Thanks. > > USB should be relatively easy to add by the way. No need for actual PCIe support, we can directly use it as a memory mapped generic XHCI: > > https://github.com/pftf/edk2-platforms/commit/5779a50fd5a001f496fe5d9744a06e75762ba58c That would mean booting in ACPI mode on RPI4 which nobody tested and also adding ACPI support to all RPI related driver which will take some time to do. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Dec 18 13:49:02 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1464A1DF616 for ; Wed, 18 Dec 2019 13:49:02 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dGZN2KLxz4cWx for ; Wed, 18 Dec 2019 13:48:59 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Wed, 18 Dec 2019 13:48:57 +0000 Received: from [127.0.0.1] (winnie.ispras.ru [83.149.199.91]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 46DC9D52-48EA-486B-8C10-6F26B11D3D03.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Wed, 18 Dec 2019 13:48:57 +0000 Date: Wed, 18 Dec 2019 13:48:54 +0000 (UTC) From: Greg V To: Emmanuel Vadot Cc: ykla , freebsd-arm@freebsd.org Message-ID: In-Reply-To: <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> References: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> Subject: Re: How to boot freebsd on rpi4b? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Correlation-ID: DKIM-Signature: v=1; a=rsa-sha256; bh=TXGmAJOl+9DJnKlQJRfdgADQS7LiEutVlI8QK7RgFQo=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=Pwm65X47Im4nDcNOpl5gcs423enYWuqlzNSCJ4HOlSik0+xAjHDsmVbpB+0RF1hHuR/liqpppk2Awz2bSAJLyycJZLBGmtCJ7EcGvkDLUWp5jIctaesAvSsNi+7GiguS9vGl2m0lbuMryf25mZFJxnaN+vnfECOpe0bLpmN/AHk= X-Rspamd-Queue-Id: 47dGZN2KLxz4cWx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=Pwm65X47; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.34 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; IP_SCORE(-1.84)[ip: (-9.81), ipnet: 91.121.0.0/16(-1.25), asn: 16276(1.87), country: FR(-0.00)]; RCVD_COUNT_TWO(0.00)[2]; RWL_MAILSPIKE_POSSIBLE(0.00)[63.223.121.91.rep.mailspike.net : 127.0.0.17]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 13:49:02 -0000 Dec 18, 2019 1:33:53 PM Emmanuel Vadot : > On Wed, 18 Dec 2019 10:11:27 +0000 (UTC) > Greg V wrote: > > > > > > > > Dec 17, 2019 4:51:00 AM ykla : > > > > > > > Hi, I download latest version 12.12 current 13 img and write in TF card. > > > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > > > in BOOT partition. And look at my screen shows me that stop boot on lo0 > > > state. I know it can't support USB/PCI/ethernet and I just want to install > > > it. Thanks. > > > > > > > USB should be relatively easy to add by the way. No need for actual PCIe support, we can directly use it as a memory mapped generic XHCI: > > > > https://github.com/pftf/edk2-platforms/commit/5779a50fd5a001f496fe5d9744a06e75762ba58c > > > > That would mean booting in ACPI mode on RPI4 which nobody tested and > also adding ACPI support to all RPI related driver which will take some > time to do. You can also add the same address as a generic-xhci fdt node, right? assuming uboot does power on the controller.. or fdt mode can be set in edk2 I guess From owner-freebsd-arm@freebsd.org Thu Dec 19 01:07:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D4CAF1CB97B for ; Thu, 19 Dec 2019 01:07:51 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dYdf2RNcz4036 for ; Thu, 19 Dec 2019 01:07:50 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id x129so3261868qke.8 for ; Wed, 18 Dec 2019 17:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WvOhi7A/lf/J2Gd7WhIvGPrL9axeNu+02yo/HgSYe7c=; b=BIjbZO9gBQTMW0AnBQN42nNzZp11KuTX6QToYz7/T6Okhag+vhgdM5yHTAY0aZPktP Z20UjupjvtldJ1XB7vZRj9MhCKkM5FUe8L0mkvOb0/qR6p4/lyHfORyvRkaZvnfo9srn cEYTZaVpDJ2dU54bDgK6UPP7ZirVx5f8VdiBd4UA8HBpcRQdSOSDRpPpfAA71fpZx+R9 HEWECA9Qn90E7/xXl1/T6sNBiJHzLyrpiFohW5BWEpAg016JMJXxhB9Z3lYo/TOWkOrd 71x5UMSVT+dPjc8qcQ3KDi1UdCCln7jWAmK41KSrUfo1RYDEfj2J5BuCtzpMSV0dStVv Jx/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WvOhi7A/lf/J2Gd7WhIvGPrL9axeNu+02yo/HgSYe7c=; b=gKCkJ1Dbq64u3jVDTZH0iwTRdrShfWVkjzv/Q6GWCaaCt5T65b/kPJuDLFqFDrAuHG UuBWrf0zWmCd+Zwni22OP0H+Zq1GHMqDOmXyOfhWr1GoUmEYeqtMTRWhwIuSg43EVUxl CKXwKbnGnzwLnREl9C60YkAInRkeLlmYRDBlVxVJH3T0WctXst419yA1qv4t4REAux/x 6lboOaI4mpBGkShnNAGHqmjo33U5EUC+z+9eRhr9Y/Au/Yfj6889E3Br15th7twGUf5T SUcjvatxhUTAi9AVCDpJSG8kt6oMVfg4747kMnzXedU+Y3wB+xGOEvg+unR4hyFftEKR Ny2Q== X-Gm-Message-State: APjAAAWODAq48h/G7+1f76TQunEXOYirm6wFVQhZ3lPQ4ONk8WhQRAGq XLjsm3JXv415/s2PRG9d044gY+h6JgeqrO51SmMtNA== X-Google-Smtp-Source: APXvYqxSkcCr8MVjBhnijQVD3kZJgc741PZ7BWm6/4dJd/QWZYOSLHt+IwrFNE365SMmiJhYvOH/D0KLQbPvdR2fwag= X-Received: by 2002:ae9:f442:: with SMTP id z2mr5836349qkl.130.1576717668721; Wed, 18 Dec 2019 17:07:48 -0800 (PST) MIME-Version: 1.0 From: Gary Otten Date: Wed, 18 Dec 2019 20:07:35 -0500 Message-ID: Subject: SPI support for A64-OLinuXino board Allwinner A64 processor To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47dYdf2RNcz4036 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BIjbZO9g; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-9.23), ipnet: 2607:f8b0::/32(-2.19), asn: 15169(-1.90), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 01:07:51 -0000 Is there SPI support for this board/processor and what steps would I take to implement a working SPI interface? The correct address and pins a for the SPI interface appear in the sun50i-a64.dtsi include file for the default overlay sun50-a64-olinuxino.dts . What do I need to put in the loader.conf file to get the driver to load and for the spi devices to appear in /dev and be usable? From owner-freebsd-arm@freebsd.org Thu Dec 19 03:33:33 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE8781D30E9 for ; Thu, 19 Dec 2019 03:33:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dcsn57JXz4BGn for ; Thu, 19 Dec 2019 03:33:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id A371619091 for ; Thu, 19 Dec 2019 03:33:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f171.google.com with SMTP id j9so3886308qkk.1 for ; Wed, 18 Dec 2019 19:33:33 -0800 (PST) X-Gm-Message-State: APjAAAXQeWERg8/mLC5SU1lCOl6jhx1NbAI9SZbMxuJrI9dJsBGMnGuJ 1Epj8Hon0c6aNqhESEfOqyF/7YS0mplkYfzlvRo= X-Google-Smtp-Source: APXvYqzlLrRrScO1WLJOxkReU5mDaaeBLY0cKQYcHDPKzosF4jw8bXQuSH3XGvG9FNUqX4IpYmLzTNT2idWWgS6UzBo= X-Received: by 2002:ae9:e513:: with SMTP id w19mr6275215qkf.34.1576726413301; Wed, 18 Dec 2019 19:33:33 -0800 (PST) MIME-Version: 1.0 References: <20191217221157.GA18825@www.zefox.net> In-Reply-To: <20191217221157.GA18825@www.zefox.net> From: Kyle Evans Date: Wed, 18 Dec 2019 21:33:22 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No suitable SOC memory configuration found. To: bob prohaska Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 03:33:33 -0000 On Tue, Dec 17, 2019 at 4:12 PM bob prohaska wrote: > > > After updating 12-stable on a Pi2B with a GENERIC kernel the machine > started to fall into an endless boot cycle, reporting in part: > ..... > iichb1: mem 0x804000-0x80401f irq 10 on simplebus0 > spi0: mem 0x204000-0x20401f irq 11 on simplebus0 > spibus0: on spi0 > bcm_dma0: mem 0x7000-0x7fff,0xe05000-0xe05fff irq 12,13,14,15,16,17,18,19,20,21,22,23,24 on simplebus0 > Checking root against brcm,bcm2836 > panic: No suitable SOC memory configuration found. > cpuid = 0 > time = 1 > Uptime: 1s > Automatic reboot in 15 seconds - press a key on the console to abort > ..... > > I don't think it's the kernel, because two other kernels, one in the 11-stable > vintage, do the same thing. I did make some changes to /boot/loader.conf and > would like to try skipping it in a boot to single-user to see what happens. > The changes didn't cause obvious/immediate problems, but I've no better ideas. > > Is there some way let the kernel boot -s without reference to loader.conf? > To circle back to the list, we discovered this board was running legacy dtb that used the old "brcm,bcm2709" root compatible string. r355875 was committed to fix this in head/, and I will MFC it to stable/12 in a day or two. stable/11 doesn't have and will not receive any of the affected code. Thanks! Kyle Evans From owner-freebsd-arm@freebsd.org Thu Dec 19 07:59:46 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D29861D85D0 for ; Thu, 19 Dec 2019 07:59:46 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47dkmx5bKvz4Npc; Thu, 19 Dec 2019 07:59:45 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ihqif-00006w-VN; Thu, 19 Dec 2019 07:59:38 +0000 Date: Thu, 19 Dec 2019 09:59:35 +0200 From: Nick Kostirya To: Ian Lepore Cc: Milan Obuch , freebsd-arm@freebsd.org Subject: Re: gpioiic FDT overlays for sun8i-h3 Message-ID: <20191219095935.6fed7431@i11.co> In-Reply-To: References: <20191128152901.39dbeb4d@thinkpad> <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com> <20191129153754.28fb5763@thinkpad> <20191129144316.739c8664@zeta.dino.sk> <20191129155431.05d4e14f@thinkpad> <20191129150944.67a2b723a6724c46f7559f96@bidouilliste.com> <0ce78262af1dd3b404b9a85a780933d7e11f008e.camel@freebsd.org> <20191129201244.0bc85b09@thinkpad> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i386-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dkmx5bKvz4Npc X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; SH_EMAIL_ZRD(0.00)[0.0.0.0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.01)[ip: (-9.51), ipnet: 159.69.0.0/16(1.01), asn: 24940(-1.55), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 07:59:46 -0000 On Mon, 02 Dec 2019 17:04:58 -0700 Ian Lepore wrote: > > > > Well, it did turn complicated, but I got it all worked out. > > Are you building an image from source code, or using a downloaded > snapshot or release image, or what? > > If you are building from source, apply the attached patch to your > source tree and rebuild the kernel. > > If you are using a prebuilt image, then I'll get these changes merged > to the stable-12 tree this week, and the next stable-12 snapshot images > will include what you need. I think those images get built every > Thursday. > > -- Ian It doesn't work. I missed something. But what it is? I use FreeBSD-12.1-STABLE-arm-armv7-GENERICSD-20191212-r355610.img > grep gpioiic /boot/loader.conf gpioiic_load="YES" fdt_overlays="sun8i-h3-sid,sun8i-h3-ths,sun8i-h3-opp,sun8i-h3-i2c0,sun8i-h3-gpioiic" I did make /boot/dtb/overlays/sun8i-h3-gpioiic.dtbo from > cat sun8i-h3-gpioiic.dtso /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; }; &{/soc/pinctrl@1c20800} { gpioiic@0 { compatible = "allwinner,sun8i-h3,gpioiic"; scl = <0>; /* GPIO pin 00 (PA0) */ sda = <2>; /* GPIO pin 02 (PA2) */ }; }; I see gpioiic in ofwdump: > ofwdump -a | grep -B 1 gpio Node 0x1b7c: pinctrl@1c20800 Node 0x1c74: gpioiic@0 But I do not see in /dev and devinfo :-( Nick. From owner-freebsd-arm@freebsd.org Thu Dec 19 11:54:28 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BB481DDF1B for ; Thu, 19 Dec 2019 11:54:28 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dqzk6FcMz4bDL for ; Thu, 19 Dec 2019 11:54:26 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id a3df357c; Thu, 19 Dec 2019 12:54:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=roqPZyQuboMa6SQ7zxDYWsthFMI=; b=m3yeSJHOaOeTe0T4igsRpb6joI8C 2nwaYQqNdigsESSmNoPRmt2+aJ55X2htwdVKi4H6VVJvfEcgNA4KQ+5LDiAh1PeF CjBpk25M2WYV6mEOKaECHp9C1ZVyFVCB482ELeFonwQyoW6gZ9WZ6RkE382EaJR8 WA7vIvUDRWfXNxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=e8YHxv7WQ6eiNbuNPhnye/2D4pc2jdtrslW+Om+1G+ZZtoE2smVZYFCo wu/D/X7FHVaR8WyYrPu0SrHxhWIctJVQrLiM/nKgyIG/Z1HidMel+ooe+Sc/c51R hfZCQ2H+AvDnboACF7wQU7iS7dgUBXq+suSuGt/TfokUZJ91u1Y= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 0889f8e0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 19 Dec 2019 12:54:19 +0100 (CET) Date: Thu, 19 Dec 2019 12:54:19 +0100 From: Emmanuel Vadot To: Greg V Cc: ykla , freebsd-arm@freebsd.org Subject: Re: How to boot freebsd on rpi4b? Message-Id: <20191219125419.bbb524b3363df02753e70681@bidouilliste.com> In-Reply-To: References: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dqzk6FcMz4bDL X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=m3yeSJHO; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.91)[-0.906,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.51)[-0.509,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; IP_SCORE(0.37)[ip: (-0.56), ipnet: 212.83.160.0/19(2.40), asn: 12876(0.02), country: FR(-0.00)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 11:54:28 -0000 On Wed, 18 Dec 2019 13:48:54 +0000 (UTC) Greg V wrote: > > > Dec 18, 2019 1:33:53 PM Emmanuel Vadot : > > > On Wed, 18 Dec 2019 10:11:27 +0000 (UTC) > > Greg V wrote: > > > > > > > > > > > > > Dec 17, 2019 4:51:00 AM ykla : > > > > > > > > > > Hi, I download latest version 12.12 current 13 img and write in TF card. > > > > Then I download rpi-firmware(2019-12-05 16:15:16) and extract and copy it > > > > in BOOT partition. And look at my screen shows me that stop boot on lo0 > > > > state. I know it can't support USB/PCI/ethernet and I just want to install > > > > it. Thanks. > > > > > > > > > > USB should be relatively easy to add by the way. No need for actual PCIe support, we can directly use it as a memory mapped generic XHCI: > > > > > > https://github.com/pftf/edk2-platforms/commit/5779a50fd5a001f496fe5d9744a06e75762ba58c > > > > > > > That would mean booting in ACPI mode on RPI4 which nobody tested and > > also adding ACPI support to all RPI related driver which will take some > > time to do. > > You can also add the same address as a generic-xhci fdt node, right? assuming uboot does power on the controller.. or fdt mode can be set in edk2 I guess Doesn't the pci controller needs some setup to have access to the usb controller ? I don't know if u-boot supports PCI yet but booting EDK2 in fdt mode might work. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Dec 19 11:56:46 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB60C1DE016 for ; Thu, 19 Dec 2019 11:56:46 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dr2P6gdQz4bJY for ; Thu, 19 Dec 2019 11:56:45 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id bd0411cf; Thu, 19 Dec 2019 12:56:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=pLbz67L6IpuRb8w2RuBaokzcrxA=; b=F9L0aGsQ22sJcAE8B027xHrsy21u wmN2RINVvOVKt0RyHlkRZH04HmUJ4opUsCinDxWk0fiDoNnvuWMxE6jZfNXVxptR 8eDcy28tqMf37aNbMA3YkoKdCUCpWNKaw5IrPNftHwaNRFz7SqpQtENZ0ezlaOhQ /x8+5OPDmlMdju4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=d9hn0Hbr/or91vGLQterN+EEc5HlykmRkFVZ8B9j6Rif4OX3zVqubVqN mFwRZXska38bUCT/U+6TXwZOQ3GqXRinMA9gF2Tm3W3zm1RSJUe5zoOAEwn73/lt f+ba8+NDGxpljbzm2gznaq5o/EvMnUu6Z2jX9u/viQvEzy9hAyc= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 8689569b TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 19 Dec 2019 12:56:44 +0100 (CET) Date: Thu, 19 Dec 2019 12:56:44 +0100 From: Emmanuel Vadot To: Gary Otten Cc: freebsd-arm@freebsd.org Subject: Re: SPI support for A64-OLinuXino board Allwinner A64 processor Message-Id: <20191219125644.aa0bd2b74ee04536500151c8@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dr2P6gdQz4bJY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=F9L0aGsQ; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.97)[-0.971,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.89)[-0.891,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.56), ipnet: 212.83.160.0/19(2.40), asn: 12876(0.02), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 11:56:46 -0000 On Wed, 18 Dec 2019 20:07:35 -0500 Gary Otten wrote: > Is there SPI support for this board/processor and what steps would I take > to implement a working SPI interface? The correct address and pins a for > the SPI interface appear in the sun50i-a64.dtsi include file for the > default overlay sun50-a64-olinuxino.dts . What do I need to put in the > loader.conf file to get the driver to load and for the spi devices to > appear in /dev and be usable? > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Just kldload aw_spi (it might have been loaded automatically via devmatch). For accessing spi device you need an overlay to add a dts node with freebsd-spigen compatible, you can have a look at sys/dts/arm/overlays/spigen-rpi2.dtso for how to do that. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Dec 19 14:29:29 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C9501E2241 for ; Thu, 19 Dec 2019 14:29:29 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dvQb2Ncsz3G2B for ; Thu, 19 Dec 2019 14:29:27 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Thu, 19 Dec 2019 14:29:20 +0000 To: Emmanuel Vadot , Greg V From: Robert Crowston Cc: freebsd-arm@freebsd.org, ykla Reply-To: Robert Crowston Subject: Re: How to boot freebsd on rpi4b? Message-ID: In-Reply-To: <20191219125419.bbb524b3363df02753e70681@bidouilliste.com> References: <3435d140-d1cb-4bb0-85c6-d83d1c695f09@localhost> <20191218113348.b85815b7ebbb450aaaaf3536@bidouilliste.com> <20191219125419.bbb524b3363df02753e70681@bidouilliste.com> Feedback-ID: 2OVbcR1yHYpdkD8cgQllkFwcuMVZg_LiVMMPvptooFDfHD_03MuQO4ZaF626jWHZYFEhNR2cmIbZ53j4QGWMBQ==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 47dvQb2Ncsz3G2B X-Spamd-Bar: / X-Spamd-Result: default: False [-1.00 / 15.00]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[22.40.70.185.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; AUTOGEN_PHP_SPAMMY(1.00)[]; IP_SCORE(0.00)[ip: (-9.65), ipnet: 185.70.40.0/24(-4.89), asn: 62371(-3.89), country: CH(0.02)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 14:29:29 -0000 PiBEb2Vzbid0IHRoZSBwY2kgY29udHJvbGxlciBuZWVkcyBzb21lIHNldHVwIHRvIGhhdmUgYWNj ZXNzIHRvIHRoZSB1c2IgY29udHJvbGxlciA/CgpNeSBleHBlcmllbmNlIG9mIHRyeWluZyB0byB3 cml0ZSBhIGRyaXZlciBmb3IgcGNpLWUgaXMgdGhlIHJvb3QgY29tcGxleCBoYXMgdG8gYmUgaW5p dGlhbGl6ZWQgYmVmb3JlIGFjY2Vzc2VzIHRvIG1vc3Qgb2YgdGhlIG1lbW9yeSBzcGFjZSB3b3Jr cyAoZWl0aGVyIHlvdSBnZXQgMHgwIG9yIDB4ZGVhZGJlZWYgZGVwZW5kaW5nIG9uIGhvdyBtdWNo IGluaXRpYWxpemF0aW9uIHlvdSBkaWQpLiBBbHNvLCBpZiB5b3UgdHJ5IHRvIGFjY2VzcyBvdGhl ciBwYXJ0cyBvZiB0aGUgY29udHJvbGxlcuKAmXMgbWVtb3J5IHNwYWNlIGJlZm9yZSBpbml0aWFs aXppbmcsIGl0IGJyZWFrcyB0aGUgSlRBRyBsaW5rIGluIGEgcmVhbGx5IHN0cmFuZ2Ugd2F5ICh0 aGVyZWFmdGVyIHlvdSBjYW4gb25seSByZWFkIHJlZ2lzdGVycywgZGVidWcgYWNjZXNzIG9mIGFu eSBtZW1vcnkgYWRkcmVzcyByZXR1cm5zIGVycm9ycykgYnV0IHRoZSBkZXZpY2UgY29udGludWVz IHRvIGZ1bmN0aW9uLgoKTWF5YmUgSSBhbSBtaXNzaW5nIHNvbWV0aGluZyBvciBkaWQg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bWFudUBiaWRvdWlsbGlzdGUuY29tPgo+IF9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fCj4gZnJlZWJzZC1hcm1AZnJlZWJzZC5vcmcgbWFp bGluZyBsaXN0Cj4gaHR0cHM6Ly9saXN0cy5mcmVlYnNkLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Zy ZWVic2QtYXJtCj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtYXJt LXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg== From owner-freebsd-arm@freebsd.org Thu Dec 19 17:29:24 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 154021E6057 for ; Thu, 19 Dec 2019 17:29:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47dzQC4njVz3QHl for ; Thu, 19 Dec 2019 17:29:23 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1576776562; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=Xz8OW8gzSjvsuoGcaX4fF3oKC850KLck4b0SmAGFjet1cDq9HrOP7b1+w1QsDDI2KaswpNR+IlrDR 24KcBXqrz3a0/f8DJyoXkG2LHljO55aBpt/tyA7QWPWYpXVEKFlN5nGztosEqwfeHQheGGFIg1uHKr U6xNI2fX/2QE5q+e+yoh3lZJI38XoPDPARiHSL1EuOtb9iQ+unvcj3/a0f6SPswthYU62h1J44cEsi NEPTbtYEbe0+DkibZI+8m7/V2LwTXKAiENzL+wfQyw0D1qJas7N/UcJw5oSwwVRmbVbhd69ky+Kg9l uwvJnxbHYmXpXo5w16EFgoSKGYEb18g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=0h5jJJ7qWiz4vgZD424xsR9d5ixGjdtUQRYHFLXMDi4=; b=kxlWhX0cP+iTDZ+1uYKmP8/AWEQRXxV3TQHy4dwgRYhayT/ytoANI3CRVkcB2we7dUpCx46wQFNv0 tL2EqkhQU+wMagqaIEsRSZOBO9RgvW2eHPTN1qjTmkPKhnAZWCxk3UVQM3x7xRNxHyloty6uE058pb BACrqTETKJJEmvWqvwBFzKZ2CZZJc5Hs03I3s9Uprdz4OrOBi1IH6s98tzziJ7f0Eq46zicP4cUdz7 GApM9xjhKNCaMPBWJyfciTBGQiK8llpyXaQJ1s+l4E/c8EaWpC8Le4Gck+KC0zP5yCEW5AEbiq2lTA 0Shm6732gINufggBmPesHjc1/3Vslqw== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=0h5jJJ7qWiz4vgZD424xsR9d5ixGjdtUQRYHFLXMDi4=; b=lhV30irr3J0PcmazNCORXH6ElKAafH9hbo3zH8SkEs79MzyG7UlOIhOJS/e/LY76Za2WWrYXI+Tlh D9mC1CWYnROX8NZiKM3Pq2djuJ/QALM9ruIy8aQjVtQ+a8xTKPJvfRY+6TOVCwdjyliLR048p3UATx DOWZqm6l0CuLp8GTKu8GfAJ7b1ByffISNv7mnKQwL3dSiXWF+33Q+N2uFeDtL2+MvD7sFL1pL64EMg 1Y6Zmk7cI0Mu5m+UcBTPbn+1pGvsYueStyYeJ75htGDc9vpsR8FNBavbiWLyJ2CLUqRacljPxKANX9 +88ieDhrI/VX6FPs9AJ7yvQdmXkUlrA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 15827699-2285-11ea-b80c-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 15827699-2285-11ea-b80c-052b4a66b6b2; Thu, 19 Dec 2019 17:29:20 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xBJHTGNG061579; Thu, 19 Dec 2019 10:29:16 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <78c7d14bb681f8bca11525bf61cf871c6e89c235.camel@freebsd.org> Subject: Re: gpioiic FDT overlays for sun8i-h3 From: Ian Lepore To: Nick Kostirya Cc: Milan Obuch , freebsd-arm@freebsd.org Date: Thu, 19 Dec 2019 10:29:16 -0700 In-Reply-To: <20191219095935.6fed7431@i11.co> References: <20191128152901.39dbeb4d@thinkpad> <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com> <20191129153754.28fb5763@thinkpad> <20191129144316.739c8664@zeta.dino.sk> <20191129155431.05d4e14f@thinkpad> <20191129150944.67a2b723a6724c46f7559f96@bidouilliste.com> <0ce78262af1dd3b404b9a85a780933d7e11f008e.camel@freebsd.org> <20191129201244.0bc85b09@thinkpad> <20191219095935.6fed7431@i11.co> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47dzQC4njVz3QHl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_LONG(-0.99)[-0.987,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 17:29:24 -0000 On Thu, 2019-12-19 at 09:59 +0200, Nick Kostirya wrote: > On Mon, 02 Dec 2019 17:04:58 -0700 > Ian Lepore wrote: > > > > > > > > Well, it did turn complicated, but I got it all worked out. > > > > Are you building an image from source code, or using a downloaded > > snapshot or release image, or what? > > > > If you are building from source, apply the attached patch to your > > source tree and rebuild the kernel. > > > > If you are using a prebuilt image, then I'll get these changes > > merged > > to the stable-12 tree this week, and the next stable-12 snapshot > > images > > will include what you need. I think those images get built every > > Thursday. > > > > -- Ian > > > It doesn't work. > > I missed something. But what it is? > > > I use > FreeBSD-12.1-STABLE-arm-armv7-GENERICSD-20191212-r355610.img > > > > grep gpioiic /boot/loader.conf > > gpioiic_load="YES" > fdt_overlays="sun8i-h3-sid,sun8i-h3-ths,sun8i-h3-opp,sun8i-h3- > i2c0,sun8i-h3-gpioiic" > > > I did make /boot/dtb/overlays/sun8i-h3-gpioiic.dtbo from > > > cat sun8i-h3-gpioiic.dtso > > /dts-v1/; > /plugin/; > > / { > compatible = "allwinner,sun8i-h3"; > }; > > &{/soc/pinctrl@1c20800} { > gpioiic@0 { > compatible = "allwinner,sun8i-h3,gpioiic"; > scl = <0>; /* GPIO pin 00 (PA0) */ > sda = <2>; /* GPIO pin 02 (PA2) */ > }; > }; > > I see gpioiic in ofwdump: > > ofwdump -a | grep -B 1 gpio > > Node 0x1b7c: pinctrl@1c20800 > Node 0x1c74: gpioiic@0 > > > But I do not see in /dev and devinfo > > :-( > > Nick. The gpioiic node needs to be defined at the root of the devicetree, not under the pinctrl node. Assuming that all pins are configured as gpios by default (they are on most SOCs) you probably don't need a pinctrl node for them at all. If you do, someone who knows allwinner stuff better than me would have to provide an example of that part. To add the gpioiic driver node using pins 0 and 2 like your example, I think it should be just this: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; }; &{/} { gpioiic@0 { compatible = "i2c-gpio"; scl-gpios = <&pio 0 0 GPIO_ACTIVE_HIGH>; sdl-gpios = <&pio 0 2 GPIO_ACTIVE_HIGH>; }; That should be enough to attach the i2c bus and the iic driver which will give you a /dev/iic# node for userland access to the bus. If you want to add slave devices that have kernel drivers, they get added as child nodes within gpioiic@0, like this: &{/} { gpioiic@0 { compatible = "i2c-gpio"; scl-gpios = <&pio 0 0 GPIO_ACTIVE_HIGH>; sdl-gpios = <&pio 0 2 GPIO_ACTIVE_HIGH>; eeprom@50 { compatible = "atmel,24c512"; reg = <0x50>; }; rtc@51 { compatible="nxp,pcf2127"; reg = <0x51>; }; }; }; -- Ian From owner-freebsd-arm@freebsd.org Thu Dec 19 22:39:15 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 401E71ECDC5 for ; Thu, 19 Dec 2019 22:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f6Hl0wd9z4Bn6 for ; Thu, 19 Dec 2019 22:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 168001D6CC for ; Thu, 19 Dec 2019 22:39:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBJMdE1k098948 for ; Thu, 19 Dec 2019 22:39:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBJMdEti098947 for freebsd-arm@FreeBSD.org; Thu, 19 Dec 2019 22:39:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 242732] Slow boot Date: Thu, 19 Dec 2019 22:39:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mafsys1234@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 22:39:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242732 Bug ID: 242732 Summary: Slow boot Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: mafsys1234@gmail.com When booting a Raspberry Pi 2B (armv7) on 12.1R, the boot process is slow (= well slower than it should be). In the output of: Booting [boot/kernel/kernel] in XX seconds, each second displayed takes approximately 9 seconds in real time to elapse. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Fri Dec 20 06:23:31 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1915D1CED18 for ; Fri, 20 Dec 2019 06:23:31 +0000 (UTC) (envelope-from sales@rootowels.space) Received: from nc203.mxout.mta3.net (nc203.mxout.mta3.net [142.44.153.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fJbQ2MZQz4Yjn for ; Fri, 20 Dec 2019 06:23:30 +0000 (UTC) (envelope-from sales@rootowels.space) DKIM-Signature: v=1; a=rsa-sha256; d=rootowels.space; s=api; c=relaxed/simple; t=1576822580; h=from:date:subject:reply-to:to:list-unsubscribe:mime-version; bh=CWUKcmnWNstRZO6mItKwKQH6VX1ZkyBFmK7pYlKQzjs=; b=D9nkAuhysHshln1xaRd8whuRikUwBIx9GujX8lmPie11EqHF4it/6Qvewyb1ncA5yWK9e+zZCDk HpKYXtGa5pSV7L6SnhHX1QsaSDofkmcLcXMHW+INHUz+kASd6YXkzw9ziO1a45ey2W7IsyQFixbE3 tna+Rhk9cnA+oP0NXJ0= DKIM-Signature: v=1; a=rsa-sha256; d=elasticemail.com; s=api; c=relaxed/simple; t=1576822580; h=from:date:subject:reply-to:to:list-unsubscribe; bh=CWUKcmnWNstRZO6mItKwKQH6VX1ZkyBFmK7pYlKQzjs=; b=kBixN6ZcuIA4IE5xsU6MtF/YB1VGI97jajF9oxw1gbBhIzw80AvBVBlK/XDSWE8u99j3GbAwtz+ Jg3SHbarFKSBGZ0eb0yX+p9FL1SPIUuZSXZwDhWRR/JeLifIrCDETqr4RjhXNgTTTPamLI+F07OPI cozffVugRwjy8YMFSm4= From: Jennifer Chang Date: Fri, 20 Dec 2019 06:16:20 +0000 Subject: Details of sports towels/Polishing towel from ROO(Jennifer) . Message-Id: <4u9dodz9wa36.-niVSaw7YlWXBN0TzWGP5w2@tracking.rootowels.space> Reply-To: Jennifer Chang Sender: Jennifer Chang To: "freebsd-arm@freebsd.org" X-Msg-EID: -niVSaw7YlWXBN0TzWGP5w2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 47fJbQ2MZQz4Yjn X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rootowels.space header.s=api header.b=D9nkAuhy; dkim=pass header.d=elasticemail.com header.s=api header.b=kBixN6Zc; dmarc=none; spf=pass (mx1.freebsd.org: domain of sales@rootowels.space designates 142.44.153.203 as permitted sender) smtp.mailfrom=sales@rootowels.space X-Spamd-Result: default: False [6.83 / 15.00]; HAS_REPLYTO(0.00)[sales@rootowels.space]; R_SPF_ALLOW(0.00)[+ip4:142.44.153.0/24:c]; RBL_MAILSPIKE_WORST(2.00)[203.153.44.142.rep.mailspike.net : 127.0.0.10]; DKIM_TRACE(0.00)[rootowels.space:+,elasticemail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(1.25)[ipnet: 142.44.128.0/17(4.37), asn: 16276(1.87), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:142.44.128.0/17, country:FR]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[rootowels.space:s=api,elasticemail.com:s=api]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[rootowels.space]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; URIBL_GREY(1.50)[elasticemail.com.multi.uribl.com]; NEURAL_SPAM_MEDIUM(1.00)[0.995,0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[203.153.44.142.list.dnswl.org : 127.0.15.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; GREYLIST(0.00)[pass,meta] X-Spam: Yes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 06:23:31 -0000 SGVsbG/CoEZyaWVuZCwKSXTCoHdhc8KgbmljZcKgdG/CoGNvbnRhY3TCoHlvdS5UaGlzwqBp c8KgSmVubmlmZXLCoGZyb23CoFJvb8KgSW5kdXN0cmlhbMKgTGltaXRlZC4KV2XCoGFyZcKg c3BlY2lhbGl6ZWTCoGluwqBtYWtpbmfCoGRpZmZlcmVudMKgdG93ZWxzLMKgR1lNwqB0b3dl bC9TcG9ydHMKdG93ZWxzLCBwb2xpc2hpbmcgdG93ZWwsCmJhYnnCoGhvb2RlZMKgdG93ZWxz JsKgYmVhY2jCoHRvd2Vsc8KgYm90aMKgaW7CoGNvdHRvbsKgYW5kwqBtaWNy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9vaW5kLmNvbcKgCmh0dHA6Ly90cmFj a2luZy5yb290b3dlbHMuc3BhY2UvdHJhY2tpbmcvdW5zdWJzY3JpYmU/ZD1UNWozWFhKS2FC VTNhYUZsM2RPV3JnZ0JnNzNhaVJHaEtBNklBX3dFUFRMbkhKX21GM3Y2Yk9LS1UtODVfZjhz c0M4UFNhWWh3Q3hENUNEQm0zRlRWTFctTHhJWHdmMF9CYjVXa0luUmZjY0lGZUpYekxKakZF TWlFSVZ4aEZBZ2t2NnFBWEFsOG02RzREOTZoTmRyUWd4WERPZWVEdzJ4dnhCUHJCMTVtemRS S1pqSlNmS3Bfa2ZKcGJUZWJoV3NpdE1OVVVfMmhzYVRzUDVfRGlOY005U3FOMTdIbkpnRGV0 a0U2ZVZZcGtHdGV5bmhTLTJ1bnVqQkxiWTJRWm1MaG1zUUphb285LVVrdHdZMGhEeGhmU3d2 cUFfSTRSeE9zQmpfVlNVTHBhdzRRaXZvWE4zT25TNHZMMFhlQ0hZZ1FPQk5Lb3FhWGpLT2dm YXJjMmVTTUtPWlVuTmhJSXhKdXlSSFdoNU1WTWhpcS1jUUhhbzJqSnptaVJ4UmdfWERZbTVS RENTM2xsVTBLUFFtZ0Jsb1RCZWY3ekVtTmV5Qm1YYVoxU19ucEQya3BmaFRqMWR1aFV0WHdv b055R1hZX0VpVExpa3lIZkFzMlotb3VDTXNtS3cxLApKZW5uaWZlciBDaGFuZywgLCAsICwg U3BhaW4KwqA= From owner-freebsd-arm@freebsd.org Fri Dec 20 08:07:24 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 477361D1C7D for ; Fri, 20 Dec 2019 08:07:24 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47fLvJ0z3pz4dh2; Fri, 20 Dec 2019 08:07:23 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iiDJc-0002e5-52; Fri, 20 Dec 2019 08:07:16 +0000 Date: Fri, 20 Dec 2019 10:07:13 +0200 From: Nick Kostirya To: Ian Lepore Cc: Milan Obuch , freebsd-arm@freebsd.org Subject: Re: gpioiic FDT overlays for sun8i-h3 Message-ID: <20191220100713.38c19fdb@i11.co> In-Reply-To: <78c7d14bb681f8bca11525bf61cf871c6e89c235.camel@freebsd.org> References: <20191128152901.39dbeb4d@thinkpad> <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com> <20191129153754.28fb5763@thinkpad> <20191129144316.739c8664@zeta.dino.sk> <20191129155431.05d4e14f@thinkpad> <20191129150944.67a2b723a6724c46f7559f96@bidouilliste.com> <0ce78262af1dd3b404b9a85a780933d7e11f008e.camel@freebsd.org> <20191129201244.0bc85b09@thinkpad> <20191219095935.6fed7431@i11.co> <78c7d14bb681f8bca11525bf61cf871c6e89c235.camel@freebsd.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i386-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47fLvJ0z3pz4dh2 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 08:07:24 -0000 On Thu, 19 Dec 2019 10:29:16 -0700 Ian Lepore wrote: > The gpioiic node needs to be defined at the root of the devicetree, not > under the pinctrl node. Assuming that all pins are configured as gpios > by default (they are on most SOCs) you probably don't need a pinctrl > node for them at all. If you do, someone who knows allwinner stuff > better than me would have to provide an example of that part. > > To add the gpioiic driver node using pins 0 and 2 like your example, I > think it should be just this: > > /dts-v1/; > /plugin/; > > / { > compatible = "allwinner,sun8i-h3"; > }; > > &{/} { > gpioiic@0 { > compatible = "i2c-gpio"; > scl-gpios = > <&pio 0 0 GPIO_ACTIVE_HIGH>; > sdl-gpios = <&pio 0 2 > GPIO_ACTIVE_HIGH>; > }; > > That should be enough to attach the i2c bus and the iic driver which > will give you a /dev/iic# node for userland access to the bus. If you > want to add slave devices that have kernel drivers, they get added as > child nodes within gpioiic@0, like this: > > &{/} { > gpioiic@0 { > compatible = "i2c-gpio"; > scl-gpios = <&pio 0 0 GPIO_ACTIVE_HIGH>; > sdl-gpios = <&pio 0 2 GPIO_ACTIVE_HIGH>; > > eeprom@50 { > compatible = "atmel,24c512"; > reg = <0x50>; > }; > rtc@51 { > compatible="nxp,pcf2127"; > reg = <0x51>; > }; > }; > }; > > -- Ian > It is works! Thank you very much! Nick. From owner-freebsd-arm@freebsd.org Fri Dec 20 10:41:59 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3EF61D5ADC for ; Fri, 20 Dec 2019 10:41:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47fQKg41dPz3Kf4 for ; Fri, 20 Dec 2019 10:41:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 854CE2596F for ; Fri, 20 Dec 2019 10:41:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xBKAfxIi028051 for ; Fri, 20 Dec 2019 10:41:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBKAfx9F028050 for freebsd-arm@FreeBSD.org; Fri, 20 Dec 2019 10:41:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 242732] Slow boot on Raspberry Pi 2B (armv7) on 12.1-RELEASE Date: Fri, 20 Dec 2019 10:41:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mafsys1234@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 10:41:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242732 JustIgnoreMe changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed --- Comment #2 from JustIgnoreMe --- Unfortunately, it will not restart. If there are ANY usb storage devices attached, then right at the beginning = it shows: Starting USB... Bus usb@7e980000: scanning usb@7e980000 for devices... And then it just sits there. So I powered off. Removed the USB stick and kept the USB keyboard in. It now passes this test and moves on. Unfortunately, it now gets to the: ue0: on smsc0 ue0: Ethernet address: And there it has remained for the last 20 minutes. It's not working. Anyway, to your question, the slowness occurs at the uboot message and continues on until the kernel is booting. This was what I observed on a freshly installed FreeBSD. I only ever booted= it that once until now and now it's dead. It will not boot. I will close this. Thanks for your time. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sat Dec 21 21:51:21 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A1581DD776 for ; Sat, 21 Dec 2019 21:51:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47gK7W6QXtz4fyW for ; S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wrDBYbhfpSlMk8vRfn43NywgSzJyAI5unG_ws xe5dhZ9WhE1YzFaA6w30I5eoyFZl9mEwy.f8qh6GmQDO8fjP_ZLcRXF7iwMsE6gSpK_4nZrifB30 Wc.MB_tgym6RuyXD2Zau.heKYb7ZSEZacRrZdWYLqHsGQQhsvaZUGlo_kO.yj3xhH1KlDMljvGhx yiF.sBMHzj74MsgS0j_01KSWNa7zVF7z7wDb7K7vWIpsIcW8iR8KAaJ3P.FkW37jiHTwiZriHeE0 4SVIm1rRtQOLniYA0nCsrXzmiV2yIzIvMBmIhyg.kBU.HVkUXjgE7lbqxezqVUkplL4oM8CaIiKh Qi13dwXbK44U2x_yV5a9XTtNYAbJ63pKdefwmOd_l2TvULQDfpy7ZmvispCnaBg_aOOXSYJdDnDJ .uNS6EYmuLAcdF8TjbEe7yjfA3xMdJ9EwnKQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sat, 21 Dec 2019 21:51:17 +0000 Received: by smtp424.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5f44cd1f0bf65cb059ed75cf14881f22; Sat, 21 Dec 2019 21:51:15 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: devel/freebsd-gcc9@aarch64 and devel/binutils@aarch64: locore.S vs. gcc toolchain notational mismatch (icc_sre_el2) Message-Id: <37D45724-F490-420E-B33E-3FD165D4FC53@yahoo.com> Date: Sat, 21 Dec 2019 13:51:15 -0800 To: FreeBSD Toolchain , freebsd-arm X-Mailer: Apple Mail (2.3608.40.2.2.4) References: <37D45724-F490-420E-B33E-3FD165D4FC53.ref@yahoo.com> X-Rspamd-Queue-Id: 47gK7W6QXtz4fyW X-Spamd-Bar: / X-Spamd-Result: default: False [-0.41 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.28)[-0.277,0]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.37)[0.369,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[84.68.137.98.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ip: (7.96), ipnet: 98.137.64.0/21(0.89), asn: 36647(0.71), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2019 21:51:21 -0000 /usr/src/sys/arm64/arm64/locore.S: Assembler messages: /usr/src/sys/arm64/arm64/locore.S:282: Error: unknown or missing system = register name at operand 2 -- `mrs x2,icc_sre_el2' /usr/src/sys/arm64/arm64/locore.S:285: Error: unknown or missing system = register name at operand 1 -- `msr icc_sre_el2,x2' *** [locore.o] Error code 1 make[2]: stopped in = /usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.aarch64/sys/= GENERIC-NODBG .ERROR_TARGET=3D'locore.o' = .ERROR_META_FILE=3D'/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/sr= c/arm64.aarch64/sys/GENERIC-NODBG/locore.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose curdirOk=3Dyes' _ERROR_CMD=3D'/usr/local/bin/aarch64-unknown-freebsd13.0-gcc9 = -mcpu=3Dcortex-a53 = --sysroot=3D/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.= aarch64/tmp -B/usr/local/aarch64-unknown-freebsd13.0/bin/ -c -x = assembler-with-cpp -DLOCORE -O -pipe -g -nostdinc -I. -I/usr/src/sys = -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt = -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h = -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer = -fdebug-prefix-map=3D./machine=3D/usr/src/sys/arm64/include = -mgeneral-regs-only -ffixed-x18 -ffreestanding -fwrapv -fstack-protector = -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef = -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs = -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Daddress = -Wno-error=3Daggressive-loop-optimizations -Wno-error=3Darray-bounds = -Wno-error=3Dattributes -Wno-error=3Dcast-qual -Wno-error=3Denum-compare = -Wno-error=3Dinline -Wno-error=3Dmaybe-uninitialized -Wno-error=3Doverflow= -Wno-error=3Dsequence-point -Wno-unused-but-set-variable = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-overflow -Wno-error=3Dtautological-compare = -Wno-error=3Dstringop-overflow -Wno-error=3Dmemset-elt-size = -Wno-error=3Dpacked-not-aligned -Wno-address-of-packed-member = -Wno-format-zero-length -v -fno-common -fms-extensions = -finline-limit=3D8000 --param inline-unit-growth=3D100 --param = large-function-growth=3D1000 -fms-extensions -std=3Diso9899:1999 = -Werror /usr/src/sys/arm64/arm64/locore.S;' = .CURDIR=3D'/usr/obj/cortexA53_xtoolchain-gcc/arm64.aarch64/usr/src/arm64.a= arch64/sys/GENERIC-NODBG' FYI: # grep -U5 icc_sre_el2 /usr/src/sys/arm64/arm64/locore.S ubfx x2, x2, #ID_AA64PFR0_GIC_SHIFT, #ID_AA64PFR0_GIC_BITS /* GIC[3:0] =3D=3D 0001 - GIC CPU interface via special regs. = supported */ cmp x2, #(ID_AA64PFR0_GIC_CPUIF_EN >> ID_AA64PFR0_GIC_SHIFT) b.ne 2f mrs x2, icc_sre_el2 orr x2, x2, #ICC_SRE_EL2_EN /* Enable access from insecure = EL1 */ orr x2, x2, #ICC_SRE_EL2_SRE /* Enable system = registers */ msr icc_sre_el2, x2 2: /* Set the address to return to our return address */ msr elr_el2, x30 isb (devel/freebsd-gcc6 likely has the same status.) The context was head -r355976 based. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)