diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2016-06-18 12:07:05 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-07-08 12:17:46 +0100 |
commit | fe92cc7e1428ba7f982c371101150851c621532a (patch) | |
tree | 26cc27ee63564dcfba59c0c2c518603fda22ea8c | |
parent | d49bd07c5b54defc7cec5829d287a2bd82ae9afe (diff) | |
download | meta-raspberrypi-fe92cc7e1428ba7f982c371101150851c621532a.tar.gz |
rpi-mkimage: Remove unused recipe
The rpi-mkimage tools are no longer used. Recent Raspberry Pi firmware can
directly boot a Linux kernel image using device tree and mainline u-boot
supports Raspberry Pi without the use of these tools.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
-rw-r--r-- | recipes-bsp/rpi-mkimage/rpi-mkimage/License | 25 | ||||
-rw-r--r-- | recipes-bsp/rpi-mkimage/rpi-mkimage/open-files-relative-to-script.patch | 17 | ||||
-rw-r--r-- | recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 22 |
3 files changed, 0 insertions, 64 deletions
diff --git a/recipes-bsp/rpi-mkimage/rpi-mkimage/License b/recipes-bsp/rpi-mkimage/rpi-mkimage/License deleted file mode 100644 index 2582681..0000000 --- a/recipes-bsp/rpi-mkimage/rpi-mkimage/License +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | Copyright (c) 2012, Broadcom Europe Ltd | ||
2 | All rights reserved. | ||
3 | |||
4 | Redistribution and use in source and binary forms, with or without | ||
5 | modification, are permitted provided that the following conditions are met: | ||
6 | * Redistributions of source code must retain the above copyright | ||
7 | notice, this list of conditions and the following disclaimer. | ||
8 | * Redistributions in binary form must reproduce the above copyright | ||
9 | notice, this list of conditions and the following disclaimer in the | ||
10 | documentation and/or other materials provided with the distribution. | ||
11 | * Neither the name of the copyright holder nor the | ||
12 | names of its contributors may be used to endorse or promote products | ||
13 | derived from this software without specific prior written permission. | ||
14 | |||
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY | ||
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
25 | |||
diff --git a/recipes-bsp/rpi-mkimage/rpi-mkimage/open-files-relative-to-script.patch b/recipes-bsp/rpi-mkimage/rpi-mkimage/open-files-relative-to-script.patch deleted file mode 100644 index fa9e88b..0000000 --- a/recipes-bsp/rpi-mkimage/rpi-mkimage/open-files-relative-to-script.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | When using open, use path relative to imagetool-uncompressed.py | ||
2 | |||
3 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
4 | |||
5 | Index: git/mkimage/imagetool-uncompressed.py | ||
6 | =================================================================== | ||
7 | --- a/mkimage/imagetool-uncompressed.py | ||
8 | +++ b/mkimage/imagetool-uncompressed.py | ||
9 | @@ -18,7 +18,7 @@ re_line = re.compile(r"0x(?P<value>[0-9a | ||
10 | mem = [0 for i in range(32768)] | ||
11 | |||
12 | def load_to_mem(name, addr): | ||
13 | - f = open(name) | ||
14 | + f = open(os.path.dirname(__file__) + '/' + name) | ||
15 | |||
16 | for l in f.readlines(): | ||
17 | m = re_line.match(l) | ||
diff --git a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb b/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb deleted file mode 100644 index cce91d7..0000000 --- a/recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "RaspberryPi tool to produce kernel.img" | ||
2 | LICENSE = "Broadcom" | ||
3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/License;md5=957f6640d5e2d2acfce73a36a56cb32f" | ||
4 | SECTION = "bootloader" | ||
5 | |||
6 | DEPENDS = "python" | ||
7 | |||
8 | SRCREV = "f5642106425d430e1f82ee064121a5fd0e05a386" | ||
9 | SRC_URI = " \ | ||
10 | git://github.com/raspberrypi/tools.git;branch=master;protocol=git \ | ||
11 | file://License \ | ||
12 | file://open-files-relative-to-script.patch \ | ||
13 | " | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | do_install () { | ||
18 | install -d ${D}${bindir} | ||
19 | install -t ${D}${bindir} mkimage/* | ||
20 | } | ||
21 | |||
22 | BBCLASSEXTEND = "native" | ||