diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 646: Increased Android system partition size.

Message ID 20131129141627.7865.71463.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Milo Casagrande Nov. 29, 2013, 2:16 p.m. UTC
Merge authors:
  vishal (vishalbhoj)
Related merge proposals:
  https://code.launchpad.net/~vishalbhoj/linaro-image-tools/increase-system-partition-size/+merge/197026
  proposed by: vishal (vishalbhoj)
  review: Approve - Milo Casagrande (milo)
------------------------------------------------------------
revno: 646 [merge]
author: Vishal Bhoj <vishal.bhoj@linaro.org>
committer: Milo Casagrande <milo@ubuntu.com>
branch nick: trunk
timestamp: Fri 2013-11-29 15:15:23 +0100
message:
  Increased Android system partition size.
modified:
  linaro_image_tools/media_create/android_boards.py
  linaro_image_tools/media_create/tests/test_media_create.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro_image_tools/media_create/android_boards.py'
--- linaro_image_tools/media_create/android_boards.py	2013-04-03 11:32:40 +0000
+++ linaro_image_tools/media_create/android_boards.py	2013-11-28 09:30:19 +0000
@@ -60,10 +60,10 @@ 
 logger = logging.getLogger(DEFAULT_LOGGER_NAME)
 
 BOOT_MIN_SIZE_S = align_up(128 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
-SYSTEM_MIN_SIZE_S = align_up(512 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
+SYSTEM_MIN_SIZE_S = align_up(768 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
 CACHE_MIN_SIZE_S = align_up(256 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
 USERDATA_MIN_SIZE_S = align_up(512 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
-SDCARD_MIN_SIZE_S = align_up(512 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
+SDCARD_MIN_SIZE_S = align_up(256 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
 LOADER_MIN_SIZE_S = align_up(1 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE
 
 

=== modified file 'linaro_image_tools/media_create/tests/test_media_create.py'
--- linaro_image_tools/media_create/tests/test_media_create.py	2013-08-19 07:39:34 +0000
+++ linaro_image_tools/media_create/tests/test_media_create.py	2013-11-29 10:16:06 +0000
@@ -1904,44 +1904,44 @@ 
 
     def test_panda_android(self):
         self.assertEqual(
-            '63,270272,0x0C,*\n270336,1048576,L\n1318912,524288,L\n'
-            '1843200,-,E\n1843200,1048576,L\n2891776,,,-',
+            '63,270272,0x0C,*\n270336,1572864,L\n1843200,524288,L\n'
+            '2367488,-,E\n2367488,1048576,L\n3416064,,,-',
             android_boards.AndroidPandaConfig().get_sfdisk_cmd())
 
     def test_origen_android(self):
         self.assertEqual(
-            '1,8191,0xDA\n8253,270274,0x0C,*\n278528,1048576,L\n'
-            '1327104,-,E\n1327104,524288,L\n1851392,1048576,L\n2899968,,,-',
+            '1,8191,0xDA\n8253,270274,0x0C,*\n278528,1572864,L\n'
+            '1851392,-,E\n1851392,524288,L\n2375680,1048576,L\n3424256,,,-',
             android_boards.AndroidOrigenConfig().get_sfdisk_cmd())
 
     def test_origen_quad_android(self):
         self.assertEqual(
-            '1,8191,0xDA\n8253,270274,0x0C,*\n278528,1048576,L\n'
-            '1327104,-,E\n1327104,524288,L\n1851392,1048576,L\n2899968,,,-',
+            '1,8191,0xDA\n8253,270274,0x0C,*\n278528,1572864,L\n'
+            '1851392,-,E\n1851392,524288,L\n2375680,1048576,L\n3424256,,,-',
             android_boards.AndroidOrigenQuadConfig().get_sfdisk_cmd())
 
     def test_snowball_emmc_android(self):
         self.assertEqual(
-            '256,7936,0xDA\n8192,262144,0x0C,*\n270336,1048576,L\n'
-            '1318912,-,E\n1318912,524288,L\n1843200,1048576,L\n2891776,,,-',
+            '256,7936,0xDA\n8192,262144,0x0C,*\n270336,1572864,L\n'
+            '1843200,-,E\n1843200,524288,L\n2367488,1048576,L\n3416064,,,-',
             android_boards.AndroidSnowballEmmcConfig().get_sfdisk_cmd())
 
     def test_vexpress_android(self):
         self.assertEqual(
-            '63,270272,0x0E,*\n270336,1048576,L\n1318912,524288,L\n'
-            '1843200,-,E\n1843200,1048576,L\n2891776,,,-',
+            '63,270272,0x0E,*\n270336,1572864,L\n1843200,524288,L\n'
+            '2367488,-,E\n2367488,1048576,L\n3416064,,,-',
             android_boards.AndroidVexpressConfig().get_sfdisk_cmd())
 
     def test_mx5_android(self):
         self.assertEqual(
-            '1,8191,0xDA\n8192,262144,0x0C,*\n270336,1048576,L\n'
-            '1318912,-,E\n1318912,524288,L\n1843200,1048576,L\n2891776,,,-',
+            '1,8191,0xDA\n8192,262144,0x0C,*\n270336,1572864,L\n'
+            '1843200,-,E\n1843200,524288,L\n2367488,1048576,L\n3416064,,,-',
             android_boards.AndroidMx53LoCoConfig().get_sfdisk_cmd())
 
     def test_mx6_android(self):
         self.assertEqual(
-            '1,8191,0xDA\n8192,262144,0x0C,*\n270336,1048576,L\n'
-            '1318912,-,E\n1318912,524288,L\n1843200,1048576,L\n2891776,,,-',
+            '1,8191,0xDA\n8192,262144,0x0C,*\n270336,1572864,L\n'
+            '1843200,-,E\n1843200,524288,L\n2367488,1048576,L\n3416064,,,-',
             android_boards.AndroidMx6QSabreliteConfig().get_sfdisk_cmd())