diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2014-01-20 22:38:17 +0200 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2014-02-09 03:05:14 +0200 |
commit | 34047964fe7d60d0f026d4b3ce91459e32d469f4 (patch) | |
tree | a18ad16cda091af84ab608a9f6887725cc9cc3e4 | |
parent | dbc5ea02b2bc118c66dc921256dd94189e8eb347 (diff) | |
download | meta-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.bb | 29 |
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 @@ | |||
1 | DESCRIPTION = "U-Boot port for RaspberryPi" | ||
2 | |||
3 | require recipes-bsp/u-boot/u-boot.inc | ||
4 | |||
5 | DEPENDS += "rpi-mkimage-native" | ||
6 | |||
7 | PROVIDES += "u-boot" | ||
8 | |||
9 | LICENSE = "GPLv2+" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | ||
11 | |||
12 | SRCREV = "6709570cdc947c2a546f96d571551acf4474778c" | ||
13 | SRC_URI = "git://github.com/gonzoua/u-boot-pi.git;branch=rpi" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | UBOOT_MACHINE = "rpi_b" | ||
18 | UBOOT_MAKE_TARGET = "u-boot.bin" | ||
19 | UBOOT_SUFFIX = "img" | ||
20 | |||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | |||
23 | COMPATIBLE_MACHINE = "raspberrypi" | ||
24 | |||
25 | do_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 | } | ||