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
[-- Attachment #1 --] 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= option when using conv=block,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 “make makepatch”, 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’t affect any other u-boot ports. Thanks, —Thomas [-- Attachment #2 --] --- 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) [-- Attachment #3 --] —— Thomas Skibo ThomasSkibo@yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CA49AD8-B96D-47A6-91C9-99ECA65F2704>
