<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/uboot-config.bbclass, branch python3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=python3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=python3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-02-08T08:00:24+00:00</updated>
<entry>
<title>uboot-config.bbclass: Allow multiple U-Boot config for machine</title>
<updated>2015-02-08T08:00:24+00:00</updated>
<author>
<name>Chunrong Guo</name>
<email>B40290@freescale.com</email>
</author>
<published>2015-01-22T06:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1e4ee4bc22467bc4dfc52ec610c067bb6c337cd3'/>
<id>urn:sha1:1e4ee4bc22467bc4dfc52ec610c067bb6c337cd3</id>
<content type='text'>
  This adds support to build multiple U-Boot configs for a machine; this
  is useful when we have support for different media boots which require
  different U-Boot configuration (e.g: eMMC and NAND).

  Below there's an usage example:
  ,----[ i.MX6Q SABRE AUTO based example ]
  | UBOOT_CONFIG ??= "sd eimnor nand spinor"
  | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
  | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
  | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
  | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
  `----

(From OE-Core rev: be997c70e4dec101786978b3ab5e49a1be87a85d)

Signed-off-by: Chunrong Guo &lt;B40290@freescale.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: don't skip defaultval</title>
<updated>2014-12-03T12:23:56+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2014-12-01T23:47:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e89a5d046e4aa3b78ce0240f4310a9f0e79580a6'/>
<id>urn:sha1:e89a5d046e4aa3b78ce0240f4310a9f0e79580a6</id>
<content type='text'>
This field is now internal and won't be seen.

(From OE-Core rev: cce39741bb9d1b0166c7fd63506f96abaa0d8af6)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/uboot-config: ignore doc varflag</title>
<updated>2014-03-07T15:05:09+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2014-03-07T14:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=abe417e22b1b55c444460f722ca434f9d382ef87'/>
<id>urn:sha1:abe417e22b1b55c444460f722ca434f9d382ef87</id>
<content type='text'>
The doc varflag on UBOOT_CONFIG should be ignored by this code; without
this the recent addition of the UBOOT_CONFIG[doc] to documentation.conf
causes errors when UBOOT_MACHINE is used.

(From OE-Core rev: e41aa22d7938c200f4150155589f5e23ed0331ce)

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Skip the package if no valid configuration is found</title>
<updated>2014-02-28T14:01:12+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2014-02-26T20:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4259e6eb647464e5587066ad44a90facd4582aa2'/>
<id>urn:sha1:4259e6eb647464e5587066ad44a90facd4582aa2</id>
<content type='text'>
The ValidError case makes parsing fail even if the U-Boot variant is
not in use for the specific machine and this is not desired. So
instead of raising a parsing error we skip the package.

(From OE-Core rev: d265216dab8146cda17b9ec6167346749896a505)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Raise an error for unknown configs</title>
<updated>2013-10-14T15:55:23+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-10-11T15:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dae0c677d1e24aee5b9a79710b1fe0899b5ac658'/>
<id>urn:sha1:dae0c677d1e24aee5b9a79710b1fe0899b5ac658</id>
<content type='text'>
When passing the wrong value for UBOOT_CONFIG it ought to raise an
error otherwise it is quite difficult for user to notice it didn't
behave as expected.

Reported-by: Lauren Post &lt;lauren.post@freescale.com&gt;
(From OE-Core rev: 5110dc988e3b8a1ce8b2309e4ddf17abb3f1cb0c)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Fix use without IMAGE_FSTYPES appending</title>
<updated>2013-10-14T15:55:21+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-10-07T15:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f93071fb22f8d8b03691a59547fe312be6e7bf8f'/>
<id>urn:sha1:f93071fb22f8d8b03691a59547fe312be6e7bf8f</id>
<content type='text'>
Before checking if the image is a valid value, we need to check if the
list of items is big enough or we will raise an exception.

Reported-by: Lauren Post &lt;lauren.post@freescale.com&gt;
(From OE-Core rev: b833837cac377e7c1c3ff18531b152340b669329)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Handle UBOOT_MACHINE setting</title>
<updated>2013-09-22T11:19:42+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-09-19T20:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5262ea16a626d8b39bfe745d6d51dc0bfe5ea499'/>
<id>urn:sha1:5262ea16a626d8b39bfe745d6d51dc0bfe5ea499</id>
<content type='text'>
The class now consolidate the handle of UBOOT_MACHINE and UBOOT_CONFIG
variables and handle possible mistakes done by user when using these
variables.

(From OE-Core rev: 87d9b585b2784bec04e9e244dc52c6e929484fd0)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Use an annonymous python function</title>
<updated>2013-09-22T11:19:42+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-09-19T20:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=19174b07962b6ed8d266badbfa2774abdd9d61d6'/>
<id>urn:sha1:19174b07962b6ed8d266badbfa2774abdd9d61d6</id>
<content type='text'>
The processing needs to happen per recipe and thus it ought to use
annonymous python function instead to be triggered at event.

(From OE-Core rev: 75bde3ee02262cb3c6b91279ca277e3e5324ee5e)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>uboot-config.bbclass: Allow choose of U-Boot config for machine</title>
<updated>2013-09-06T22:15:57+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2013-08-23T14:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=82ddcb1ef56d364512515c347baa1c5bd74d483f'/>
<id>urn:sha1:82ddcb1ef56d364512515c347baa1c5bd74d483f</id>
<content type='text'>
Some machines provide several possible configurations and until now
there was no easy way for user to override the default setting.

This class provides a system similar to PACKAGECONFIG but for
U-Boot. The format is:

UBOOT_CONFIG ??= &lt;default&gt;
UBOOT_CONFIG[foo] = "config,images"

There are two possible parameters:

 - config: it is used to set UBOOT_MACHINE
 - images: it is used to append onto IMAGE_FSTYPES

Below there's an usage example:

,----[ i.MX6Q SABRE AUTO based example ]
| UBOOT_CONFIG ??= "sd"
| UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
| UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
| UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
| UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
`----

User can, from local.conf or environment, use UBOOT_CONFIG=nand and
override the default setting, as:

,----[ Override example from command line ]
| MACHINE=imx6qsabreauto UBOOT_CONFIG=nand bitbake core-image-base
`----

(From OE-Core rev: 5dba521611d644357cf0a98d2e30dcf41777c6ef)

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
