09 Feb, 2020

1 commit

  • Both CMD_MX_CYCLIC and MX_CYCLIC are in use and defined in Kconfig,
    but only the non-CMD version currently does anything. This changes all
    usages to prefer the CMD_MX_CYCLIC option (since it's only affecting
    addition of the commands), and switches defconfigs using the non-CMD
    version to use the CMD version.

    Signed-off-by: Joel Johnson
    Reviewed-by: Tom Rini

    Joel Johnson
     

23 Jan, 2020

1 commit


05 Dec, 2019

4 commits


04 Dec, 2019

2 commits


21 Nov, 2019

2 commits

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

08 Nov, 2019

1 commit


23 Sep, 2019

1 commit


26 Aug, 2019

3 commits

  • The NAND configuration has had the ethernet missing, so this patch
    enables the on-board ethernet interface.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • This converts the following to Kconfig:
    CONFIG_SYS_SPI_U_BOOT_OFFS

    Signed-off-by: Hannes Schmelzer
    [trini: Expose this for SPL_SPI_SUNXI for now]
    Signed-off-by: Tom Rini

    Hannes Schmelzer
     
  • Convert CONFIG_SYS_NAND_USE_FLASH_BBT to Kconfig, update defconfigs,
    headers and whitelist.

    Please note that this symbol already was used in Kconfig
    (imply in CONFIG_NAND_ATMEL) which did not work, since this symbol was
    not available in Kconfig. This changes now with this patch and all
    boards with CONFIG_NAND_ATMEL will have BBT enabled. Which is what
    I also need on my GARDENA AT91SAM based board.

    Signed-off-by: Stefan Roese
    Cc: Eugen Hristev
    Cc: Miquel Raynal
    Cc: Gregory CLEMENT
    [trini: Rework such that the configs are unchanged to start with]
    Signed-off-by: Tom Rini

    Stefan Roese
     

24 Aug, 2019

1 commit


14 Aug, 2019

1 commit


08 Aug, 2019

1 commit


30 Jul, 2019

1 commit

  • Enable the driver-model on da850-evm. We need to add a dummy nand node
    to the device tree, as the real nand node is a sub-node of the aemif
    device.

    On linux the aemif driver populates all its child nodes, but we can't do
    it in u-boot currently.

    Signed-off-by: Bartosz Golaszewski
    Tested-by: Adam Ford #da850-evm

    Bartosz Golaszewski
     

28 Jul, 2019

1 commit


26 Jul, 2019

1 commit


06 Jun, 2019

1 commit

  • U-Boot README recommends initializing SDRAM in board_init_f(). DA850
    was doing it as part of board_init_r() (through call to spl_board_init()
    which calls arch_cpu_init() which calls da850_ddr_setup())

    This worked fine till commit 15b8c7505819 ("davinci:
    da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full") moved
    BSS to SDRAM.

    Functions like mmc_initialize() called in board_init_r() assume BSS is
    available. Since SDRAM was not initialized when arch/arm/lib/crt0.S tried
    to initialize BSS to 0, BSS is not initialized correctly.

    Fix this by simply calling arch_cpu_init() from board_init_f(). Also move
    preloader_console_init() there to help debug issues with board_init_r().

    With this spl_board_init() is no longer needed, we remove it.

    Tested using MMC/SD boot on OMAP-L138 LCDK board.

    Tested-by: Adam Ford #da850evm
    Signed-off-by: Sekhar Nori
    Tested-by: Peter Howard #omapl138_lcdk

    Sekhar Nori
     

30 Apr, 2019

1 commit


12 Apr, 2019

1 commit


19 Feb, 2019

1 commit

  • The SPI NOR frameware was recently updated, but they require a little
    more memory that we had previosly allocated, so it stopped booting.
    This patch doubles the size of CONFIG_SPL_SYS_MALLOC_F_LEN to 0x800.

    Fixes: c4e8862308d4 ("mtd: spi: Switch to new SPI NOR framework")

    Signed-off-by: Adam Ford

    Adam Ford
     

08 Jan, 2019

1 commit


14 Nov, 2018

2 commits


13 Oct, 2018

1 commit


29 Sep, 2018

2 commits


12 Sep, 2018

1 commit

  • The DA850-EVM supports booting from NAND when used with the
    UI expander board. da850evm_nand will create an ais file
    that can be burned to NAND and booted while storing the env in
    NAND along with some partitions tables for storing kernel,
    dtb and rootfs in NAND.

    Signed-off-by: Adam Ford

    Adam Ford