diff mbox series

[meta-swupdate-boards,1/8] images: add emmcsetup.lua script to BBB sw-description file

Message ID 1517297402-21348-2-git-send-email-mirza.krak@endian.se
State Accepted
Headers show
Series [meta-swupdate-boards,1/8] images: add emmcsetup.lua script to BBB sw-description file | expand

Commit Message

Mirza Krak Jan. 30, 2018, 7:29 a.m. UTC
This board also needs this to properly setup the partitions.

While at it replaced spaces with tabs to be consistant in the file.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
---
 .../images/bbb-swu-image/beaglebone/sw-description | 48 ++++++++++++++--------
 1 file changed, 30 insertions(+), 18 deletions(-)

Comments

Stefano Babic Jan. 30, 2018, 12:06 p.m. UTC | #1
On 30/01/2018 08:29, Mirza Krak wrote:
> This board also needs this to properly setup the partitions.
> 
> While at it replaced spaces with tabs to be consistant in the file.
> 
> Signed-off-by: Mirza Krak <mirza.krak@endian.se>
> ---
>  .../images/bbb-swu-image/beaglebone/sw-description | 48 ++++++++++++++--------
>  1 file changed, 30 insertions(+), 18 deletions(-)
> 
> diff --git a/recipes-extended/images/bbb-swu-image/beaglebone/sw-description b/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
> index 708a9a8..7cb5c49 100644
> --- a/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
> +++ b/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
> @@ -15,15 +15,21 @@ software =
>  						compressed = true;
>  					}
>  				);
> -                                uboot: (
> -                                        {
> -                                        	name = "boot_targets";
> -                                  		value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
> -                                        },
> -                                        {
> -                                        	name = "bootcmd_legacy_mmc1";
> -                                  		value = "setenv mmcdev 1;setenv bootpart 1:2; run mmcboot";
> -                                        }
> +				scripts: (
> +					{
> +						filename = "emmcsetup.lua";
> +						type = "lua";
> +					}
> +				);
> +				uboot: (
> +					{
> +						name = "boot_targets";
> +						value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
> +					},
> +					{
> +						name = "bootcmd_legacy_mmc1";
> +						value = "setenv mmcdev 1;setenv bootpart 1:2; run mmcboot";
> +					}
>  				);
>  
>  			};
> @@ -37,15 +43,21 @@ software =
>  						compressed = true;
>  					}
>  				);
> -                                uboot: (
> -                                        {
> -                                        	name = "boot_targets";
> -                                  		value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
> -                                        },
> -                                        {
> -                                        	name = "bootcmd_legacy_mmc1";
> -                                  		value = "setenv mmcdev 1;setenv bootpart 1:3; run mmcboot";
> -                                        }
> +				scripts: (
> +					{
> +						filename = "emmcsetup.lua";
> +						type = "lua";
> +					}
> +				);
> +				uboot: (
> +					{
> +						name = "boot_targets";
> +						value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
> +					},
> +					{
> +						name = "bootcmd_legacy_mmc1";
> +						value = "setenv mmcdev 1;setenv bootpart 1:3; run mmcboot";
> +					}
>  				);
>  			};
>  		};
> 

Applied to -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/recipes-extended/images/bbb-swu-image/beaglebone/sw-description b/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
index 708a9a8..7cb5c49 100644
--- a/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
+++ b/recipes-extended/images/bbb-swu-image/beaglebone/sw-description
@@ -15,15 +15,21 @@  software =
 						compressed = true;
 					}
 				);
-                                uboot: (
-                                        {
-                                        	name = "boot_targets";
-                                  		value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
-                                        },
-                                        {
-                                        	name = "bootcmd_legacy_mmc1";
-                                  		value = "setenv mmcdev 1;setenv bootpart 1:2; run mmcboot";
-                                        }
+				scripts: (
+					{
+						filename = "emmcsetup.lua";
+						type = "lua";
+					}
+				);
+				uboot: (
+					{
+						name = "boot_targets";
+						value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
+					},
+					{
+						name = "bootcmd_legacy_mmc1";
+						value = "setenv mmcdev 1;setenv bootpart 1:2; run mmcboot";
+					}
 				);
 
 			};
@@ -37,15 +43,21 @@  software =
 						compressed = true;
 					}
 				);
-                                uboot: (
-                                        {
-                                        	name = "boot_targets";
-                                  		value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
-                                        },
-                                        {
-                                        	name = "bootcmd_legacy_mmc1";
-                                  		value = "setenv mmcdev 1;setenv bootpart 1:3; run mmcboot";
-                                        }
+				scripts: (
+					{
+						filename = "emmcsetup.lua";
+						type = "lua";
+					}
+				);
+				uboot: (
+					{
+						name = "boot_targets";
+						value = "legacy_mmc1 mmc1 nand0 pxe dhcp";
+					},
+					{
+						name = "bootcmd_legacy_mmc1";
+						value = "setenv mmcdev 1;setenv bootpart 1:3; run mmcboot";
+					}
 				);
 			};
 		};