diff mbox

[01/11] Update genimage configuration file for Arietta-G25 in order to build a bootable SD card image named "sdcard.img"

Message ID 1470827167-9426-3-git-send-email-biagio.hkr@gmail.com
State Changes Requested
Headers show

Commit Message

Biagio Montaruli Aug. 10, 2016, 11:05 a.m. UTC
Signed-off-by: Biagio Montaruli <biagio.hkr@gmail.com>
---
 board/acmesystems/arietta-g25/genimage.cfg | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Comments

Thomas Petazzoni Sept. 18, 2016, 6 p.m. UTC | #1
Hello,

On Wed, 10 Aug 2016 13:05:57 +0200, Biagio Montaruli wrote:

>  image boot.vfat {
>  	vfat {
> -		file zImage {
> -			image = "zImage"
> -		}
> -
> -		file acme-arietta.dtb {
> -			image = "at91-ariag25.dtb"
> -		}
> -
> -		file boot.bin {
> -			image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin"
> +		files = {
> +			"zImage",
> +			"acme-arietta.dtb",
> +			"boot.bin"
>  		}

If I apply just this patch, it breaks the build because there is not
file named acme-arietta.dtb produced by the existing Arietta defconfig.

Best regards,

Thomas
diff mbox

Patch

diff --git a/board/acmesystems/arietta-g25/genimage.cfg b/board/acmesystems/arietta-g25/genimage.cfg
index 1080b0e..83ca110 100644
--- a/board/acmesystems/arietta-g25/genimage.cfg
+++ b/board/acmesystems/arietta-g25/genimage.cfg
@@ -2,16 +2,10 @@ 
 #
 image boot.vfat {
 	vfat {
-		file zImage {
-			image = "zImage"
-		}
-
-		file acme-arietta.dtb {
-			image = "at91-ariag25.dtb"
-		}
-
-		file boot.bin {
-			image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin"
+		files = {
+			"zImage",
+			"acme-arietta.dtb",
+			"boot.bin"
 		}
 	}
 	size = 16M