summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-07-01 11:11:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-11 06:15:44 +0200
commit3c7606dde3793b7f13c82924caa85ad24423f91f (patch)
tree7f06bead21c0c5c422d57756507ccab665a83254 /images
parent01474752795536d9dad1a7631f0f54c6c0191892 (diff)
downloadbarebox-3c7606dde3793b7f13c82924caa85ad24423f91f.tar.gz
barebox-3c7606dde3793b7f13c82924caa85ad24423f91f.tar.xz
ARM: at91: sama5d27-som1: add additional first stage entry point
The BootROM constrains us to a 64K big first stage bootloader. Add a PBL entry point for a xload barebox that sets up the minimum necessary to load a FAT32 barebox.bin from the SD-Card. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r--images/Makefile.at915
1 files changed, 5 insertions, 0 deletions
diff --git a/images/Makefile.at91 b/images/Makefile.at91
index 448d71fb98..bc63357c5d 100644
--- a/images/Makefile.at91
+++ b/images/Makefile.at91
@@ -18,6 +18,11 @@ pblb-$(CONFIG_MACH_SAMA5D27_SOM1) += start_sama5d27_som1_ek
FILE_barebox-sama5d27-som1-ek.img = start_sama5d27_som1_ek.pblb
image-$(CONFIG_MACH_SAMA5D27_SOM1) += barebox-sama5d27-som1-ek.img
+pblb-$(CONFIG_MACH_SAMA5D27_SOM1) += start_sama5d27_som1_ek_xload_mmc
+MAX_PBL_IMAGE_SIZE_start_sama5d27_som1_ek_xload_mmc = 0xffff
+FILE_barebox-sama5d27-som1-ek-xload-mmc.img = start_sama5d27_som1_ek_xload_mmc.pblb
+image-$(CONFIG_MACH_SAMA5D27_SOM1) += barebox-sama5d27-som1-ek-xload-mmc.img
+
pblb-$(CONFIG_MACH_SAMA5D27_GIANTBOARD) += start_sama5d27_giantboard
FILE_barebox-groboards-sama5d27-giantboard.img = start_sama5d27_giantboard.pblb
image-$(CONFIG_MACH_SAMA5D27_GIANTBOARD) += barebox-groboards-sama5d27-giantboard.img