Skip to contentSkip to conversation

image: am335x: Generate SPI MLO images

PATCH Applied Wadim Egorov 2 participants 4 messages Jun 2, 2015 – Jun 5, 2015

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image: am335x: Generate SPI MLO images

---
 images/Makefile        | 2 +-
 images/Makefile.am33xx | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
images/Makefile +1 -1
index 587cb26..36c1a57 100644
@@ -123,6 +123,6 @@ images: $(addprefix $(obj)/, $(image-y)) FORCE
 	@for i in $(image-y); do echo $$i; done
 
 clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \
-	start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
+	start_*.kwbuartimg *.socfpgaimg *.mlo *.spi *.t20img *.t20img.cfg *.t30img \
 	*.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd
 clean-files += pbl.lds
images/Makefile.am33xx +6 -0
index eae2a6a..ddf4f2b 100644
@@ -4,8 +4,14 @@
 quiet_cmd_mlo_image = MLO     $@
       cmd_mlo_image = scripts/omap_signGP -o $@ -l 0x402f0400 -c $<
 
+quiet_cmd_mlo_spi_image = SPI-IMG [email protected]
+      cmd_mlo_spi_image = scripts/mk-omap-image -s -a 0x402f0400 $<.mlo > [email protected]
+
 $(obj)/%.mlo: $(obj)/% FORCE
 	$(call if_changed,mlo_image)
+ifdef CONFIG_OMAP_BUILD_SPI
+	$(call if_changed,mlo_spi_image)
+endif
 
 pblx-$(CONFIG_MACH_AFI_GF) += start_am33xx_afi_gf_sdram
 FILE_barebox-am33xx-afi-gf.img = start_am33xx_afi_gf_sdram.pblx
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw

images/Makefile

Quoted 10 lines · Wadim Egorov
---
 images/Makefile        | 2 +-
 images/Makefile.am33xx | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
images/Makefile +0 -0
index 587cb26..36c1a57 100644

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hello Sascha,

please drop this patch. I don't think this is the right way to add new image types for the AM335x.

Regards,

Wadim

Quoted 7 lines · Sascha Hauer
Quoted 6 lines · Wadim Egorov
---
  images/Makefile        | 2 +-
  images/Makefile.am33xx | 6 ++++++
  2 files changed, 7 insertions(+), 1 deletion(-)
Quoted 9 lines

images/Makefile

Quoted 4 lines
images/Makefile +0 -0
index 587cb26..36c1a57 100644

Applied, thanks

Sascha

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 4 lines · Wadim Egorov

Hello Sascha,

please drop this patch. I don't think this is the right way to add new image types for the AM335x.

Ok, did that.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox