From owner-freebsd-arm@freebsd.org Tue Oct 20 18:39:44 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 BE0924381A1 for ; Tue, 20 Oct 2020 18:39:44 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-13-4.privateemail.com (mta-13-4.privateemail.com [198.54.127.109]) (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 4CG2V81bhCz4d2v; Tue, 20 Oct 2020 18:39:43 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from mta-13.privateemail.com (localhost [127.0.0.1]) by mta-13.privateemail.com (Postfix) with ESMTP id 9C8A680058; Tue, 20 Oct 2020 14:39:36 -0400 (EDT) Received: from mail-io1-f49.google.com (unknown [10.20.151.239]) by mta-13.privateemail.com (Postfix) with ESMTPA id 669DF80055; Tue, 20 Oct 2020 18:39:36 +0000 (UTC) Received: by mail-io1-f49.google.com with SMTP id y20so5040457iod.5; Tue, 20 Oct 2020 11:39:36 -0700 (PDT) X-Gm-Message-State: AOAM530/3hdVv9fY20MADzeHPMLNV+dS3V5kok5h3ajSBTLYGlt1YbEs nRwY3bYnThNLm5xqjILmMpBm4y6pAPuqD4mf0KU= X-Google-Smtp-Source: ABdhPJznnbbqAOrQxSlrdibp1RWNU1l/I4gFzAsIvc7wZ/JpiaiP8fRE8rbYwZuACrm0RgqosEsO60KBqv7R4FO5MEc= X-Received: by 2002:a6b:920b:: with SMTP id u11mr3224673iod.191.1603219175640; Tue, 20 Oct 2020 11:39:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincent Milum Jr Date: Tue, 20 Oct 2020 11:39:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FreeBSD under VMware ESXi ARM Fling To: Ed Maste Cc: "freebsd-arm@freebsd.org" X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4CG2V81bhCz4d2v X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-arm@darkain.com designates 198.54.127.109 as permitted sender) smtp.mailfrom=freebsd-arm@darkain.com X-Spamd-Result: default: False [-3.08 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.54.127.96/27]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[darkain.com]; RWL_MAILSPIKE_VERYGOOD(0.00)[198.54.127.109:from]; NEURAL_HAM_LONG(-1.00)[-1.005]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; NEURAL_HAM_SHORT(-0.78)[-0.782]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22612, ipnet:198.54.127.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset="UTF-8" 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: Tue, 20 Oct 2020 18:39:44 -0000 ums isn't being loaded automatically. I'm not sure why. I've had to manually add it to loader.conf to get mouse support working at all. unrelated to vmware, a while back i was testing freebsd on a raspberry pi competitor board (forget which atm) that only had USB storage. it would boot to the point of switching to kernel mounting the file system, and failing to find the USB drive. I now suspect that this is also related to lack of *HCI (possibly specifically uhci), so I want to give that a try there too sometime soon. also, update on serial port. The vmware devs confirmed this is indeed available on ESXi ARM. It was late last night when I tested just a very basic connection, nothing using gdb yet. But this means we should have easy kernel remote debugging access by linking two VM's virtual serial ports together. On Tue, Oct 20, 2020 at 9:56 AM Ed Maste wrote: > On Mon, 19 Oct 2020 at 02:19, Vincent Milum Jr > wrote: > > > > uhci for USB 2.0 is not enabled by default. Ensure your VM is initially > set > > up > > for USB 3.1 so the virtual keyboard and mouse will function. This is easy > > enough > > to fix post install with: uhci_load="YES" > > We can definitely add this one to arm64 GENERIC. It looks like we've > just faulted in the various *HCI USB interfaces as platforms with > support appeared. > > > ums is the same as above. ESXi ARM uses USB instead of PS2 for the > virtual > > mouse, so add this post install if you want mouse support: ums_load="YES" > > ums is not included in amd64 GENERIC; it's presumably being > automatically loaded when needed. Does this work here too? > > > vmxnet and pvscsi are not pre-compiled. However, they compile and operate > > perfectly as expected without any modification on ARM. > > I've committed a change to build these as modules now. We can also add > to GENERIC if necessary. >