From nobody Mon May 31 13:40:16 2021 X-Original-To: freebsd-arm@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 5F5F7C7A80B; Mon, 31 May 2021 13:40:20 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from mcusim.org (mcusim.org [176.58.93.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FtxHm1nHcz4qnR; Mon, 31 May 2021 13:40:19 +0000 (UTC) (envelope-from dsl@mcusim.org) Received: from x230.ds (unknown [83.28.234.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mcusim.org (Postfix) with ESMTPSA id 3F8DA76771; Mon, 31 May 2021 15:40:18 +0200 (CEST) Date: Mon, 31 May 2021 15:40:16 +0200 From: Dmitry Salychev To: "Bjoern A. Zeeb" Cc: freebsd-arm@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: U-Boot for HoneyComb LX2 Message-ID: References: <198F84BF-5932-4E58-BCE3-CC33B185923A@lists.zabbadoz.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <198F84BF-5932-4E58-BCE3-CC33B185923A@lists.zabbadoz.net> X-Rspamd-Queue-Id: 4FtxHm1nHcz4qnR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Bjoern, On Mon, May 31, 2021 at 01:22:57PM +0000, Bjoern A. Zeeb wrote: > On 31 May 2021, at 12:33, Dmitry Salychev wrote: > > Hi, > > > I'm working on three ports to compile BL2, BL31, BL32 and BL33 > > (u-boot) > > bootloaders for HoneyComb LX2 in FreeBSD. They're based on what NXP > > shared in > > their Layerscape SDK and patches from SolidRun [1]. > > > > I've managed to compile Reset Configuration Word (rcw), u-boot and ARM > > trusted > > firmware (atf) and write them to one of the existing images shared by > > SolidRun [2]. > > > > However, my HoneyComb LX2 is on a way to me and this is why I cannot > > try to > > boot the resulted image on my own. I'm really interested how far it'll > > go, but > > I don't expect anything beyond u-boot. Could somebody who has > > HoneyComb do me > > a favor and try to boot that image of mine? It should work with > > DDR4-3200 > > only: > > > > ftp://mcusim.org/ftp/lx2160acex7_2000_700_3200_8_5_2-2fff64e_changed_bld.img.xz > > > > If you want to take a look at the sysutils/rcw-lx2160acex7, > > sysutils/u-boot-lx2160acex7 and sysutils/atf-lx2160acex7, here is the > > link: > > > > https://github.com/mcusim/freebsd-ports > > That’s great news! I might give it a try. > > I’ve got a local tree (on Jan 2021, needs updating to latest and > re-test before > submit) for the uEFI firmware (not u-boot). > > /bz You could try to boot SolidRun's own from SD card first: lx2160acex7_2000_700_3200_8_5_2-2fff64e.img.xz and see how it'll work and mine after. I wonder whether there'll be any difference or not. Regards, Dmitry