All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-wrs: improve BSP-bootstrap process
@ 2010-11-12 18:40 Bruce Ashfield
  2010-11-12 18:40 ` [PATCH 1/2] linux-wrs: implement BSP bootstrapping via fallback branches Bruce Ashfield
  2010-11-12 18:40 ` [PATCH 2/2] linux-wrs: BSP bootstrap Bruce Ashfield
  0 siblings, 2 replies; 5+ messages in thread
From: Bruce Ashfield @ 2010-11-12 18:40 UTC (permalink / raw)
  To: rpurdie; +Cc: yocto, poky

I've been looking to improve the introduction of new boards
to the supported kernel for some time, and this takes us
most of the way there. Now with a machine.conf and a defconfig
you can create an initial working environment for BSP development
with no manual/workaround steps.

When creating a new BSP there isn't always an upstream branch
to validate SRCREVs against. Therefore, creating a new BSP
required extra manipulations of the git repository, even though
the branch for the build would be dynamically created.

To fix this, provide a fallback to the 'standard' branch if
WRMACHINE is not assigned a specific value for the given MACHINE.
The fallback saved in KBRANCH, and represents the branch that
we should build, even if no fallback is required. Some substeps
of the recipe have been updated to use KBRANCH rather than
enforcing MACHINE-KERNELTYPE.

There will be one additional change to not track the SRCREV
of wrs_meta as a fallback, but I wasn't able to get the 
standard branch tracking working, so I'm sending this as-is
for now.

I've tested this with my kernel development layer, and with
the stock meta directories only. Either way, I was able
to build and test a 'qemumips-variant' quickly.

Cheers,

Bruce

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: zedd/kernel
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Thanks,
    Bruce Ashfield <bruce.ashfield@windriver.com>
---


Bruce Ashfield (2):
  linux-wrs: implement BSP bootstrapping via fallback branches
  linux-wrs: BSP bootstrap

 .../conf/distro/include/poky-default-revisions.inc |    2 +-
 meta/recipes-kernel/linux/linux-wrs_git.bb         |   40 ++++++++++++++++----
 2 files changed, 33 insertions(+), 9 deletions(-)



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

end of thread, other threads:[~2010-11-12 19:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 18:40 [PATCH 0/2] linux-wrs: improve BSP-bootstrap process Bruce Ashfield
2010-11-12 18:40 ` [PATCH 1/2] linux-wrs: implement BSP bootstrapping via fallback branches Bruce Ashfield
2010-11-12 18:55   ` Darren Hart
2010-11-12 19:01     ` Bruce Ashfield
2010-11-12 18:40 ` [PATCH 2/2] linux-wrs: BSP bootstrap Bruce Ashfield

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.