From 98626f8441add596486b5fd176a5ea6fa16609c8 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Thu, 29 Nov 2018 11:58:34 +0100 Subject: add RPI3 Support Signed-off-by: Rouven Czerwinski --- configs/platform-v7a/config/images/rpi2.config | 2 +- configs/platform-v7a/config/images/rpi3.config | 30 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 configs/platform-v7a/config/images/rpi3.config (limited to 'configs/platform-v7a/config') diff --git a/configs/platform-v7a/config/images/rpi2.config b/configs/platform-v7a/config/images/rpi2.config index 9ac19bb..428c00c 100644 --- a/configs/platform-v7a/config/images/rpi2.config +++ b/configs/platform-v7a/config/images/rpi2.config @@ -1,7 +1,7 @@ image rpi2-boot.vfat { vfat { files = { @FIRMWARE_RPI2@ } - file barebox.bin { image = barebox-raspberry-pi-2.img-rpi2 } + file barebox.img { image = barebox-raspberry-pi-2.img-rpi2 } } size = 32M } diff --git a/configs/platform-v7a/config/images/rpi3.config b/configs/platform-v7a/config/images/rpi3.config new file mode 100644 index 0000000..6491146 --- /dev/null +++ b/configs/platform-v7a/config/images/rpi3.config @@ -0,0 +1,30 @@ +image rpi3-boot.vfat { + vfat { + files = { @FIRMWARE_RPI3@ } + file barebox.img { image = barebox-raspberry-pi-3.img-rpi2 } + } + size = 32M +} + +image @IMAGE@ { + hdimage { + align = 1M + disk-signature = 0xbedf7893 + } + partition boot { + image = rpi3-boot.vfat + size = 32M + partition-type = 0xc + bootable = true + } + partition root-A { + image = root.ext2 + partition-type = 0x83 + size = 512M + } + partition data { + partition-type = 0x83 + size = 512M + } +} +/* vim: set tabstop=8 noexpandtab : */ -- cgit v1.2.3