Skip to content
Snippets Groups Projects
  1. Mar 17, 2017
  2. Jan 02, 2017
  3. Oct 24, 2016
  4. May 02, 2016
  5. Apr 19, 2016
    • Marek Vasut's avatar
      arm: mx5: Fix NAND image generation · 0297bd11
      Marek Vasut authored and Stefano Babic's avatar Stefano Babic committed
      
      The echo -ne "\xNN" does not work in certain bourne-compatible shells, like
      dash. The recommended way of hex->char conversion is using printf(1), but
      there is a pitfall here. The GNU printf does support "\xNN" format, but
      according to the opengroup documentation, this is not part of POSIX. The
      POSIX printf only defines "\NNN" where N is octal. Thus, for the sake of
      compatibility, we use that.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      0297bd11
  6. Feb 21, 2016
  7. Nov 12, 2015
  8. Oct 30, 2015
  9. Sep 13, 2015
  10. Apr 23, 2015
  11. Mar 02, 2015
    • Raul Cardenas's avatar
      imx6: Added DEK blob generator command · 0200020b
      Raul Cardenas authored and Stefano Babic's avatar Stefano Babic committed
      
      Freescale's SEC block has built-in Data Encryption
      Key(DEK) Blob Protocol which provides a method for
      protecting a DEK for non-secure memory storage.
      SEC block protects data in a data structure called
      a Secret Key Blob, which provides both confidentiality
      and integrity protection.
      Every time the blob encapsulation is executed,
      a AES-256 key is randomly generated to encrypt the DEK.
      This key is encrypted with the OTP Secret key
      from SoC. The resulting blob consists of the encrypted
      AES-256 key, the encrypted DEK, and a 16-bit MAC.
      
      During decapsulation, the reverse process is performed
      to get back the original DEK. A caveat to the blob
      decapsulation process,  is that the DEK is decrypted
      in secure-memory and can only be read by FSL SEC HW.
      The DEK is used to decrypt data during encrypted boot.
      
      Commands added
      --------------
        dek_blob - encapsulating DEK as a cryptgraphic blob
      
      Commands Syntax
      ---------------
        dek_blob src dst len
      
          Encapsulate and create blob of a len-bits DEK at
          address src and store the result at address dst.
      
      Signed-off-by: default avatarRaul Cardenas <Ulises.Cardenas@freescale.com>
      Signed-off-by: default avatarNitin Garg <nitin.garg@freescale.com>
      
      Signed-off-by: default avatarUlises Cardenas <ulises.cardenas@freescale.com>
      
      Signed-off-by: default avatarUlises Cardenas-B45798 <Ulises.Cardenas@freescale.com>
      0200020b
  12. Jun 06, 2014
  13. Jun 05, 2014
  14. Apr 15, 2014
  15. Apr 02, 2014
  16. Mar 28, 2014
    • Marek Vasut's avatar
      kbuild: Rename UIMAGE to MKIMAGE · b97241b3
      Marek Vasut authored
      
      U-Boot uses the 'mkimage' tool to produce various image types,
      not only uImage image type. Rename the invocation name from
      UIMAGE to MKIMAGE.
      
      The following command was used to do the replacement:
      git grep 'quiet_cmd_mkimage.* = UIMAGE' | cut -d : -f 1 | \
       xargs -i sed -i "s@\(quiet_cmd_mkimage\)\(.*\) = UIMAGE @\1\2 = MKIMAGE@" {}
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      b97241b3
  17. Feb 25, 2014
  18. Feb 19, 2014
    • Masahiro Yamada's avatar
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada authored
      
      Now we are ready to switch over to real Kbuild.
      
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
        scripts/{Makefile.build,Makefile.host,Makefile.lib}.
      
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
      6825a95b
  19. Dec 19, 2013
  20. Dec 17, 2013
  21. Oct 31, 2013
  22. Oct 17, 2013
  23. Jul 24, 2013
  24. Jun 03, 2013
  25. May 05, 2013
  26. Apr 22, 2013
    • Stefan Roese's avatar
      imx: Move some i.MX common functions into the imx-common directory · 8870e459
      Stefan Roese authored and Stefano Babic's avatar Stefano Babic committed
      
      This patch moves the following functions into the imx-common
      directory:
      
      - mxs_wait_mask_set()
      - mxs_wait_mask_clr()
      - mxs_reset_block()
      
      These are currently used by i.MX28. But the upcoming GPMI NAND port
      for i.MX6 will also use these functions. So lets move them to a
      common location to re-use them.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      8870e459
  27. Apr 12, 2013
  28. Mar 20, 2013
  29. Jan 22, 2013
  30. Sep 10, 2012
  31. Sep 01, 2012
  32. Jul 31, 2012
Loading