Patchwork [0/4] Add qemumips64 machine support

login
register
mail settings
Submitter Bruce Ashfield
Date May 15, 2013, 8:55 p.m.
Message ID <CADkTA4MpRM5Vw8iDL6gw9jMZ93Bu3Y6mGwy5JVx69pkkP2F06w@mail.gmail.com>
Download mbox | patch
Permalink /patch/49961/
State New
Headers show

Comments

Bruce Ashfield - May 15, 2013, 8:55 p.m.
On Wed, May 15, 2013 at 1:58 PM, Trevor Woerner <twoerner@gmail.com> wrote:
> On Wed, May 15, 2013 at 1:24 PM, Bruce Ashfield
> <bruce.ashfield@gmail.com> wrote:
>> You set the SRCREV that Khem sent. That was my 3.8.4. commit. The version
>> number in the directories is coming coming from the PV of the package, which you
>> didn't tweak.
>
> Ahh... yes. Thank you. Makes perfect sense now :-)

qemumips64 login: root
root@qemumips64:~# uname -a
Linux qemumips64 3.8.11-yocto-standard #1 PREEMPT Wed May 15 16:43:43
EDT 2013 mips64 GNU/Linux


-----------

Try a rebuild with that, works cleanly for me in oe-core. When I
enabled the board,
I neglected to pull in my SRCREV update.

Cheers,

Bruce

--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
Robert P. J. Day - May 15, 2013, 9:58 p.m.
On Wed, 15 May 2013, Bruce Ashfield wrote:

> On Wed, May 15, 2013 at 1:58 PM, Trevor Woerner <twoerner@gmail.com> wrote:
> > On Wed, May 15, 2013 at 1:24 PM, Bruce Ashfield
> > <bruce.ashfield@gmail.com> wrote:
> >> You set the SRCREV that Khem sent. That was my 3.8.4. commit. The version
> >> number in the directories is coming coming from the PV of the package, which you
> >> didn't tweak.
> >
> > Ahh... yes. Thank you. Makes perfect sense now :-)
>
> qemumips64 login: root
> root@qemumips64:~# uname -a
> Linux qemumips64 3.8.11-yocto-standard #1 PREEMPT Wed May 15 16:43:43
> EDT 2013 mips64 GNU/Linux
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
> b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
> index b79fa4e..d458212 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
> @@ -5,6 +5,7 @@ KBRANCH = "${KBRANCH_DEFAULT}"
>
>  SRCREV_machine_qemuarm ?= "8fb1a478c9a05362e2e4e62fc30f5ef5d6c21f49"
>  SRCREV_machine_qemumips  ?= "b8870f2b11f4c948ae90a19886335fa8b7fca487"
> +SRCREV_machine_qemumips64  ?= "49041e56a3c4ff552bf9f8195809b8040e2e2723"
>  SRCREV_machine_qemuppc ?= "e4c12f12e61a29b6605c4fcbcfd6dbe18bd7b4e4"
>  SRCREV_machine_qemux86 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"
>  SRCREV_machine_qemux86-64 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"

  so just to be painfully clear, if i have current oe-core and
openembedded-core-contrib repoes, i need make only the above change in
the latter to get a working qemumips64 build that will boot to the
command line and let me log in?

rday
Trevor Woerner - May 15, 2013, 10:33 p.m.
On Wed, May 15, 2013 at 5:58 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> On Wed, 15 May 2013, Bruce Ashfield wrote:
>> diff --git a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> index b79fa4e..d458212 100644
>> --- a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> +++ b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>> @@ -5,6 +5,7 @@ KBRANCH = "${KBRANCH_DEFAULT}"
>>
>>  SRCREV_machine_qemuarm ?= "8fb1a478c9a05362e2e4e62fc30f5ef5d6c21f49"
>>  SRCREV_machine_qemumips  ?= "b8870f2b11f4c948ae90a19886335fa8b7fca487"
>> +SRCREV_machine_qemumips64  ?= "49041e56a3c4ff552bf9f8195809b8040e2e2723"
>>  SRCREV_machine_qemuppc ?= "e4c12f12e61a29b6605c4fcbcfd6dbe18bd7b4e4"
>>  SRCREV_machine_qemux86 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"
>>  SRCREV_machine_qemux86-64 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"
>
>   so just to be painfully clear, if i have current oe-core and
> openembedded-core-contrib repoes, i need make only the above change in
> the latter to get a working qemumips64 build that will boot to the
> command line and let me log in?

I just built and ran it using plain meta-poky/meta and
meta-poky/meta-yocto (applying the above change to meta-poky/meta/...,
and using a very recent pull to master) and am quite happy to report
that it works for me (as I understand it Saul pushed the various parts
required for the toolchain earlier today). The linux kernel banner,
sources, and "uname -a" are all linux-yocto_3.8.11 and I can log in
using the qemu SDL interface.

Now I just have to remove the kernel version preference line in my
config and verify that works okay too.

Does this mean we now have something that can work on the EdgeRouter Lite?
Khem Raj - May 15, 2013, 10:35 p.m.
On May 15, 2013, at 3:33 PM, Trevor Woerner <twoerner@gmail.com> wrote:

> Does this mean we now have something that can work on the EdgeRouter Lite?

well you have to have a kernel for that platform. If you have working kernel everything else will ditto work

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
index b79fa4e..d458212 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.8.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.8.bb
@@ -5,6 +5,7 @@  KBRANCH = "${KBRANCH_DEFAULT}"

 SRCREV_machine_qemuarm ?= "8fb1a478c9a05362e2e4e62fc30f5ef5d6c21f49"
 SRCREV_machine_qemumips  ?= "b8870f2b11f4c948ae90a19886335fa8b7fca487"
+SRCREV_machine_qemumips64  ?= "49041e56a3c4ff552bf9f8195809b8040e2e2723"
 SRCREV_machine_qemuppc ?= "e4c12f12e61a29b6605c4fcbcfd6dbe18bd7b4e4"
 SRCREV_machine_qemux86 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"
 SRCREV_machine_qemux86-64 ?= "dd089cb5ba37ea14e8f90a884bf2a5be64ed817d"