13 Feb, 2020

2 commits

  • It's a very rare if at all existing occasion when ARC CPU template
    is used as is w/o any changes - in the end it's a beauty and competitive
    advantage of ARC cores to be tailored for a particular use-case - and
    so it doesn't make a lot of sense to offer template-based "-mcpu" selection.
    Given for each and every platform we end-up adding quite a few more flags
    it's logical to move "-mcpu" selection to platform's definition as well
    which we exactly do here.

    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Alexey Brodkin

    Eugeniy Paltsev
     
  • Given now nsim_hs38 configuration is usable on QEMU and in QEMU
    we have Virtio working perfectly fine the next logical step
    is to add support of supported & known to work net & bkl to this
    config.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

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

1 commit


03 Dec, 2019

4 commits


01 Nov, 2019

2 commits


04 Sep, 2019

2 commits

  • Even though EM SDP is FPGA-based board and different FPGA
    images (known as .bit-files) are awailable for the board still
    there's a common subset of options we may rely on for all configs.

    These are:
    * Normalizer
    * Swap instructions
    * Simple multiplier
    * Barrel-shifter
    * Floating-point unit
    * Shorter instructions (code density)

    This among other improvements allows to compile code with
    64-bit divisions, see [1].

    [1] https://patchwork.ozlabs.org/patch/1156541/

    Signed-off-by: Alexey Brodkin
    Cc: Kever Yang

    Alexey Brodkin
     
  • If the "Page Mode" is not enabled on the device,
    read operations from PSRAM may result in incorrect data.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

12 Aug, 2019

2 commits


18 Apr, 2019

2 commits


28 Mar, 2019

2 commits

  • Signed-off-by: Alexey Brodkin
    Suggested-by: Yunir Salimzyanov

    Alexey Brodkin
     
  • On AXS10x boards we have non-standard NAND controller
    which was never really used a lot as there're other much more
    convenient [as they are standard & removable] persistent media
    like SD-card and USB mass storage.

    Moreover after recent changes we face with some NAND controller
    runtime issues. So instead of keeping support of yet another
    non-standard peripheral we're dropping its support for good.

    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Alexey Brodkin

    Eugeniy Paltsev
     

03 Dec, 2018

4 commits


02 Nov, 2018

2 commits


12 Oct, 2018

5 commits


05 Oct, 2018

1 commit

  • The DesignWare ARC IoT Development Kit is a versatile platform
    that includes the necessary hardware and software to accelerate
    software development and debugging of sensor fusion,
    voice recognition and face detection designs.

    More information is avaialble here [1] and here [2].

    The board is based on real silicon with
    ARC EM9D-based Data Fusion IP Subsystem.

    It sports a rich set of I/O including
    * DW USB OTG
    * DW MobileStorage (used for micro SD-card)
    * GPIO
    * multiple serial interface including DW APB UART
    * ADC, PWM and eFlash, SRAM and SPI Flash memory
    * Real-Time Clock (RTC)
    * Bluetooth module with worldwide regulatory compliance
    (FCC, IC, CE, ETSI, TELEC)
    * On-board 9-axis sensor (gyro, accelerometer and compass)

    Extensible with Arduino, Pmod, mikroBUS connectors and a 2x18
    extension header.

    One of the most interesting features for developers is built-in
    Digilent USB JTAG probe so only micro-USB cable is needed!

    [1] https://www.synopsys.com/dw/ipdir.php?ds=arc_iot_development_kit
    [2] https://www.synopsys.com/dw/doc.php/ds/cc/iot_dev_kit.pdf

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

31 Jul, 2018

3 commits


21 Jun, 2018

1 commit


15 Jun, 2018

2 commits


01 Jun, 2018

1 commit

  • Synopsys DesignWare ARC EM Development Kit (ARC EMDK) is
    an FPGA-based development platform from Synopsys aimed to speed-up
    development of software for ARC EM cores and entire subsystems based on
    ARC EM like Data Fusion, Secure and Sensor & Control subsystems.

    U-Boot is supposed to be used as a primary bootloader on EMDK allowing
    users to easily load and start their application from micro-SD card.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

02 Apr, 2018

1 commit

  • This patch add support of hsdk platform-specific commands:

    hsdk_clock set - set clock from axi_freq, cpu_freq and tun_freq
    environment variables/command line arguments

    hsdk_clock get - save clock frequencies to axi_freq, cpu_freq
    and tun_freq environment variables

    hsdk_clock print - show CPU, AXI, DDR and TUNNEL current
    clock frequencies.

    hsdk_clock print_all - show all currently used clock frequencies.

    hsdk_init - setup board HW in one of pre-defined configuration
    (hsdk_hs34 / hsdk_hs36 / hsdk_hs36_ccm / hsdk_hs38 /
    hsdk_hs38_ccm / hsdk_hs38x2 / hsdk_hs38x3 / hsdk_hs38x4)

    hsdk_go - run baremetal application on hsdk configured
    by hsdk_init command.

    This patch changes default behaviour of 'bootm' command:
    now we are able to set number of CPUs to be kicked by setting
    'core_mask' environment variable before 'bootm' command run.

    Signed-off-by: Eugeniy Paltsev
    Signed-off-by: Alexey Brodkin

    Eugeniy Paltsev
     

23 Mar, 2018

1 commit