14 May, 2019

1 commit


14 Nov, 2015

1 commit


20 May, 2014

1 commit


23 Apr, 2014

1 commit


15 Apr, 2014

1 commit


14 Apr, 2014

2 commits

  • Add CONFIG_SYS_GENERIC_BOARD to use common/board_[fr].c for kzm9g.

    Signed-off-by: Tetsuyuki Kobayashi
    Acked-by: Heiko Schocher
    Signed-off-by: Nobuhiro Iwamatsu

    Tetsuyuki Kobayashi
     
  • This is regression of commit 2035d77d i2c: sh_i2c: Update to new CONFIG_SYS_I2C framework

    Before commit 2035d77d, i2c probe command works properly on kzm9g board.

    KZM-A9-GT# i2c probe
    Valid chip addresses: 0C 12 1D 32 39 3D 40 60

    After commit 2035d77d, i2c probe command does not work.

    KZM-A9-GT# i2c probe
    Valid chip addresses: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

    sh_i2c_probe() calls sh_i2c_read(), but read length is 0. So acutally it does not read device at all. This patch prepares dummy buffer and read data into it.

    Signed-off-by: Tetsuyuki Kobayashi
    Acked-by: Heiko Schocher
    Signed-off-by: Nobuhiro Iwamatsu

    Tetsuyuki Kobayashi
     

11 Apr, 2014

5 commits

  • Commit d016dc42cedbf6102e100fa9ecb58462edfb14f8 changed the layout of BCH8 SW
    on omap3 boards. We need to adopt the ecc layout for the nand_spl_simle
    driver to avoid wrong ecc errors.

    Signed-off-by: Andreas Bießmann
    Cc: Thomas Weber

    Signed-off-by: Andreas Bießmann

    Andreas Bießmann
     
  • Signed-off-by: Andreas Bießmann
    Cc: Thomas Weber
    Signed-off-by: Andreas Bießmann

    Andreas Bießmann
     
  • Commit 890880583d84607e36b52a785a96b167728bbf73 introduced EEPROM parsing and
    board detection but faild to return a valid tricorder_eeprom struct for backup
    case. When pressing S200 while reading EEPROM we ignore the value. We
    returned falsely a tricorder_eeprom struct with uninitialized data which is
    just garbage.
    Initialize it by zeroing the whole structure.

    Signed-off-by: Andreas Bießmann
    Cc: Thomas Weber
    Signed-off-by: Andreas Bießmann

    Andreas Bießmann
     
  • During switch to device tree, commit 1ecab0f has removed this code.

    INFORM4 and INFORM5 registers are used by TRATS2 first stage bootloader for
    providing recovery. For normal operation, those two must be cleared out.

    This error emerges when one force reset from u-boot's command line for
    three times.

    Signed-off-by: Lukasz Majewski
    Cc: Minkyu Kang
    Acked-by: Minkyu Kang

    Łukasz Majewski
     
  • In some use cases, SPL linker script was not updated even when
    it should be.

    For instance,

    $ make tricoder_config all
    [ build complete ]
    ... modify include/configs/tricoder.h
    $ make

    spl/u-boot-spl.lds should be updated in this case, but it wasn't.

    To fix this problem, linker scripts generation should be handled
    by $(call if_changed_dep,...) rather than by $(call if_changed,...).

    Signed-off-by: Masahiro Yamada
    Reported-by: Andreas Bießmann
    Tested-by: Andreas Bießmann

    Masahiro Yamada
     

08 Apr, 2014

14 commits


07 Apr, 2014

5 commits


04 Apr, 2014

4 commits

  • 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 36c4b1d98059244c34ec3327d9cc9f3c552fd01b.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • 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: Marek Vasut
    Cc: Stefano Babic

    Marek Vasut
     
  • Conflicts:
    arch/arm/cpu/arm926ejs/mxs/mxsimage.mx23.cfg
    arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • This reverts commit 53e6b14e037c9f72e6d03244c32d8d597e2e0234.

    Patch does not merge anymore with u-boot-arm and must be rebased.

    Signed-off-by: Stefano Babic

    Stefano Babic
     

03 Apr, 2014

5 commits

  • 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: Przemyslaw Marczak
    Cc: Minkyu Kang
    Cc: Piotr Wilczek
    Cc: Stephen Warren
    Cc: Lukasz Majewski
    Cc: trini@ti.com

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Acked-by: Lukasz Majewski
    Cc: Piotr Wilczek
    Cc: Tom Rini
    Cc: Stephen Warren
    Cc: Lukasz Majewski

    Przemyslaw Marczak
     
  • 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 []
    - guid []

    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: Przemyslaw Marczak
    Cc: Stephen Warren
    Cc: Lukasz Majewski
    Cc: trini@ti.com

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Cc: Stephen Warren
    Cc: Lukasz Majewski
    [trini: Add CONFIG_EFI_PARTITION to fallbacks]
    Signed-off-by: Tom Rini

    Przemyslaw Marczak
     
  • 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: Przemyslaw Marczak
    Cc: Stephen Warren
    Cc: Lukasz Majewski
    Cc: trini@ti.com

    Przemyslaw Marczak