1. 15 Sep, 2009 1 commit
    • Doug Zongker's avatar
      don't complain if recovery icon is short · 196c25c7
      Doug Zongker authored
      If the a recovery icon file is so short that we can't even read the
      8-byte header, put a message in the log but not on the device screen.
      We intentionally have zero-length files for some icons on some devices,
      if they're never shown (eg, the firmware installation icons are only
      used on HTC devices).
      196c25c7
  2. 10 Sep, 2009 1 commit
  3. 18 Aug, 2009 1 commit
  4. 17 Aug, 2009 1 commit
  5. 04 Aug, 2009 2 commits
  6. 29 Jul, 2009 1 commit
  7. 26 Jul, 2009 2 commits
  8. 23 Jul, 2009 2 commits
    • Doug Zongker's avatar
      only build flash_image for eng · 20697b96
      Doug Zongker authored
      With the recovery image being installed by applypatch, the flash_image
      tool isn't needed any more.  Continue to build it for eng just in case
      it's handy for debugging.
      20697b96
    • Doug Zongker's avatar
      fix compile warnings in recovery, change images · 23412e6f
      Doug Zongker authored
      gcc 4.4 complains about some of the recovery ui functions not being
      declared.  To include the header, we have to fix the 'volatile'
      declaration (otherwise there's a compiler error).
      
      Move the dream-specific images to vendor/htc/dream, make the default
      images a generic phone.
      23412e6f
  9. 16 Jul, 2009 1 commit
  10. 14 Jul, 2009 1 commit
    • Doug Zongker's avatar
      remove amend · 64893ccc
      Doug Zongker authored
      Yank all the code to install OTA packages out of the recovery binary
      itself.  Now packages are installed by a binary included in the
      package (run as a child of recovery), so we can make improvements in
      the installation process without waiting for a new release to use
      them.
      64893ccc
  11. 02 Jul, 2009 1 commit
  12. 01 Jul, 2009 1 commit
  13. 29 Jun, 2009 1 commit
  14. 26 Jun, 2009 2 commits
  15. 25 Jun, 2009 3 commits
  16. 24 Jun, 2009 1 commit
    • Doug Zongker's avatar
      improve updater progress bar · fbf3c10e
      Doug Zongker authored
      Let recovery accept set_progress commands to control progress over the
      'current segment' of the bar.  Add a set_progress() builtin to the
      updater binary.
      fbf3c10e
  17. 22 Jun, 2009 1 commit
    • Doug Zongker's avatar
      add device extension mechanism to updater · 2b0fdc65
      Doug Zongker authored
      Allow devices (in BoardConfig.mk) to define additional static
      libraries to be linked in to updater, to make device-specific
      functions available in edify scripts.  Modify the updater makefile to
      arrange for device libraries to register their edify functions.
      2b0fdc65
  18. 18 Jun, 2009 5 commits
  19. 15 Jun, 2009 3 commits
  20. 12 Jun, 2009 7 commits
    • Doug Zongker's avatar
      add less_than_int, greater_than_int to edify · e3da02e7
      Doug Zongker authored
      Add functions less_than_int() and greater_than_int() that interpret
      their args as ints and do the comparison.  ("<" and ">" operators, if
      implemented, should do string comparison.)  This lets us do the build
      time check currently done by the check_prereq binary.
      e3da02e7
    • Doug Zongker's avatar
      fixes to edify and updater script · d9c9d10d
      Doug Zongker authored
      A few more changes to edify:
      
        - fix write_raw_image(); my last change neglected to close the write
          context, so the written image was corrupt.
      
        - each expression tracks the span of the source code from which it
          was compiled, so that assert()'s error message can include the
          source of the expression that failed.
      
        - the 'cookie' argument to each Function is replaced with a State
          object, which contains the cookie, the source script (for use with
          the above spans), and the current error message (replacing the
          global variables that were used for this purpose).
      
        - in the recovery image, a new command "ui_print" can be sent back
          through the command pipe to cause text to appear on the screen.
          Add a new ui_print() function to print things from scripts.
          Rename existing "print" function to "stdout".
      d9c9d10d
    • Doug Zongker's avatar
      edify extensions for OTA package installation, part 2 · 8edb00c9
      Doug Zongker authored
      Adds more edify functions for OTAs:
      
        is_mounted getprop apply_patch apply_patch_check apply_patch_space
        write_raw_image write_firmware_image package_extract_file
      
      This allows us to install radios, hboots, boot images, and install
      incremental OTA packages.
      
      Fixes a couple of dumb bugs in edify itself:
      
        - we were doubling the size of the function table each time it was
          *not* full, rather than each time it was full
      
        - "no such function" errors weren't visible to the parser, so they
          didn't prevent execution of the script.
      8edb00c9
    • Doug Zongker's avatar
      am 9dbc027b: fix sim build in donut, too · 32eb0a8c
      Doug Zongker authored
      Merge commit '9dbc027b'
      
      * commit '9dbc027b':
        fix sim build in donut, too
      32eb0a8c
    • Doug Zongker's avatar
      am 9931f7f3: edify extensions for OTA package installation, part 1 · 6c301e24
      Doug Zongker authored
      Merge commit '9931f7f3'
      
      * commit '9931f7f3':
        edify extensions for OTA package installation, part 1
      6c301e24
    • Doug Zongker's avatar
      fix sim build in donut, too · 9dbc027b
      Doug Zongker authored
      9dbc027b
    • Doug Zongker's avatar
      c3885fab
  21. 11 Jun, 2009 2 commits
    • Doug Zongker's avatar
      edify extensions for OTA package installation, part 1 · 9931f7f3
      Doug Zongker authored
      Adds the following edify functions:
      
        mount unmount format show_progress delete delete_recursive
        package_extract symlink set_perm set_perm_recursive
      
      This set is enough to extract and install the system part of a (full)
      OTA package.
      
      Adds the updater binary that extracts an edify script from the OTA
      package and then executes it.  Minor changes to the edify core (adds a
      sleep() builtin for debugging, adds "." to the set of characters that
      can appear in an unquoted string).
      9931f7f3
    • Doug Zongker's avatar
      fix error from change 3606 · cbb91293
      Doug Zongker authored
      When I changed the definition of device_perform_action() in response
      to a reviewer comment, I forgot to change this implementation.
      cbb91293