Skip to contentSkip to conversation

u-boot: add AIS target format

PATCH New Vivien Didelot 2 participants 3 messages Aug 9, 2012 – Aug 11, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 u-boot: add AIS target format

Hi,

This is the second version of the patch adding support for the AIS format for the U-Boot image. It includes modifications suggested by Thomas, such as a short description of the format.

Cheers,
Vivien

#1 lore raw

PATCH 1/1 u-boot: add AIS target format

---
 boot/uboot/Config.in | 8 ++++++++
 boot/uboot/uboot.mk  | 3 +++
 2 files changed, 11 insertions(+)
boot/uboot/Config.in +8 -0
index afc2f91..900fac7 100644
@@ -79,6 +79,14 @@ endif
 
 choice
 	prompt "U-Boot binary format"
+	default BR2_TARGET_UBOOT_FORMAT_BIN
+
+config BR2_TARGET_UBOOT_FORMAT_AIS
+	bool "u-boot.ais"
+	help
+	  AIS (Application Image Script) is a format defined by TI.
+	  It is required to load code/data on OMAP-L1 processors.
+	  u-boot.ais contains U-Boot with the SPL support.
 
 config BR2_TARGET_UBOOT_FORMAT_BIN
 	bool "u-boot.bin"
boot/uboot/uboot.mk +3 -0
index 9e03d6a..b61400e 100644
@@ -25,6 +25,9 @@ endif
 ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y)
 UBOOT_BIN          = u-boot.kwb
 UBOOT_MAKE_TARGET  = $(UBOOT_BIN)
+else ifeq ($(BR2_TARGET_UBOOT_FORMAT_AIS),y)
+UBOOT_BIN          = u-boot.ais
+UBOOT_MAKE_TARGET  = $(UBOOT_BIN)
 else ifeq ($(BR2_TARGET_UBOOT_FORMAT_LDR),y)
 UBOOT_BIN          = u-boot.ldr
 else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
Signature · 1 line
1.7.11.2
#2 lore raw

PATCH 1/1 u-boot: add AIS target format

Le Thu, 9 Aug 2012 14:11:09 -0400,
Vivien Didelot <[email protected]> a ?crit :

Quoted 5 lines
---
 boot/uboot/Config.in | 8 ++++++++
 boot/uboot/uboot.mk  | 3 +++
 2 files changed, 11 insertions(+)

Applied to next.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com