rockpro64: Enable HDMI output

2020-05-15 Thread Marcin Juszkiewicz
Enable config options and console setting like on other rk3399 boards. --- configs/rockpro64-rk3399_defconfig | 4 include/configs/rockpro64_rk3399.h | 5 + 2 files changed, 9 insertions(+) diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig index

[PATCH] rockchip: enable RNG on RockPro64

2020-05-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 configs/rockpro64-rk3399_defconfig| 2 ++ 2 files changed, 6 insertions(+) diff --git arch/arm/dts/rk3399-rockpro64-u-boot.dtsi arch/arm/dts/rk3399-rockpro64-u-boot.dtsi index deaa3efd39

[rockchip] rockpro64: Enable HDMI output

2020-05-21 Thread Marcin Juszkiewicz
Enable config options and console setting like on other rk3399 boards. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 4 include/configs/rockpro64_rk3399.h | 5 + 2 files changed, 9 insertions(+) diff --git configs/rockpro64-rk3399_defconfig configs

Re: [PATCH v6 00/16] Add Rockchip RK3399 USB3.0 Host support

2020-05-26 Thread Marcin Juszkiewicz
H v5 05/16] to fix that the current >Generic PHY subsystem is unable to find PHY if the PHY node is not part of >the root structure. > - Add 'Reviewed-by' tag for all patches except [PATCH v6 04/16]. Tested-by: Marcin Juszkiewicz On RockPro64 (config changes attached): Model: Pine64 RockPro64

Re: [PATCH v5 00/16] Add Rockchip RK3399 USB3.0 Host support

2020-05-25 Thread Marcin Juszkiewicz
W dniu 25.05.2020 o 11:24, Jagan Teki pisze: > On Mon, May 25, 2020 at 2:36 PM Marcin Juszkiewicz > wrote: >> >> W dniu 13.05.2020 o 09:13, frank.wang at rock-chips.com (Frank Wang) pisze: >>> This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host suppor

Re: [PATCH] rockchip: enable RNG on RockPro64

2020-05-25 Thread Marcin Juszkiewicz
.K...4Z^d& 0030: 41 8b d8 7e c4 d6 9e e3 da 0e 98 a2 2f 38 0d 9f A..~/8.. Signed-off-by: Marcin Juszkiewicz --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 configs/rockpro64-rk3399_defconfig| 2 ++ 2 files changed, 6 insertions(+) diff --git arch/arm/dts/rk3399-rock

Re: [PATCH v5 00/16] Add Rockchip RK3399 USB3.0 Host support

2020-05-25 Thread Marcin Juszkiewicz
W dniu 13.05.2020 o 09:13, frank.wang at rock-chips.com (Frank Wang) pisze: > This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host support. > > The function has been tested pass on rk3399-evb and roc-rk3399-pc board. > > For V5 update: > - Fix dwc3-generic driver followed Marek's

Re: [PATCH] pci: Make Rockchip PCIe voltage regulators optional

2020-05-25 Thread Marcin Juszkiewicz
ors optional and properly check their > presence before attempting to enable them. > > Makes PCIe work on un U-Boot on the boards mentioned above. > > Signed-off-by: Mark Kettenis Tested-by: Marcin Juszkiewicz Model: Pine64 RockPro64 v2.1 => pci enum => pci Scanning PCI dev

Re: [PATCH v5 00/16] Add Rockchip RK3399 USB3.0 Host support

2020-05-25 Thread Marcin Juszkiewicz
W dniu 25.05.2020 o 11:32, Jagan Teki pisze: > On Mon, May 25, 2020 at 2:57 PM Marcin Juszkiewicz >> No - "scanning bus dwc3 for devices... cannot reset port 1!?" every time >> and devices plugged into usb-c are ignored. > > Can you check 'usb reset' after 'usb st

[PATCH] rockchip: enable USB OHCI host for RockPro64

2020-05-25 Thread Marcin Juszkiewicz
ass Storage (5 Gb/s, 76mA) ADATA ADATA USB Flash Drive 1520405012240002 Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 2 ++ include/configs/rockpro64_rk3399.h | 2 ++ 2 files changed, 4 insertions(+) diff --git configs/rockpro64-rk3399_defconfig configs/rockpr

[PATCH] rockchip: enable RNG on RockPro64

2020-05-29 Thread Marcin Juszkiewicz
.K...4Z^d& 0030: 41 8b d8 7e c4 d6 9e e3 da 0e 98 a2 2f 38 0d 9f A..~/8.. Signed-off-by: Marcin Juszkiewicz --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 configs/rockpro64-rk3399_defconfig| 2 ++ 2 files changed, 6 insertions(+) diff --git arch/arm/dts/rk3399-rock

[PATCH] rockchip: rockpro64: enable DM_KEYBOARD

2020-05-26 Thread Marcin Juszkiewicz
USB stack uses DM so DM_KEYBOARD is needed to get USB keyboard working. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig index 9d4343a5a7..a511c60d13

[PATCH 1/3] kconfig: mark SPL/TPL options for DM_KEYBOARD

2020-05-26 Thread Marcin Juszkiewicz
All three options had the same description. Signed-off-by: Marcin Juszkiewicz --- drivers/input/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git drivers/input/Kconfig drivers/input/Kconfig index a3bdd9fa34..a17e55e997 100644 --- drivers/input/Kconfig +++ drivers

[PATCH 2/3] kconfig: fix some typos

2020-05-26 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- lib/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git lib/Kconfig lib/Kconfig index f18bf3778b..af5c38afd9 100644 --- lib/Kconfig +++ lib/Kconfig @@ -162,7 +162,7 @@ config LIB_RAND bool "Pseudo-random library su

[PATCH 3/3] kconfig: fix typo for OHCI host and add to DM list

2020-05-26 Thread Marcin Juszkiewicz
Description said that OHCI is not supported for driver model while it was converted too. Signed-off-by: Marcin Juszkiewicz --- drivers/usb/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git drivers/usb/Kconfig drivers/usb/Kconfig index 928a89133c..756a4ec402 100644

[PATCH] sata_sil: make it buildable with DM_PCI

2020-06-04 Thread Marcin Juszkiewicz
Linker complained about lack of `pci_virt_to_mem` function. Looks like driver was not ready for device model - I took solution from e1000.c driver. Signed-off-by: Marcin Juszkiewicz --- drivers/ata/sata_sil.c | 4 1 file changed, 4 insertions(+) diff --git drivers/ata/sata_sil.c drivers

Re: [PATCH 1/3] rockchip: Pinebook Pro: enable rng to provide an entropy source

2020-06-09 Thread Marcin Juszkiewicz
W dniu 09.06.2020 o 00:50, Peter Robinson pisze: > Enable the rng so UEFI can provide entropy for KASLR > > Signed-off-by: Peter Robinson > --- > arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 > arch/arm/dts/rk3399-rockpro64-u-boot.dtsi| 4 >

[PATCH 1/2] rockchip: rockpro64: Store default env into SPI

2020-06-03 Thread Marcin Juszkiewicz
Board has flash chip on board so let store U-Boot environment there. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 3 ++- include/configs/rockpro64_rk3399.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git configs/rockpro64-rk3399_defconfig

[PATCH 2/2] rockchip: rockpro64: add SPI boot

2020-06-03 Thread Marcin Juszkiewicz
environment In:serial Out: vidconsole Err: vidconsole Model: Pine64 RockPro64 v2.1 Net: eth0: ethernet@fe30 Hit any key to stop autoboot: 0 => Signed-off-by: Marcin Juszkiewicz --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 12 +++- configs/rockpro64-rk3399_defconfig|

[PATCH] rockchip: rockpro64: initialize USB in preboot

2020-06-03 Thread Marcin Juszkiewicz
dwc3 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Hit any key to stop autoboot: 0 => Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git configs/rockpr

Re: RFC: Partition type GUID for U-Boot environment

2020-11-17 Thread Marcin Juszkiewicz
W dniu 17.11.2020 o 11:05, Rasmus Villemoes pisze: Would it make sense to choose a canonical "Partition type GUID" [1] for partitions used to store a U-Boot environment? The partition type is mostly informational, but I'm thinking it might make sense to have some canonical thing to put into an

[rockchip] broken SPI on RockPro64 and other RK3399 targets

2020-11-05 Thread Marcin Juszkiewicz
I wanted to update U-Boot on my RockPro64 board from some random build of 2020.07-rc with out of tree patches to official one. Built, flashed and then got this: Loading Environment from SPI Flash... Invalid bus 0 (err=-19) *** Warning - spi_flash_probe_bus_cs() failed, using default

[PATCH] Kconfig: simple panel requires backlight

2020-11-05 Thread Marcin Juszkiewicz
-in.o: in function `simple_panel_enable_backlight': u-boot/drivers/video/simple_panel.c:28: undefined reference to `backlight_enable' Signed-off-by: Marcin Juszkiewicz --- drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git drivers/video/Kconfig drivers/video

Re: [rockchip] broken SPI on RockPro64 and other RK3399 targets

2020-11-05 Thread Marcin Juszkiewicz
W dniu 05.11.2020 o 17:49, Alper Nebi Yasak pisze: I suspect this change in that commit (rk3399-u-boot.dtsi): / { aliases { mmc0 = mmc1 = pci0 = + spi1 = }; Can you test adding spi0 = above that in the

[PATCH] rockchip: pinebook-pro: fix SPI flash detection

2021-01-08 Thread Marcin Juszkiewicz
as U-Boot proper. This fixes detection of SPI flash on the pinebook-pro board. Signed-off-by: Marcin Juszkiewicz --- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 configs/pinebook-pro-rk3399_defconfig| 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git arch/arm/