summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2014-01-20 22:38:17 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2014-02-09 03:05:14 +0200
commit34047964fe7d60d0f026d4b3ce91459e32d469f4 (patch)
treea18ad16cda091af84ab608a9f6887725cc9cc3e4
parentdbc5ea02b2bc118c66dc921256dd94189e8eb347 (diff)
downloadmeta-raspberrypi-34047964fe7d60d0f026d4b3ce91459e32d469f4.tar.gz
u-boot-rpi: Integrate package
Change-Id: I61f2cd7d3b64ea3efac618aa2bb3555e9e79da2a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--recipes-bsp/u-boot/u-boot-rpi_git.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-rpi_git.bb b/recipes-bsp/u-boot/u-boot-rpi_git.bb
new file mode 100644
index 0000000..db5ea84
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-rpi_git.bb
@@ -0,0 +1,29 @@
1DESCRIPTION = "U-Boot port for RaspberryPi"
2
3require recipes-bsp/u-boot/u-boot.inc
4
5DEPENDS += "rpi-mkimage-native"
6
7PROVIDES += "u-boot"
8
9LICENSE = "GPLv2+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
11
12SRCREV = "6709570cdc947c2a546f96d571551acf4474778c"
13SRC_URI = "git://github.com/gonzoua/u-boot-pi.git;branch=rpi"
14
15S = "${WORKDIR}/git"
16
17UBOOT_MACHINE = "rpi_b"
18UBOOT_MAKE_TARGET = "u-boot.bin"
19UBOOT_SUFFIX = "img"
20
21PACKAGE_ARCH = "${MACHINE_ARCH}"
22
23COMPATIBLE_MACHINE = "raspberrypi"
24
25do_compile_append() {
26 # Create kernel.img from uboot.bin and name it u-boot.img
27 ${STAGING_DIR_NATIVE}/usr/lib/rpi-mkimage/imagetool-uncompressed.py u-boot.bin
28 mv kernel.img u-boot.img
29}