summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/uboot
Commit message (Collapse)AuthorAgeFilesLines
* u-boot: package up u-boot.bin for field upgradesKoen Kooi2011-06-022-1/+12
| | | | | | | (From OE-Core rev: 4089a58253f69eff5eb7d97a67f1b61ee08057f4) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: rename u-boot_git.bb to u-boot_${PV}.bbDarren Hart2011-05-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In order to facilitate reuse of the oe-core u-boot recipe, there needs to be some assurance that the oe-core version won't change without a clear indicator to people extending it. By renaming the recipe to include its version string instead of "git", BSP layers can extend a specific base version of u-boot, ie. u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file without instantly breaking all the BSPs depending on oe-core version of the recipe. As a matter of policy I would recommend we not carry more than 2 versioned u-boot recipess at any given time. This will provide BSP layers time to migrate to the newer version, without cluttering oe-core with numerous stale versions of u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to faciliate upstream development on u-boot in the oe environment. (From OE-Core rev: f788d4b503ecc6600612746c4936dfb9393e237c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINESDarren Hart2011-05-272-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oe-core does not define any machines, so it does not make sense to add machine specific information in the oe-core u-boot recipe and infrastructure. Also note that COMPATIBLE_MACHINES is not easily extended due to its regex syntax: "(machine_a|machine_b)", making it difficult to extend the u-boot recipe in bbappend files without resorting to machine specific overrides. Remove COMPATIBLE_MACHINES and the default UBOOT_MACHINE from the recipe and insert some anonymous python into u-boot.inc to raise SkipPackage if UBOOT_MACHINE is not set (this ensures 'world' still works for machines that can't build u-boot). UBOOT_MACHINE must now be specified in each machine config that requires u-boot. This is an improvement over requiring machine specific overrides in every BSP layer's u-boot_git.bbappend file. For example, a beagleboard machine config currently contains: UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" With this change, it must now contain: UBOOT_MACHINE = "omap3_beagle_config" UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" So long as the SRC_URI in the base recipe can build a working u-boot for a given machine, there is no need to create a u-boot_git.bbappend file. If additional patches are deemed necessary, a BSP layer creates a u-boot_git.bbappend file and extends the SRC_URI to include general or machine specific backports. Note: I used bb.note() instead of bb.debug() to ensure the message at least makes it to the console. From what I could gather, bb.debug() doesn't go anywhere during recipe parsing. (From OE-Core rev: c7a198d7472b4767047dbbfeecb4d941055262b3) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Cc: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "u-boot: fix LIC_FILE_CHKSUM"Richard Purdie2011-05-201-1/+1
| | | | | | This reverts commit 2d2563a7b003b265b5cdad98588606379e5edd4c. Saul discovered this change was incorrect.
* u-boot: fix LIC_FILE_CHKSUMSaul Wold2011-05-201-1/+1
| | | | | | | (From OE-Core rev: bbdd81fcd25d2d5aa730a1ea99eecf50a2111989) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: update SRCREV to 2011.03Darren Hart2011-05-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 1029] u-boot 2010.12 fails to run on the Beagleboard C4 and xM Rev A boards. Commit 55aacbc30e48f6f8a73fb989a58625e70887bc01 suggests there was a mixup during development, as the MD5SUM change is from the 2011.03 SRCREV back to the 2010.12. Chances are a patch was never sent to update the SRCREV, leaving the MD5SUM in a bad state. Update the SRCREV and COPYING MD5SUM to use the 2011.03 version. Built and tested on Beagleboard xM Rev A and Beagleboard Rev C4. (From OE-Core rev: 68d301e950c06eda8c8a73db1ed299c45dee7b9f) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Tested-by: Jeff Osier-Mixon <jefro@jefro.net> Cc: Jeff Osier-Mixon <jefro@jefro.net> Cc: Yi Zhao <yi.zhao@windriver.com> Cc: Robert Berger <pokylinux@reliableembeddedsystems.com> Cc: Gary Thomas <gary@mlbassoc.com> Merged Richard's removal of PR from PV Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Don't add PR in PV, its pointlessRichard Purdie2011-05-191-1/+1
| | | | | | (From OE-Core rev: 2f597ad74d7ed383365dba10e61010e8f82ab6b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: correct COPYING MD5SUMDarren Hart2011-05-091-2/+2
| | | | | | | (From OE-Core rev: d0dc2b5bb02ef55a41e7a97b6831c72391ae7f36) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-041-0/+1
| | | | | | | | | in this case, those non poky distro can also use these recipe normally (From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: allow variable make targetsChase Maupin2011-03-161-1/+2
| | | | | | | | | | | | | | | | * Later versions of u-boot sometimes have top level make targets such as u-boot.imx, u-boot.kwb, and for upcoming TI devices u-boot.ti. * These targets define different calls to the mkimage tool to change the images created, such as changing the load address. * This change allows recipes to change the default make target of "all" to something like u-boot.ti or u-boot.imx by setting the UBOOT_MAKE_TARGET variable. (From OE-Core rev: 1e675fac4f7f22028700d7c5bc376d029af592e0) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: remove do_install from u-boot.incBruce Ashfield2011-03-012-6/+1
| | | | | | | | | | | | | | | | | | Fixes [BUGID #777] The do_install rule in u-boot.inc was installing a host tool into the target ${bindir}, which is subsequently stripped with target strip during packaging, and the obvious error ensues. The native u-boot recipe has its own install rule, and the machine specific u-boot doesn't require mkimage or anything else in the do_install function. So we remove it completely until it is needed again. [sgw: PR bump] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* uboot: move license data into recipe with SRC_URIDarren Hart2011-02-092-4/+1
| | | | | | | | | | | | The LIC_CHKSUM_FILES are specific to the source determined by SRC_URI. As such, keep all the license information together with the SRC_URI. This also avoids confusion from having these defined in both the .inc and the .bb files. The CHKSUM got out of date in u-boot_git.bb, so update it while we're at it. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ilya Yanok <yanok@emcraft.com> CC: Gary Thomas <gary@mlbassoc.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot: build with -O2 on all architecturesDarren Hart2011-02-091-7/+2
| | | | | | | | | | | | | | | | | | | The -Os option was disabled due to a bug in gcc building bad binaries for ARM in an earlier commit: f2dc7fadd8c6b180c3f985873261216d53f47f0d This caused problems for powerpc which was resolved by replacing -Os with -O2 for that architecture: d0eb6794d964aa5ac938533a222c39bef09fd945 Using -O2 also works for ARM, so there is no need to condition using -O2 on powerpc. Remove the condition and use -O2 on all architectures. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ilya Yanok <yanok@emcraft.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: compile with -O2 on PowerPCIlya Yanok2011-02-091-1/+6
| | | | | | | | gcc on PowerPC is currently compiled with -Os optimization disabled so we have to use -O2 on PowerPC instead. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: add LIC_FILES_CHKSUMIlya Yanok2011-02-091-0/+2
| | | | | Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux/u-boot: Update LICENSE fields to specify GPL versionRichard Purdie2011-02-091-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-omap3: remove in favor of upstream u-bootDarren Hart2011-01-212-32/+0
| | | | | | | | | | This repository is stale, the u-boot_git.bb recipe uses the upstream repository. Remaining machines using this recipe have already been converted to using u-boot_git.bb. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* u-boot: Add a new upstream u-boot recipeDarren Hart2011-01-212-1/+23
| | | | | | | | | | uboot-omap3 appears to be fairly stale (last commit in April 2010) while the upstream u-boot is making regular tagged releases. Add a new recipe using the upstream u-boot repository. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* recpies: use SRCPV instead of SRCREV for PVYu Ke2011-01-061-1/+1
| | | | | | | | SRCPV is intended being used by PV, some recipes still use SRCREV for PV, which is not correct. This patch fix all the misusage. Signed-off-by: Yu Ke <ke.yu@intel.com>
* u-boot: add LIC_FILES_CHKSUMSaul Wold2010-12-251-0/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* u-boot-mkimage: update license infoQing He2010-12-011-1/+2
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* poky-default-revisions.inc: Move SRCREV settings into this fileRichard Purdie2010-10-071-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packages: Separate out most of the remaining packages into recipesRichard Purdie2010-09-016-0/+142
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>