All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Dennis.Yxun" <dennis.yxun@gmail.com>
Cc: yocto@yoctoproject.org, openembedded-core@lists.openembedded.org
Subject: Re: bring mipsel support (little endian mode)
Date: Wed, 27 Jun 2012 11:17:07 -0400	[thread overview]
Message-ID: <4FEB23F3.6070408@windriver.com> (raw)
In-Reply-To: <CAF1ZMEcMxTQUhyHdmMWV_PA6TY=RTz9rq-EahKU0p=DFFPw+Ew@mail.gmail.com>

On 12-06-27 02:25 AM, Dennis.Yxun wrote:
> HI ALL:
>     Sorry for crossing post, but I'm quite new here, so if I did
> something wrong, please point me the right direction. thanks
>     I'm using oe-core, and notice that mipsel support(o32, little
> endian mode) is missing (current available choose is: qemumips,
> qemumips64, qemumips64el).
>     So, here I'm trying to bring up qemumipsel support . My first
> attempt would just make qemumipsel work,
> further would make it running on real board, thus maybe mips4kec,
> mips24k, mips74k chips.
>     What I achieved here current:
>    1) toolchain/basic libs, utilities should works ,only one changes,
> see my patch [a]
>     for mipsel we also have to filter out -march=mips32, previously we
> only handle mips (the big endian?)
>     don't have the error message now, but if you request, I can provide.
>    2) attempt to  compile kernel to support qemumipsel, unfortunately it fail.
> The point here is linux-yocto doesn't support qemumipsel, but merely
> support those other three mips arches,
> So here is my attempt patch [b], and the fail log [c], complied out
> binary still big endian.

Since it was easy enough to do, and doesn't imply any sort of full
support (since I can't declare that), I did the tweak to the mips
board descriptions and qemumipsel works without any machine mapping
in the linux-yocto recipes.

I pushed the change to the linux-yocto-3.4 meta branch, and staged a
commit for it locally.

You can see that commit here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=zedd/mipsel

  .. stacked on top of my other pending 3.4 commits.

Note: I didn't update machine compatibility in that commit on purpose,
and I wasn't able to complete a full core-image-minimal build due to
QA issues. I'm probably just not building with a complete machine.conf ..
since I grabbed one quickly this morning to check the kernel parts.

Cheers,

Bruce

>
>     Could my patch [a] be accepted? or should I send with another mail
> for better review?
>     Is it better to request a ticket in yocto's bugzilla? or just
> report here, I'm not quite sure.
>
> Dennis
>
> [a] 0001-eglibc-support-mipsel-little-endian-filter-out-march.patch
> [b] 0002-qemu-attempt-to-add-mipsel-little-endian-support-but.patch
> [c] build_log.txt
> [d] log.do_package




  parent reply	other threads:[~2012-06-27 15:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  6:25 bring mipsel support (little endian mode) Dennis.Yxun
2012-06-27  6:40 ` Khem Raj
2012-06-27  6:40   ` [OE-core] " Khem Raj
2012-06-27  7:00   ` [yocto] " Dennis.Yxun
2012-06-27  7:00     ` [OE-core] " Dennis.Yxun
2012-06-27 12:49   ` [yocto] " Bruce Ashfield
2012-06-27 12:49     ` [OE-core] " Bruce Ashfield
2012-06-27  7:09 ` Phil Blundell
2012-06-27 15:41   ` Khem Raj
2012-06-27 15:17 ` Bruce Ashfield [this message]
2012-06-27 19:52   ` Dennis.Yxun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEB23F3.6070408@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=dennis.yxun@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.