Skip to content
Snippets Groups Projects
  1. May 09, 2018
  2. Jan 16, 2018
  3. Dec 13, 2017
    • Peng Fan's avatar
      SPL: Add FIT data-position property support · a1be94b6
      Peng Fan authored
      
      For external data, FIT has a optional property "data-position" which
      can set the external data to a fixed offset to FIT beginning.
      Add the support for this property in SPL FIT.
      
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarTomas Melin <tomas.melin@vaisala.com>
      Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
      Cc: "Andrew F. Davis" <afd@ti.com>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: "tomas.melin@vaisala.com" <tomas.melin@vaisala.com>
      Cc: Kever Yang <kever.yang@rock-chips.com>
      Cc: Andre Przywara <andre.przywara@arm.com>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Cc: "Cooper Jr., Franklin" <fcooper@ti.com>
      Cc: George McCollister <george.mccollister@gmail.com>
      Cc: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
      Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
      Cc: Rick Altherr <raltherr@google.com>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      a1be94b6
  4. Oct 23, 2017
  5. Sep 15, 2017
  6. Sep 11, 2017
  7. Aug 26, 2017
  8. Jul 26, 2017
    • Tom Rini's avatar
      FIT: List kernel_noload in the list of types · 25fa0b93
      Tom Rini authored
      
      In the source_file_format.txt file we talk about how to construct a
      valid FIT image.  While it already says to look at the source for the
      full list, add kernel_noload to the explicit list of types.  This is
      arguably the most important type to use as most often we are including a
      kernel that will run from wherever it is loaded into memory and execute.
      
      This for example, allows you to create a single FIT image for Linux that
      can be used on both OMAP and i.MX devices as the kernel will not need to
      be moved in memory.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      25fa0b93
  9. May 17, 2017
  10. Jan 14, 2017
  11. Dec 03, 2016
  12. Aug 16, 2016
  13. Jun 24, 2016
    • Teddy Reed's avatar
      mkimage: fit: spl: Add an optional static offset for external data · f8f9107d
      Teddy Reed authored
      
      When building a FIT with external data (-E), U-Boot proper may require
      absolute positioning for executing the external firmware. To acheive this
      use the (-p) switch, which will replace the amended 'data-offset' with
      'data-position' indicating the absolute position of external data.
      
      It is considered an error if the requested absolute position overlaps with the
      initial data required for the compact FIT.
      
      Signed-off-by: default avatarTeddy Reed <teddy.reed@gmail.com>
      f8f9107d
  14. May 24, 2016
  15. Apr 01, 2016
  16. Mar 14, 2016
    • Simon Glass's avatar
      mkimage: Support placing data outside the FIT · 722ebc8f
      Simon Glass authored
      
      One limitation of FIT is that all the data is 'inline' within it, using a
      'data' property in each image node. This means that to find out what is in
      the FIT it is necessary to scan the entire file. Once loaded it can be
      scanned and then the images can be copied to the correct place in memory.
      
      In SPL it can take a significant amount of time to copy images around in
      memory. Also loading data that does not end up being used is wasteful. It
      would be useful if the FIT were small, acting as a directory, with the
      actual data stored elsewhere.
      
      This allows SPL to load the entire FIT, without the images, then load the
      images it wants later.
      
      Add a -E option to mkimage to request that it output an 'external' FIT.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      722ebc8f
  17. Feb 06, 2016
  18. May 28, 2015
  19. Jan 29, 2015
  20. Oct 22, 2014
  21. Aug 09, 2014
  22. Jun 19, 2014
  23. Jun 05, 2014
  24. Mar 21, 2014
    • Heiko Schocher's avatar
      tools, fit_check_sign: verify a signed fit image · 29a23f9d
      Heiko Schocher authored
      
      add host tool "fit_check_sign" which verifies, if a fit image is
      signed correct.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      29a23f9d
    • Heiko Schocher's avatar
      rsa: add sha256-rsa2048 algorithm · 646257d1
      Heiko Schocher authored
      based on patch from andreas@oetken.name:
      
      http://patchwork.ozlabs.org/patch/294318/
      
      
      commit message:
      I currently need support for rsa-sha256 signatures in u-boot and found out that
      the code for signatures is not very generic. Thus adding of different
      hash-algorithms for rsa-signatures is not easy to do without copy-pasting the
      rsa-code. I attached a patch for how I think it could be better and included
      support for rsa-sha256. This is a fast first shot.
      
      aditionally work:
      - removed checkpatch warnings
      - removed compiler warnings
      - rebased against current head
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: andreas@oetken.name
      Cc: Simon Glass <sjg@chromium.org>
      646257d1
  25. Jan 17, 2014
  26. Sep 20, 2013
  27. Jun 26, 2013
    • Simon Glass's avatar
      Add verified boot information and test · 041bca5b
      Simon Glass authored
      
      Add a description of how to implement verified boot using signed FIT images,
      and a simple test which verifies operation on sandbox.
      
      The test signs a FIT image and verifies it, then signs a FIT configuration
      and verifies it. Then it corrupts the signature to check that this is
      detected.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      041bca5b
    • Simon Glass's avatar
      image: Add support for signing of FIT configurations · 4d098529
      Simon Glass authored
      
      While signing images is useful, it does not provide complete protection
      against several types of attack. For example, it it possible to create a
      FIT with the same signed images, but with the configuration changed such
      that a different one is selected (mix and match attack). It is also possible
      to substitute a signed image from an older FIT version into a newer FIT
      (roll-back attack).
      
      Add support for signing of FIT configurations using the libfdt's region
      support.
      
      Please see doc/uImage.FIT/signature.txt for more information.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      4d098529
    • Simon Glass's avatar
      image: Support signing of images · 56518e71
      Simon Glass authored
      
      Add support for signing images using a new signature node. The process
      is handled by fdt_add_verification_data() which now takes parameters to
      provide the keys and related information.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      56518e71
    • Simon Glass's avatar
      image: Add signing infrastructure · 3e569a6b
      Simon Glass authored
      
      Add a structure to describe an algorithm which can sign and (later) verify
      images.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3e569a6b
  28. Aug 09, 2010
    • Heiko Schocher's avatar
      net ppc: fix ethernet device names with spaces · 48690d80
      Heiko Schocher authored
      
      since commit 1384f3bb ethernet names
      with spaces drop a
      
      Warning: eth device name has a space!
      
      message. This patch fix it for:
      
      - "FEC ETHERNET" devices found on
        mpc512x, mpc5xxx, mpc8xx and mpc8220 boards.
        renamed to "FEC".
      - "SCC ETHERNET" devices found on
        mpc8xx, mpc82xx based boards. Renamed to "SCC".
      - "HDLC ETHERNET" devices found on mpc8xx boards
        Renamed to "HDLC"
      - "FCC ETHERNET" devices found on mpc8260 and mpc85xx based
        boards. Renamed to "FCC"
      
      Tested on the kup4k board.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      48690d80
Loading