Re: HiFive Unmatched support

From: <tuexen_at_freebsd.org>
Date: Fri, 13 Aug 2021 21:47:32 +0200
> On 8. Aug 2021, at 22:35, Mitchell Horne <mhorne_at_FreeBSD.org> wrote:
> 
> On Sun, Aug 8, 2021 at 5:13 PM <tuexen_at_freebsd.org> wrote:
>> 
>>> On 8. Aug 2021, at 21:59, Zaphod Beeblebrox <zbeeble_at_gmail.com> wrote:
>>> 
>>> I've made install images _at_ 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).
I just installed yesterdays snapshot and it works great. However, when
running 'shutdown -r now', the system powers down. Is this a known issue
and is there a workaround?

Best regards
Michael
> 
> 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_at_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
>>>> 
>> 
>> 
Received on Fri Aug 13 2021 - 19:47:32 UTC

Original text of this message