06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

18 Jan, 2020

3 commits


15 Jan, 2020

1 commit


03 Dec, 2019

1 commit


08 Oct, 2019

13 commits


20 Jul, 2019

1 commit


09 Jul, 2019

1 commit


27 Jun, 2019

1 commit


23 Jun, 2019

1 commit


11 Jun, 2019

6 commits


29 May, 2019

1 commit

  • This board still doesn't select CONFIG_DM and seems to be umaintained.
    As it makes progress on modernizing several DaVinci drivers more
    difficult and the maintainer has not expressed interest in updating
    it, this patch proposes to remove it.

    Signed-off-by: Bartosz Golaszewski
    Acked-by: Stefano Babic

    Bartosz Golaszewski
     

26 Apr, 2019

2 commits

  • This patch enable convert DM MMC for imx7d-pico board and variant.

    Before the DM conversion only usdhc3 was enabled and therefore it appeared
    as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2,
    which left unattended would drive changes to existing pico-pi bootscripts and
    environment variables that rely on mmc 0.

    Setup the alias of mmc0 and usdhc3 so that existing pico-imx7d boot code will
    work unmodified.

    When converting to DM_MMC it is necessary that SPL initializes eMMC
    by itself, so move the original eMMC initialization from U-Boot
    proper to SPL.

    Signed-off-by: Joris Offouga
    Signed-off-by: Fabio Estevam

    Joris Offouga
     
  • This patch is necessary for convert this board to dm driver model

    DM GPIO requires gpio_request() to be called explicitly before
    doing any gpio operation

    Signed-off-by: Joris Offouga

    Joris Offouga
     

01 Apr, 2019

2 commits

  • Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") we started to
    notice some hangs in U-Boot.

    There is not an issue on such commit per se, but due to the LCD support
    the current drawn is increased and this may cause issues when powering
    pico-imx7d-pi from USB.

    Some computers may be a bit strict with USB current draw and will
    shut down their ports if the draw is too high.

    The solution for that is to use an externally powered USB hub between the
    board and the host computer.

    Add such recommendation to the README file.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     
  • After the DM_MMC conversion the following eMMC boot error is observed:

    U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 18:53:28 +0000)
    Trying to boot from MMC1
    MMC Device 0 not found
    spl: could not find mmc device 0. error: -19
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

    This happens because the SPL code does not initialize the SDHC pins
    and clock.

    Fix it by moving the original eMMC initialization from U-Boot proper
    to SPL.

    Reported-by: Otavio Salvador
    Signed-off-by: Fabio Estevam
    Tested-by: Fabio Berton
    Reviewed-by: Otavio Salvador

    Fabio Estevam
     

13 Mar, 2019

4 commits


28 Jan, 2019

1 commit


10 Oct, 2018

1 commit