From owner-freebsd-arm@freebsd.org Sat Aug 1 08:24:00 2020 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 A2BDF373451 for ; Sat, 1 Aug 2020 08:24:00 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BJccb5SJYz43rh for ; Sat, 1 Aug 2020 08:23:59 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id f7so29902692wrw.1 for ; Sat, 01 Aug 2020 01:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=BRPuchT/dt3pwbo2eX7mgxeuNPodkS3Ocnwo0fH3LsE=; b=K5eReF7PG9NJxhSWt8emvLNDdYJP0WhCyL5F7l9alddO26SvnckYNIEkEeHFUO/QIS /Yh5Tw2XTFFz5t5LJo11ygTcyr2KNTurpHAq5DNuxGi2hltW+fil4l55k2je8aGiLUpK 7VrI6N3DSJhZcOgTF+DoOuhYmc5Z3M9vkrfX3IFoIgfKGK1cx2g7n5uDgAktRSMgHmia Kk48z0oHG+9YBDRKmCJ7fnc/y4hnNTSzKsazaa5Ke3ZHzYdP5Q8MTXnT3BWcCYtaKdGW B/KjZ88k4v0mr8WUTI70rmQFNOiQ+Teildi+ent9lZ57swLo7kfXN57zKvCuwkDt+0mW 2hPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=BRPuchT/dt3pwbo2eX7mgxeuNPodkS3Ocnwo0fH3LsE=; b=qabNCy2g0AQD/gQD3a700O7hBn25wFUXYO4nXvz8m9C/rFQe3SwLNvyVU8m/uz6kJ4 /WQdqXNA0nbFLHfW+H+KtCZyCRqhrnVDYaNqXnSeCTC0/bMXFvQC6j+j4hcfVNArvhs5 tztOu/t+kvuYNPwhv6COaj94aPlXQvWy3pzt8XQWkfQ+fEolq018cNmr+LKw8/iNSkQq 2OeP0HBZvvEjotM+psyY31O5xxUn5STuKRo72N1cvy1ICTvQ361qCQtZMnhr34ylI3K5 oRnRywV5+LsopCNhiSmFXwmsAjP6nwqouGYHS7DYJ5tCR/BoRPVc3gzgXtACj0z6gM9e k42A== X-Gm-Message-State: AOAM5305uLnlf5nOZl3/z/rbKteYBk88pduKWvqeM6XaAuqlZ2HLRVSF REWUa6GW23ea8BHEPAHYuq6b1Vhk X-Google-Smtp-Source: ABdhPJzixVh1SZslqAJdPtimHtVYoaA4xSCykpPbJ8jbWRnRY3BqjXPQ6/E+e9RkUYZiqbzfqxX4mA== X-Received: by 2002:adf:bc54:: with SMTP id a20mr6612644wrh.227.1596270237463; Sat, 01 Aug 2020 01:23:57 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id r206sm15829398wma.6.2020.08.01.01.23.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Aug 2020 01:23:56 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: RockPro64 with latest image fails to boot? Message-Id: Date: Sat, 1 Aug 2020 10:23:56 +0200 To: freebsd-arm X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BJccb5SJYz43rh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=K5eReF7P; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::42c as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-0.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_MIXED_CHARSET(0.56)[subject]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.998]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.36)[0.364]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42c:from]; 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.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2020 08:24:00 -0000 Hi Just tried the latest snapshot: FreeBSD-13.0-CURRENT-arm64-aarch64-ROCKPRO64-20200730-r363681.img Copied to a known good SD card, and with a HDMI monitor attached I get = the following (Also show on the HDMI monitor btw). ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 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 r363681: Thu Jul 30 10:18:20 UTC 2020 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm64 FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git = llvmorg-10.0.1-0-gef32c611aa2) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1920x1080 module firmware already present! KLD file umodem.ko is missing dependencies real memory =3D 4158357504 (3965 MB) avail memory =3D 4023119872 (3836 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob = 'bypass_before_seeding' was enabled. random: entropy device external interface MAP f0f0e000 mode 2 pages 1 MAP f0f14000 mode 2 pages 2 MAP f3f30000 mode 2 pages 16 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: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on = ofwbus0 rk3399_pmucru0: mem = 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem = 0xff760000-0xff760fff on ofwbus0 Here I just hangs and the display goes black. Tried again without moinitor attached and got different result, but = still failure: ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 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 r363681: Thu Jul 30 10:18:20 UTC 2020 = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm64 FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git = llvmorg-10.0.1-0-gef32c611aa2) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! KLD file umodem.ko is missing dependencies real memory =3D 4158357504 (3965 MB) avail memory =3D 4031209472 (3844 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob = 'bypass_before_seeding' was enabled. random: entropy device external interface MAP f0f0e000 mode 2 pages 1 MAP f0f14000 mode 2 pages 2 MAP f3f30000 mode 2 pages 16 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: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on = ofwbus0 rk3399_pmucru0: mem = 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem = 0xff760000-0xff760fff on ofwbus0 rk_grf1: mem 0xff770000-0xff77ffff on = ofwbus0 panic: pmap_kextract: VA out of range, VA: 0xfffffd01e8e13cee cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc =3D 0xffff000000707738 lr =3D 0xffff00000010a49c sp =3D 0xffff000000010000 fp =3D 0xffff000000010200 db_trace_self_wrapper() at vpanic+0x194 pc =3D 0xffff00000010a49c lr =3D 0xffff000000427af8 sp =3D 0xffff000000010210 fp =3D 0xffff000000010260 vpanic() at panic+0x44 pc =3D 0xffff000000427af8 lr =3D 0xffff0000004278a0 sp =3D 0xffff000000010270 fp =3D 0xffff000000010320 panic() at pmap_kextract+0x140 pc =3D 0xffff0000004278a0 lr =3D 0xffff000000718308 sp =3D 0xffff000000010330 fp =3D 0xffff000000010330 pmap_kextract() at pmap_fault+0x518 pc =3D 0xffff000000718308 lr =3D 0xffff0000007248c0 sp =3D 0xffff000000010340 fp =3D 0xffff000000010340 pmap_fault() at data_abort+0xc4 pc =3D 0xffff0000007248c0 lr =3D 0xffff000000727bcc sp =3D 0xffff000000010350 fp =3D 0xffff0000000103e0 data_abort() at do_el1h_sync+0x144 pc =3D 0xffff000000727bcc lr =3D 0xffff000000726fec sp =3D 0xffff0000000103f0 fp =3D 0xffff000000010430 do_el1h_sync() at handle_el1h_sync+0x78 pc =3D 0xffff000000726fec lr =3D 0xffff00000070a078 sp =3D 0xffff000000010440 fp =3D 0xffff000000010580 handle_el1h_sync() at witness_checkorder+0x52c pc =3D 0xffff00000070a078 lr =3D 0xffff000000490f04 sp =3D 0xffff000000010590 fp =3D 0xffff000000010630 witness_checkorder() at witness_checkorder+0x52c pc =3D 0xffff000000490f04 lr =3D 0xffff000000490f04 sp =3D 0xffff000000010640 fp =3D 0xffff000000010680 witness_checkorder() at __mtx_lock_flags+0xa8 pc =3D 0xffff000000490f04 lr =3D 0xffff000000404d0c sp =3D 0xffff000000010690 fp =3D 0xffff0000000106e0 __mtx_lock_flags() at random_fortuna_process_event+0x2c pc =3D 0xffff000000404d0c lr =3D 0xffff0000002367a0 sp =3D 0xffff0000000106f0 fp =3D 0xffff000000010720 random_fortuna_process_event() at random_harvest_direct_+0x70 pc =3D 0xffff0000002367a0 lr =3D 0xffff000000234e00 sp =3D 0xffff000000010730 fp =3D 0xffff000000010760 random_harvest_direct_() at device_attach+0x4d8 pc =3D 0xffff000000234e00 lr =3D 0xffff00000045edac sp =3D 0xffff000000010770 fp =3D 0xffff000000010790 device_attach() at device_probe_and_attach+0x7c pc =3D 0xffff00000045edac lr =3D 0xffff00000045e83c sp =3D 0xffff0000000107a0 fp =3D 0xffff0000000107f0 device_probe_and_attach() at bus_generic_attach+0x18 pc =3D 0xffff00000045e83c lr =3D 0xffff000000460020 sp =3D 0xffff000000010800 fp =3D 0xffff000000010820 bus_generic_attach() at ofwbus_attach+0x10c pc =3D 0xffff000000460020 lr =3D 0xffff0000002113c4 sp =3D 0xffff000000010830 fp =3D 0xffff000000010870 ofwbus_attach() at device_attach+0x400 pc =3D 0xffff0000002113c4 lr =3D 0xffff00000045ecd4 sp =3D 0xffff000000010880 fp =3D 0xffff0000000108c0 device_attach() at device_probe_and_attach+0x7c pc =3D 0xffff00000045ecd4 lr =3D 0xffff00000045e83c sp =3D 0xffff0000000108d0 fp =3D 0xffff000000010920 device_probe_and_attach() at bus_generic_new_pass+0xf8 pc =3D 0xffff00000045e83c lr =3D 0xffff000000460a20 sp =3D 0xffff000000010930 fp =3D 0xffff000000010950 bus_generic_new_pass() at bus_generic_new_pass+0xa8 pc =3D 0xffff000000460a20 lr =3D 0xffff0000004609d0 sp =3D 0xffff000000010960 fp =3D 0xffff000000010990 bus_generic_new_pass() at bus_set_pass+0x4c pc =3D 0xffff0000004609d0 lr =3D 0xffff00000045be10 sp =3D 0xffff0000000109a0 fp =3D 0xffff0000000109d0 bus_set_pass() at mi_startup+0x12c pc =3D 0xffff00000045be10 lr =3D 0xffff0000003ba2e0 sp =3D 0xffff0000000109e0 fp =3D 0xffff000000010a20 mi_startup() at virtdone+0x5c pc =3D 0xffff0000003ba2e0 lr =3D 0xffff00000000108c sp =3D 0xffff000000010a30 fp =3D 0x0000000000000000 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at _isitmyx+0x7c: ldrb w10, [x9, x3] db>=20 Current used to work for me, something changed during the past month or = so (where my last update to -current was done)=E2=80=A6. -S=C3=B8ren