From nobody Sun Aug 8 18:58:06 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 EFD6D11FF01D for ; Sun, 8 Aug 2021 18:58:08 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjT4c5zMMz3P6h for ; Sun, 8 Aug 2021 18:58:08 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from smtpclient.apple (ip1f100e9c.dynamic.kabel-deutschland.de [31.16.14.156]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 9B8F4721E2825 for ; Sun, 8 Aug 2021 20:58:06 +0200 (CEST) From: tuexen@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: HiFive Unmatched support Message-Id: Date: Sun, 8 Aug 2021 20:58:06 +0200 To: freebsd-riscv@freebsd.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4GjT4c5zMMz3P6h X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE]; local_wl_from(0.00)[freebsd.org] X-ThisMailContainsUnwantedMimeParts: N 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 From nobody Sun Aug 8 19:59:26 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 9319A1379FD1 for ; Sun, 8 Aug 2021 19:59:37 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 4GjVRY2zw5z3hTp; Sun, 8 Aug 2021 19:59:37 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-io1-xd2e.google.com with SMTP id 188so22785353ioa.8; Sun, 08 Aug 2021 12:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=RQ1OIvxzEEnJ+tOxtVP8FDF0jfbSCtMLfmGmnCst3sc=; b=UXBp7RIyqOj+nrVuDa1kq8sXyuZv64UVQXnakK/0/xAc4GAgU1i0orbOEuIFCgXJsX RPFkHDwY4JcyQOCt0RIHIsGswVwNUrgsHxFxpHbRiLqL9i7kfpxRNk7aFx5QAryzww1h QrBYtSwiWhoXRIG4a4/0s/5dmK8Q8HcHQ+Ufy58Ihn+vxyDPtNl636bPL9Djr92bKYj0 GZ8fp41UiNc7HjqIJpJwNiWoqTRpMP/yXcIxSTvPDrcFlhZCgFCW7K8OYqSzEeV9XZW4 M6nBEpjPDX5WAJciCyoINmSZEFolEvvODgBA9XSztH3Hx+eZe0Qi5fdVKi0aKNBhTOTQ i0xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=RQ1OIvxzEEnJ+tOxtVP8FDF0jfbSCtMLfmGmnCst3sc=; b=SiIdD8CBJMktlFI+rl/ATxasz5xKOx6Z8KYWCt+gIuj2zzYnkzq9G7TgtGaysYE9vH iYCNjZaaaAlOLxwLtYqTloGZQQ0g2W8lg4OZvF2wMsip2R/2psqsQ5tprys3BFzd9Ow7 trAkZf4REqGp/RPJcU7VRYznR4AvtKX1/hQ3RyXc79uJuyJrsaz0Xd2puHcUBbVB3ATE HM5Hxn0XWsYyNgtlwWcp3Q7qjed/0g4u8DgOVfSjD7m/wgHSMlXOSWF2Lx2eW1Zfy3QD 9hJHVw8vUKjYqTQZQW91dVZ64rSvxVfRieyFIqskRAQdulvNrjEmAL6YJIShVyxKTEqc 3WBg== X-Gm-Message-State: AOAM533rDVG71dkYHoh61IfgrTThp0Pc3Bx+IGjL83iPvnImKkquQ42/ 0DHsVgxBrpgmy2t+8KSHA2kC5sSWZAxI X-Google-Smtp-Source: ABdhPJwUwD1mevEOZn0cwVgpBI9uuRFclNUSDEJgvnzSU5ngOTOamE4bfyjwkdMOBQo0pErIjbyNTA== X-Received: by 2002:a05:6e02:d09:: with SMTP id g9mr126114ilj.153.1628452770604; Sun, 08 Aug 2021 12:59:30 -0700 (PDT) Received: from ?IPv6:2001:1928:1:0:807c:2081:60ad:2fd0? ([2001:1928:1:0:807c:2081:60ad:2fd0]) by smtp.gmail.com with ESMTPSA id j20sm6555693ila.14.2021.08.08.12.59.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Aug 2021 12:59:29 -0700 (PDT) Subject: Re: HiFive Unmatched support To: tuexen@freebsd.org, freebsd-riscv@freebsd.org References: From: Zaphod Beeblebrox Message-ID: <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> Date: Sun, 8 Aug 2021 15:59:26 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-CA X-Rspamd-Queue-Id: 4GjVRY2zw5z3hTp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N I've made install images @ https://nextcloud.towernet.ca/s/2XJrwRSeZRojswY 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 > From nobody Sun Aug 8 20:13:35 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 CA627137ABE1 for ; Sun, 8 Aug 2021 20:13:44 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjVlr4gZWz3j8f for ; Sun, 8 Aug 2021 20:13:44 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from smtpclient.apple (ip1f100e9c.dynamic.kabel-deutschland.de [31.16.14.156]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 9F6E7721E2828; Sun, 8 Aug 2021 22:13:35 +0200 (CEST) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: HiFive Unmatched support From: tuexen@freebsd.org In-Reply-To: <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> Date: Sun, 8 Aug 2021 22:13:35 +0200 Cc: freebsd-riscv@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> To: Zaphod Beeblebrox X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4GjVlr4gZWz3j8f X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 8. Aug 2021, at 21:59, Zaphod Beeblebrox wrote: >=20 > 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. Best regards Michael >=20 > 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... >=20 > vm.pmap.superpages_enabled=3D0 in loader.conf will fix this. >=20 > On 2021-08-08 14:58, tuexen@freebsd.org wrote: >> Dear all, >>=20 >> according to https://wiki.freebsd.org/riscv/HiFiveUnmatched support = for the >> HiFive Unmatched is now support by FreeBSD. This is great! >>=20 >> Are there any instructions available how to install FreeBSD on an SSD = such >> that it runs from that SSD? Any hints welcome. >>=20 >> Best regards >> Michael >>=20 From nobody Sun Aug 8 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 > >> > > From nobody Sun Aug 8 20:59:12 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 8D759137D107 for ; Sun, 8 Aug 2021 20:59:15 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjWmM2jkPz3lNB; Sun, 8 Aug 2021 20:59:15 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from smtpclient.apple (ip1f100e9c.dynamic.kabel-deutschland.de [31.16.14.156]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id BB798721E2828; Sun, 8 Aug 2021 22:59:12 +0200 (CEST) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: HiFive Unmatched support From: tuexen@freebsd.org In-Reply-To: Date: Sun, 8 Aug 2021 22:59:12 +0200 Cc: Zaphod Beeblebrox , freebsd-riscv Content-Transfer-Encoding: quoted-printable Message-Id: <01D9B12F-EA1B-42A1-89C5-1F39526BF716@freebsd.org> References: <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> To: Mitchell Horne X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 4GjWmM2jkPz3lNB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 8. Aug 2021, at 22:35, Mitchell Horne wrote: >=20 > On Sun, Aug 8, 2021 at 5:13 PM wrote: >>=20 >>> On 8. Aug 2021, at 21:59, Zaphod Beeblebrox = wrote: >>>=20 >>> I've made install images @ = https://nextcloud.towernet.ca/s/2XJrwRSeZRojswY >> Thanks a lot. >>=20 >> 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. >>=20 >=20 > 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. >=20 > 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. >=20 > Since jrtc27's patches just landed, this coming Thursday's 14.0 > snapshot should include everything needed, likely including the > aforementioned superpage fix (D31460). Great. Thanks a lot for the very quick responses! Best regards Michael >=20 > Cheers, > Mitchell >=20 >=20 >> Best regards >> Michael >>>=20 >>> 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... >>>=20 >>> vm.pmap.superpages_enabled=3D0 in loader.conf will fix this. >>>=20 >>> On 2021-08-08 14:58, tuexen@freebsd.org wrote: >>>> Dear all, >>>>=20 >>>> according to https://wiki.freebsd.org/riscv/HiFiveUnmatched support = for the >>>> HiFive Unmatched is now support by FreeBSD. This is great! >>>>=20 >>>> Are there any instructions available how to install FreeBSD on an = SSD such >>>> that it runs from that SSD? Any hints welcome. >>>>=20 >>>> Best regards >>>> Michael >>>>=20 >>=20 >>=20