1. 25 8月, 2018 3 次提交
    • E
      common: kconfig: Mark AVB_VERIFY as dependent on PARTITION_UUIDS · 87c814d4
      Eugeniu Rosca 提交于
      Avoid below compiler [1] errors, reproduced with configuration [2]:
      
      common/avb_verify.c: In function ‘get_unique_guid_for_partition’:
      common/avb_verify.c:692:31: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
        uuid_size = sizeof(part->info.uuid);
                                     ^
      common/avb_verify.c:696:29: error: ‘disk_partition_t {aka struct disk_partition}’ has no member named ‘uuid’
        memcpy(guid_buf, part->info.uuid, uuid_size);
                                   ^
        LD      drivers/built-in.o
      make[2]: *** [scripts/Makefile.build:278: common/avb_verify.o] Error 1
      
      [1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)
      [2] r8a7795_ulcb_defconfig, plus:
          CONFIG_AVB_VERIFY=y
          CONFIG_PARTITION_UUIDS=y
          CONFIG_UDP_FUNCTION_FASTBOOT=y
          CONFIG_LIBAVB=y
      Signed-off-by: NEugeniu Rosca <erosca@de.adit-jv.com>
      Reviewed-by: NIgor Opaniuk <igor.opaniuk@linaro.org>
      87c814d4
    • E
      common: avb_verify: Fix invalid 'for' loop condition · 2e2067b8
      Eugeniu Rosca 提交于
      Fix below compiler [1] warning:
      
      common/avb_verify.c: In function ‘avb_find_dm_args’:
      common/avb_verify.c:179:30: warning: left-hand operand of comma expression has no effect [-Wunused-value]
        for (i = 0; i < AVB_MAX_ARGS, args[i]; ++i) {
      
      [1] aarch64-linux-gnu-gcc (Linaro GCC 7.2-2017.11)
      Signed-off-by: NEugeniu Rosca <erosca@de.adit-jv.com>
      Reviewed-by: NIgor Opaniuk <igor.opaniuk@linaro.org>
      2e2067b8
    • I
      libavb: Handle wrong hashtree_error_mode in avb_append_options() · ecc6f6be
      Ievgen Maliarenko 提交于
      Exit with AVB_SLOT_VERIFY_RESULT_ERROR_INVALID_ARGUMENT
      when hashtree_error_mode value passed to avb_append_options()
      is unknown (not from AvbHashtreeErrorMode enum).
      
      Otherwise, default value is not handled in the
      switch(hashtree_error_mode), which causes below compile warning:
      
      lib/libavb/avb_cmdline.c: In function ‘avb_append_options’:
      lib/libavb/avb_cmdline.c:354:13: warning: ‘dm_verity_mode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
           new_ret = avb_replace(
           ~~~~~~~~^~~~~~~~~~~~~~
               slot_data->cmdline, "$(ANDROID_VERITY_MODE)", dm_verity_mode);
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      lib/libavb/avb_cmdline.c:363:8: warning: ‘verity_mode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (!cmdline_append_option(
              ^~~~~~~~~~~~~~~~~~~~~~
                 slot_data, "androidboot.veritymode", verity_mode)) {
      Signed-off-by: NIevgen Maliarenko <ievgen.maliarenko@globallogic.com>
      Signed-off-by: NEugeniu Rosca <erosca@de.adit-jv.com>
      Reviewed-by: NIgor Opaniuk <igor.opaniuk@linaro.org>
      ecc6f6be
  2. 24 8月, 2018 2 次提交
  3. 23 8月, 2018 3 次提交
  4. 22 8月, 2018 1 次提交
    • T
      Merge tag 'signed-efi-2018.09' of git://github.com/agraf/u-boot · 26699998
      Tom Rini 提交于
      Patch queue for efi - 2018-08-21
      
      A few fixes for 2018.09. Most noticable are:
      
        - unbreak x86 target (-fdata-section fallout)
        - fix undefined behavior in a few corner cases
        - make Jetson TX1 boot again
        - RTS fixes
        - implement reset for simple output
      26699998
  5. 21 8月, 2018 9 次提交
  6. 20 8月, 2018 22 次提交