<div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.8px">u-boot-fw-utils-cross is broken for at least a year, if it breaks a lot of boards, why nobody complained yet?</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 7:32 AM, Marek Vasut <span dir="ltr">&lt;<a href="mailto:marek.vasut@gmail.com" target="_blank">marek.vasut@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/17/2017 01:06 PM, Martin Jansa wrote:<br>
&gt; I&#39;ve verified that u-boot-fw-utils builds and installs fw_printenv<br>
&gt; correctly with 2017.07.<br>
&gt;<br>
&gt; And that u-boot-fw-utils-cross was broken even with Yocto 2.3 Pyro<br>
&gt; and 2017.01 version there, maybe it&#39;s time to remove cross version? As<br>
&gt; nobody is using it and it&#39;s not tested?<br>
<br>
</span>Nobody apparently even build-tested this patch before submission, gurrr.<br>
<br>
Speaking of cross versions of U-Boot fwutils and printenv/setenv , they<br>
are used by boards for modifying U-Boot environment on the target from<br>
Linux, so removing them would break a lot of boards -- NAK.<br>
<div><div class="h5"><br>
&gt; On Sun, Sep 17, 2017 at 11:18 AM, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;&gt; Is anyone seeing u-boot-fw-utils.do_install failure with this?<br>
&gt;&gt;<br>
&gt;&gt; u-boot-fw-utils/1_2017.09-r0/<wbr>git/tools/env/fw_printenv: No such file or<br>
&gt;&gt; directory<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve tried u-boot-fw-utils-cross, but it fails as well even sooner in<br>
&gt;&gt; do_compile:<br>
&gt;&gt;<br>
&gt;&gt; Log data follows:<br>
&gt;&gt; | DEBUG: Executing shell function do_compile<br>
&gt;&gt; | NOTE: make -j 32 ARCH=arm CC=gcc  -isystemwork/x86_64-linux/u-<br>
&gt;&gt; boot-fw-utils-cross/1_2017.09-<wbr>r0/recipe-sysroot-native/usr/<wbr>include -O2<br>
&gt;&gt; -pipe -Lwork/x86_64-linux/u-boot-fw-<wbr>utils-cross/1_2017.09-r0/<wbr>recipe-sysroot-native/usr/lib<br>
&gt;&gt; -Lwork/x86_64-linux/u-boot-fw-<wbr>utils-cross/1_2017.09-r0/<wbr>recipe-sysroot-native/lib<br>
&gt;&gt; -Wl,-rpath-link,work/x86_64-<wbr>linux/u-boot-fw-utils-cross/1_<br>
&gt;&gt; 2017.09-r0/recipe-sysroot-<wbr>native/usr/lib -Wl,-rpath-link,work/x86_64-<br>
&gt;&gt; linux/u-boot-fw-utils-cross/1_<wbr>2017.09-r0/recipe-sysroot-<wbr>native/lib<br>
&gt;&gt; -Wl,-rpath,work/x86_64-linux/<wbr>u-boot-fw-utils-cross/1_2017.<br>
&gt;&gt; 09-r0/recipe-sysroot-native/<wbr>usr/lib -Wl,-rpath,work/x86_64-linux/<br>
&gt;&gt; u-boot-fw-utils-cross/1_2017.<wbr>09-r0/recipe-sysroot-native/<wbr>lib -Wl,-O1 V=1<br>
&gt;&gt; rpi_3_32b_config<br>
&gt;&gt; | make -f ./scripts/Makefile.build obj=scripts/basic<br>
&gt;&gt; |   cc -Wp,-MD,scripts/basic/.fixdep.<wbr>d -Wall -Wstrict-prototypes -O2<br>
&gt;&gt; -fomit-frame-pointer      -o scripts/basic/fixdep scripts/basic/fixdep.c<br>
&gt;&gt; | /bin/sh: 1: cc: not found<br>
&gt;&gt; | make[1]: *** [scripts/basic/fixdep] Error 127<br>
&gt;&gt; | make: *** [scripts_basic] Error 2<br>
&gt;&gt; | ERROR: oe_runmake failed<br>
&gt;&gt; | WARNING: exit code 1 from a shell command.<br>
&gt;&gt; | ERROR: Function failed: do_compile (log file is located at<br>
&gt;&gt; work/x86_64-linux/u-boot-fw-<wbr>utils-cross/1_2017.09-r0/temp/<br>
&gt;&gt; log.do_compile.12859)<br>
&gt;&gt; ERROR: Task (virtual:cross:oe-core/meta/<wbr>recipes-bsp/u-boot/u-boot-fw-<br>
&gt;&gt; utils_2017.09.bb:do_compile) failed with exit code &#39;1&#39;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Sep 11, 2017 at 10:30 PM, Otavio Salvador &lt;<a href="mailto:otavio@ossystems.com.br">otavio@ossystems.com.br</a><br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; This upgrades the U-Boot to the 2017.09 release.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Signed-off-by: Otavio Salvador &lt;<a href="mailto:otavio@ossystems.com.br">otavio@ossystems.com.br</a>&gt;<br>
&gt;&gt;&gt; ---<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  .../u-boot/{u-boot-common_<wbr>2017.07.inc =&gt; u-boot-common_2017.09.inc}<br>
&gt;&gt;&gt;  | 2 +-<br>
&gt;&gt;&gt;  .../u-boot/{<a href="http://u-boot-fw-utils_2017.07.bb" rel="noreferrer" target="_blank">u-boot-fw-utils_<wbr>2017.07.bb</a> =&gt; <a href="http://u-boot-fw-utils_2017.09.bb" rel="noreferrer" target="_blank">u-boot-fw-utils_2017.09.bb</a>}<br>
&gt;&gt;&gt;  | 0<br>
&gt;&gt;&gt;  .../u-boot/{<a href="http://u-boot-mkimage_2017.07.bb" rel="noreferrer" target="_blank">u-boot-mkimage_<wbr>2017.07.bb</a> =&gt; <a href="http://u-boot-mkimage_2017.09.bb" rel="noreferrer" target="_blank">u-boot-mkimage_2017.09.bb</a>}<br>
&gt;&gt;&gt;  | 0<br>
&gt;&gt;&gt;  meta/recipes-bsp/u-boot/{<a href="http://u-boot_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.07.bb</a> =&gt; <a href="http://u-boot_2017.09.bb" rel="noreferrer" target="_blank">u-boot_2017.09.bb</a>}<br>
&gt;&gt;&gt; | 0<br>
&gt;&gt;&gt;  4 files changed, 1 insertion(+), 1 deletion(-)<br>
&gt;&gt;&gt;  rename meta/recipes-bsp/u-boot/{u-<wbr>boot-common_2017.07.inc =&gt;<br>
&gt;&gt;&gt; u-boot-common_2017.09.inc} (89%)<br>
&gt;&gt;&gt;  rename meta/recipes-bsp/u-boot/{<a href="http://u-boot-fw-utils_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-fw-utils_2017.07.bb</a> =&gt;<br>
&gt;&gt;&gt; <a href="http://u-boot-fw-utils_2017.09.bb" rel="noreferrer" target="_blank">u-boot-fw-utils_2017.09.bb</a>} (100%)<br>
&gt;&gt;&gt;  rename meta/recipes-bsp/u-boot/{<a href="http://u-boot-mkimage_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-mkimage_2017.07.bb</a> =&gt;<br>
&gt;&gt;&gt; <a href="http://u-boot-mkimage_2017.09.bb" rel="noreferrer" target="_blank">u-boot-mkimage_2017.09.bb</a>} (100%)<br>
&gt;&gt;&gt;  rename meta/recipes-bsp/u-boot/{<a href="http://u-boot_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.07.bb</a> =&gt; <a href="http://u-boot_2017.09.bb" rel="noreferrer" target="_blank">u-boot_2017.09.bb</a>}<br>
&gt;&gt;&gt; (100%)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; diff --git a/meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.07.inc<br>
&gt;&gt;&gt; b/meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.09.inc<br>
&gt;&gt;&gt; similarity index 89%<br>
&gt;&gt;&gt; rename from meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.07.inc<br>
&gt;&gt;&gt; rename to meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.09.inc<br>
&gt;&gt;&gt; index e37f5fd409..02e51242cb 100644<br>
&gt;&gt;&gt; --- a/meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.07.inc<br>
&gt;&gt;&gt; +++ b/meta/recipes-bsp/u-boot/u-<wbr>boot-common_2017.09.inc<br>
&gt;&gt;&gt; @@ -7,7 +7,7 @@ PE = &quot;1&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  # We use the revision in order to avoid having to fetch it from the<br>
&gt;&gt;&gt;  # repo during parse<br>
&gt;&gt;&gt; -SRCREV = &quot;<wbr>d85ca029f257b53a96da6c2fb421e7<wbr>8a003a9943&quot;<br>
&gt;&gt;&gt; +SRCREV = &quot;<wbr>c98ac3487e413c71e5d36322ef3324<wbr>b21c6f60f9&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;  SRC_URI = &quot;git://<a href="http://git.denx.de/u-boot.git" rel="noreferrer" target="_blank">git.denx.de/u-boot.git</a> \<br>
&gt;&gt;&gt;      file://MPC8315ERDB-enable-<wbr>DHCP.patch \<br>
&gt;&gt;&gt; diff --git a/meta/recipes-bsp/u-boot/<a href="http://u-boot-fw-utils_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-fw-utils_2017.07.bb</a><br>
&gt;&gt;&gt; b/meta/recipes-bsp/u-boot/<a href="http://u-boot-fw-utils_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot-fw-utils_2017.09.bb</a><br>
&gt;&gt;&gt; similarity index 100%<br>
&gt;&gt;&gt; rename from meta/recipes-bsp/u-boot/<a href="http://u-boot-fw-utils_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-fw-utils_2017.07.bb</a><br>
&gt;&gt;&gt; rename to meta/recipes-bsp/u-boot/<a href="http://u-boot-fw-utils_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot-fw-utils_2017.09.bb</a><br>
&gt;&gt;&gt; diff --git a/meta/recipes-bsp/u-boot/<a href="http://u-boot-mkimage_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-mkimage_2017.07.bb</a><br>
&gt;&gt;&gt; b/meta/recipes-bsp/u-boot/<a href="http://u-boot-mkimage_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot-mkimage_2017.09.bb</a><br>
&gt;&gt;&gt; similarity index 100%<br>
&gt;&gt;&gt; rename from meta/recipes-bsp/u-boot/<a href="http://u-boot-mkimage_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot-mkimage_2017.07.bb</a><br>
&gt;&gt;&gt; rename to meta/recipes-bsp/u-boot/<a href="http://u-boot-mkimage_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot-mkimage_2017.09.bb</a><br>
&gt;&gt;&gt; diff --git a/meta/recipes-bsp/u-boot/<a href="http://u-boot_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.07.bb</a><br>
&gt;&gt;&gt; b/meta/recipes-bsp/u-boot/<a href="http://u-boot_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.09.bb</a><br>
&gt;&gt;&gt; similarity index 100%<br>
&gt;&gt;&gt; rename from meta/recipes-bsp/u-boot/<a href="http://u-boot_2017.07.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.07.bb</a><br>
&gt;&gt;&gt; rename to meta/recipes-bsp/u-boot/<a href="http://u-boot_2017.09.bb" rel="noreferrer" target="_blank">u-<wbr>boot_2017.09.bb</a><br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; 2.14.1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; Openembedded-core mailing list<br>
&gt;&gt;&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt;&gt;&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; U-Boot mailing list<br>
&gt; <a href="mailto:U-Boot@lists.denx.de">U-Boot@lists.denx.de</a><br>
&gt; <a href="https://lists.denx.de/listinfo/u-boot" rel="noreferrer" target="_blank">https://lists.denx.de/<wbr>listinfo/u-boot</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Best regards,<br>
Marek Vasut<br>
</font></span></blockquote></div><br></div>