30 Nov, 2018

1 commit


29 Nov, 2018

2 commits


27 Nov, 2018

3 commits


26 Nov, 2018

12 commits

  • Now we have moved all the Amlogic board support to common generic board code,
    we can move the identical board_init() and ft_board_setup() functions to
    weak functions into the board-common mach-meson file.

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Jerome Brunet
     
  • The S400 board is the Amlogic AXG SoC reference board including :
    - Amlogic A113DX ARM Cortex-A53 quad-core SoC @ 1.2GHz
    - 1GB DDR4 SDRAM
    - 10/100 Ethernet
    - 2 x USB 2.0 Host
    - eMMC
    - Infrared receiver
    - SDIO WiFi Module
    - MIPI DSI Connector
    - Audio HAT Connector
    - PCI-E M.2 Connectors

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Neil Armstrong
     
  • We are about to add support for the Amlogic AXG SoC. While very close to
    the Gx SoC family, we will need to handle a few thing which are different
    in this SoC. Rework the meson arch directory to prepare for this.

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Jerome Brunet
     
  • Rework the board SYS_BOARD, SYS_VENDOR and SYS_CONFIG_NAME setup by moving
    the board Kconfig into the mach-meson Kconfig to make it easier to add
    new boards for a SoC architecture and add a custom config header or custom
    board handler for a platform.

    This drops the board CONFIGs and the duplicate boards configs headers in
    favor of a single meson64.h config header.

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Jerome Brunet
     
  • The nanopi-k2 and the odroid-c2 are similar enough to be supported
    by the same u-boot board. This change use odroid-c2 u-boot board
    for the nanopi-k2 as well. Dedicated defconfig are kept to customize
    the names and device tree.

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Jerome Brunet
     
  • The Khadas vim2 derive from amlogic s912 reference design (Q200).

    This patch moves the khadas-vim2 board support to a generic Q200 board,
    while keeping a dedicated defconfig to customize the names and device tree.

    Signed-off-by: Neil Armstrong

    Neil Armstrong
     
  • The Khadas vim and the libretech aml-s905x-cc (aka Potato) derive
    from amlogic s905x reference design (P212).

    All the code in these board is a copy/paste from the p212, which is
    tedious to maintain. This change use p212 u-boot board for all these
    boards, while keeping a dedicated defconfig to customize the names
    and device tree.

    Signed-off-by: Jerome Brunet
    Signed-off-by: Neil Armstrong

    Jerome Brunet
     
  • We have a few things in the memory map now, so add documentation for this
    to avoid confusion. Also note that it is possible to run all tests now.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • QEMU specifies the location of Linux (supplied with the -kernel
    argument) in the device tree using the riscv,kernel-start and
    riscv,kernel-end properties. We currently rely on the SBI implementation
    of BBL to run Linux and therefore embed Linux as payload in BBL. This
    causes an issue, because BBL detects the kernel properties in the device
    tree and ignores the Linux payload as a result.
    Work around this issue by clearing the kernel properties in the device
    tree before booting Linux.

    Signed-off-by: Lukas Auer
    Reviewed-by: Bin Meng

    Lukas Auer
     
  • QEMU embeds the location of the kernel image in the device tree. Store
    this address in the environment as variable kernel_start. It is used in
    the board-local distro boot command QEMU to boot the kernel with the
    U-Boot device tree. The QEMU boot command is added as the first boot
    target device.

    Signed-off-by: Lukas Auer
    Reviewed-by: Bin Meng
    Reviewed-by: Alexander Graf

    Lukas Auer
     
  • QEMU provides a device tree, which is passed to U-Boot using register
    a1. We are now able to directly select the device tree with the
    configuration CONFIG_OF_PRIOR_STAGE. Replace the hard-coded address in
    qemu-riscv with it.

    Signed-off-by: Lukas Auer
    Reviewed-by: Bin Meng
    Reviewed-by: Rick Chen

    Lukas Auer
     
  • This is now deprecated and no board is using it. Drop it.

    Signed-off-by: Bin Meng
    Signed-off-by: Lukas Auer

    Bin Meng
     

21 Nov, 2018

4 commits


18 Nov, 2018

3 commits


17 Nov, 2018

5 commits


16 Nov, 2018

1 commit


15 Nov, 2018

7 commits


14 Nov, 2018

2 commits

  • OrangePi Lite2 is Allwinner H6 based open-source SBC,
    which support:
    - Allwinner H6 Quad-core 64-bit ARM Cortex-A53
    - GPU Mali-T720
    - 1GB LPDDR3 RAM
    - AXP805 PMIC
    - AP6356S Wifi/BT
    - USB 2.0, USB 3.0 Host, OTG
    - HDMI port
    - 5V/2A DC power supply

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

    Jagan Teki
     
  • Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has
    two groups of pinmuxes on PL bank, so it's called R_I2C.

    Add support for this I2C controller and the pinmux which doesn't conflict
    with RSB.

    Signed-off-by: Vasily Khoruzhick
    Acked-by: Maxime Ripard
    Tested-by: Maxime Ripard
    Cc: Vagrant Cascadian
    Acked-by: Jagan Teki

    Vasily Khoruzhick