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