From nobody Sun Aug 08 20:35:01 2021 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 26094137C224 for ; Sun, 8 Aug 2021 20:35:13 +0000 (UTC) (envelope-from mhorne@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjWDd0Xtrz3kdh; Sun, 8 Aug 2021 20:35:13 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (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: mhorne) by smtp.freebsd.org (Postfix) with ESMTPSA id EADBD84AC; Sun, 8 Aug 2021 20:35:12 +0000 (UTC) (envelope-from mhorne@freebsd.org) Received: by mail-yb1-f180.google.com with SMTP id z18so25680059ybg.8; Sun, 08 Aug 2021 13:35:12 -0700 (PDT) X-Gm-Message-State: AOAM533KOMcEqfpqK22KHyI7+Gp7mVKbGVAh6AyWvQ3duSfkKiZPQYtC UrmMXcIQ1+a+0Jnl9TIiXCy3OrGGANQHlXvjW/M= X-Google-Smtp-Source: ABdhPJwn8XFU1QR5y7n1UCi7POaU4aKAEOHvL1EYXDDzyPIb2jHJpQwGpo3cZCmdYx249Ev9J14VDJUn1Zm6jmxmB0s= X-Received: by 2002:a25:d1c2:: with SMTP id i185mr27261739ybg.466.1628454912480; Sun, 08 Aug 2021 13:35:12 -0700 (PDT) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> In-Reply-To: From: Mitchell Horne Date: Sun, 8 Aug 2021 17:35:01 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HiFive Unmatched support To: tuexen@freebsd.org Cc: Zaphod Beeblebrox , freebsd-riscv Content-Type: text/plain; charset="UTF-8" X-ThisMailContainsUnwantedMimeParts: N On Sun, Aug 8, 2021 at 5:13 PM wrote: > > > On 8. Aug 2021, at 21:59, Zaphod Beeblebrox wrote: > > > > I've made install images @ https://nextcloud.towernet.ca/s/2XJrwRSeZRojswY > Thanks a lot. > > Does this mean that the HiFive Unmatched can boot from USB, then install on the SSD and > then it boots from the SSD? I was assuming that you need something on the SD card (like > uboot) and configure it to boot from USB or SSD. > A copy of u-boot is still required, but you can just use the SD card shipped with the board for this. It has a boot preference of NVMe > USB > SD. So, you can copy the FreeBSD installer images to a USB, and go through the traditional installation to set up your SSD. Upon reboot you will be in the new system. Eventually we will gain the ability to write a new u-boot to the SPI flash, but there is still some work ahead for this. Since jrtc27's patches just landed, this coming Thursday's 14.0 snapshot should include everything needed, likely including the aforementioned superpage fix (D31460). Cheers, Mitchell > Best regards > Michael > > > > These don't include the most recent bug I found in superpages which jrtc27 fixed --- but turn off superpages in loader.conf and you'll be good... > > > > vm.pmap.superpages_enabled=0 in loader.conf will fix this. > > > > On 2021-08-08 14:58, tuexen@freebsd.org wrote: > >> Dear all, > >> > >> according to https://wiki.freebsd.org/riscv/HiFiveUnmatched support for the > >> HiFive Unmatched is now support by FreeBSD. This is great! > >> > >> Are there any instructions available how to install FreeBSD on an SSD such > >> that it runs from that SSD? Any hints welcome. > >> > >> Best regards > >> Michael > >> > >