Skip to contentSkip to conversation

cfa100xx: Use a force assignment for IMAGE_FSTYPES

PATCH New Otavio Salvador 1 participant 2 messages Apr 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 cfa100xx: Use a force assignment for IMAGE_FSTYPES

The IMAGE_FSTYPES uses a force assignment in the imx-base.inc file so we ought to override it in the machine file. This ensures we use the right value even if we include it after imx-base.inc inclusion.

While moving the code around we also drop the explicit ext3 generation as the it is queued due the filesystem generation dependency chain.

Change-Id Icb04838b7ca659b056b57a02cc51ffd1657de579
---
 conf/machine/include/cfa10036.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/cfa10036.inc +1 -1
index faeee36..113d983 100644
@@ -1,6 +1,5 @@
 # Common definitions for cfa-10036 boards
 
-IMAGE_FSTYPES_mxs ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard"
 include conf/machine/include/imx-base.inc
 include conf/machine/include/tune-arm926ejs.inc
 
@@ -11,6 +10,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "barebox"
 
 IMAGE_BOOTLOADER = "barebox"
 BAREBOX_BINARY = "barebox"
+IMAGE_FSTYPES_mxs = "tar.bz2 barebox.mxsboot-sdcard sdcard"
 
 IMXBOOTLETS_MACHINE = "cfa10036"
 
Signature · 1 line
2.8.0
#1 lore raw

PATCH 2/2 cfa100xx: Use 'sdcard.gz' as output

Using a compressed filesystem allows for easier transfer of it and reduces a lot the disk usage in deploy directory.

Change-Id I1b76a1bac1fc7a1f125db25c2a60e9f077f8df79
---
 conf/machine/include/cfa10036.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/cfa10036.inc +1 -1
index 113d983..b83528a 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "barebox"
 
 IMAGE_BOOTLOADER = "barebox"
 BAREBOX_BINARY = "barebox"
-IMAGE_FSTYPES_mxs = "tar.bz2 barebox.mxsboot-sdcard sdcard"
+IMAGE_FSTYPES_mxs = "tar.bz2 barebox.mxsboot-sdcard sdcard.gz"
 
 IMXBOOTLETS_MACHINE = "cfa10036"
 
Signature · 1 line
2.8.0