Skip to content
Snippets Groups Projects
  1. Apr 15, 2014
  2. Apr 11, 2014
  3. Apr 08, 2014
  4. Apr 07, 2014
  5. Apr 04, 2014
    • Tom Rini's avatar
      Revert "Start the deprecation process for generic board" · 04d2f0a9
      Tom Rini authored
      
      We've run into a non-trivial conversion to CONFIG_SYS_GENERIC_BOARD so
      we'll postpone this notice until right after v2014.04 is out.
      
      This reverts commit 36c4b1d9.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      04d2f0a9
    • Marek Vasut's avatar
      arm: mxs: Add support for generating signed BootStream · 1a9df13d
      Marek Vasut authored
      
      This patch adds the groundwork for generating signed BootStream, which
      can be used by the HAB library in i.MX28. We are adding a new target,
      u-boot-signed.sb , since the process for generating regular non-signed
      BootStream is much easier. Moreover, the signed bootstream depends on
      external _proprietary_ _binary-only_ tool from Freescale called 'cst',
      which is available only under NDA.
      
      To make things even uglier, the CST or HAB mandates a kind-of circular
      dependency. The problem is, unlike the regular IVT, which is generated
      by mxsimage, the IVT for signed boot must be generated by hand here due
      to special demands of the CST. The U-Boot binary (or SPL binary) and IVT
      are then signed by the CST as a one block. But here is the problem. The
      size of the entire image (U-Boot, IVT, CST blocks) must be appended at
      the end of IVT. But the size of the entire image is not known until the
      CST has finished signing the U-Boot and IVT. We solve this by expecting
      the CST block to be always 3904B (which it is in case two files, U-Boot
      and the hand-made IVT, are signed in the CST block).
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      1a9df13d
    • Stefano Babic's avatar
      Merge branch 'master' of git://git.denx.de/u-boot-arm into master · 1cad23c5
      Stefano Babic authored
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/mxsimage.mx23.cfg
      	arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      1cad23c5
    • Stefano Babic's avatar
      Revert "arm: mxs: Add support for generating signed BootStream" · 5dd73bc0
      Stefano Babic authored
      
      This reverts commit 53e6b14e.
      
      Patch does not merge anymore with u-boot-arm and must be rebased.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      5dd73bc0
  6. Apr 02, 2014
    • Przemyslaw Marczak's avatar
      trats/trats2: enable CONFIG_RANDOM_UUID · aafd2c5d
      Przemyslaw Marczak authored
      
      This change enables automatically uuid generation by command gpt.
      In case of updating partitions layout user don't need to care about
      generate uuid manually.
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Piotr Wilczek <p.wilczek@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: trini@ti.com
      aafd2c5d
    • Przemyslaw Marczak's avatar
      cmd:gpt: randomly generate each partition uuid if undefined · 39206382
      Przemyslaw Marczak authored
      
      Changes:
      - randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID
        is defined
      - print debug info about set/unset/generated uuid
      - update doc/README.gpt
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Cc: Piotr Wilczek <p.wilczek@samsung.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      39206382
    • Przemyslaw Marczak's avatar
      new commands: uuid and guid - generate random unique identifier · 89c8230d
      Przemyslaw Marczak authored
      
      Those commands basis on implementation of random UUID generator version 4
      which is described in RFC4122. The same algorithm is used for generation
      both ids but string representation is different as below.
      
      char:  0        9    14   19   24         36
             xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
      UUID:     be     be   be   be       be
      GUID:     le     le   le   be       be
      
      Commands usage:
      - uuid [<varname>]
      - guid [<varname>]
      
      The result is saved in environment as a "varname" variable if argument is given,
      if not then it is printed.
      
      New config:
      - CONFIG_CMD_UUID
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: trini@ti.com
      89c8230d
    • Przemyslaw Marczak's avatar
      lib: uuid: add functions to generate UUID version 4 · 4e4815fe
      Przemyslaw Marczak authored
      This patch adds support to generate UUID (Universally Unique Identifier)
      in version 4 based on RFC4122, which is randomly.
      
      Source: https://www.ietf.org/rfc/rfc4122.txt
      
      
      
      Changes:
      - new configs:
        - CONFIG_LIB_UUID for compile lib/uuid.c
        - CONFIG_RANDOM_UUID for functions gen_rand_uuid() and gen_rand_uuid_str()
      - add configs dependency to include/config_fallbacks.h for lib uuid.
      
      lib/uuid.c:
      - add gen_rand_uuid() - this function writes 16 bytes len binary representation
        of UUID v4 to the memory at given address.
      
      - add gen_rand_uuid_str() - this function writes 37 bytes len hexadecimal
        ASCII string representation of UUID v4 to the memory at given address.
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      [trini: Add CONFIG_EFI_PARTITION to fallbacks]
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      4e4815fe
    • Przemyslaw Marczak's avatar
      lib: uuid: code refactor for proper maintain between uuid bin and string · d718ded0
      Przemyslaw Marczak authored
      
      Changes in lib/uuid.c to:
      - uuid_str_to_bin()
      - uuid_bin_to_str()
      
      New parameter is added to specify input/output string format in listed functions
      This change allows easy recognize which UUID type is or should be stored in given
      string array. Binary data of UUID and GUID is always stored in big endian, only
      string representations are different as follows.
      
      String byte: 0                                  36
      String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
      string UUID:    be     be   be   be       be
      string GUID:    le     le   le   be       be
      
      This patch also updates functions calls and declarations in a whole code.
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: trini@ti.com
      d718ded0
    • Przemyslaw Marczak's avatar
      part_efi: move uuid<->string conversion functions into lib/uuid.c · a96a0e61
      Przemyslaw Marczak authored
      
      This commit introduces cleanup for uuid library.
      Changes:
      - move uuid<->string conversion functions into lib/uuid.c so they can be
        used by code outside part_efi.c.
      - rename uuid_string() to uuid_bin_to_str() for consistency with existing
        uuid_str_to_bin()
      - add an error return code to uuid_str_to_bin()
      - update existing code to the new library functions.
      
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: trini@ti.com
      a96a0e61
    • Roger Quadros's avatar
      ahci: Fix data abort on multiple scsi resets. · 3f629711
      Roger Quadros authored
      
      Commit 2faf5fb8 introduced a regression that causes a data
      abort when running scsi init followed by scsi reset.
      
      There are 2 problems with the original commit
      1) ALLOC_CACHE_ALIGN_BUFFER() allocates memory on the stack but is
      assigned to ataid[port] and used by other functions.
      2) The function ata_scsiop_inquiry() tries to free memory which was
      never allocated on the heap.
      
      Fix these problems by using tmpid as a temporary cache aligned buffer.
      Allocate memory separately for ataid[port] and re-use it if required.
      
      Fixes: 2faf5fb8 (ahci: Fix cache align error messages)
      
      Reported-by: default avatarEli Nidam <elini@marvell.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      3f629711
Loading