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
     

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
     

02 Jun, 2017

1 commit

  • Orangepi Prime is an open-source single-board computer
    using the Allwinner h5 SOC.

    H5 Orangepi Prime has
    - Quad-core Cortex-A53
    - 2GB DDR3
    - Debug TTL UART
    - 1000M/100M Ethernet RJ45
    - Three USB 2.0
    - HDMI
    - Audio and MIC
    - Wifi + BT
    - IR receiver
    - HDMI
    - Wifi + BT

    Boot from MMC:
    -------------
    U-Boot SPL 2017.05-00662-ga3f4c05-dirty (May 25 2017 - 13:30:14)
    DRAM: 2048 MiB
    Trying to boot from MMC1
    NOTICE: BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000)
    NOTICE: Configuring SPC Controller
    NOTICE: BL3-1: v1.0(debug):aa75c8d
    NOTICE: BL3-1: Built : 18:28:27, May 24 2017
    INFO: BL3-1: Initializing runtime services
    INFO: BL3-1: Preparing for EL3 exit to normal world
    INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9

    U-Boot 2017.05-00662-ga3f4c05-dirty (May 25 2017 - 13:30:14 +0000) Allwinner Technology

    CPU: Allwinner H5 (SUN50I)
    Model: OrangePi Prime
    DRAM: 2 GiB
    MMC: SUNXI SD/MMC: 0
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Net: phy interface7
    eth0: ethernet@1c30000
    starting USB...
    USB0: USB EHCI 1.00
    USB1: USB OHCI 1.0
    scanning bus 0 for devices... 1 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found
    Hit any key to stop autoboot: 0

    Signed-off-by: Jagan Teki
    Acked-by: Maxime Ripard

    Jagan Teki