<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 05.07.2012 um 16:00 schrieb Josua Mayer:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Am 05.07.2012 14:48, schrieb Dr. H.
      Nikolaus Schaller:<br>
    </div>
    <blockquote type="cite">Hi Josua,
      <div><br>
        <div>
          <div>Am 05.07.2012 um 13:29 schrieb Josua Mayer:</div>
          <br>
          <blockquote type="cite">Hello<br>
            <br>
            I have been trying to build the latest x-loader for the
            GTA04 as an rpm using the opensuse buildservice. But it
            fails to compile. Apparently it is missing a file called
            x-load.lds. There buildlog can be found here:<br>
                <a href="https://build.opensuse.org/package/live_build_log?arch=armv7l&package=x-loader-omap3gta04&project=home:mayerjosua:GTA04&repository=openSUSE_Factory_standard" target="_blank">https://build.opensuse.org/package/live_build_log?arch=armv7l&package=x-loader-omap3gta04&project=home%3Amayerjosua%3AGTA04&repository=openSUSE_Factory_standard</a><br>

          </blockquote>
          <div><br>
          </div>
          the file was indeed missing in the public git because there
          was a global pattern for x-load.* in .gitignore. So a "git
          status" did not show the file as being untracked and therefore
          it was never committed.</div>
        <div><br>
        </div>
        <div>Here it is:</div>
        <div><br>
        </div>
        <div><a href="http://git.goldelico.com/?p=gta04-xloader.git;a=blob;f=board/omap3530gta04/x-load.lds;h=9402f74f1df710495fa1b1ec9fbd27e8f565340a;hb=e7eba37b4574b0ae57cb21a16061a251ae831159" target="_blank">http://git.goldelico.com/?p=gta04-xloader.git;a=blob;f=board/omap3530gta04/x-load.lds;h=9402f74f1df710495fa1b1ec9fbd27e8f565340a;hb=e7eba37b4574b0ae57cb21a16061a251ae831159</a></div>

        <div><br>
        </div>
        <div>Please let us know if it works now.</div>
        <div><br>
        </div>
        <div>BR,</div>
        <div>Nikolaus Schaller</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Gta04-owner mailing list
<a href="mailto:Gta04-owner@goldelico.com" target="_blank">Gta04-owner@goldelico.com</a>
<a href="http://lists.goldelico.com/mailman/listinfo/gta04-owner" target="_blank">http://lists.goldelico.com/mailman/listinfo/gta04-owner</a>
</pre>
    </blockquote>
    <br>
    Thanks Nikolaus, that did indeed fix it.<br>It is building now, just
    rpmlint is beeing sensitive again and complains "<code>E: x-loader-omap3gta04
      no-return-in-nonvoid-function fat.c:515".</code></div></blockquote><br></div><div>Yes, the x-loader code is quite buggy. It is based on a very old u-boot stripped down to just handle NAND and MMC/SD and a single built-in load command.</div><div><br></div><div>And I think this line 515 is just missing a <font class="Apple-style-span" face="Menlo"><span class="Apple-style-span" style="font-size: 11px;">return NULL;</span></font></div><div>But it may not have an influence since x-loader uses the root of the FAT partition only.</div><div><br></div><div>One thing you should consider. Please check if the CONFIGS are properly defined for MLO and/or x-loader. So you may consider building two different rpm packages. One for SD cards (creating a "MLO" configured for loading from MMC plus "x-loader" for loading from NAND). I am using a shell script that uses sed to modify the CONFIG and compiles twice (and renames the resulting file).</div><div><br></div><div>BR,</div><div>Nikolaus</div><div><br></div></body></html>