Re: [PATCH 1/4] arm: dts: am335x-boneblack: Extract common config

2021-06-17 Thread Peter Robinson
On Thu, Jun 17, 2021 at 10:03 AM Paul Barker wrote: > > Configuration which is shared between the BeagleBone Black and > derivative boards like the Sancloud BeagleBone Enhanced (BBE) is moved > to a common dtsi file to prevent duplication. Are these being sent upstream to the linux kernel? > Sig

Re: [PATCH 1/4] arm: dts: am335x-boneblack: Extract common config

2021-06-17 Thread Peter Robinson
On Thu, Jun 17, 2021 at 11:32 AM Paul Barker wrote: > > On Thu, 17 Jun 2021 11:05:46 +0100 > Peter Robinson wrote: > > > On Thu, Jun 17, 2021 at 10:03 AM Paul Barker > > wrote: > > > > > > Configuration which is shared between the BeagleBone Black and

Re: [PATCH] efi_loader: Do not enable by default on armv7

2021-06-28 Thread Peter Robinson
On Sun, Jun 27, 2021 at 10:22 PM Tom Rini wrote: > > On Sun, Jun 27, 2021 at 11:08:04PM +0200, Mark Kettenis wrote: > > > From: Heinrich Schuchardt > > > Date: Sun, 27 Jun 2021 23:03:58 +0200 > > > > > > On 6/27/21 9:44 PM, Tom Rini wrote: > > > > We have had EFI loader support enabled by default

Re: [PATCH v2 0/3]

2021-06-28 Thread Peter Robinson
Was the original mails of this series sent to the list? I don't see them in the archives or patchwork. On Mon, Jun 28, 2021 at 10:26 AM Philipp Tomsich wrote: > > I had attempted to merge HDMI using this approach in 2017, but after > some discussions with Simon, we used a 'mini-drivers' approach.

Re: [PATCH] arm64: rk3399: Optimize performance and cleanup

2021-07-05 Thread Peter Robinson
I'm not sure what performance optimisation is being done here? Also we generally sync the rockchip device trees from the Linux kernel so when that next happens if these aren't upstream in Linux they'll likely be lost. Peter On Mon, Jul 5, 2021 at 3:21 PM Xiaobo Tian wrote: > > Signed-off-by: Xi

Re: [patch v3 0/9] rk3399 (Pinebook pro) EDP support

2021-01-25 Thread Peter Robinson
y > manual for theses part of the RK3399 SoC. > > On the linux kernel side, on recent kernels, it needs commit "pwm: rockchip: > Keep > enabled PWMs running while probing" otherwise the pinebook pro will freeze > when probing > the display. So for me you can add for t

Re: How to flash Odroid Go2 u-boot

2021-02-08 Thread Peter Robinson
On Mon, Feb 8, 2021 at 1:27 PM Roger Pau Monné wrote: > > Hello, > > I'm trying to build an u-boot image that I can flash into my SD card > in order to boot from Odroid Go Super. I'm currently trying to use the > odroid-go2_defconfig which should be fairly similar to the hardware > present in the

[PATCH] config: hikey: convert to DM_USB and DM_ETH

2021-02-10 Thread Peter Robinson
Convert the hikey to use DM_USB and DM_ETH. Conversion based on rpi as it has a similar DWC config. Signed-off-by: Peter Robinson --- configs/hikey_defconfig | 2 ++ include/configs/hikey.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/hikey_defconfig b

[PATCH v2] config: hikey: convert to DM_USB and DM_ETH

2021-02-10 Thread Peter Robinson
Convert the hikey to use DM_USB and DM_ETH. Conversion based on rpi as it has a similar DWC config. Signed-off-by: Peter Robinson --- v2: fix copy paste error configs/hikey_defconfig | 2 ++ include/configs/hikey.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH] arm: dts: allwinner: sync from linux for RGMII RX/TX delay fixes

2021-02-10 Thread Peter Robinson
Sync over a subset of the AllWinner dts changes from Linux 5.11 for the RGMII RX/TX delay network fixes. This pulls other bits in needed to sync the whole files, the bits are other minor fixes, or pieces of DT that don't affect U-Boot. Signed-off-by: Peter Robinson --- When booting using

Re: [PATCH 09/17] fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()

2021-02-14 Thread Peter Robinson
Hi Simon, On Thu, Jan 28, 2021 at 11:59 PM Tom Rini wrote: > > On Wed, Jan 13, 2021 at 08:29:49PM -0700, Simon Glass wrote: > > > This setting may be different in SPL and TPL. Update the code to check > > the correct setting. > > > > Signed-off-by: Simon Glass > > Applied to u-boot/master, thank

Re: [PATCH] Revert "fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()"

2021-02-14 Thread Peter Robinson
On Sun, Feb 14, 2021 at 7:11 PM Tom Rini wrote: > > On Rockchip platforms we need this area of code in TPL, but there is no > TPL_SEPARATE_BSS symbol. > > This reverts commit 0a2aaab0b678fd1778ff2fc59d0770fc82995532. > > Reported-by: Jesper Schmitz Mouridsen > Rep

Re: [PATCH 09/17] fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()

2021-02-14 Thread Peter Robinson
On Sun, Feb 14, 2021 at 7:10 PM Tom Rini wrote: > > On Sun, Feb 14, 2021 at 02:08:08PM -0500, Tom Rini wrote: > > On Sun, Feb 14, 2021 at 08:05:33PM +0100, Jesper Schmitz Mouridsen wrote: > > > > > > On 14.02.2021 19.50, Peter Robinson wrote: > > > > Hi S

[PATCH] include: configs: rk3399: drop a dangling comment

2021-02-14 Thread Peter Robinson
Drop a irrelevent comment now the related configs have moved to the various config files. Signed-off-by: Peter Robinson --- include/configs/rk3399_common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index d0fc598319

[PATCH] rockchip: rk3399: rock960: explicitly disable SPI flash

2021-02-14 Thread Peter Robinson
The Rock960 doesn't have SPI flash on-board, but the bits get enabled by default which means when booting we get some errors. Explicitly disable it to stop the errors. Signed-off-by: Peter Robinson --- configs/rock960-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

Re: rock960c

2021-07-11 Thread Peter Robinson
On Tue, Jul 6, 2021 at 8:03 AM Trevor Woerner wrote: > > Hi, > > I was hoping that one day support would be added for the rockchip rock960c > board (from the 96boards series, https://www.96boards.org/product/rock960c/). > NOTE: this board is different from the rock960 board (aka rock960 a/b) that

Re: [PATCH 1/2] mx6cuboxi: Fix the mmc device for the rootfs

2021-07-19 Thread Peter Robinson
On Mon, Jul 19, 2021 at 9:15 PM Fabio Estevam wrote: > > After the conversion to DM_MMC, the rootfs becomes mmc 1, so > adjust it accordingly. Should this be fixed with an alias in the dts, what's now on mmc 0? > Signed-off-by: Fabio Estevam > --- > include/configs/mx6cuboxi.h | 2 +- > 1 file

Re: [PATCH 2/2] mx6cuboxi: Fix the console variable

2021-07-19 Thread Peter Robinson
On Mon, Jul 19, 2021 at 9:15 PM Fabio Estevam wrote: > > Do not pass the console baudrate to the 'console' variable > to avoid the baudrate being passed twice when extlinux.conf > contains the standard: console=${console},${baudrate} format. Maybe we could deal with this using the stdout-path met

[PATCH 2/3] arm: dts: sync the Rockhip 3328 SoCs from Linux

2021-07-22 Thread Peter Robinson
Sync the rk3328 DTs and associated bits from 5.14-rc1. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3328-evb.dts| 23 +- arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi | 2 +- arch/arm/dts/rk3328-nanopi-r2s.dts | 51 ++- arch/arm/dts/rk3328-roc-cc-u-boot.dtsi

[PATCH 1/3] arm: dts: sync the Rockhip 3399 SoCs from Linux

2021-07-22 Thread Peter Robinson
Sync the rk3399 DTs and associated bits from 5.14-rc1. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-evb.dts | 4 + arch/arm/dts/rk3399-ficus.dts | 29 +- arch/arm/dts/rk3399-firefly.dts | 178 ++-- arch/arm/dts/rk3399-gru.dtsi

[PATCH 3/3] arm: dts: sync the Rockhip 3368 SoCs from Linux

2021-07-22 Thread Peter Robinson
Sync the rk3368 DTs and associated bits from 5.14-rc1. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3368-geekbox.dts | 70 +++ arch/arm/dts/rk3368-lion-haikou.dts | 4 + arch/arm/dts/rk3368-lion.dtsi | 21 +--- arch/arm/dts/rk3368-px5-evb.dts | 178

[PATCH] Revert "spi: spi-uclass: Add support to manually relocate spi memory ops"

2021-07-22 Thread Peter Robinson
This reverts commit 346df7d4fa62afc578d820b3a18815eec765074f. This patch broke booting Rockchip systems from U-Boot residing on SPI flash, for at least the Pinebook Pro and Rockpro64, and also confirmed with the not yet upstream Helios64. Signed-off-by: Peter Robinson Cc: T Karthik Reddy Cc

Re: [PATCH V1] arm: add initial support for the Phytium Pomelo Board

2021-07-22 Thread Peter Robinson
On Fri, Jul 23, 2021 at 6:56 AM wrote: > > From: weichangzheng > > This adds platform code and the device tree for the Phytium Pomelo Board. > The initial support comprises the UART and the PCIE. > > Signed-off-by: weichangzheng > Changes since v1: > - updated to DT You've sent a number of thes

[PATCH] Tegra: remove e2220-1170 board

2021-02-17 Thread Peter Robinson
It's an old bringup board with out upstream Linux or L4T support Signed-off-by: Peter Robinson Cc: Stephen Warren Cc: Tom Warren --- The E2220-1170 was a Tegra210 bringup board and outside of source wide or SoC wide changes it's no seen any additions since it landed over 5 years ag

[PATCH] rng: iProc rng200: Rename ..._platdata variables to just ..._plat

2021-02-18 Thread Peter Robinson
In 8a8d24bd Simon dropped data from all the various _platdata calls but it seems this wasn't caught for the RNG200 driver from when it was posted to merged. This fixes that issue. Fixes: 537f0018 (rng: Add iProc RNG200 driver) Signed-off-by: Peter Robinson --- drivers/rng/iproc_rng200.c

Re: [PATCH] rng: iProc rng200: Rename ..._platdata variables to just ..._plat

2021-02-18 Thread Peter Robinson
On Thu, Feb 18, 2021 at 8:36 PM Heinrich Schuchardt wrote: > > On 18.02.21 21:06, Peter Robinson wrote: > > In 8a8d24bd Simon dropped data from all the various _platdata calls > > but it seems this wasn't caught for the RNG200 driver from when it > > was posted to

Re: [PATCH 20/20] Enable led on boot to notify user of boot status

2021-02-25 Thread Peter Robinson
On Thu, Feb 25, 2021 at 3:17 PM André Przywara wrote: > > On 20/02/2021 12:14, Nicolas Boulenguez wrote: > > From: Marius Gripsgard > > Hi, > > This is not really Pinephone specific, actually not even sunxi specific. > I see two better ways of solving this: > > - We introduce some generic code to

Re: [PATCH] rk3399: Add basic support for helios64

2021-02-26 Thread Peter Robinson
On Fri, Feb 26, 2021 at 1:45 PM Uwe Kleine-König wrote: > > Hi Dennis, > > thanks for your feedback. > > On 2/26/21 12:23 AM, Dennis Gilmore wrote: > > Thanks for submitting, I have been meaning to do so myself, I have > > been meaning to go through and try get the dts files in a decent > > shape.

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 5:57 PM Tom Rini wrote: > > On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > > On 01.03.21 14:40, Stefano Babic wrote: > > > On 01.03.21 14:36, Marek Vasut wrote: > > > > On 3/1/21 10:27 AM, Stefano Babic wrote: > > > > > Hi Marek, > > > > > > > > Hi, > > > >

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 7:42 PM Tom Rini wrote: > > On Mon, Mar 01, 2021 at 07:28:17PM +, Peter Robinson wrote: > > On Mon, Mar 1, 2021 at 5:57 PM Tom Rini wrote: > > > > > > On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > > > &

Re: [PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 10:35 PM Tim Harvey wrote: > > Enable driver model support for MMC and SATA. > > Note that DM_MMC requires aliases for your mmc devices so > they are added to the dts. Linux does not support enumerating mmc > devices by alias so these are not present in the Linux dts. I'm n

Re: [PATCH] configs: add PineTab defconfig

2021-03-07 Thread Peter Robinson
On Sun, Mar 7, 2021 at 1:24 PM Nicolas Boulenguez wrote: > > From: Arnaud Ferraris > > The PineTab device-tree is already in u-boot, this commit adds the > corresponding > defconfig, based on pinephone_defconfig. Should it have support to deal with the two variants where they have differing scr

Re: sunxi: Add SPI Flash support for Orange PI R1

2020-07-10 Thread Peter Robinson
On Fri, Jul 10, 2020 at 12:15 PM Yaroslav Petrov wrote: > > diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts > b/arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts > index 3356f4210d..675d38738d 100644 > --- a/arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts > +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-r1

Re: sunxi: Add SPI Flash support for Orange PI R1

2020-07-10 Thread Peter Robinson
he associated commits for those files for examples of how they're dealt with. > Mit freundlichen Grüßen, > Yaroslav Petrov > > > On 10.07.20 13:31, Peter Robinson wrote: > > On Fri, Jul 10, 2020 at 12:15 PM Yaroslav Petrov wrote: > >> diff --git a/arch/arm/dts/sun

Re: Pinebook Pro keyboard (RK3399 OHCI)?

2020-07-14 Thread Peter Robinson
On Tue, Jul 14, 2020 at 12:02 AM Simon South wrote: > > Has anyone managed to get the built-in keyboard of the Pinebook Pro > working with U-Boot? It should be fixed in the main devel repo, commit 3a5771249 > Kever, Jagan: Are you aware of any special setup required to have the > RK3399's OHCI c

Re: Pinebook Pro keyboard (RK3399 OHCI)?

2020-07-14 Thread Peter Robinson
On Tue, Jul 14, 2020 at 11:50 AM Simon South wrote: > > Peter Robinson writes: > > It should be fixed in the main devel repo, commit 3a5771249 > > That commit enables the OHCI driver but doesn't lead to a working > keyboard, at least for me. > > Have you actual

Re: Pinebook Pro keyboard (RK3399 OHCI)?

2020-07-14 Thread Peter Robinson
> > Did you check if everything needed is enabled in your configuration and > > if the keyboard is detected after a usb start / usb tree ? > > It is detected, yes. > > I believe the configuration is fine; I see this issue using the standard > "pinebook-pro-rk3399_defconfig" and building either from

[PATCH] Change keyboard input from CrOS EC keyboard to a USB keyboard

2020-03-01 Thread Peter Robinson
e it enabled already. Signed-off-by: Peter Robinson --- configs/miqi-rk3288_defconfig | 1 + configs/roc-pc-rk3399_defconfig | 1 + configs/rock2_defconfig | 1 + configs/tinker-rk3288_defconfig | 1 + configs/tinker-s-rk3288_defconfig | 1 + include/configs/miqi_rk3288.h

Re: [PATCH 4/4] rockchip: Enable HDMI output on rk3399 board w/ HDMI

2020-03-02 Thread Peter Robinson
> +#define ROCKCHIP_DEVICE_SETTINGS \ > + "stdin=serial,cros-ec-keyb\0" \ This should likely be a usb keyboard and not the CrOS EC keyboard. > + "stdout=serial,vidconsole\0" \ > + "stderr=serial,vidconsole\0" > + > #include > > #if defined(CONFIG_ENV_I

Re: [PATCH] rk3399: Add four clocks to clock driver needed by framebuffer

2020-03-15 Thread Peter Robinson
On Wed, Feb 26, 2020 at 7:54 PM Wolfram Joost wrote: > > This patch adds the four clock gates > > - ACLK_VOP0 > - ACLK_VOP1 > - HCLK_VOP0 > - HCLK_VOP1 > > to the rockchip rk3399 clock drivers. > > These clock gates were referenced by arch/arm/dts/rk3399.dtsi for > vopb and vopl. > > The driver dr

Re: [U-Boot] [PATCH v3 16/17] binman: Move to use Python 3

2019-10-31 Thread Peter Robinson
n3 and it built all our various supported configs. Tested-by: Peter Robinson > --- > > Changes in v3: > - Fix commit message to mention that the pylibfdt problem is fixed. > > Changes in v2: > - Add a few more patches to correct remaining problems > > tools/binman/bin

[U-Boot] [PATCH] rockchip: rk3399: rock960: Update config for TPL

2019-11-06 Thread Peter Robinson
The SPL is now running at SDRAM, and 0x1 is used by BL31, and the ARM SPL do not support relocate now, we need reserved 0x5 so that it won't overwrite the code when we load the bl31 to target space. We should remove this after we enable the relocate feature. Signed-off-by: Peter Rob

Re: [U-Boot] [PATCH] rockchip: rk3399: rock960: Update config for TPL

2019-11-06 Thread Peter Robinson
On Mon, Oct 14, 2019 at 9:58 AM Kever Yang wrote: > > Hi Peter, > > On 2019/10/9 下午7:20, Peter Robinson wrote: > > The SPL is now running at SDRAM, and 0x1 is used by BL31, > and the ARM SPL do not support relocate now, we need reserved > 0x5 so that it won'

[U-Boot] [PATCH 1/3] rockchip: dts: rk3399: move the u-boot, dm-pre-reloc to the u-boot.dtsi

2019-11-09 Thread Peter Robinson
The u-boot specific pieces in the dts files should be in u-boot.dtsi not the main files, this allows easier sync with upstream. The rk3399.dtsi has a mix of both so move them all for consistency. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-u-boot.dtsi | 44

[U-Boot] [PATCH 2/3] rockchip: dts: rk3399-evb: move u-boot, spl-boot-order to to the u-boot.dtsi

2019-11-09 Thread Peter Robinson
The u-boot specific device tree directives should be in u-boot.dtsi Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-evb-u-boot.dtsi | 6 ++ arch/arm/dts/rk3399-evb.dts | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399-evb-u-boot.dtsi b

[U-Boot] [PATCH 3/3] rockchip: dts: rk3399-firefly: move u-boot, spl-boot-order to to the u-boot.dtsi

2019-11-09 Thread Peter Robinson
The u-boot specific device tree directives should be in u-boot.dtsi Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-firefly-u-boot.dtsi | 6 ++ arch/arm/dts/rk3399-firefly.dts | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3399-firefly-u

Re: [U-Boot] [PATCH 1/3] rockchip: dts: rk3399: move the u-boot, dm-pre-reloc to the u-boot.dtsi

2019-11-10 Thread Peter Robinson
On Sun, Nov 10, 2019 at 2:35 PM Kever Yang wrote: > > > On 2019/11/10 上午4:30, Peter Robinson wrote: > > The u-boot specific pieces in the dts files should be in u-boot.dtsi > > not the main files, this allows easier sync with upstream. The > > rk3399.dtsi has a mix o

Re: [U-Boot] [PATCH v2] rockchip: rk3399: split rockpro64 out of evb_rk3399

2019-11-10 Thread Peter Robinson
On Sat, Nov 9, 2019 at 7:25 PM Vasily Khoruzhick wrote: > > rockpro64 needs to setup I/O domains in order for USB to work in u-boot. > Since we currently don't have a driver to do that, split it into its own > board file and initialize I/O domains here. > > Signed-off-by: Vasily Khoruzhick > ---

[U-Boot] [PATCH] mtd: spi-nor: ids: Add GigaDevice gd25q128

2019-11-13 Thread Peter Robinson
Add gd25q128 128Mbit chip to spi-nor id table. Tested on Pinebook Pro Signed-off-by: Peter Robinson --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index d3b84574ac..973b6f86c9 100644 --- a

[U-Boot] [PATCH v2 1/3] rockchip: dts: rk3399: move the u-boot, dm-pre-reloc to

2019-11-13 Thread Peter Robinson
[PATCH v2 1/3] rockchip: dts: rk3399: move the u-boot,dm-pre-reloc to ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH 1/3] rockchip: dts: rk3399: move the u-boot, dm-pre-reloc to the u-boot.dtsi

2019-11-13 Thread Peter Robinson
The u-boot specific pieces in the dts files should be in u-boot.dtsi not the main files, this allows easier sync with upstream. The rk3399.dtsi has a mix of both so move them all for consistency. Signed-off-by: Peter Robinson --- v2: fix a typo -> s/pmucrc/pmucru/ arch/arm/dts/rk339

[U-Boot] [PATCH] rockchip: rk3399: Add Pinebook Pro laptop support

2019-11-13 Thread Peter Robinson
Add initial support for Pinebook Pro laptop. Specification - Rockchip RK3399 - 4GB Dual-Channel LPDDR4 - SD card slot - eMMC socket - 128Mb SPI Flash - PCIe 4X slot - AP6256 for WiFi + BT - 1920*1080 screen - USB 3.0, 2.0 - USB Type C power and data - DC 12V/2A Signed-off-by: Peter Robinson

Re: [U-Boot] [PATCH 1/4] arm64: dts: rk3399-rock960: add vdd_log and its init value

2019-11-15 Thread Peter Robinson
On Wed, Nov 13, 2019 at 3:14 AM Kever Yang wrote: > > Add vdd_log node according to rock960 schematic V13. > This patch affect two boards: > - Rock960 Model A > - Ficus > > Signed-off-by: Kever Yang Is there a reason this is getting added to the -u-boot.dtsi vs the base .dtsi? I did see a patch

Re: [PATCH v2 1/5] wandboard: Fix version detection for mx6q/mx6dl revD1

2020-04-17 Thread Peter Robinson
her > Reported-by: Derek Atkins > Signed-off-by: Fabio Estevam > Tested-by: Derek Atkins Tested-by: Peter Robinson Series is tested on a B1 and a C1 > --- > Changes since v1: > - Also use the revd1 dtb's inside board_fit_config_name_match(), which > fixes truncated

Re: [PATCH v2 2/3] rk3399: Add boot flash script offset, size

2020-04-20 Thread Peter Robinson
> Most of the SPI flash devices in rockchip (rk3399) > are 16MiB size. So, let's use the script offset at > the end of 8K. You wouldn't have the commands for writing the idbloader.img/u-boot.itb to these SPI flash on one of these devices by chance? Peter > This way it cannot overlap any offsets

[PATCH] drivers: video: rockchip: fix building eDP and LVDS drivers

2020-04-20 Thread Peter Robinson
The rk_edp.c and rk_lvds.c files reference rk_setreg which is declared in hardware.h so include it so the drivers build. Adjust rk_lvds.c so includes are in alphabetical order while updating. Signed-off-by: Peter Robinson --- drivers/video/rockchip/rk_edp.c | 1 + drivers/video/rockchip

[PATCH 3/5] dt-bindings: leds: adopt Linux leds common binding constants

2020-04-20 Thread Peter Robinson
Sync the common leds bindings from linux 5.7-rc1. Signed-off-by: Peter Robinson --- include/dt-bindings/leds/common.h | 91 +++ 1 file changed, 91 insertions(+) create mode 100644 include/dt-bindings/leds/common.h diff --git a/include/dt-bindings/leds/common.h b

[PATCH 4/5] arm: dts: rockchip: Add initial DT for Pinebook Pro

2020-04-20 Thread Peter Robinson
Sync initial support for Pinebook Pro device tree from Linux 5.7-rc1. Signed-off-by: Peter Robinson --- arch/arm/dts/Makefile|1 + arch/arm/dts/rk3399-pinebook-pro.dts | 1096 ++ 2 files changed, 1097 insertions(+) create mode 100644 arch/arm/dts

[PATCH 5/5] Add initial support for the Pinebook Pro laptop from Pine64.

2020-04-20 Thread Peter Robinson
slot for NVMe SSD drive Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 43 ++ arch/arm/mach-rockchip/rk3399/Kconfig | 8 ++ board/pine64/pinebook-pro-rk3399/Kconfig | 15 board/pine64/pinebook-pro-rk3399/MAINTAINERS | 8 ++ board

[PATCH 2/5] dt-bindings: input: adopt Linux gpio-keys binding constants

2020-04-20 Thread Peter Robinson
Sync the gpio-keys input bindings from linux 5.7-rc1. Signed-off-by: Peter Robinson --- include/dt-bindings/input/gpio-keys.h | 13 + 1 file changed, 13 insertions(+) create mode 100644 include/dt-bindings/input/gpio-keys.h diff --git a/include/dt-bindings/input/gpio-keys.h b

Support for Pinebook Pro v2

2020-04-20 Thread Peter Robinson
It took a little longer than I planned, took me a little bit to get it working with the upstream device tree that landed in 5.7-rc1 but it's there now. Tested with Fedora 32. Peter

[PATCH 1/5] video: simple_panel: add boe,nv140fhmn49 display

2020-04-20 Thread Peter Robinson
add "boe,nv140fhmn49" display to compatible node. Signed-off-by: Peter Robinson Cc: Anatolij Gustschin --- drivers/video/simple_panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/simple_panel.c b/drivers/video/simple_panel.c index c3c0e84732..572287 10

[PATCH] configs: rockpro64-rk3399: Enable the bits for SPI flash

2020-04-20 Thread Peter Robinson
Enable all the config options needed for SPI flash support and putting U-Boot on the SPI flash. Signed-off-by: Peter Robinson --- configs/rockpro64-rk3399_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64

Re: Support for Pinebook Pro v2

2020-04-20 Thread Peter Robinson
On Mon, Apr 20, 2020 at 11:49 PM Vagrant Cascadian wrote: > > On 2020-04-20, Peter Robinson wrote: > > It took a little longer than I planned, took me a little bit to get it > > working with the upstream device tree that landed in 5.7-rc1 but it's > > there now.

Re: [RFC PATCH 9/9] config: Enable support for the XHCI controller on RPI4 board

2020-04-22 Thread Peter Robinson
> > This requires enabling BRCMSTB PCIe and XHCI_PCI drivers as well as PCI > > and USB commands. To get it working one has to call the following commands: > > "pci enum; usb start;", thus such commands have been added to the default > > "preboot" environment variable. One has to update his environ

Re: [RFC PATCH 9/9] config: Enable support for the XHCI controller on RPI4 board

2020-04-22 Thread Peter Robinson
On Wed, Apr 22, 2020 at 1:26 PM Nicolas Saenz Julienne wrote: > > Hi Peter, > > On Wed, 2020-04-22 at 11:50 +0100, Peter Robinson wrote: > > > > This requires enabling BRCMSTB PCIe and XHCI_PCI drivers as well as PCI > > > > and USB commands. To get it w

Re: [PATCH v3 2/2] rockchip: Enable PCIe and NVMe on ROCKPro64

2020-06-07 Thread Peter Robinson
On Sun, Jun 7, 2020 at 1:07 PM Mark Kettenis wrote: > > Enable CONFIG_PCI and CONFIG_NVME and related configs for the > ROCKPro64 board. > > Signed-off-by: Mark Kettenis > Reviewed-by: Kever Yang Reviewed-by: Peter Robinson It's generally considered good taste to cc:

Re: rockchip: enable PCIe and NVMe on Pinebook Pro

2020-06-07 Thread Peter Robinson
On Sun, Jun 7, 2020 at 11:08 AM Patrick Wildt wrote: > > Enable CONFIG_PCI and CONFIG_NVME and related configs for the > Pinebook Pro. > > Signed-off-by: Patrick Wildt Reviewed-by: Peter Robinson > diff --git a/configs/pinebook-pro-rk3399_defconfig > b/configs/pinebook

Re: [PATCH v3 2/2] rockchip: Enable PCIe and NVMe on ROCKPro64

2020-06-07 Thread Peter Robinson
On Sun, Jun 7, 2020 at 2:47 PM Peter Robinson wrote: > > On Sun, Jun 7, 2020 at 1:07 PM Mark Kettenis wrote: > > > > Enable CONFIG_PCI and CONFIG_NVME and related configs for the > > ROCKPro64 board. > > > > Signed-off-by: Mark Kettenis > > Reviewed-by:

[PATCH 2/3] rockchip: Pinebook Pro: Fix USB and the USB attached keyboard

2020-06-08 Thread Peter Robinson
The built in keyboard on the Pinebook Pro is attached via USB so fix this up to ensure USB works as expected. Signed-off-by: Peter Robinson --- configs/pinebook-pro-rk3399_defconfig | 5 + include/configs/pinebook-pro-rk3399.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/configs

[PATCH 3/3] rockchip: Pinebook Pro: Fix SPI flash and store env on it

2020-06-08 Thread Peter Robinson
Some minor fixes for SPI flash on the Pinebook Pro and also default to saving environment to the SPI flash as it's guaranteed to be on board. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 6 +- configs/pinebook-pro-rk3399_defconfig| 3 +++ in

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

2020-06-08 Thread Peter Robinson
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 configs/pinebook-pro-rk3399_defconfig| 2 ++ 3 files changed, 10 insertions(+) diff --git

Re: USB patch for rpi4

2020-06-10 Thread Peter Robinson
On Wed, Jun 10, 2020 at 10:11 PM Stuart Yoder wrote: > > Hi Sylwester, > > I am trying to test v4 of your patch series for USB support on rpi4: > https://patchwork.ozlabs.org/project/uboot/list/?series=179078 > > I am building u-boot 64-bit. Testing on a rpi4 B 1.2 board. But, USB is > not worki

Re: USB patch for rpi4

2020-06-11 Thread Peter Robinson
> > > I am trying to test v4 of your patch series for USB support on rpi4: > > > https://patchwork.ozlabs.org/project/uboot/list/?series=179078 > > > > > > I am building u-boot 64-bit. Testing on a rpi4 B 1.2 board. But, USB is > > > not working for me and wanted to see if you had any ideas. Are

Re: [PATCH v2 15/23] ti: Drop panda board

2020-06-13 Thread Peter Robinson
On Sat, Jun 13, 2020 at 7:24 PM Jagan Teki wrote: > > On Fri, Jun 5, 2020 at 10:01 AM Lokesh Vutla wrote: > > > > Hi Jagan, > > > > On 27/05/20 6:26 pm, Jagan Teki wrote: > > > DM, DM_SPI and other driver model migration deadlines > > > are expired for this board. > > > > > > Drop it. > > > > > >

Re: [PATCH v2 15/23] ti: Drop panda board

2020-06-13 Thread Peter Robinson
>> > > > > > DM, DM_SPI and other driver model migration deadlines >> > > > > > are expired for this board. >> > > > > > >> > > > > > Drop it. >> > > > > > >> > > > > > Cc: Lokesh Vutla >> > > > > > Signed-off-by: Jagan Teki >> > > > > >> > > > > Please hold this patch. I see patches in ML for co

Re: [PATCH 2/2] ARM: tegra: Enable PSCI support for Tegra210 and Tegra186

2020-06-18 Thread Peter Robinson
des is necessary > to fix the EFI system reset for Tegra210 and Tegra186. > > Signed-off-by: Jon Hunter Tested-by: Peter Robinson Tested on the Jetson Nano and it now reboots as expected. > --- > arch/arm/dts/tegra186.dtsi | 5 + > arch/arm/dts/tegra210.dtsi | 5 + > 2

Re: [PATCH 1/2] firmware: PSCI: Fix PSCI support for OF live trees

2020-06-18 Thread Peter Robinson
d since commit 81ea00838c68 ("efi_loader: > PSCI reset and shutdown") was added, the EFI system reset has been > broken for Tegra210 and Tegra196 platforms. This also fixes the EFI > system reset for these Tegra platforms. > > Signed-off-by: Jon Hunter Tested-by: Peter Ro

Initial support for the Pine64 Pinephone

2020-07-22 Thread Peter Robinson
Hi, This is an initial patch set to support the PinePhone. The patches were tested on the Braveheart Edition (1.1) of the phone with a serial console cable attached. There's not currently U-Boot output on the screen, for starters the device tree support for the panel hasn't landed upstream yet so

[PATCH 5/8] arm: dts: Add new sun50i-a64-cpu-opp.dtsi from Linux 5.8-rc1

2020-07-22 Thread Peter Robinson
Sync the Allwinner A64 CPU operating points dtsi from Linux. Signed-off-by: Peter Robinson --- arch/arm/dts/sun50i-a64-cpu-opp.dtsi | 75 1 file changed, 75 insertions(+) create mode 100644 arch/arm/dts/sun50i-a64-cpu-opp.dtsi diff --git a/arch/arm/dts/sun50i-a64

[PATCH 3/8] dt-bindings: clk/reset: sync updated bindings for Allwinner DE2 display engine

2020-07-22 Thread Peter Robinson
Sync the clock and reset bindings for the Allwinner DE2 display engine to Linux 5.8-rc1. Signed-off-by: Peter Robinson --- include/dt-bindings/clock/sun8i-de2.h | 3 +++ include/dt-bindings/reset/sun8i-de2.h | 1 + 2 files changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/sun8i

[PATCH 1/8] dt-bindings: clk: sync sun50i-a64-ccu.h to linux 5.8-rc1

2020-07-22 Thread Peter Robinson
Sync the clock bindings for the Allwinner A64 to Linux Signed-off-by: Peter Robinson --- include/dt-bindings/clock/sun50i-a64-ccu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/sun50i-a64-ccu.h b/include/dt-bindings/clock/sun50i-a64-ccu.h

[PATCH 2/8] dt-bindings: leds: sync leds common.h to linux from 5.8-rc1

2020-07-22 Thread Peter Robinson
Sync the leds common.h to the latest Linux version. Signed-off-by: Peter Robinson --- include/dt-bindings/leds/common.h | 36 ++- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h

[PATCH 7/8] arm64: dts: allwinner: Add initial support for Pine64 PinePhone

2020-07-22 Thread Peter Robinson
At the moment PinePhone comes in two slightly incompatible variants: - 1.0: Early Developer Batch - 1.1: Braveheart Batch This syncs the Pinephone DTs from Linux 5.8-rc1. Signed-off-by: Peter Robinson --- arch/arm/dts/Makefile | 2 + arch/arm/dts/sun50i-a64-pinephone-1.0

[PATCH 4/8] arm: dts: sync axp803.dtsi from linux 5.8-rc1

2020-07-22 Thread Peter Robinson
Sync the Allwinner axp803 device tree to the latest upstream Linux. Signed-off-by: Peter Robinson --- arch/arm/dts/axp803.dtsi | 82 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/arch/arm/dts/axp803.dtsi b/arch/arm/dts/axp803.dtsi index

[PATCH 6/8] arm: dts: Sync the sun50i-a64.dtsi from Linux 5.8-rc1

2020-07-22 Thread Peter Robinson
Sync the Allwinner A64 sun50i-a64.dtsi from Linux. Signed-off-by: Peter Robinson --- arch/arm/dts/sun50i-a64.dtsi | 532 --- 1 file changed, 434 insertions(+), 98 deletions(-) diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi index

[PATCH 8/8] Initial Pine64 Pinephone support

2020-07-22 Thread Peter Robinson
, proximity, ambient light, compass sensors * A USB Type-C, USB Host, DisplayPort alt mode output, 15W 5V 3A Quick Charge, follows USB PD specification Signed-off-by: Peter Robinson --- arch/arm/Kconfig| 2 +- configs/pinephone_defconfig | 38 + 2 files

Re: [PATCH 6/8] arm: dts: Sync the sun50i-a64.dtsi from Linux 5.8-rc1

2020-07-26 Thread Peter Robinson
On Thu, Jul 23, 2020 at 12:15 AM André Przywara wrote: > > On 22/07/2020 15:18, Peter Robinson wrote: > > Sync the Allwinner A64 sun50i-a64.dtsi from Linux. > > Hi Peter, > > thanks for your series! > > While this looks mostly straight-forward, the problem is that

Re: [PATCH 8/8] Initial Pine64 Pinephone support

2020-07-27 Thread Peter Robinson
> On Wed, Jul 22, 2020 at 03:18:40PM +0100, Peter Robinson wrote: > > The Pine64 Pinephone is a smartphone based on the AllWinner A64 SoC. > > It has the following features: > > * 2GB LPDDR3 SDRAM > > * 5.95 inch 1440x720 HD IPS capacitive touchscreen > > * 16GB

[PATCH] Remove redundant YYLOC global declaration

2020-01-30 Thread Peter Robinson
Same as the upstream fix for building dtc with gcc 10. Signed-off-by: Peter Robinson --- The upstream patch is accepted, thread here: https://www.spinics.net/lists/devicetree-compiler/msg02959.html scripts/dtc/dtc-lexer.l | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/dtc/dtc

Re: [PATCH v2 2/2] pwm: Add a driver for Chrome OS EC PWM

2020-09-27 Thread Peter Robinson
On Sat, Sep 26, 2020 at 9:09 PM Alper Nebi Yasak wrote: > > This PWM is used in rk3399-gru-bob and rk3399-gru-kevin to control > the display brightness. We can only change the duty cycle, so on > set_config() we just try to match the duty cycle that dividing duty_ns > by period_ns gives us. To dis

[PATCH] Define default CONFIG_PREBOOT with right config option

2020-09-29 Thread Peter Robinson
use keyboards aren't the only thing we might need the USB bus for. Fixes: 44758771ee ("arm: move CONFIG_PREBOOT="usb start" to KConfig") Signed-off-by: Peter Robinson Cc: Jonas Smedegaard Cc: Neil Armstrong --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH] rockchip: Rock960: fix up USB support

2020-09-29 Thread Peter Robinson
Fix up USB config options so keyboards and other USB devices work. --- configs/rock960-rk3399_defconfig | 9 ++--- include/configs/rock960_rk3399.h | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configs/rock960-rk3399_defconfig b/configs/rock960-rk3399_defconfig index 1

Crash without display on RPi4 8Gb

2020-09-30 Thread Peter Robinson
Hey Mattias, In testing the RPi4 8Gb I've run into an interesting crash, not seen it on either a 4Gb or 2Gb mode, and I'm wondering if you're aware of it. It occurs with either the latest firmware or one from April 1st. If I boot without a display connected, so just via serial console, I see the

Re: Crash without display on RPi4 8Gb

2020-09-30 Thread Peter Robinson
> Hey Mattias, > > In testing the RPi4 8Gb I've run into an interesting crash, not seen > it on either a 4Gb or 2Gb mode, and I'm wondering if you're aware of > it. It occurs with either the latest firmware or one from April 1st. > > If I boot without a display connected, so just via serial console

Re: [BUG] mx6cuboxi : broken MMC support

2020-10-11 Thread Peter Robinson
On Sat, Oct 10, 2020 at 8:48 PM Baruch Siach wrote: > > Hi Fabio, > > On Sat, Oct 10 2020, Fabio Estevam wrote: > > On Sat, Oct 10, 2020 at 4:11 PM Baruch Siach wrote: > > > >> This might be the cause of the problem. The script listed above > >> hardcodes "mmc 0:1". Changing that to "mmc 1:1" mig

Re: RPi3: serial console

2020-10-12 Thread Peter Robinson
On Mon, Oct 12, 2020 at 3:56 PM Heinrich Schuchardt wrote: > > Hello Matthias, > > I have upgraded the Raspberry 3 firmware from raspi3-firmware > (1.20190215-1+deb10u4) to raspi-firmware (1.20200601-3) > [https://packages.debian.org/bullseye/raspi-firmware]. > > After the upgrade the output of U-

Re: RPi3: serial console

2020-10-13 Thread Peter Robinson
> >> Hello Matthias, > >> > >> I have upgraded the Raspberry 3 firmware from raspi3-firmware > >> (1.20190215-1+deb10u4) to raspi-firmware (1.20200601-3) > >> [https://packages.debian.org/bullseye/raspi-firmware]. > >> > >> After the upgrade the output of U-Boot on the serial console is complete >

[PATCH] arch: arm: rockchip: order the rk3399 entries alphabetically

2020-01-07 Thread Peter Robinson
Put the target entries for rk3399 devices in alphabetical order. Signed-off-by: Peter Robinson --- arch/arm/mach-rockchip/rk3399/Kconfig | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3399/Kconfig b/arch/arm/mach-rockchip

Re: [U-Boot] [PATCH] ARM: reset: use do_reset in SPL/TPL if SYSRESET was not enabled for them

2020-01-14 Thread Peter Robinson
> On 10/01/2020 22.48, Tom Rini wrote: > > On Thu, Nov 28, 2019 at 09:56:47AM +0100, Claudius Heine wrote: > > > >> In case CONFIG_SYSRESET is set, do_reset from reset.c will not be available > >> anywere, even if SYSRESET is disabled for SPL/TPL. > >> > >> 'do_reset' is called from SPL for instanc

<    1   2   3   4   5   6   7   8   9   10   >