27 Dec, 2019

2 commits


05 Dec, 2019

1 commit


17 Nov, 2019

1 commit


11 Sep, 2019

1 commit


26 Aug, 2019

1 commit


23 Aug, 2019

1 commit


05 Aug, 2019

1 commit


20 Jul, 2019

1 commit


26 Jun, 2019

4 commits

  • Add u-boot.itb BUILD_TARGET for Rockchip platform when SPL_LOAD_FIT
    is being used.

    This can get rid of building itb explicitly with 'make u-boot.itb'
    so, from now all required images will build just by make.

    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     
  • Right now puma rk3399 board need to copy bl31-rk3399.bin and
    rk3399m0.bin into u-boot source directory to make use of building
    u-boot.itb.

    So, add environment variable
    - BL31 for bl31.bin (instead of bl31-rk3399.bin to compatible with other
    platform BL31 env)
    - PMUM0 for rk3399m0.bin

    If the builds are not exporting BL31, PMUM0 env, the fit_spl_atf.sh will
    notify with warning about which document to refer for more information
    like this:

    WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
    Please read Building section in doc/README.rockchip
    WARNING: PMUM0 file rk3399m0.bin NOT found, resulting binary is non-functional
    Please read Building section in doc/README.rockchip

    Signed-off-by: Jagan Teki
    Reviewed-by: Kever Yang

    Jagan Teki
     
  • Right now rockchip platform need to copy bl31.elf into u-boot
    source directory to make use of building u-boot.itb.

    So, add environment variable BL31 like Allwinner SoC so-that the
    bl31.elf would available via BL31.

    If the builds are not exporting BL31 env, the make_fit_atf.py
    explicitly create dummy bl31.elf in u-boot root directory to
    satisfy travis builds and it will show the warning on console as

    WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
    WARNING: Please read Building section in doc/README.rockchip

    Note, that the dummy bl31 files were created during not exporting
    BL31 case would be removed via clean target in Makefile.

    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Add build notes for Pine64 Rock64 board.

    Signed-off-by: Matwey V. Kornilov
    Reviewed-by: Kever Yang

    Matwey V. Kornilov
     

30 May, 2019

1 commit


09 May, 2019

1 commit

  • Since rockchip have an individual doc/README.rockchip, it would
    be better to update the same instead of maintaining it separately
    in board files.

    So, add the documentation for rk3399
    - procedure to build for Rockchip miniloader and
    U-Boot SPL options
    - procedure to boot from SD for Rockchip miniloader and
    U-Boot SPL options
    - procedure to build ATF, PMU M0 firmware for puma boards
    - add boot logs of each option, so-that it would help for future
    boards porting

    Signed-off-by: Jagan Teki
    Reviewed-by: Philipp Tomsich
    Reviewed-by: Kever Yang

    Jagan Teki
     

01 Feb, 2019

4 commits

  • Bob is a 10-inch chromebook produced by Asus. It has two USB 3.0 type-C
    ports, 4GB of SDRAM, WiFi and a 1280x800 display. It uses its USB ports
    for both power and external display. It includes a Chrome OS EC
    (Cortex-M3) to provide access to the keyboard and battery functions.

    Support so far includes only:
    - UART
    - SDRAM
    - MMC, SD card
    - Cros EC (but not keyboard)

    Not included:
    - Keyboard
    - Display
    - Sound
    - USB
    - TPM

    Bob is quite similar to Kevin, the Samsung Chromebook Plus, but support
    for this is not provided in this series.

    Signed-off-by: Simon Glass
    Reviewed-by: Philipp Tomsich

    Simon Glass
     
  • We use every second block when creating a SPI image, so update the text to
    say this explicitly.

    Signed-off-by: Simon Glass
    Reviewed-by: Kever Yang
    Reviewed-by: Philipp Tomsich

    Simon Glass
     
  • Quite a wide range of Rockchip SoCs are supported in mainline U-Boot now,
    so drop the comment about needing to add more.

    Signed-off-by: Simon Glass
    Reviewed-by: Kever Yang
    Reviewed-by: Philipp Tomsich

    Simon Glass
     
  • At present some Rockchip SoCs and boards are not mentioned in the README.
    So that people can see which SoCs are supported, expand the list to
    include everything.

    Signed-off-by: Simon Glass
    Reviewed-by: Kever Yang
    Reviewed-by: Philipp Tomsich

    Simon Glass
     

21 Jul, 2018

1 commit


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
     

22 Nov, 2017

1 commit

  • For the RK3188, the BROM will attempt to load up the first stage
    image (SPL for the RK3188) in two steps: first 1KB to offset 0x800
    in the SRAM and then the remainder to offset 0xc00 in the SRAM.
    It always enters at 0x804, though.

    With this changeset, the RK3188 boot removes the TPL (stub) stage and
    builds a single SPL binary that utilizes the early back-to-bootrom via
    the boot0-hook.

    Consequently, the passing of the saved boot params via pmu->os_reg[2]
    is also removed.

    Signed-off-by: Philipp Tomsich

    Philipp Tomsich
     

10 Nov, 2017

2 commits


07 Nov, 2017

1 commit


01 Oct, 2017

1 commit

  • Since the size of SPL can't be exceeded 0x8000 bytes in RK3288,
    it is not possible add new SPL features like Falcon mode or etc.

    So add TPL stage so-that adding new features to SPL is possible.
    - TPL: DRAM init, clocks
    - SPL: MMC, falcon, etc

    Signed-off-by: Jagan Teki
    Reviewed-by: Philipp Tomsich
    Acked-by: Philipp Tomsich

    Jagan Teki
     

13 Aug, 2017

1 commit

  • The back-to-bootrom option is rather unfortunately named
    CONFIG_ROCKCHIP_SPL_BACK_TO_BOOTROM
    instead of
    CONFIG_SPL_ROCKCHIP_BACK_TO_BOOTROM

    To make is selectable through CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BOOTROM),
    we need to rename it. At the same time, we introduce a TPL_ variant of
    the option to give us finer-grained control over when it should be used.

    This change is motivated by our RK3368 boot process, which returns to
    the boot ROM only from the TPL stage, but not from the SPL stage.

    Signed-off-by: Philipp Tomsich
    [added fix-up for evb-rk3229_defconfig and phycore-rk3288_defconfig:]
    [fixed inverted CONFIG_IS_ENABLED test for rk3288:]
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    include/configs/rock.h: undef

    Philipp Tomsich
     

11 Jul, 2017

1 commit


05 Apr, 2017

3 commits


10 Feb, 2017

1 commit


12 Jan, 2017

1 commit


31 Oct, 2016

1 commit


06 Aug, 2016

1 commit


31 Jul, 2016

2 commits


26 Jul, 2016

3 commits

  • Introduce how to use fastboot feature on rk3288.

    Signed-off-by: Ziyuan Xu
    Acked-by: Simon Glass

    Xu Ziyuan
     
  • evb-3288 board RK3288-based development board with 2 USB ports, HDMI,
    VGA, micro-SD card, audio, WiFi and Gigabit Ethernet. It also includes
    on-board 8G eMMC and 2GB of SDRAM. Expansion connector provide access to
    display pins, I2C, SPI, UART and GPIOs. This add some basic files
    required to allow the board to output serial messaged and can run
    command(mmc info etc).

    evb-rk3288 also supports booting from eMMC or SD card, the default is eMMC.

    Signed-off-by: Ziyuan Xu
    Reviewed-by: Simon Glass

    Xu Ziyuan
     
  • If we would like to boot from SD card, we have to implement mmc driver
    in SPL stage, and get a slightly large SPL binary. Rockchip SoC's
    bootrom code has the ability to load spl and u-boot, then boot.

    If CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is enabled, the spl will return to
    bootrom in board_init_f(), then bootrom loads u-boot binary.

    Loading sequence after rework:
    bootrom ==> spl ==> bootrom ==> u-boot

    Signed-off-by: Ziyuan Xu
    Acked-by: Simon Glass
    Fixed up spelling of U-Boot, boorom, opinion->option, Rochchip:
    Signed-off-by: Simon Glass

    Xu Ziyuan