<p>hi  bruce:<br>
   i&#39;m cherry-pick your commit, and it seems compile successfully, though will do a run-time check later, thanks<br></p>
<p>at 2012-6-27 pm11:17,&quot;Bruce Ashfield&quot; &lt;<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>&gt;written:<br>
&gt;<br>
&gt; On 12-06-27 02:25 AM, Dennis.Yxun wrote:<br>
&gt;&gt;<br>
&gt;&gt; HI ALL:<br>
&gt;&gt;    Sorry for crossing post, but I&#39;m quite new here, so if I did<br>
&gt;&gt; something wrong, please point me the right direction. thanks<br>
&gt;&gt;    I&#39;m using oe-core, and notice that mipsel support(o32, little<br>
&gt;&gt; endian mode) is missing (current available choose is: qemumips,<br>
&gt;&gt; qemumips64, qemumips64el).<br>
&gt;&gt;    So, here I&#39;m trying to bring up qemumipsel support . My first<br>
&gt;&gt; attempt would just make qemumipsel work,<br>
&gt;&gt; further would make it running on real board, thus maybe mips4kec,<br>
&gt;&gt; mips24k, mips74k chips.<br>
&gt;&gt;    What I achieved here current:<br>
&gt;&gt;   1) toolchain/basic libs, utilities should works ,only one changes,<br>
&gt;&gt; see my patch [a]<br>
&gt;&gt;    for mipsel we also have to filter out -march=mips32, previously we<br>
&gt;&gt; only handle mips (the big endian?)<br>
&gt;&gt;    don&#39;t have the error message now, but if you request, I can provide.<br>
&gt;&gt;   2) attempt to  compile kernel to support qemumipsel, unfortunately it fail.<br>
&gt;&gt; The point here is linux-yocto doesn&#39;t support qemumipsel, but merely<br>
&gt;&gt; support those other three mips arches,<br>
&gt;&gt; So here is my attempt patch [b], and the fail log [c], complied out<br>
&gt;&gt; binary still big endian.<br>
&gt;<br>
&gt;<br>
&gt; Since it was easy enough to do, and doesn&#39;t imply any sort of full<br>
&gt; support (since I can&#39;t declare that), I did the tweak to the mips<br>
&gt; board descriptions and qemumipsel works without any machine mapping<br>
&gt; in the linux-yocto recipes.<br>
&gt;<br>
&gt; I pushed the change to the linux-yocto-3.4 meta branch, and staged a<br>
&gt; commit for it locally.<br>
&gt;<br>
&gt; You can see that commit here:<br>
&gt;<br>
&gt; <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=zedd/mipsel">http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=zedd/mipsel</a><br>
&gt;<br>
&gt;  .. stacked on top of my other pending 3.4 commits.<br>
&gt;<br>
&gt; Note: I didn&#39;t update machine compatibility in that commit on purpose,<br>
&gt; and I wasn&#39;t able to complete a full core-image-minimal build due to<br>
&gt; QA issues. I&#39;m probably just not building with a complete machine.conf ..<br>
&gt; since I grabbed one quickly this morning to check the kernel parts.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Bruce<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;    Could my patch [a] be accepted? or should I send with another mail<br>
&gt;&gt; for better review?<br>
&gt;&gt;    Is it better to request a ticket in yocto&#39;s bugzilla? or just<br>
&gt;&gt; report here, I&#39;m not quite sure.<br>
&gt;&gt;<br>
&gt;&gt; Dennis<br>
&gt;&gt;<br>
&gt;&gt; [a] 0001-eglibc-support-mipsel-little-endian-filter-out-march.patch<br>
&gt;&gt; [b] 0002-qemu-attempt-to-add-mipsel-little-endian-support-but.patch<br>
&gt;&gt; [c] build_log.txt<br>
&gt;&gt; [d] log.do_package<br>
&gt;<br>
&gt;</p>