Commit Graph

813 Commits

Author SHA1 Message Date
Arve Hjønnevåg 7c953d04bc toolbox: Add nandread command
Extracts a nand image from an mtd partition with page data followed by
64 bytes of extra data.
2009-10-01 17:40:33 -07:00
Mike Lockwood 73ad750415 am 6088a9ad: am 25f1a5aa: init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
Merge commit '6088a9ad876314b14d24fc75cb9321f7b34bb5e7'

* commit '6088a9ad876314b14d24fc75cb9321f7b34bb5e7':
  init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
2009-09-15 13:18:09 -07:00
Mike Lockwood 6088a9ad87 am 25f1a5aa: init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
Merge commit '25f1a5aaffd1ef6e87d53d4fd3c14ea1b6c5b940' into eclair-plus-aosp

* commit '25f1a5aaffd1ef6e87d53d4fd3c14ea1b6c5b940':
  init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
2009-09-11 14:50:22 -07:00
Mike Lockwood 25f1a5aaff init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
Change-Id: Iff83310f9411c39e1833b3d710b029b12f702993
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-11 17:13:28 -04:00
Rebecca Schultz Zavin c7b62e61ed am 8c02bec8: am 8880093f: Merge change 24493 into eclair
Merge commit '8c02bec8e1f8877dc78a27837ef6f368bd2b7be7'

* commit '8c02bec8e1f8877dc78a27837ef6f368bd2b7be7':
  Fix several issues in framebuffer_service
2009-09-10 16:44:51 -07:00
Rebecca Schultz Zavin 8c02bec8e1 am 8880093f: Merge change 24493 into eclair
Merge commit '8880093fe386ab0dcefec9ce41f8ce6f4e068b0e' into eclair-plus-aosp

* commit '8880093fe386ab0dcefec9ce41f8ce6f4e068b0e':
  Fix several issues in framebuffer_service
2009-09-10 16:35:29 -07:00
Android (Google) Code Review 8880093fe3 Merge change 24493 into eclair
* changes:
  Fix several issues in framebuffer_service
2009-09-10 19:31:27 -04:00
Rebecca Schultz Zavin 04bee29ad9 Fix several issues in framebuffer_service
-supports fb's with x and y offsets
-dumps the front buffer (instead of just the low end of the buffer)
-switch from mmap to read/write, for fb's with very large offsets

Change-Id: Id560790c9661f7cc3b4350a44cc29f0104831e85
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-09-10 15:37:08 -07:00
Dima Zavin 2ecbf8f3fd am 27b8b3a1: am e67eff1c: Merge change 24564 into eclair
Merge commit '27b8b3a1aab015ed8673ffd03bbf57f63adb85f0'

* commit '27b8b3a1aab015ed8673ffd03bbf57f63adb85f0':
  init: Make /dev/pmem_gpu* be writable by all
2009-09-10 14:31:00 -07:00
Dima Zavin 27b8b3a1aa am e67eff1c: Merge change 24564 into eclair
Merge commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565' into eclair-plus-aosp

* commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565':
  init: Make /dev/pmem_gpu* be writable by all
2009-09-10 14:26:16 -07:00
Android (Google) Code Review e67eff1c61 Merge change 24564 into eclair
* changes:
  init: Make /dev/pmem_gpu* be writable by all
2009-09-10 17:22:33 -04:00
Jack Palevich a95ca3888f am 0b5830e8: am 374ad789: Merge change 24577 into eclair
Merge commit '0b5830e8f1d8b18afa238e5c3ac154c326bd4fb1'

* commit '0b5830e8f1d8b18afa238e5c3ac154c326bd4fb1':
  Update peephole optimizer
2009-09-10 14:16:21 -07:00
Jack Palevich 1357a2f968 am 3cf1f5b3: am e7aa1497: Merge change 24576 into eclair
Merge commit '3cf1f5b34ec85a8cd8ca0c67f4ec80e600258539'

* commit '3cf1f5b34ec85a8cd8ca0c67f4ec80e600258539':
  Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
2009-09-10 14:16:18 -07:00
Jack Palevich 0b5830e8f1 am 374ad789: Merge change 24577 into eclair
Merge commit '374ad789df7e8376ccc7cdfac9e4414547550c53' into eclair-plus-aosp

* commit '374ad789df7e8376ccc7cdfac9e4414547550c53':
  Update peephole optimizer
2009-09-10 14:11:47 -07:00
Jack Palevich 3cf1f5b34e am e7aa1497: Merge change 24576 into eclair
Merge commit 'e7aa14978ffc7042c257fb1bd837490ec4ec1abd' into eclair-plus-aosp

* commit 'e7aa14978ffc7042c257fb1bd837490ec4ec1abd':
  Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
2009-09-10 14:11:44 -07:00
Android (Google) Code Review 374ad789df Merge change 24577 into eclair
* changes:
  Update peephole optimizer
2009-09-10 17:07:54 -04:00
Android (Google) Code Review e7aa14978f Merge change 24576 into eclair
* changes:
  Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
2009-09-10 17:07:24 -04:00
Jack Palevich 53f0658792 Update peephole optimizer
+ Save one instruction for loads of local byte or float values.
+ Save two instructions for pointer arithmetic with a stride that
  is a power of two.
2009-09-10 14:01:58 -07:00
Jack Palevich bb3e9c1814 Add a script "accarm" for ad-hoc testing of the ARM acc compiler.
This script copies the test file over to the ARM, runs the acc compiler
on ARM, and then prints out the results.

It also syncs the acc compiler binary over to the ARM.
2009-09-10 12:45:31 -07:00
Dima Zavin c2d8e0e701 init: Make /dev/pmem_gpu* be writable by all
STOPSHIP: The actual device entry needs to be removed once the products
that use this switch on the mmu.

Change-Id: I10afea36c8731d845382665ed3db7647f68d1276
Signed-off-by: Dima Zavin <dima@android.com>
2009-09-10 12:34:32 -07:00
David 'Digit' Turner 23e7f66c7c am 87c57d89: am 8b213f1a: Merge change 24474 into eclair
Merge commit '87c57d892996f666497644e205521168611a1210'

* commit '87c57d892996f666497644e205521168611a1210':
  Fix an infinite loop in time2sub.
2009-09-10 10:59:32 -07:00
David 'Digit' Turner 87c57d8929 am 8b213f1a: Merge change 24474 into eclair
Merge commit '8b213f1ad950c0d115a8d5a3016a267432b3c980' into eclair-plus-aosp

* commit '8b213f1ad950c0d115a8d5a3016a267432b3c980':
  Fix an infinite loop in time2sub.
2009-09-10 10:54:53 -07:00
Android (Google) Code Review 8b213f1ad9 Merge change 24474 into eclair
* changes:
  Fix an infinite loop in time2sub.
2009-09-10 13:47:50 -04:00
Jack Palevich 74ee389ae6 am b4323adc: am ae0aa69f: Merge change 24479 into eclair
Merge commit 'b4323adc6a040f3aca6149b636dbf75d364f897b'

* commit 'b4323adc6a040f3aca6149b636dbf75d364f897b':
  Implement a simple peephole optimization framework for ARM.
2009-09-09 19:22:39 -07:00
Jack Palevich b4323adc6a am ae0aa69f: Merge change 24479 into eclair
Merge commit 'ae0aa69f9c7461dc13cbf91e9abf2bb8c4a96111' into eclair-plus-aosp

* commit 'ae0aa69f9c7461dc13cbf91e9abf2bb8c4a96111':
  Implement a simple peephole optimization framework for ARM.
2009-09-09 19:16:23 -07:00
Android (Google) Code Review ae0aa69f9c Merge change 24479 into eclair
* changes:
  Implement a simple peephole optimization framework for ARM.
2009-09-09 22:10:40 -04:00
Jack Palevich d30a2ce244 Implement a simple peephole optimization framework for ARM.
Implement some optimizations:

+ performing arithmetic by a small constant is 3 instructions shorter.
+ reading a local variables is 1 instruction shorter.
+ constant array indexing (e.g. p[5]) is 5 instructions shorter.
2009-09-09 19:08:54 -07:00
David 'Digit' Turner 833ea8d502 Fix an infinite loop in time2sub.
The problem is that time_t is signed, and the original code relied on the
fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this
condition is only guaranteed by the standard for unsigned arithmetic, and
the gcc 4.4.0 optimizer did completely remove the corresponding test from
the code. This resulted in a missing boundary check, and an infinite loop.

The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX
in the loop that uses this.

Also fix increment_overflow and long_increment_overflow which were buggy
for exactly the same reasons.

Also remove some compiler warnings.

Note: a similar fix was performed in bionic/libc
2009-09-09 18:32:07 -07:00
David 'Digit' Turner ec539ead01 am 3ebc52eb: am 2f21659d: Merge change 24213 into eclair
Merge commit '3ebc52eb710c75a1ef51dca7c767701bab74a9ee'

* commit '3ebc52eb710c75a1ef51dca7c767701bab74a9ee':
  Fix a bug that prevented the "generic" product builds from working in the emulator.
2009-09-09 18:11:00 -07:00
David 'Digit' Turner 3ebc52eb71 am 2f21659d: Merge change 24213 into eclair
Merge commit '2f21659d4565afd65da1be07c28317a3cb4287a1' into eclair-plus-aosp

* commit '2f21659d4565afd65da1be07c28317a3cb4287a1':
  Fix a bug that prevented the "generic" product builds from working in the emulator.
2009-09-09 18:05:38 -07:00
Android (Google) Code Review 2f21659d45 Merge change 24213 into eclair
* changes:
  Fix a bug that prevented the "generic" product builds from working in the emulator.
2009-09-09 21:02:10 -04:00
Jack Palevich a39751754d am 24e78ecf: am 0e1f612d: Merge change 24415 into eclair
Merge commit '24e78ecfb93bceea39c2d58af5eae2aa6467d395'

* commit '24e78ecfb93bceea39c2d58af5eae2aa6467d395':
  Move ARM disassembler out of libacc and into the acc command-line tool.
2009-09-09 16:29:37 -07:00
Elliott Hughes 1e5d3b6508 am 983b8bb0: am d9a16d6e: Merge change 23852 into eclair
Merge commit '983b8bb01c3abc8e338f7779ee62fd6aab2f56a0'

* commit '983b8bb01c3abc8e338f7779ee62fd6aab2f56a0':
  Fix a call to memset(3) with reversed arguments.
2009-09-09 16:27:33 -07:00
Bob Lee 2e755e96ab am b97d616d: am d62ae8f1: Merge change 24061 into eclair
Merge commit 'b97d616d028f801b6e914c9a29d9177de2177020'

* commit 'b97d616d028f801b6e914c9a29d9177de2177020':
  Added a hack that makes the SD card world-writable when the sampling
2009-09-09 13:42:22 -07:00
Mike Lockwood 3ae1aa06e7 am aae43f9e: am 9332482e: init.rc: Make /data/dontpanic files readable only by the system process.
Merge commit 'aae43f9e7582a403b8c4f20d59e26c36bbde5219'

* commit 'aae43f9e7582a403b8c4f20d59e26c36bbde5219':
  init.rc: Make /data/dontpanic files readable only by the system process.
2009-09-09 13:40:43 -07:00
Jack Palevich 24e78ecfb9 am 0e1f612d: Merge change 24415 into eclair
Merge commit '0e1f612d5d5caca3f8c8d7f1689a96148a24afd2' into eclair-plus-aosp

* commit '0e1f612d5d5caca3f8c8d7f1689a96148a24afd2':
  Move ARM disassembler out of libacc and into the acc command-line tool.
2009-09-09 13:37:56 -07:00
Android (Google) Code Review 0e1f612d5d Merge change 24415 into eclair
* changes:
  Move ARM disassembler out of libacc and into the acc command-line tool.
2009-09-09 16:32:58 -04:00
Jack Palevich d5315573d7 Move ARM disassembler out of libacc and into the acc command-line tool. 2009-09-09 13:19:34 -07:00
Elliott Hughes 983b8bb01c am d9a16d6e: Merge change 23852 into eclair
Merge commit 'd9a16d6e7daf8e58ebc7760530d9b015dbe4678d' into eclair-plus-aosp

* commit 'd9a16d6e7daf8e58ebc7760530d9b015dbe4678d':
  Fix a call to memset(3) with reversed arguments.
2009-09-09 10:49:30 -07:00
Android (Google) Code Review d9a16d6e7d Merge change 23852 into eclair
* changes:
  Fix a call to memset(3) with reversed arguments.
2009-09-09 13:43:40 -04:00
Bob Lee b97d616d02 am d62ae8f1: Merge change 24061 into eclair
Merge commit 'd62ae8f12f7b6b7fa13366a064ad4d483a3312e5' into eclair-plus-aosp

* commit 'd62ae8f12f7b6b7fa13366a064ad4d483a3312e5':
  Added a hack that makes the SD card world-writable when the sampling
2009-09-09 02:12:58 -07:00
Android (Google) Code Review d62ae8f12f Merge change 24061 into eclair
* changes:
  Added a hack that makes the SD card world-writable when the sampling profiler is turned out. I'll remove this once egnor has the drop box in system_server working.
2009-09-09 02:10:07 -07:00
Mike Lockwood aae43f9e75 am 9332482e: init.rc: Make /data/dontpanic files readable only by the system process.
Merge commit '9332482ed2945174d94615f0720f88702cb92667' into eclair-plus-aosp

* commit '9332482ed2945174d94615f0720f88702cb92667':
  init.rc: Make /data/dontpanic files readable only by the system process.
2009-09-08 20:21:04 -07:00
Mike Lockwood 9332482ed2 init.rc: Make /data/dontpanic files readable only by the system process.
Change-Id: If87470b7bcbb1c0774d10296ac82605db3dd9bf0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-08 22:55:59 -04:00
David 'Digit' Turner ca8177d814 Fix a bug that prevented the "generic" product builds from working in the emulator.
This also ensures that emulator-specific files /init.goldfish.rc and
/system/etc/init.goldfish.sh are never part of -user builds, which
correspond to production devices.
2009-09-08 16:03:49 -07:00
Jack Palevich 18fbabc2b0 am ef41d238: am c0b74902: Merge change 24171 into eclair
Merge commit 'ef41d2381ddf5cf6a1ad2cfd531cac8b943d20fc'

* commit 'ef41d2381ddf5cf6a1ad2cfd531cac8b943d20fc':
  Turn an assert into an error to handle bad struct members more gracefully.
2009-09-08 13:43:13 -07:00
Jack Palevich f937d759c7 am 82145320: am 6b89efab: Merge change 24168 into eclair
Merge commit '8214532088d90dcd2451a0f18a856182fdd85d39'

* commit '8214532088d90dcd2451a0f18a856182fdd85d39':
  Improved DEBUG_SAVE_INPUT_TO_FILE logic.
2009-09-08 13:43:11 -07:00
Jack Palevich 57580063cb am 45a35237: am 5f324384: Merge change 24167 into eclair
Merge commit '45a35237f34c92f8e51eb42eb01e3a054d20aa23'

* commit '45a35237f34c92f8e51eb42eb01e3a054d20aa23':
  Generate an error for the use of an undeclared struct.
2009-09-08 13:43:09 -07:00
Jack Palevich ef41d2381d am c0b74902: Merge change 24171 into eclair
Merge commit 'c0b74902b85c538c9dac549aa5b213a3fb3edc57' into eclair-plus-aosp

* commit 'c0b74902b85c538c9dac549aa5b213a3fb3edc57':
  Turn an assert into an error to handle bad struct members more gracefully.
2009-09-08 13:37:45 -07:00
Jack Palevich 8214532088 am 6b89efab: Merge change 24168 into eclair
Merge commit '6b89efab5ac6b1d5d59891ee4746347957de5c05' into eclair-plus-aosp

* commit '6b89efab5ac6b1d5d59891ee4746347957de5c05':
  Improved DEBUG_SAVE_INPUT_TO_FILE logic.
2009-09-08 13:37:43 -07:00