Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2019 17:56:00 -0000
From:      Thomas Skibo <thomasskibo@yahoo.com>
To:        uboot@freebsd.org
Subject:   A patch to get u-boot-zedboard and u-boot-zybo compiling again.
Message-ID:  <1CA49AD8-B96D-47A6-91C9-99ECA65F2704@yahoo.com>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CA49AD8-B96D-47A6-91C9-99ECA65F2704>