From owner-freebsd-arm@freebsd.org Tue Jan 12 13:29:20 2021 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 F28054D8168 for ; Tue, 12 Jan 2021 13:29:20 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail-40133.protonmail.ch (mail-40133.protonmail.ch [185.70.40.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFWdC6xVHz3GbT for ; Tue, 12 Jan 2021 13:29:19 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Tue, 12 Jan 2021 13:29:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1610458150; bh=zYFssmePQOTWIR/Pi6AsTZ2cDYMzu3yKNvp0+mTX5Bg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=DxatpSl0rJ0vBytg5aLdB6XvXZtP9Sm+6OHNDs46flJdaSTBggxcdG1MSaqHnnOpQ qEOr5tKopEK5NngA7NtEnkc9Q4TMmgHEg7zzW7tiglAKiJb8GTDSLohFDvHl2bE5IT KRGY9Iik8oaUTI+BZVPsW5UFJzvfNzzSkN/CTGzs= To: Andrea Brancatelli From: Dan Kotowski Cc: freebsd-arm@freebsd.org Reply-To: Dan Kotowski Subject: Re: Updates on 13-STABLE on Apple M1 (Parallel Desktop) Message-ID: In-Reply-To: <145415ebfd16d9e207b14f624630ff80@schema31.it> References: <7a7df6f9421d10feafdbc6234ef137a3@schema31.it> <145415ebfd16d9e207b14f624630ff80@schema31.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4DFWdC6xVHz3GbT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=DxatpSl0; dmarc=pass (policy=none) header.from=a9development.com; spf=none (mx1.freebsd.org: domain of dan.kotowski@a9development.com has no SPF policy when checking 185.70.40.133) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-3.79 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.991]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.133:from]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 13:29:21 -0000 > On 2021-01-11 17:30, Andrea Brancatelli via freebsd-arm wrote: > > > Today I've found some time to spend on trying to make 13-STABLE boot on > > > > Parallel Desktop on Apple M1 processor. > > I forgot a few things: > > *) Even on 13-STABLE, just like 12.2, I had to force the VM in 1 CPU > > otherwise it would randomly get stuck at boot. > > *) I tried to do a basic pkg install vim-console, Vim installed ok but > > then got me > > root@f13:~ # vim > > ld-elf.so.1: Shared object "libncurses.so.9" not found, required by > > "vim" > > *) Even on 13-STABLE the Virtio-NET doesn't seem to work, I had to use > > the USB Ethernet card I used on 12.2 > > *) Finally, this the build revision > > root@f13:~ # uname -a > > FreeBSD f13 13.0-CURRENT FreeBSD 13.0-CURRENT #0 > > main-c255641-gf2b794e1e90: Thu Jan 7 05:03:14 UTC 2021 > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > > arm64 > > Thanks a lot. >From the bootloader can you try `fdt ls`? And if you can get a shell, can you try `ofwdump -a`? There's more info about both here: https://wiki.freebsd.org/FlattenedDevice= Tree Based on your last dmesg output it looks like Parallels went with a FDT-bas= ed approach rather than ACPI. That's fine, although a bit frustrating. My i= nitial guess is that we just don't have the DTS and drivers necessary, but = maybe we can get that moving :)