28 Mar, 2020

10 commits


27 Mar, 2020

2 commits


26 Mar, 2020

8 commits

  • Depending on the SoC, a header of four characters is prepended to the
    image. There is already a macro defining the number of characters:
    RK_SPL_HDR_SIZE, so use it instead of hardcoding "4".

    Signed-off-by: Miquel Raynal
    Reviewed-by: Kever Yang

    Miquel Raynal
     
  • Since commit 79030a486128 ("rockchip: Add Single boot image
    (with binman, pad_cat)") the following boot regression is seen:

    U-Boot 2020.04-rc3-00050-gd16e18ca6c-dirty (Mar 09 2020 - 11:40:07 -0300)

    Model: Elgin RV1108 R1 board
    DRAM: 128 MiB
    initcall sequence 67fd12a0 failed at call 6000b927 (err=-22)

    This happens because the above commit missed to include the
    "rockchip-u-boot.dtsi" for rv1108, so include this file
    like it done for other Rockchip SoC dtsi's.

    Fixes: 79030a486128 ("rockchip: Add Single boot image (with binman, pad_cat)")
    Signed-off-by: Otavio Salvador
    Reviewed-by: Kever Yang

    Otavio Salvador
     
  • Currently the following error message is seen during boot:

    U-Boot 2020.01-08751-g55759ae141 (Mar 09 2020 - 14:44:52 -0300)

    Model: Elgin RV1108 R1 board
    DRAM: 128 MiB
    APLL: 600000000 DPLL:1200000000 GPLL:1188000000
    ACLK_BUS: 148500000 ACLK_PERI:148500000 HCLK_PERI:148500000 PCLK_PERI:74250000
    MMC: dwmmc@30110000: 0
    Loading Environment from MMC... OK
    In: serial@10210000
    Out: serial@10210000
    Err: serial@10210000
    Model: Elgin RV1108 R1 board
    rockchip_dnl_key_pressed: adc_channel_single_shot fail!
    ....

    Since the elgin-rv1108 does not use ADC to read the download
    key status, select CONFIG_ROCKCHIP_BOOT_MODE_REG=0 to avoid
    such error.

    Signed-off-by: Otavio Salvador
    Reviewed-by: Kever Yang

    Otavio Salvador
     
  • Since commit 8e9a8d0d0c8c ("rockchip: elgin-rv1108: use board_early_init_f
    for per-boar init") the function that configure the board GPIOs is no
    longer called since CONFIG_BOARD_EARLY_INIT_F=y is not selected.

    These GPIOs do not need to be configured in such early stagem, so change it
    to rk_board_late_init() and also select CONFIG_BOARD_LATE_INIT=y
    to fix the regression.

    Signed-off-by: Otavio Salvador
    Signed-off-by: Fabio Berton
    Reviewed-by: Kever Yang

    Otavio Salvador
     
  • In order to make the console pins more robust to noise, activate
    the pullups and increase its drive strength.

    Signed-off-by: Otavio Salvador
    Reviewed-by: Kever Yang

    Otavio Salvador
     
  • These boards aren't ChromeOS devices so won't have a cros-ec-keyb
    input as it's the keyboard available via the ChromeOS Embedded
    Controller. Update them to use a USB keyboard which would actually
    be available. Also enable the usb keyboard option for those devices
    that don't have it enabled already.

    Signed-off-by: Peter Robinson
    Reviewed-by: Michael Trimarchi
    Reviewed-by: Simon Glass
    Reviewed-by: Kever Yang

    Peter Robinson
     
  • Use syscon API to get grf base instead of get from dts.

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

    Kever Yang
     
  • Use syscon API to get grf base instead of get from dts.

    Signed-off-by: Kever Yang
    Reviewed-by: Simon Glass
    Acked-by: Otavio Salvador

    Kever Yang
     

24 Mar, 2020

1 commit


23 Mar, 2020

2 commits


22 Mar, 2020

8 commits


18 Mar, 2020

4 commits


17 Mar, 2020

5 commits