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
     

22 Jan, 2016

3 commits

  • GPIO, I2C, LCD and HDMI are now implemented. We have more than one PMIC.
    There is an implementation to run the CPU at full speed although it does
    not seem to make much difference.

    Update the README to cover recent developments.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This board includes an RK3288 SoC on a SOM. It can be mounted on a
    base-board which provides a wide range of peripherals.

    So far this is verified to boot to a prompt from a microSD card. The serial
    console works as well as HDMI.

    Thanks to Tom Cubie for sending me a board.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This script has proved useful for parsing datasheets and creating register
    shift/mask values for use in header files. Include it in case it is useful
    for others.

    Signed-off-by: Simon Glass

    Simon Glass
     

08 Jan, 2016

1 commit


14 Dec, 2015

1 commit


01 Dec, 2015

1 commit


03 Sep, 2015

5 commits