01 Apr, 2020

3 commits


26 Mar, 2020

1 commit


26 Feb, 2020

3 commits


14 Feb, 2020

1 commit

  • Two header fields are not properly converted to little endian
    before assignment, resulting in incorrect header while executing
    mkimage on big endian hosts.

    Convert the value of the header fields image_checksum and
    edcsa_algorithm to little endian before the assignment.

    Signed-off-by: Antonio Borneo
    Reviewed-by: Patrick DELAUNAY
    Signed-off-by: Patrick Delaunay

    Antonio Borneo
     

11 Feb, 2020

1 commit


09 Feb, 2020

1 commit


06 Feb, 2020

1 commit


31 Jan, 2020

2 commits


26 Jan, 2020

1 commit


25 Jan, 2020

1 commit

  • Use realloc and update the loop executed in do_fdtgrep to find all
    the regions: only test count > max_region after the second pass.

    This patch solve an issue if the number of region found (count)
    is greater then the default value (max_region = count = 100):
    the second pass is never executed, because the loop stops after
    the first pass (i = 0, count > 100, max_regions = 100)
    with error -1 and the error message
    "Internal error with fdtgrep_find_region".

    I also update the error message.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     

17 Jan, 2020

2 commits

  • This commit add to u-boot the support to decrypt
    fit image encrypted with aes. The FIT image contains
    the key name and the IV name. Then u-boot look for
    the key and IV in his device tree and decrypt images
    before moving to the next stage.

    Signed-off-by: Philippe Reynes

    Philippe Reynes
     
  • This commit add the support of encrypting image with aes
    in mkimage. To enable the ciphering, a node cipher with
    a reference to a key and IV (Initialization Vector) must
    be added to the its file. Then mkimage add the encrypted
    image to the FIT and add the key and IV to the u-boot
    device tree.

    Signed-off-by: Philippe Reynes

    Philippe Reynes
     

11 Jan, 2020

1 commit


09 Jan, 2020

1 commit


08 Jan, 2020

4 commits


07 Jan, 2020

3 commits

  • New for 2020.04
    ---------------

    - New boards
    Embedded Artists COM board
    Xea Board
    - Switch to DM:
    Aristainetos boards
    Toradex colibri (DM_ETH)
    iCubox
    GE bx50v3
    mx7dsabre (DM_ETH)
    cx9020
    - New features:
    Bootaux with elf files
    Default SYS_THUMB_BUILD for i.MX6/7
    - Fixes:
    DHCOM i.MX6 PDK
    Engicam
    i.MX8M tools (imx8m_image)

    Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/633679664

    Tom Rini
     
  • The DDR firmware binaries are not part of the U-Boot source code, so
    we should look for them in the build directory, where they need to be
    copied to before building U-Boot.

    The ATF binary is already fetched from the build directory, but the
    README files for the i.MX8M EVKs claim that it needs to be copied to
    the source directory (which is still true for in-tree builds, but not
    in general). Therefore we also fix the READMEs to use the build
    directory as the correct location for all additional binary files.

    Sined-off-by: Frieder Schrempf

    Frieder Schrempf
     
  • Bring in the following merges:

    commit 8fbbec12f7d2c18f8883f3371cfca74a98b5dd87
    Merge: 87f69f467a83 63618e71e89b
    Author: Tom Rini
    Date: Fri Jan 3 09:48:47 2020 -0500

    Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq into next

    - updates and fixes on ls1028a, lx2, ls1046a, MC-DPSPARSER support

    commit 87f69f467a8335b171c71bf217d2625d515acd7c
    Merge: c0912f9bbfb2 4466b9970319
    Author: Tom Rini
    Date: Tue Dec 24 08:18:19 2019 -0500

    Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx into next

    - Enable DM driver on ppc/km boards
    - Enable DM_USB for some of NXP powerpc platforms: P5040, T4240, T208x,
    T104x, P4080, P2041, P2020, P1020, P3041
    - Some updates in mpc85xx-ddr driver, km boards

    commit c0912f9bbfb26dd03d189953678691b799d35b6e
    Merge: 533c9f5714bd a1d6dc3f8407
    Author: Tom Rini
    Date: Wed Dec 18 07:20:19 2019 -0500

    Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-x86 into next

    - Various x86 common codes updated for TPL/SPL
    - I2C designware driver updated for PCI
    - ICH SPI driver updated to support Apollo Lake
    - Add Intel FSP2 base support
    - Intel Apollo Lake platform specific drivers support
    - Add a new board Google Chromebook Coral

    commit 533c9f5714bdba79dc6f2629284d4c1a08a611d1
    Merge: 553cb0688782 033e18b47bd0
    Author: Tom Rini
    Date: Tue Dec 17 07:53:08 2019 -0500

    Merge tag '20191217-for-next' of https://gitlab.denx.de/u-boot/custodians/u-boot-i2c into next

    i2c: for next
    - misc: i2c_eeprom:
    Add partition support and add ability to query size
    of eeprom device and partitions
    - i2c common:
    add support for offset overflow in to address and add
    sandbox tests for it.

    commit 553cb06887825314e74a9bdac337467c77d1db88
    Merge: f39abbbc531e b4f98b3b16ec
    Author: Tom Rini
    Date: Thu Dec 12 08:18:59 2019 -0500

    Merge tag 'dm-next-13dec19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next

    buildman improvements including toolchain environment feature
    sandbox unicode support in serial

    Tom Rini
     

02 Jan, 2020

2 commits


27 Dec, 2019

3 commits

  • IMX based platforms can have the DCD table located on different
    addresses due to differences in their memory maps (ie iMX7ULP).

    This information is required by the user to sign the images for secure
    boot so continue making it accessible via mkimage.

    Signed-off-by: Jorge Ramirez-Ortiz
    Reviewed-by: Fabio Estevam
    Signed-off-by: Stefano Babic

    Jorge Ramirez-Ortiz
     
  • The rc4 encoding should cover spl header as well, and the file_size
    contains spl header too.

    Signed-off-by: Jeffy Chen
    Reviewed-by: Kever Yang

    Jeffy Chen
     
  • Support packing optional second level boot-loader:

    $ ./tools/mkimage -n rk3399 -T rksd -d \
    rk3399_ddr_800MHz_v1.24.bin:rk3399_miniloader_v1.19.bin out -v
    Adding Image rk3399_ddr_800MHz_v1.24.bin
    Size 116492(pad to 116736)
    Adding Image rk3399_miniloader_v1.19.bin
    Size 88060(pad to 88064)
    Image Type: Rockchip RK33 (SD/MMC) boot image
    Init Data Size: 116736 bytes
    Boot Data Size: 88064 bytes

    Mainly parse init file and boot file from datafile option, copy them to
    the image with 2KB alignment.

    Signed-off-by: Jeffy Chen
    Reviewed-by: Kever Yang

    Jeffy Chen
     

21 Dec, 2019

1 commit

  • In the case where one deletes an already-non-existing variable, or sets
    a variable to the value it already has, there is no point in writing the
    environment back, thus reducing wear on the underlying storage
    device.

    In the case of redundant environments, if the two environments
    differ (e.g. because one is corrupt), make sure that any call of
    fw_setenv causes the two to become synchronized, even if the fw_setenv
    call does not change anything in the good copy.

    Signed-off-by: Rasmus Villemoes
    Acked-by: Joe Hershberger

    Rasmus Villemoes
     

11 Dec, 2019

5 commits


10 Dec, 2019

1 commit

  • The parser responsible for the '[make-flags]' section in
    the '.buildman' settings file is currently not able to
    handle quoted strings, as given in the sample bellow:

    [make-flags]
    qemu_arm=HOSTCC="cc -isystem /add/include" HOSTLDFLAGS="-L/add/lib"

    This patch replaces the simple string splitter based on the
    delimiter with a regex tokenizer that preserves spaces inside double
    quoted strings.

    Signed-off-by: Cristian Ciocaltea

    Cristian Ciocaltea
     

07 Dec, 2019

1 commit

  • Imported from linux kernel v5.3:
    asn1.h without changes
    asn1_ber_bytecode.h without changes
    asn1_decoder.h without changes
    asn1_compiler.c without changes

    This host command will be used to create a ASN1 parser, for example,
    for pkcs7 messages or x509 certificates. More specifically, it will
    generate *byte code* which will be interpreted by asn1 decoder library.

    Signed-off-by: AKASHI Takahiro
    Reviewed-by: Heinrich Schuchardt

    AKASHI Takahiro
     

03 Dec, 2019

1 commit