From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: rpurdie@linux.intel.com
Cc: yocto@yoctoproject.org, poky@yoctoproject.org
Subject: [PATCH 0/2] linux-wrs: improve BSP-bootstrap process
Date: Fri, 12 Nov 2010 13:40:28 -0500 [thread overview]
Message-ID: <cover.1289583673.git.bruce.ashfield@windriver.com> (raw)
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(-)
next reply other threads:[~2010-11-12 18:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 18:40 Bruce Ashfield [this message]
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
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=cover.1289583673.git.bruce.ashfield@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=poky@yoctoproject.org \
--cc=rpurdie@linux.intel.com \
--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.