From owner-freebsd-uboot@freebsd.org Wed Sep 4 17:55:59 2019 Return-Path: Delivered-To: freebsd-uboot@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 F3918C8BDB for ; Wed, 4 Sep 2019 17:55:59 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46Ns1q5C31z4g9G for ; Wed, 4 Sep 2019 17:55:59 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: by mailman.nyi.freebsd.org (Postfix) id B26F3C8BDA; Wed, 4 Sep 2019 17:55:59 +0000 (UTC) Delivered-To: uboot@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 B22F1C8BD9 for ; Wed, 4 Sep 2019 17:55:59 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46Ns1p36Kdz4g9C for ; Wed, 4 Sep 2019 17:55:58 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) X-YMail-OSG: XU5YW0kVM1ko5M9yxiQ4tJWI1RhlCz3E1IhhCIIf3sfpP5xXosoOh78yCOcY5rC nz42wZTecHlkAQxQsxypMJLBlXFfPZ2yt.njr.cFo6ZKlyupTsY1MM.1FQteAhEsoDG5_yFCQWxQ yis_2NYOrMo_3WIygKIY0c1YRbzU.u5e.CL_cWI4MmzwQU2rZp1Z8WgZ2cQ0dh8FmP9NmDHCx4iG QvxCEk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XaqNUxf3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Wed, 4 Sep 2019 17:55:56 +0000 Received: by smtp419.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 676432946e51190260479fcc7bb13a94; Wed, 04 Sep 2019 17:55:54 +0000 (UTC) From: Thomas Skibo Content-Type: multipart/mixed; boundary="Apple-Mail=_73818F06-3300-491E-A18C-7B8C562F42CC" Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: A patch to get u-boot-zedboard and u-boot-zybo compiling again. Message-Id: <1CA49AD8-B96D-47A6-91C9-99ECA65F2704@yahoo.com> To: uboot@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 46Ns1p36Kdz4g9C X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.59 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~,3:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.69)[0.691,0]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MIME_BAD_ATTACHMENT(1.60)[spl]; NEURAL_SPAM_MEDIUM(0.81)[0.812,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (5.87), ipnet: 98.137.64.0/21(0.92), asn: 36647(0.73), country: US(-0.05)]; NEURAL_SPAM_LONG(0.99)[0.989,0]; RCVD_IN_DNSWL_NONE(0.00)[148.64.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Sat, 12 Oct 2019 23:46:37 +0000 X-BeenThere: freebsd-uboot@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of uboot with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 04 Sep 2019 17:56:00 -0000 X-Original-Date: Wed, 4 Sep 2019 10:55:53 -0700 X-List-Received-Date: Wed, 04 Sep 2019 17:56:00 -0000 --Apple-Mail=_73818F06-3300-491E-A18C-7B8C562F42CC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello. I have a patch that gets the Zedboard and Zybo u-boot ports working = again. The problem is that dd in FreeBSD requires a cbs=3D option when = using conv=3Dblock,sync whereas Linux does not require the option. This = seems to do what is intended which is to pad out the binary to a four = byte boundary. When I created the patch with =E2=80=9Cmake makepatch=E2=80=9D, the = patch was put in u-boot-master/files instead of u-boot-zybo/files from = where I was working so I guess that is where it should go. It = shouldn=E2=80=99t affect any other u-boot ports. Thanks, =E2=80=94Thomas --Apple-Mail=_73818F06-3300-491E-A18C-7B8C562F42CC Content-Disposition: attachment; filename=patch-scripts_Makefile.spl Content-Type: application/octet-stream; x-unix-mode=0644; name="patch-scripts_Makefile.spl" Content-Transfer-Encoding: 7bit --- scripts/Makefile.spl.orig 2019-07-08 19:23:28 UTC +++ scripts/Makefile.spl @@ -200,7 +200,7 @@ MKIMAGEFLAGS_boot.bin = -T zynqmpimage -R $(srctree)/$ endif $(obj)/$(SPL_BIN)-align.bin: $(obj)/$(SPL_BIN).bin - @dd if=$< of=$@ conv=block,sync bs=4 2>/dev/null; + @dd if=$< of=$@ conv=sync bs=4 2>/dev/null; spl/boot.bin: $(obj)/$(SPL_BIN)-align.bin FORCE $(call if_changed,mkimage) --Apple-Mail=_73818F06-3300-491E-A18C-7B8C562F42CC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 =E2=80=94=E2=80=94 Thomas Skibo ThomasSkibo@yahoo.com --Apple-Mail=_73818F06-3300-491E-A18C-7B8C562F42CC--