Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2021 23:29:11 +0200
From:      tuexen@freebsd.org
To:        Mitchell Horne <mhorne@freebsd.org>
Cc:        Zaphod Beeblebrox <zbeeble@gmail.com>, freebsd-riscv <freebsd-riscv@freebsd.org>
Subject:   Re: HiFive Unmatched support
Message-ID:  <383558FE-D692-4893-9313-18C1A706F0BE@freebsd.org>
In-Reply-To: <CADeAsy3ZXS_3K5OjZ9wGc=tjhM83aMJ1X9eGY6jdCpmvmQv4hA@mail.gmail.com>
References:  <B20A1CB3-98F3-4697-B06C-073A075DAC1D@freebsd.org> <29bec316-d5b7-501a-1560-b56c97192f41@gmail.com> <E2A20089-0FD1-4D78-B040-B89D4345A61E@freebsd.org> <CADeAsy3GxOyayp=FRu_57X3a3DNyjqCT6Ph3eV-47iY48jSryQ@mail.gmail.com> <D2DE30D9-4730-456D-B803-75D9E4C577B7@freebsd.org> <CADeAsy3ZXS_3K5OjZ9wGc=tjhM83aMJ1X9eGY6jdCpmvmQv4hA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 13. Aug 2021, at 22:44, Mitchell Horne <mhorne@freebsd.org> wrote:
>=20
> On Fri, Aug 13, 2021 at 4:47 PM <tuexen@freebsd.org> wrote:
>>=20
>>> On 8. Aug 2021, at 22:35, Mitchell Horne <mhorne@FreeBSD.org> wrote:
>>>=20
>>> On Sun, Aug 8, 2021 at 5:13 PM <tuexen@freebsd.org> wrote:
>>>>=20
>>>>> On 8. Aug 2021, at 21:59, Zaphod Beeblebrox <zbeeble@gmail.com> =
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).
>> 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?
>>=20
>=20
> This is a known issue, unfortunately without any workaround yet. The
> problem is a lack of any reset mechanism in the firmware stack, so the
> SBI system reset interface just performs a poweroff. So it is not a
> FreeBSD issue, and we will have to wait for a solution upstream.
Thanks for the explanation.
>=20
> I found a thread on the SiFive forums discussing this:
> https://forums.sifive.com/t/reboot-command/4721
Thanks for the pointer.

So for now I have to walk to the machine to bring up a new kernel...

Best regards
Michael
>=20
>> 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
>>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383558FE-D692-4893-9313-18C1A706F0BE>