From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 22 Mar 2024 15:30:40 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rnfuq-00HazM-0y for lore@lore.pengutronix.de; Fri, 22 Mar 2024 15:30:40 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rnfuo-0004qA-MM for lore@pengutronix.de; Fri, 22 Mar 2024 15:30:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sUFB0sFkBDjWGCXq9U1deYrGED2W6cDbq12YzVcT8OU=; b=L1iPi2zwigzOzRh6qyYG+13PeA kgIyQ4YtXipQ/G63P0s3FvRWPV4qLVOfl6BOfoppAUlisxMgtJUUQw3aS1CTntf8QdsdTOe4dmPzZ P5QBEwC4rtyw61i5malmiyWMhX1fF5ibXef9OLNiDGou+bom7AlOwy9pdhVAHcLYlvSieMDnEzmd3 aljcxVsyUtiuuv5T0dA5ss9rrUPiPQpq5ak6FhyTmWQB1zkwJFnUQ+dLRPCad0woJ4iahFJD2bJT5 RUgd7I8UwdQfDQ9yHrfLAtDr/yIWCy5YzOos+P7Qy/jxCm+JqvOMOu7TU6FBRuKHo8nMMIah7p1TV TVBA+q3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnfuE-00000007Xzh-0CiF; Fri, 22 Mar 2024 14:30:02 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnfu8-00000007XxN-1DHy for barebox@lists.infradead.org; Fri, 22 Mar 2024 14:30:00 +0000 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rnfu1-0004bo-7n; Fri, 22 Mar 2024 15:29:49 +0100 Message-ID: <579562bc-72ad-4661-8675-986ccd79126f@pengutronix.de> Date: Fri, 22 Mar 2024 15:29:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Ahmad Fatoum To: Antony Pavlov Cc: barebox@lists.infradead.org References: <20240310233355.015a6192a3d7cd668dd6f820@gmail.com> <41f4bc52-f619-4a91-a114-5eb2498cc3fc@pengutronix.de> In-Reply-To: <41f4bc52-f619-4a91-a114-5eb2498cc3fc@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240322_072956_370542_33FBF34A X-CRM114-Status: GOOD ( 18.09 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: Documentation/boards/riscv.rst: can't rebuild image for BeagleV X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Hello Antony, On 11.03.24 12:50, Ahmad Fatoum wrote: > Hello Antony, > > On 10.03.24 21:33, Antony Pavlov wrote: >> Hi Ahmad! >> >> I have tried to rebuild barebox for BeagleV. >> Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst >> because of changes in opensbi repo. I just Cc'd[1] you on a documentation patch that describes how it needs to be built now. >> I have successfully rebuild U-Boot from the https://github.com/andreiw/uboot_jh7100 repo >> and used it for running sbi-less BeagleV barebox image. >> >> I planned to use BeagleV for picotcp demonstration but BeagleV ethernet adapter >> does not works neither under U-Boot nor under barebox. My dhcp server can't even >> receive any request from BeagleV. >> >> Have we any chance to make BeagleV ethernet adapter works under barebox? > > I've been meaning to sync barebox with the kernel, now that there's upstream > support for the JH7100. Ethernet on this SoC was a bit peculiar, because > previous RISC-V SoCs were fully cache-coherent, but the MAC on this SoC wasn't. > > I got Ethernet to work though, so if it's broken now, it is a regression. > > I will try building an image when I have time. Thanks to your report, I found a bug in my DMA coherency patches that made it into v2024.02.0. I Cc'd[2] you on the fix. Ethernet works again now. [1]: https://lore.barebox.org/barebox/20240322142441.982089-1-a.fatoum@pengutronix.de/T/#u [2]: https://lore.barebox.org/barebox/20240322142424.981863-1-a.fatoum@pengutronix.de/T/#u Cheers, Ahmad > > Cheers, > Ahmad > >> > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |