From patchwork Thu Dec 8 15:30:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guilherme Salgado X-Patchwork-Id: 5541 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4A59023E0D for ; Thu, 8 Dec 2011 15:30:22 +0000 (UTC) Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 2A988A18230 for ; Thu, 8 Dec 2011 15:30:22 +0000 (UTC) Received: by bke17 with SMTP id 17so2425547bke.11 for ; Thu, 08 Dec 2011 07:30:22 -0800 (PST) Received: by 10.204.156.141 with SMTP id x13mr1688865bkw.54.1323358221789; Thu, 08 Dec 2011 07:30:21 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.129.2 with SMTP id hg2cs95672bkc; Thu, 8 Dec 2011 07:30:21 -0800 (PST) Received: by 10.180.107.231 with SMTP id hf7mr5942188wib.68.1323358219602; Thu, 08 Dec 2011 07:30:19 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fr16si4390874wbb.10.2011.12.08.07.30.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Dec 2011 07:30:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RYfvP-00038U-56 for ; Thu, 08 Dec 2011 15:30:19 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 1D6E5E0208 for ; Thu, 8 Dec 2011 15:30:19 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 472 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 472: Increase the size of the system partition for android images from 256MB to 512MB Message-Id: <20111208153019.17832.47850.launchpad@ackee.canonical.com> Date: Thu, 08 Dec 2011 15:30:19 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14443"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 6a18d91fb0d8262637ae1909ab849c53e370ac20 Merge authors: Guilherme Salgado (salgado) Related merge proposals: https://code.launchpad.net/~salgado/linaro-image-tools/bug-898550/+merge/84525 proposed by: Guilherme Salgado (salgado) review: Approve - Mattias Backman (mabac) ------------------------------------------------------------ revno: 472 [merge] committer: Guilherme Salgado branch nick: trunk timestamp: Thu 2011-12-08 12:28:12 -0300 message: Increase the size of the system partition for android images from 256MB to 512MB 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 === modified file 'linaro_image_tools/media_create/android_boards.py' --- linaro_image_tools/media_create/android_boards.py 2011-11-17 09:03:31 +0000 +++ linaro_image_tools/media_create/android_boards.py 2011-12-05 19:53:49 +0000 @@ -114,7 +114,7 @@ partition_type = '0x0E' BOOT_MIN_SIZE_S = align_up(128 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE - SYSTEM_MIN_SIZE_S = align_up(256 * 1024 * 1024, SECTOR_SIZE) / SECTOR_SIZE + SYSTEM_MIN_SIZE_S = align_up(512 * 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 === modified file 'linaro_image_tools/media_create/tests/test_media_create.py' --- linaro_image_tools/media_create/tests/test_media_create.py 2011-11-23 12:49:03 +0000 +++ linaro_image_tools/media_create/tests/test_media_create.py 2011-12-05 19:53:49 +0000 @@ -1156,27 +1156,27 @@ def test_panda_android(self): self.assertEqual( - '63,270272,0x0C,*\n270336,524288,L\n794624,524288,L\n' \ - '1318912,-,E\n1318912,1048576,L\n2367488,,,-', - android_boards.AndroidPandaConfig.get_sfdisk_cmd()) + '63,270272,0x0C,*\n270336,1048576,L\n1318912,524288,L\n' + '1843200,-,E\n1843200,1048576,L\n2891776,,,-', + android_boards.AndroidPandaConfig.get_sfdisk_cmd()) def test_origen_android(self): self.assertEqual( - '1,8191,0xDA\n8253,270274,0x0C,*\n278528,524288,L\n' \ - '802816,-,E\n802816,524288,L\n1327104,1048576,L\n2375680,,,-', - android_boards.AndroidOrigenConfig.get_sfdisk_cmd()) + '1,8191,0xDA\n8253,270274,0x0C,*\n278528,1048576,L\n' + '1327104,-,E\n1327104,524288,L\n1851392,1048576,L\n2899968,,,-', + android_boards.AndroidOrigenConfig.get_sfdisk_cmd()) def test_snowball_emmc_android(self): self.assertEqual( - '256,7936,0xDA\n8192,262144,0x0C,*\n270336,524288,L\n' \ - '794624,-,E\n794624,524288,L\n1318912,1048576,L\n2367488,,,-', - android_boards.AndroidSnowballEmmcConfig.get_sfdisk_cmd()) + '256,7936,0xDA\n8192,262144,0x0C,*\n270336,1048576,L\n' + '1318912,-,E\n1318912,524288,L\n1843200,1048576,L\n2891776,,,-', + android_boards.AndroidSnowballEmmcConfig.get_sfdisk_cmd()) def test_vexpress_android(self): self.assertEqual( - '63,270272,0x0E,*\n270336,524288,L\n794624,524288,L\n' \ - '1318912,-,E\n1318912,1048576,L\n2367488,,,-', - android_boards.AndroidVexpressA9Config.get_sfdisk_cmd()) + '63,270272,0x0E,*\n270336,1048576,L\n1318912,524288,L\n' + '1843200,-,E\n1843200,1048576,L\n2891776,,,-', + android_boards.AndroidVexpressA9Config.get_sfdisk_cmd()) class TestGetSfdiskCmdV2(TestCase):