Skip to contentSkip to conversation

board/cubietech/cubieboard2/genimage.cfg: beautify file

PATCH In review Giulio Benetti 2 participants 3 messages Nov 7, 2021 – Nov 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 23/102 board/cubietech/cubieboard2/genimage.cfg: beautify file

Beatify this genimage .cfg file to have consistency with all genimage .cfg files in Buildroot.

---
 board/cubietech/cubieboard2/genimage.cfg | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
board/cubietech/cubieboard2/genimage.cfg +3 -2
index b082ab0da1..5ef10ef135 100644
@@ -9,6 +9,7 @@ image boot.vfat {
 			"boot.scr"
 		}
 	}
+
 	size = 10M
 }
 
@@ -19,8 +20,8 @@ image sdcard.img {
 	partition u-boot {
 		in-partition-table = "no"
 		image = "u-boot-sunxi-with-spl.bin"
-		offset = 8192
-		size = 1040384 # 1MB - 8192
+		offset = 8K
+		size = 1016 # 1MB - 8KB
 	}
 
 	partition boot {
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 21 lines · Giulio Benetti

Beatify this genimage .cfg file to have consistency with all genimage .cfg files in Buildroot.

---
  board/cubietech/cubieboard2/genimage.cfg | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
board/cubietech/cubieboard2/genimage.cfg +1 -0
index b082ab0da1..5ef10ef135 100644
@@ -9,6 +9,7 @@ image boot.vfat {
  			"boot.scr"
  		}
  	}
+
  	size = 10M
  }
 

board/cubietech/cubieboard2/genimage.cfg image sdcard.img { · line 24

Quoted 7 lines
board/cubietech/cubieboard2/genimage.cfg +2 -2
@@ -19,8 +20,8 @@ image sdcard.img {
  	partition u-boot {
  		in-partition-table = "no"
  		image = "u-boot-sunxi-with-spl.bin"
-		offset = 8192
-		size = 1040384 # 1MB - 8192
+		offset = 8K
+		size = 1016 # 1MB - 8KB

1016K, not 1016 bytes...

Regards,
Arnout

board/cubietech/cubieboard2/genimage.cfg image sdcard.img { · line 27

Quoted 4 lines
board/cubietech/cubieboard2/genimage.cfg +0 -0
  	}
 
  	partition boot {

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 23 lines · Arnout Vandecappelle
Quoted 20 lines · Giulio Benetti

Beatify this genimage .cfg file to have consistency with all genimage .cfg files in Buildroot.

---
   board/cubietech/cubieboard2/genimage.cfg | 5 +++--
   1 file changed, 3 insertions(+), 2 deletions(-)
board/cubietech/cubieboard2/genimage.cfg +1 -0
index b082ab0da1..5ef10ef135 100644
@@ -9,6 +9,7 @@ image boot.vfat {
   			"boot.scr"
   		}
   	}
+
   	size = 10M
   }
 
Quoted 10 lines

board/cubietech/cubieboard2/genimage.cfg image sdcard.img { · line 24

Quoted 8 lines
board/cubietech/cubieboard2/genimage.cfg +2 -2
@@ -19,8 +20,8 @@ image sdcard.img {
   	partition u-boot {
   		in-partition-table = "no"
   		image = "u-boot-sunxi-with-spl.bin"
-		offset = 8192
-		size = 1040384 # 1MB - 8192
+		offset = 8K
+		size = 1016 # 1MB - 8KB
   1016K, not 1016 bytes...

Thank you Arnout. I check again for the 4th time all files too.

Quoted 12 lines

Regards,
Arnout

board/cubietech/cubieboard2/genimage.cfg image sdcard.img { · line 27

Quoted 4 lines
board/cubietech/cubieboard2/genimage.cfg +0 -0
   	}
 
   	partition boot {

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Signature · 6 lines
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot