From owner-freebsd-arm@freebsd.org Wed Sep 25 10:43:09 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DAF29122CAE for ; Wed, 25 Sep 2019 10:43:09 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46dZQh3zKlz3DY1 for ; Wed, 25 Sep 2019 10:43:08 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id a27f2d28; Wed, 25 Sep 2019 12:43:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=RvaaRqFM6THrGywQdQUotgpWtwA=; b=PaeIO42KLhoUSRADqZUFv1GusPZy UMeQG7pR+4a/Q/FVQZsvezZ8vFnJExEj3XlzGmioovWNTU8CEfgotJfmpS+lyIJ1 4kU56OoBdAYXIMsIz07SDZJkkm9IQiKKo+csglwIjZPELVtJ2ejqTdL09l5qeOjL jpza9QB/ITvfRv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ppW4x0cvUPpMwGwVmTBc7KPfrUZfQSxbortotQA40q+3o4C2dQZkmwKv RJJoUiX1sPTW8BfYCtCaLzhx1s2acB73tn6g3jaJOYl5thVCreyCUPOI4q915rKb 9TtCLE3CEJJZ3bjoMdcHkla2ltpZSLDs4w+XN/M8jdjvWPxdyyA= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 65d8dbd0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 25 Sep 2019 12:43:06 +0200 (CEST) Date: Wed, 25 Sep 2019 12:43:05 +0200 From: Emmanuel Vadot To: mko Cc: John-Mark Gurney , "freebsd-arm@freebsd.org" Subject: Re: RockPro64 booting w/ u-boot v2019-rc3 Message-Id: <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> In-Reply-To: References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46dZQh3zKlz3DY1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=PaeIO42K; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.30 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; NEURAL_HAM_MEDIUM(-0.77)[-0.775,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.37)[ip: (-0.79), ipnet: 212.83.160.0/19(2.50), asn: 12876(0.14), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 10:43:09 -0000 On Wed, 25 Sep 2019 22:30:28 +1200 mko wrote: > Hi John, > Thanks for the the additional information for building the uboot. Do you think all the fixes will available in the next u-boot release, so I can use the upstream u-boot to boot freebsd on RK3399? > > mko Hi, yes everything is more or less ok with upstream currently (it seems that I cannot save the env right now, will investigate). As soon as u-boot 2019.10 is out I'll update the ports. In the meantime you can download it from : https://people.freebsd.org/~manu/rk3399/ Just do : dd if=idbloader.img of=/dev/XXX bs=512 seek=64 conv=sync dd if=u-boot.itb of=/dev/XXX bs=512 seek=16384 conv=sync > > On 25/09/2019, at 10:13 AM, John-Mark Gurney wrote: > > > > John-Mark Gurney wrote this message on Sun, Sep 15, 2019 at 23:46 -0700: > >> I may have forgotten to include some steps. After building, I > >> installed the parts via: > >> dd if=idbloader.img of=/dev/disk4 oseek=64 bs=512 > > > > It turns out that I did forget some steps. It appears that the file > > idbloader.img was built from git checkout > > 87d5b225585f341ea8e926a2c26fb72585fc9d0c, and NOT the [missing from > > my email] branch v2019.10-rc3 like I had thought. It does appear that > > idbloader.img is built by cat'ing tpl/u-boot-tpl.img and > > spl/u-boot-spl.bin together, but I have not tried it from the > > rc3 branch to verify. > > > > -- > > John-Mark Gurney Voice: +1 415 225 5579 > > > > "All that I will do, has been done, All that I have, has not." > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot