tools: Add mkimage-rpi3 to build images for raspberry Pi 3

The package contains u-boot and the RPi firmware blobs. It expects
a tar ball of the root filesystem (including kernel and dtbs) on stdin
and produces a compressed tar ball on stdout with the files to copy to
a FAT32 formatted SD card.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2017-10-13 14:26:38 +01:00
parent 847ae9d220
commit c15f320ff6
6 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index c499b45..1faae3c 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -161,4 +161,6 @@
BOOTENV
+#define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024)
+
#endif