summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot
Commit message (Collapse)AuthorAgeFilesLines
* u-boot, u-boot-fw-utils, u-boot-fw-utils-cross: Use uboot-config classOtavio Salvador2013-09-223-19/+3
| | | | | | | | | | | The U-Boot configuration has been consolidates into a single class to avoid code duplication. This is now done by uboot-config class, so we now use it. (From OE-Core rev: d0bc7a53b1e61283fb155b4dcb67bc2ab3b1d7f0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: Skip package if UBOOT_MACHINE is unsetOtavio Salvador2013-09-181-0/+9
| | | | | | | | | | | | | | | The UBOOT_MACHINE variable needs to be set so the firmware utils can know about some configuration settings which are board dependent. This patch ensures the package is skipped in case UBOOT_MACHINE is unset thus avoid its build in 'bitbake world' builds for incompatible machines. Fixes [YOCTO: #5223] (From OE-Core rev: d9abcc0a2a691ca60cc1cb2f48f1748b0de73ac8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: reinstate target recipe for fw_printenvAnders Darander2013-09-171-0/+31
| | | | | | | | | | | | | | | | | | | The latest upgrade changed u-boot-fw-utils to u-boot-fw-utils-cross, which removed the on-target fw_printenv (and fw_setenv). Re-create the updated version of the u-boot-fw-utils recipe. U-Boot does try to strip the fw_printenv binary by default now. To avoid this, without patching the Makefile, we add HOSTSTRIP=true to EXTRA_OEMAKE. The new U-Boot do also require us to configure the build for a specific machine, thus we change the package arch.ยง (From OE-Core rev: 83cb07047658e2e2b2d721e1b01553d4df3d8636) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot, u-boot-fw-utils-cross, u-boot-mkimage: Upgrade to 2013.07Otavio Salvador2013-09-1015-504/+47
| | | | | | | | | | | | | | | | | | | | | This upgrades the U-Boot based recipes for 2013.07 release. This removes the 2011.03, 2011.06 and 2013.01.01 versions so we keep a single one in core. The following recipes has been upgraded: - u-boot (remove old versions) - u-boot-mkimage (remove old versions) - u-boot-fw-utils -> u-boot-fw-utils-cross (renamed and reworked) The u-boot-fw-utils-cross recipe has been reworked as it uses the UBOOT_MACHINE to find default environment for use so it is indeed a cross binary and not a native one. (From OE-Core rev: c5fff5748e0aaf7e135fdd464c2104b1d3cbfd5a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-306-6/+6
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: update to 2013.07Laszlo Papp2013-08-262-0/+50
| | | | | | | | (From OE-Core rev: b2d6f08ff4f03079973eab76a790bf4555e32236) Signed-off-by: Laszlo Papp <lpapp-RoXCvvDuEio@public.gmane.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: state the MACHINE when skipping u-bootRoss Burton2013-08-031-1/+1
| | | | | | | | | | | | | | If the user accidently tries building u-boot on a machine doesn't use u-boot (such as qemuarm) the error message doesn't make it clear why u-boot was skipped. To help, state the machine that was being built for again. [ YOCTO #4945 ] (From OE-Core rev: beef66beaee926ec3d3640b79133fdb2ccc404f0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Add UBOOT_LOCALVERSION to control version stringChase Maupin2013-04-221-0/+12
| | | | | | | | | | | | | | | | | | | * Add a variable called UBOOT_LOCALVERSION which when set will place a version string in the .scmversion file of the u-boot sources. This string will be picked up by the u-boot Makefile and will be appended to the u-boot version. This is done to make it easier to identify what revision of the u-boot sources are being run. For example you can use a setting like the following to add the short commit id to the u-boot version string: UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}" (From OE-Core rev: 566298409408c6103f7a9871bb13ae5449c4fd64) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Upgrade to v2013.01.01Radu Moisan2013-03-181-4/+4
| | | | | | | | (From OE-Core rev: ecdca4350a27708105692b6927f356ba0917422c) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-mkimage: Upgrade to v2013.01.01Radu Moisan2013-03-181-3/+3
| | | | | | | | (From OE-Core rev: 8b44f27730d8d58923bf94dd3e06ce2cb733c974) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boo-fw-utils: Upgrade to v2013.01.01Radu Moisan2013-03-181-3/+3
| | | | | | | | (From OE-Core rev: ad48b2e32b640c1ca264c0b3b0038484facfd867) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Use fw_env.config if available.Franklin S. Cooper Jr2012-09-104-8/+14
| | | | | | | | | | * Add support for board specific fw_env.config file if available. (From OE-Core rev: 5b6a8e987f9039aca63d97bc42421b78acab8a3d) Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: fix regexp used when ld-is-goldMartin Jansa2012-08-021-1/+1
| | | | | | | | | | | | | | | | | | * with old regexp it wasn't reentrant, causing stuff like this: -LD = $(CROSS_COMPILE)ld +LD = $(CROSS_COMPILE)ld.bfd.bfd -LDR = $(CROSS_COMPILE)ldr +LDR = $(CROSS_COMPILE)ld.bfd.bfdr when do_compile was reexecuted, also breaking LDR variable and http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/u-boot/u-boot/0001-config-Always-use-GNU-ld.patch when it was used together with u-boot.inc from oe-core (meta-ti is using own u-boot.inc) * This patch is also better solution to ld-is-gold problem then regexp in metadata. (From OE-Core rev: f78044f85ab1a0acce852a7032fc0c81285cd4c1) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: update linker arguments to pass --sysroot argMatthew McClintock2012-07-284-3/+4
| | | | | | | | | | | | | | | | | | | | | | If we are building from sstate-cache it's possible to be building from another folder on another machine, therefore the linker requires that a proper --sysroot is passed too it so it can find things like libgcc.a and avoid errors such as: | arm-poky-linux-gnueabi-gcc -g -O2 -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder -o hello_world.o hello_world.c -c | arm-poky-linux-gnueabi-gcc -g -O2 -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder -o stubs.o stubs.c -c | arm-poky-linux-gnueabi-ld -r -o libstubs.o stubs.o | arm-poky-linux-gnueabi-ld -g -Ttext 0x80300000 \ | -o hello_world -e hello_world hello_world.o libstubs.o \ | -L. -lgcc | arm-poky-linux-gnueabi-ld: cannot find -lgcc | make[1]: *** [hello_world] Error 1 (From OE-Core rev: 923eb657f24a1feaa93172eda8f87252e86bfea2) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: make FILESDIR a shared setting via FILESPATHPaul Gortmaker2012-07-054-6/+1
| | | | | | | | | | | | | | The setting is the same in all recipes, so move it to the shared settings in u-boot.inc Since FILESDIR is also being phased out, use the FILESPATH setting as suggested by Richard Purdie. Cc: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 1b78904b115b50172cf82948d8a68dc3a98005ce) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: do not clobber PARALLEL_MAKE settingPaul Gortmaker2012-07-031-2/+0
| | | | | | | | | | | | | The u-boot tree is fully capable of parallel builds, so this setting should not exist as a blanket setting for all of the recipes. Going forward, if there is a parallelism issue in u-boot, it needs to be reported and fixed there, and not with the "make -j1" band-aid approach. (From OE-Core rev: 7fdd1f82803df9752e908f01f7643d66b82a690e) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Don't make the -Os removal part of global settings.Paul Gortmaker2012-07-031-2/+1
| | | | | | | | | | | | We don't want to force everyone to be stripping the -Os flags from their u-boot builds. Remove it, since it pertains to an old toolchain issue that is no longer relevant, and it breaks the powerpc mpc8315. (From OE-Core rev: 5e3f777f9fcc986ae66203651830b5765bca49fd) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-261-3/+3
| | | | | | | (From OE-Core rev: 90b7227f48c8250851d4c1a298364062a79403e6) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-mkimage: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-261-3/+3
| | | | | | | (From OE-Core rev: bf8819a1aafeeaa3ce4c8eeda09f882bd9e18600) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: update 2012.04 to 2012.04.01 releaseOtavio Salvador2012-04-261-3/+3
| | | | | | | (From OE-Core rev: e6a6f2fb4bae146fc3077f782090e91904e00a08) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: add 2012.04 releaseOtavio Salvador2012-04-261-0/+30
| | | | | | | (From OE-Core rev: 146439ca1ef1da55769363cde012ed8b279e79dd) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-mkimage: add 2012.04 releaseOtavio Salvador2012-04-261-0/+33
| | | | | | | (From OE-Core rev: e1b1b6313b57d069ef77bc6e1e1ebbb8f6fdda4e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: add 2012.04 releaseOtavio Salvador2012-04-261-0/+33
| | | | | | | (From OE-Core rev: 0f4552cde971a0de247b865b25136b03be91dc39) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: fix compilation when using 'gold' as linkerOtavio Salvador2012-04-261-0/+4
| | | | | | | (From OE-Core rev: 2e79fcd673dadeab6358fe22d47c8534c14de03e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: add machine name to spl image nameStefan Herbrechtsmeier2012-04-063-3/+3
| | | | | | | (From OE-Core rev: 794225ed3b6fe7878595b7452259cc9bf1973213) Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: Add DEPEND on mtd-utilsSaul Wold2012-02-211-1/+3
| | | | | | | (From OE-Core rev: 47d8444edb644a92d3bae524c8a2a42a1cdf740c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-fw-utils: Add for v2011.06Tom Rini2012-02-101-0/+26
| | | | | | | | | | | | This provides the 'fw_setenv' and 'fw_getenv' programs for the target so that the U-Boot environment can be modified from Linux. These programs are system-agnostic and rely on a config file that a given BSP would provide and potentially RRECOMMEND this be installed. (From OE-Core rev: 4a2543c0641f1df6d74c18cfe0c3ac3cfd50e60c) Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot inc: update inc file for newer u-boot versionsChase Maupin2012-02-081-4/+31
| | | | | | | | | | | | | | | * Add support for different suffixes found with later u-boot versions which have switched from .bin to .img * Allow recipes that include u-boot.inc to also package an SPL if they build one. * Minimum requirement is to set the SPL_BINARY value to add the SPL to the u-boot package as well as into the deploy directory. (From OE-Core rev: 2965aa2faaccce43f6c3e451c0a2ded3734766e4) Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: improved DESCRIPTION, fixed HOMEPAGEFrans Meulenbroeks2012-01-031-2/+2
| | | | | | | | | | | | HOMEPAGE pointed to an sf.net page that said that the page did not exist any more and after that it redirected to the denx.de page; updated HOMEPAGE to point to that page Also improved the description to use the official capitalisation (From OE-Core rev: e0ebe12541a6628b7629a9be5918d0e7ea92aa33) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream Status UpdatesSaul Wold2011-12-151-0/+2
| | | | | | | (From OE-Core rev: 0eb139619301d0efee330932eba3617dcb39284e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: renamed dir from uboot to the more appropriate u-bootFrans Meulenbroeks2011-12-1310-0/+426
recipe dirs normally have the name of the (main) package and the official name is u-boot (From OE-Core rev: e9899d52ade2181bd97dcf79bec64650e8b0f718) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>