From nobody Sun Dec 11 14:29:24 2022 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 4NVRwc5FWXz4kf82 for ; Sun, 11 Dec 2022 14:29:36 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NVRwc3XqKz4MMS for ; Sun, 11 Dec 2022 14:29:36 +0000 (UTC) (envelope-from julien.cassette@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb33.google.com with SMTP id d128so10818290ybf.10 for ; Sun, 11 Dec 2022 06:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wc3wuEYBlYc0Cmf2wWroVQc8ceLJ4QqGidhvv+h14Fs=; b=js7JlR8usmtzSla54Zas6MtTZceFrqq47gZWf+Sp7tJEyyP5MU3cXL3fRCTaOkQgIg DeirH9tlpu2PEbWlgBIQlpyrbjGW/6FgnCJyJDUOHv+Uf/KAiY16qN5YWkX6xn+uuv/a EtIUHiblJT32A5zqFVDUkKCp5qeO58R9EQGe9HykQEx3jrhxgwGZKcu6y6rY45f07Yrs 72BdWjcaVHyIzyr1qDf0O60BrJMaWPGLaBUGTpIRp10UTpNbf+ayEIOjYDC4lIZFRxjA 7dANmTg3FtWpUiF2bW4l4IgSjBosF6IwTu7XYY4T97up4Nju2IaXNVpZzf0BwU3a8YG6 Lxew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wc3wuEYBlYc0Cmf2wWroVQc8ceLJ4QqGidhvv+h14Fs=; b=Z5UWwfaMO/rEJbpXhcTQhlabhWaIy/EqkzjmGNTzsjqH3SbTXsn2YWs4OdH2SR9wbX 2pYEe9hK9j8da+N/2ZrzYcErrbvG1RLBkOtI2ctD9h4T7dEwFwR+8oq7E5AbXYKy0bny cRYk+UegIA6AipMDQkGSadG4srgH6zhRD9BhCstFS6NHc+8TunMbwdLNqxz71FLX6TUl SbgmXBCMTKnPKbSiGe24DDgkkojcUty/lrOB4BZ2Iol5WRMYBhloN4rS+QO1oHlhBmYL CP22oYWUUfih9fi+hTwh0z4MAnqu38dxMafWNsHuXZASyotf+WY0zjnq/8YEsuTw+5wA Jgsw== X-Gm-Message-State: ANoB5pn4iVET0Y0T5bzULRyT6LXLhgGhjDq2RMI01XKK7lLzFrlG+5VY sl85SddXCIbgeNte90TfSAKydvP+x7hWbkR0urL+fLr6VXXV8w== X-Google-Smtp-Source: AA0mqf7wQ9+wPHaS5TQEDpKs8OE5zo8oThGyHIdO4OXH0aooPA4PMGUUhEOYA1kULPMAXQGB6ffL+0x3TxDcI1K/NB4= X-Received: by 2002:a25:1e89:0:b0:6f6:b3d1:edcc with SMTP id e131-20020a251e89000000b006f6b3d1edccmr47892421ybe.125.1670768975675; Sun, 11 Dec 2022 06:29:35 -0800 (PST) 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: <2ced3777-1e7b-4028-bcb1-ea8ba3f9761d.gehaowu@bitmoe.com> <20221211114416.6f28a2c4@zeta.dino.sk> In-Reply-To: <20221211114416.6f28a2c4@zeta.dino.sk> From: Julien Cassette Date: Sun, 11 Dec 2022 15:29:24 +0100 Message-ID: Subject: Re: Whether the Sipeed Lichee RV equipment is supported To: Milan Obuch Cc: freebsd-riscv@freebsd.org, gehaowu@bitmoe.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NVRwc3XqKz4MMS X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Le dim. 11 d=C3=A9c. 2022 =C3=A0 11:44, Milan Obuch = a =C3=A9crit : > > On Sun, 11 Dec 2022 18:15:01 +0800 > "=E8=91=9B=E8=B1=AA=E6=AD=A6" wrote: > > > hello everyone: > > I have obtained a Sipeed Lichee > > RV[https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html > > ] device, > > which does not seem to support freebsd. Do you have a support plan > > and schedule? Thank you Sipeed Lichee RV > > hello everyone: I have obtained a LICHEERV device, which does not > > > seem to support freebsd. Do you have a support plan and schedule? > > > Thank you > > Allwinner D1 uses C906 core, which means something special needs to be > done to support it. See older post on this list, available at URL > https://lists.freebsd.org/archives/freebsd-riscv/2022-December/000229.htm= l > > Some time ago, however, there was a thread on the subject as well, most > interesting one (I think) is from March 13, 2022, archived copy at > https://lists.freebsd.org/archives/freebsd-riscv/2022-March/000159.html > > I don't know more, but maybe Julien achieved something, added as CC. It > would be nice if he can share in case he has anything done. > > Regards, > Milan Hello I have ported the following drivers: watchdog, interrupt, clock/reset, i/o pins, memory card; and implemented C906-specific cache management functions. So in September I could boot from MFS, get a shell and mount the MMC. But I could not boot directly from MMC and I stalled there. Also I had to disable T-Head memory extensions in the bootloader. I don't know if other C906-specific things are needed. Sources: https://github.com/freebsd-d1/freebsd-d1 Reviews: https://reviews.freebsd.org/people/revisions/13728/ Regards, Julien