summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}