Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2022 17:30:43 +0100
From:      Julien Cassette <julien.cassette@gmail.com>
To:        freebsd-riscv@freebsd.org
Subject:   Re: Sipeed Lichee RV (Allwinner D1)
Message-ID:  <CAMWTpV=MnB2VrAitZV-K3fomb7Z7M_AtcUC2FzO4PRqY=DK7Wg@mail.gmail.com>
In-Reply-To: <20220303232547.316daa2d@zeta.dino.sk>
References:  <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <CAMWTpVk2xpVjwGc5MEjaazXEJ5HmjrXE78UU3_7B2Z_9DA5kag@mail.gmail.com> <20220228184826.5bdfe7d9@zeta.dino.sk> <CAMWTpVnZxYh6__u2CcOzpvEzwczF8BiAadw0U-hTgVGdhPicUA@mail.gmail.com> <20220303232547.316daa2d@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
Le jeu. 3 mars 2022 =C3=A0 23:25, Milan Obuch <freebsd-riscv@dino.sk> a =C3=
=A9crit :
>
<snip>
>
> Well, this is probably watchdog firing reset. From U-Boot:
>
> WDT:   Started watchdog@6011000 with servicing (16s timeout)
>
> You need either write a watchdog driver to prevent timeout occuring, or
> disable the watchdog (if possible, this could not be the case). Also,
> it would help to see FDT (from U-Boot, command 'fdt print', but this
> needs probably 'fdt addr xxxx' with correct address first). Log
> presented is too short, suggesting FDT used is incomplete for some
> reason.
>
> Also, you can load root filesystem from embedded image automatically,
> using
>
> options ROOTDEVNAME=3D\"ufs:/dev/md0\"
>
> in kernel config.
>
> Regards,
> Milan
>

Hi Milan and thanks for the help

I have modified the `aw_wdog` driver to support the D1, and now the
device does not reset after executing `watchdog -t 0`.

I am trying to make the `aw_mmc` driver work but it is failing on
getting ressources, I guess the IRQ one.

Source code: https://github.com/jcassette/freebsd-src/tree/sun20i-d1

Boot log: https://pastebin.com/1MDWtymS

Output of FDT print: https://pastebin.com/CkKmej7s

Regards,
Julien



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMWTpV=MnB2VrAitZV-K3fomb7Z7M_AtcUC2FzO4PRqY=DK7Wg>