<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=BKM%3A_Packaging_a_BSP_Trash</id>
	<title>BKM: Packaging a BSP Trash - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=BKM%3A_Packaging_a_BSP_Trash"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BKM:_Packaging_a_BSP_Trash&amp;action=history"/>
	<updated>2026-04-20T10:50:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BKM:_Packaging_a_BSP_Trash&amp;diff=11692&amp;oldid=prev</id>
		<title>Eflanagan: moved BKM: Packaging a BSP to BKM: Packaging a BSP Trash</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BKM:_Packaging_a_BSP_Trash&amp;diff=11692&amp;oldid=prev"/>
		<updated>2013-12-04T16:37:33Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/BKM:_Packaging_a_BSP&quot; class=&quot;mw-redirect&quot; title=&quot;BKM: Packaging a BSP&quot;&gt;BKM: Packaging a BSP&lt;/a&gt; to &lt;a href=&quot;/wiki/BKM:_Packaging_a_BSP_Trash&quot; title=&quot;BKM: Packaging a BSP Trash&quot;&gt;BKM: Packaging a BSP Trash&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:37, 4 December 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Eflanagan</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=BKM:_Packaging_a_BSP_Trash&amp;diff=11691&amp;oldid=prev</id>
		<title>Eflanagan: Created page with &quot;== Packaging a BSP ==  This explains, in a very general way, how to structure a BSP for release. As the structure of different board support packages can be slightly different, w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=BKM:_Packaging_a_BSP_Trash&amp;diff=11691&amp;oldid=prev"/>
		<updated>2013-12-04T16:36:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Packaging a BSP ==  This explains, in a very general way, how to structure a BSP for release. As the structure of different board support packages can be slightly different, w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Packaging a BSP ==&lt;br /&gt;
&lt;br /&gt;
This explains, in a very general way, how to structure a BSP for release. As the structure of different board support packages can be slightly different, we suggest that you review the [[http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html | Yocto Project BSP Guide]]&lt;br /&gt;
&lt;br /&gt;
=== General Guidelines ===&lt;br /&gt;
&lt;br /&gt;
* A BSP should contain a root level binary directory to contain binary images. Enough to get a board to boot with some level of functionality, keeping in mind that the larger the image, the longer it takes for people to download your BSP&lt;br /&gt;
* A BSP should contain *just* the meta-data needed to at least rebuild the images that exist in /binary. If your BSP repo contains support for 10 BSPs, the BSP tarball you release SHOULD NOT contain all of that meta-data.&lt;br /&gt;
* A BSP tarball should contain a MAINTAINERS and a README file&lt;br /&gt;
* A BSP tarball should contain licensing information&lt;br /&gt;
* A BSP tarball does NOT need to contain the version of the poky/oe-core repo it was built with, however, it SHOULD be built with a known released version of poky and/or oe-core&lt;br /&gt;
* When requesting the release of a BSP, you should be able to provide the git hash the images were built against, for ALL layers. So, if you built images that contained meta-intel and poky, you should be able to provide both git hashes.&lt;br /&gt;
* In general the purpose of releasing a BSP is to make it easier for the end user to duplicate your work. Prior to requesting a release, please, test that someone can use your BSP and get the same results.&lt;br /&gt;
&lt;br /&gt;
=== Example structure ===&lt;br /&gt;
&lt;br /&gt;
For our example, we will utilize the meta-intel BSP, meta-fri2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
-rw-r--r--	MAINTAINERS&lt;br /&gt;
-rw-r--r--	README&lt;br /&gt;
d---------	classes&lt;br /&gt;
d---------	common&lt;br /&gt;
d---------	conf&lt;br /&gt;
d---------	meta-chiefriver&lt;br /&gt;
d---------	meta-crownbay&lt;br /&gt;
d---------	meta-crystalforest&lt;br /&gt;
d---------	meta-emenlow&lt;br /&gt;
d---------	meta-fri2&lt;br /&gt;
d---------	meta-isg&lt;br /&gt;
d---------	meta-jasperforest&lt;br /&gt;
d---------	meta-n450&lt;br /&gt;
d---------	meta-nuc&lt;br /&gt;
d---------	meta-romley&lt;br /&gt;
d---------	meta-sugarbay&lt;br /&gt;
d---------	meta-sys940x&lt;br /&gt;
d---------	meta-tlk&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The top level directory of the meta-intel repo contains multiple BSPs, and classes, common and conf directories. &lt;br /&gt;
&lt;br /&gt;
For our example, we will be using fri2. What we will first do is remove all BSPs that are not fri2:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
-rw-r--r--	MAINTAINERS&lt;br /&gt;
-rw-r--r--	README&lt;br /&gt;
d---------	classes&lt;br /&gt;
d---------	common&lt;br /&gt;
d---------	conf&lt;br /&gt;
d---------	meta-fri2&lt;br /&gt;
d---------	meta-tlk&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will notice that we have left the meta-tlk directory. As meta-intel images are built with a time limited kernel, we need to include this, both to ensure end users have the ability to recreate our work and also to maintain open source license compliance.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
-rw-r--r--	MAINTAINERS&lt;br /&gt;
-rw-r--r--	README&lt;br /&gt;
d---------	binary&lt;br /&gt;
d---------	classes&lt;br /&gt;
d---------	common&lt;br /&gt;
d---------	conf&lt;br /&gt;
d---------	meta-fri2&lt;br /&gt;
d---------	meta-tlk&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, we will add a binary directory. This should contain the images needed to get hardware to boot.&lt;br /&gt;
&lt;br /&gt;
We will then tar the image up in either tar.bz2 or tar.gz (tar.bz2 is much prefered). Please do not utilize non-standard compression formats.&lt;br /&gt;
&lt;br /&gt;
The naming convention for the tarball is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;name of bsp&amp;gt;-&amp;lt;name of release it was built against&amp;gt;-M.m.p&lt;br /&gt;
&lt;br /&gt;
We do not generally care what the name of the file expands to, HOWEVER, please ensure that whatever it expands to is exactly the same as what it is documented as.&lt;/div&gt;</summary>
		<author><name>Eflanagan</name></author>
	</entry>
</feed>