11 Nov, 2019

1 commit


11 Feb, 2019

1 commit


20 Dec, 2018

1 commit


12 Nov, 2018

1 commit

  • Enable HAB for imx8m Android Things platform, this will enable
    HAB verify for bootloader.img(atf+tee+u-boot) at spl stage.
    Disable the HAB verify for bootimg because we will use AVB to
    verify it.

    Test: Build and boot ok on AIY.

    Change-Id: Ia6ee456c7c5fa71afc3740689adf898f411c6c4e
    Signed-off-by: Ji Luo

    Ji Luo
     

20 Aug, 2018

1 commit

  • When SECURE_BOOT enabled, use HAB verify
    Trusty OS image or check its IVT available.

    If not available, bootloader consider the TOS
    lost unexpected and wipe all data on disk.
    Then enter limited fastboot mode. In this situation
    only bootloader and tos is able to flash, gpt won't
    be available for external.

    Change-Id: I04f037f5bd5a51f53174b5b99b2c3053182a8fcf
    Signed-off-by: Haoran.Wang

    Yu Shan
     

15 Aug, 2018

1 commit


17 Jul, 2018

1 commit


15 Jun, 2018

1 commit

  • Fix build warning below:

    cmd/fastboot.c: In function ‘do_fastboot’:
    cmd/fastboot.c:19:8: warning: variable ‘usb_controller’ set but not used [-Wunused-but-set-variable]
    char *usb_controller;

    Signed-off-by: Ye Li
    (cherry picked from commit ea5057f74288407dfce2de3a7130f607e7006344)

    Ye Li
     

13 Jun, 2018

3 commits


23 May, 2018

2 commits


27 Apr, 2018

6 commits


05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

28 Feb, 2018

2 commits


27 Feb, 2018

1 commit


24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

22 Feb, 2018

4 commits

  • When FASTBOOT is activated, only one the supported device is supported in
    code at the same time
    - CONFIG_FASTBOOT_FLASH_MMC_DEV
    - CONFIG_FASTBOOT_FLASH_NAND_DEV

    But Today the choice is not exclusive in Kconfig
    and that cause Kconfig issue when :
    - CONFIG_FASTBOOT, CONFIG_MMC, CONFIG_NAND are activated
    - CONFIG_FASTBOOT_FLASH_MMC_DEV = 0
    - CONFIG_FASTBOOT_FLASH_NAND_DEV is not activated

    The patch add a choice in Kconfig to select the FLASH provider
    - CONFIG_FASTBOOT_FLASH_MMC
    - CONFIG_FASTBOOT_FLASH_NAND

    Signed-off-by: Patrick Delaunay
    Acked-by: Maxime Ripard

    Patrick Delaunay
     
  • Do the following to make the symbol names less confusing.

    sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
    `git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`

    Signed-off-by: Marek Vasut
    Cc: Lukasz Majewski

    Marek Vasut
     
  • Clean up the screaming mess of configuration options that DFU is.
    It was impossible to configure DFU such that TFTP is enabled and
    USB is not, this patch fixes that and assures that DFU TFTP and
    DFU USB can be enabled separatelly and that the correct pieces
    of code are compiled in.

    Signed-off-by: Marek Vasut
    Cc: Lukasz Majewski

    Marek Vasut
     
  • Cosmetic change.

    Signed-off-by: Andre Heider
    Reviewed-by: Lukasz Majewski
    Acked-by: Stefan Agner

    Andre Heider
     

19 Feb, 2018

1 commit

  • To debug device tree issues involving 32- and 64-bit platforms, it is useful to
    have a generic 64-bit platform available.

    Add a version of the sandbox that uses 64-bit integers for its physical
    addresses as well as a modified device tree.

    Signed-off-by: Mario Six
    Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig
    Signed-off-by: Simon Glass

    Mario Six
     

15 Feb, 2018

1 commit


14 Feb, 2018

2 commits


10 Feb, 2018

1 commit


09 Feb, 2018

2 commits

  • config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
    based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
    Kconfig allows us to drastically shrink the logic in
    config_fallbacks.h

    Signed-off-by: Adam Ford
    [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
    Signed-off-by: Tom Rini

    Adam Ford
     
  • config_fallback.h has some logic that checks a variety of options
    and selects LIB_UUID if it hasn't already been selected. This
    will all LIB_UUID in Kconfig and select this option for the list
    of options to allow us to remove the logic from fallbacks

    Signed-off-by: Adam Ford

    Adam Ford
     

08 Feb, 2018

1 commit

  • Follow bootz's pattern by moving the booti_setup to arch/arm/lib.
    This allows to use booti_setup in other paths, e.g booting
    an Android image containing Image format.

    Note that kernel relocation is move out of booti_setup and it is the
    caller's responsibility to do it and allows them do it differently. say,
    cmd/booti.c just do a manually, while in the bootm path, we can use
    bootm_load_os(with some changes).

    Signed-off-by: Bin Chen
    Reviewed-by: Tom Rini

    Bin Chen
     

06 Feb, 2018

1 commit

  • cmd/Makefile has:

    ifdef CONFIG_FPGA
    obj-$(CONFIG_CMD_FPGA) += fpga.o
    endif

    which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
    does nothing. Let's remove that Makefile conditional and instead express
    this equivalent dependency in Kconfig, so a lot of redundant

    # CONFIG_CMD_FPGA is not set

    can be removed from board defconfigs that don't actually have an FPGA.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

04 Feb, 2018

2 commits


02 Feb, 2018

1 commit