1. 03 7月, 2018 2 次提交
    • A
      net: Add option to prefer bootp/dhcp serverip · bdce340c
      Alexander Graf 提交于
      Currently we can choose between 2 different types of behavior for the
      serverip variable:
      
        1) Always overwrite it with the DHCP server IP address (default)
        2) Ignore what the DHCP server says (CONFIG_BOOTP_SERVERIP)
      
      This patch adds a 3rd option:
      
        3) Use serverip from DHCP if no serverip is given
           (CONFIG_BOOTP_PREFER_SERVERIP)
      
      With this new option, we can have the default case that a boot file gets
      loaded from the DHCP provided TFTP server work while allowing users to
      specify their own serverip variable to explicitly use a different tftp
      server.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      bdce340c
    • L
      net: Add new wol command - Wake on LAN · d8970dae
      Lothar Felten 提交于
      Add a new command 'wol': Wait for an incoming Wake-on-LAN packet or
      time out if no WoL packed is received.
      If the WoL packet contains a password, it is saved in the environment
      variable 'wolpassword' using the etherwake format (dot or colon
      separated decimals).
      
      Intended use case: a networked device should boot an alternate image.
      It's attached to a network on a client site, modifying the DHCP server
      configuration or setup of a tftp server is not allowed.
      After power on the device waits a few seconds for a WoL packet. If a
      packet is received, the device boots the alternate image. Otherwise
      it boots the default image.
      
      This method is a simple way to interact with a system via network even
      if only the MAC address is known. Tools to send WoL packets are
      available on all common platforms.
      
      Some Ethernet drivers seem to pad the incoming packet. The additional
      padding bytes might be recognized as Wake-on-LAN password bytes.
      
      By default enabled in pengwyn_defconfig.
      Signed-off-by: NLothar Felten <lothar.felten@gmail.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      d8970dae
  2. 19 6月, 2018 1 次提交
    • I
      cmd: avb2.0: avb command for performing verification · 60b2f9e7
      Igor Opaniuk 提交于
      Enable a "avb" command to execute Android Verified
      Boot 2.0 operations. It includes such subcommands:
        avb init - initialize avb2 subsystem
        avb read_rb - read rollback index
        avb write_rb - write rollback index
        avb is_unlocked - check device lock state
        avb get_uuid - read and print uuid of a partition
        avb read_part - read data from partition
        avb read_part_hex - read data from partition and output to stdout
        avb write_part - write data to partition
        avb verify - run full verification chain
      Signed-off-by: NIgor Opaniuk <igor.opaniuk@linaro.org>
      60b2f9e7
  3. 14 6月, 2018 1 次提交
  4. 01 6月, 2018 1 次提交
  5. 30 5月, 2018 3 次提交
  6. 29 5月, 2018 1 次提交
    • R
      efi_loader: Enable RISC-V support · 6836adbe
      Rick Chen 提交于
      We have almost all pieces needed to support RISC-V UEFI binaries in place already.
      The only missing piece are ELF relocations for runtime code and
      data.
      
      This patch adds respective support in the linker script and the runtime
      relocation code. It also allows users to enable the EFI_LOADER configuration
      switch on RISC-V platforms.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      6836adbe
  7. 26 5月, 2018 1 次提交
    • M
      tpm: prepare introduction of TPMv2.x support in Kconfig · 9f9ce3c3
      Miquel Raynal 提交于
      Because both major revisions are not compatible at all, let's make them
      mutually exclusive in Kconfig. This way we will be sure, when using a
      command or a library function that it is supported by the right
      revision.
      
      Current drivers are currently prefixed by "tpm_", we will prefix TPMv2.x
      files by "tpm2_" to make the distinction without moving everything.
      
      The Kconfig menu about TPM drivers is now divided into two sections, one
      for each specification. Compliant drivers with one specification will
      only show up if this specification _only_ has been selected, otherwise a
      comment is displayed.
      
      Once a driver is selected by the user, it selects automatically a
      boolean value, that is needed in order to activate the TPM commands.
      Selecting the TPM commands will automatically select the right
      command/library files.
      Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      [trini: Rework deps as TPM_V1 and TPM_V2 depend on TPM,
              drop TPM_DRIVER_SELECTED]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      9f9ce3c3
  8. 24 5月, 2018 2 次提交
  9. 15 5月, 2018 1 次提交
  10. 09 5月, 2018 1 次提交
  11. 08 5月, 2018 3 次提交
  12. 28 4月, 2018 1 次提交
  13. 14 4月, 2018 7 次提交
  14. 09 4月, 2018 1 次提交
  15. 07 4月, 2018 1 次提交
    • M
      cmd: Add command for calculating binary operations · 55b25561
      Mario Six 提交于
      This patch adds a command that enables the calculation of bit operations
      (AND, OR, XOR) on binary data from the command line. Memory locations as
      well as the contents of environment variables are eligible as sources
      and destination of the binary data used in the operations.
      
      The possible applications are manifold: Setting specific bits in
      registers using the regular read-OR-write pattern, masking out bits in
      bit values, implementation of simple OTP encryption using the XOR
      operation, etc.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      55b25561
  16. 04 4月, 2018 1 次提交
  17. 28 2月, 2018 1 次提交
  18. 24 2月, 2018 1 次提交
  19. 22 2月, 2018 1 次提交
    • M
      dfu: Fix up the Kconfig mess · 0f44d335
      Marek Vasut 提交于
      Clean up the screaming mess of configuration options that DFU is.
      It was impossible to configure DFU such that TFTP is enabled and
      USB is not, this patch fixes that and assures that DFU TFTP and
      DFU USB can be enabled separatelly and that the correct pieces
      of code are compiled in.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      0f44d335
  20. 15 2月, 2018 1 次提交
  21. 14 2月, 2018 1 次提交
  22. 09 2月, 2018 2 次提交
  23. 06 2月, 2018 1 次提交
    • T
      cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA · a4fa8114
      Tuomas Tynkkynen 提交于
      cmd/Makefile has:
      
      ifdef CONFIG_FPGA
      obj-$(CONFIG_CMD_FPGA) += fpga.o
      endif
      
      which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
      does nothing. Let's remove that Makefile conditional and instead express
      this equivalent dependency in Kconfig, so a lot of redundant
      
       # CONFIG_CMD_FPGA is not set
      
      can be removed from board defconfigs that don't actually have an FPGA.
      Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
      a4fa8114
  24. 02 2月, 2018 1 次提交
  25. 26 1月, 2018 3 次提交