Skip to contentSkip to conversation

board/hardkernel/odroidxu4/genimage.cfg: beautify file

PATCH In review Giulio Benetti 1 participant 1 message Nov 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 41/102 board/hardkernel/odroidxu4/genimage.cfg: beautify file

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

---
 board/hardkernel/odroidxu4/genimage.cfg | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
board/hardkernel/odroidxu4/genimage.cfg +9 -8
index e6b85cf2fa..0a90d6be50 100644
@@ -6,6 +6,7 @@ image boot.vfat {
 			"exynos5422-odroidxu4.dtb"
 		}
 	}
+
 	size = 32M
 }
 
@@ -17,34 +18,34 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "bl1.bin.hardkernel"
 		offset = 512
-		size = 15360
+		size = 15K
 	}
 
 	partition bl2 {
 		in-partition-table = "no"
 		image = "bl2.bin.hardkernel.720k_uboot"
-		offset = 15872
-		size = 16384
+		offset = 15872 # 15KB + 512B
+		size = 16K
 	}
 
 	partition u-boot {
 		in-partition-table = "no"
 		image = "u-boot-dtb.bin"
-		offset = 32256
-		size = 720k
+		offset = 32256 # 31KB + 512B
+		size = 720K
 	}
 
 	partition tzsw {
 		in-partition-table = "no"
 		image = "tzsw.bin.hardkernel"
-		offset = 769536
-		size = 256k
+		offset = 769536 # 751KB + 512B
+		size = 256K
 	}
 
 	partition vfat {
 		partition-type = 0xC
 		image = "boot.vfat"
-		offset = 2097152
+		offset = 2M
 	}
 
 	partition rootfs {
Signature · 6 lines
2.25.1

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