All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with BSP supporting different machines
@ 2012-08-09 14:46 Markus Hubig
  2012-08-09 14:48 ` Bruce Ashfield
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Hubig @ 2012-08-09 14:46 UTC (permalink / raw)
  To: Yocto Project Mailing List

Hi @all,

I'm having some trouble building a BSP supporting two different machines.
The machines in question are the Stamp9g20 and PortuxG20 from taskit. These
machines are just slightly different course the PortuxG20 is basically just
a small SBC built around the Stamp9G20.

You can have a look at my BSP here: http://bitbucket.org/imko/meta-stamp9g20
but take attention that you're selecting the denzil branch...

If I set MACHINE = stamp9g20 in local.conf all went fine, but with
MACHINE = portuxg20 I get a kernel for common-pc instead of
arm-versatile-926ejs ...

Comparing the output of "bitbake -e linux-yocto" for both MACHINE settings
I notice that for stamp9g20 KMACHINE is "stamp9g20" but for portuxg20 it's
"common-pc", which results in these "updateme" command:

| updateme --branch standard/default/arm-versatile-926ejs -DKDESC=common-pc:standard
|  --feature features/netfilter --feature features/taskstats arm common-pc
|  poky/meta-stamp9g20/recipes-kernel/linux/files/hardware.cfg
|  poky/meta-stamp9g20/recipes-kernel/linux/files/non-hardware.cfg
|  poky/meta-stamp9g20/recipes-kernel/linux/files/portuxg20/portuxg20.cfg
|  poky/meta-stamp9g20/recipes-kernel/linux/files/portuxg20/portuxg20-preempt-rt.scc
|  poky/meta-stamp9g20/recipes-kernel/linux/files/portuxg20/portuxg20.scc
|  poky/meta-stamp9g20/recipes-kernel/linux/files/portuxg20/portuxg20-standard.scc

Which again (I think ...) leads to a kernel compile error ...

Unfortunately I was not able to find out why the KMACHINE variable is not setup
correctly with my BSP for PortuxG20 ...

Please can someone have a look? ;-)

Cheers, Markus


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-10 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 14:46 Problem with BSP supporting different machines Markus Hubig
2012-08-09 14:48 ` Bruce Ashfield
2012-08-09 16:32   ` Markus Hubig
2012-08-09 17:24     ` Bruce Ashfield
2012-08-09 19:10       ` Bruce Ashfield
2012-08-10 15:01         ` Markus Hubig
2012-08-10 16:50           ` Bruce Ashfield
2012-08-10 18:20             ` Markus Hubig

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.