11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

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
     

25 Oct, 2017

1 commit

  • The Allwinner SPI flash SPL boot support is guarded by the SPL_SPI_SUNXI
    symbol. But despite its generic name, the actual only use case for this
    is to provide SPI flash support to the SPL, which requires
    CONFIG_SPL_SPI_FLASH_SUPPORT to be defined.
    Select this symbol from the SPL_SPI_SUNXI Kconfig definition. This
    avoids doing this explicitly in the defconfig, and fixes SPI booting on
    the Pine64 SoPine (and -LTS version) and the OrangePi Win board (both with
    SPI flash).

    Signed-off-by: Andre Przywara
    Signed-off-by: Maxime Ripard

    Andre Przywara
     

11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

02 Sep, 2017

1 commit

  • This syncs all of the currently Kconfig'd symbols out of the headers and
    into the defconfig files. This has two exceptions, first am335x_evm
    needs to be converted to DM in SPL and then it can stop undef'ing
    CONFIG_DM_USB. Leaving this as-is results in a build failure, and
    without work, run time failure. The other case is am43xx_evm.h and in
    turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
    host mode in SPL, but still desire to have gadget mode in U-Boot proper.

    Signed-off-by: Tom Rini

    Tom Rini
     

11 Aug, 2017

1 commit

  • Using `fel-boot-lima-memtester-on-orange-pi-pc 672` on an Orange Pi
    without heatsink results in the following error after a few minutes:
    WRITE FAILURE: 0x00200000 != 0xffdfffff at offset 0x0137f47c (bitflip).

    Also, the constructor repository (github/orangepi-xunlong) seems to
    contain that 624 Mhz clock speed in its u-boot fork. It may be that 672
    Mhz is the advertized overclocked speed.

    According to http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit
    it may be worth decreasing that value with other Orange Pi boards.

    See also e7d6aa0b74b7f4d08ee68da8a586c76c761348e2.

    Signed-off-by: Clément Bœsch
    [Add s-o-b line]
    Signed-off-by: Jagan Teki
    Reviewed-by: Jagan Teki

    Clément Bœsch
     

19 Jun, 2017

1 commit


28 Apr, 2017

1 commit


14 Mar, 2017

1 commit


16 Jan, 2017

2 commits

  • Newer OrangePi Zero boards all come with 16 Mib SPI flash soldered, from
    which the board can actually boot from.
    Enable the SPL support for the SPI controller and SPI flash to allow
    putting the SPL, the DT and U-Boot proper into there. This will let
    a board boot without an SD card inserted.
    The flash chip can be written with a version of the sunxi-fel tool.

    Signed-off-by: Andre Przywara
    Tested-by: Priit Laes
    Acked-by: Maxime Ripard
    Reviewed-by: Jagan Teki

    Andre Przywara
     
  • Orange Pi Zero is a board designed by Xunlong. It has an Allwinner H2+
    SoC (similar to H3, which shares the same SoC ID), 256MB/512MB RAM,
    Allwinner XR819 SDIO Wi-Fi, a MicroUSB port which is used to power the
    board (also capable of OTG), a USB Type-A socket and a MicroSD slot.

    Signed-off-by: Icenowy Zheng
    Reviewed-by: Jagan Teki

    Icenowy Zheng