Re: [PATCH 1/2] mtd: spi-nor: Enable QE bit for ISSI flash

2020-04-20 Thread Jagan Teki
On Mon, Apr 20, 2020 at 9:56 PM Sagar Kadam wrote: > > Hi Jagan, > > > -Original Message- > > From: Jagan Teki > > Sent: Monday, April 20, 2020 3:36 PM > > To: Vignesh R ; u-boot@lists.denx.de > > Cc: Bin Meng ; linux- > > amar...@amarulasolutions.com; Jagan Teki > > ; Sagar Kadam > >

RE: [PATCH 1/2] mtd: spi-nor: Enable QE bit for ISSI flash

2020-04-20 Thread Sagar Kadam
Hi Jagan, > -Original Message- > From: Jagan Teki > Sent: Monday, April 20, 2020 3:36 PM > To: Vignesh R ; u-boot@lists.denx.de > Cc: Bin Meng ; linux- > amar...@amarulasolutions.com; Jagan Teki > ; Sagar Kadam > Subject: [PATCH 1/2] mtd: spi-nor: Enable QE bit for ISSI flash > >

Re: [PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-20 Thread Peter Geis
On Thu, Apr 16, 2020 at 5:53 AM Loic Devulder wrote: > > Hi Chen, > > I tested your patches and all work pretty well. I just had issues with > USB2 that doesn't recognize any of my USB keys (it's OK on USB3). > > I also had these issues with XHCI driver: > => usb reset > resetting USB... > BUG at

Re: [PATCH] test: make tests should use pytest -ra

2020-04-20 Thread Heinrich Schuchardt
On 4/20/20 1:38 AM, Simon Glass wrote: > On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt wrote: >> >> By passing -ra to pytest we get a summary indicating which tests failed >> and why tests were skipped. >> >> Here is an example output: >> >> short test summary info

[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

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

2020-04-20 Thread Peter Robinson
Specification: - Rockchip RK3399 - 4GB Dual-Channel LPDDR4 - eMMC socket - mSD card slot - 128Mbit (16Mb) SPI Flash - AP6256 for 11AC WiFi + BT5 - 14 inch 1920*1080 eDP MiPi display - Camera - USB 3.0, 2.0 ports - Type-C port with alt-mode display (DP 1.2) and 15W charge - DC 5V/3A - optional PCIe

[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

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 100644 ---

RE: [PATCH 2/2] mtd: spi-nor-ids: Enable 4B_OPCODES for is25wp256

2020-04-20 Thread Sagar Kadam
Hi Jagan, > -Original Message- > From: Jagan Teki > Sent: Monday, April 20, 2020 3:36 PM > To: Vignesh R ; u-boot@lists.denx.de > Cc: Bin Meng ; linux- > amar...@amarulasolutions.com; Jagan Teki > ; Sagar Kadam > Subject: [PATCH 2/2] mtd: spi-nor-ids: Enable 4B_OPCODES for is25wp256 >

[PATCH] rtc: ds1374: typo Watchdog

2020-04-20 Thread Heinrich Schuchardt
%s/Watchdoc/Watchdog/ Signed-off-by: Heinrich Schuchardt --- drivers/rtc/ds1374.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/ds1374.c b/drivers/rtc/ds1374.c index 5a2060fe75..9f2647d707 100644 --- a/drivers/rtc/ds1374.c +++ b/drivers/rtc/ds1374.c @@ -58,7

[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 +

Re: [PATCH v7 04/17] efi_loader: variable: support variable authentication

2020-04-20 Thread Sughosh Ganu
hello Heinrich, On Tue, 21 Apr 2020 at 01:00, Heinrich Schuchardt wrote: > On 4/20/20 9:22 PM, Sughosh Ganu wrote: > > > > On Tue, 14 Apr 2020 at 08:23, AKASHI Takahiro > > mailto:takahiro.aka...@linaro.org>> wrote: > > > > With this commit,

Re: [PATCH v7 04/17] efi_loader: variable: support variable authentication

2020-04-20 Thread Sughosh Ganu
On Tue, 14 Apr 2020 at 08:23, AKASHI Takahiro wrote: > With this commit, EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS > is supported for authenticated variables and the system secure state > will transfer between setup mode and user mode as UEFI specification > section 32.3 describes. > >

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

2020-04-20 Thread Jagan Teki
On Mon, Apr 20, 2020 at 9:21 PM Peter Robinson wrote: > > > 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

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

2020-04-20 Thread Anatolij Gustschin
On Mon, 20 Apr 2020 19:18:25 +0100 Peter Robinson pbrobin...@gmail.com wrote: > 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:

Re: [PATCH] test: make tests should use pytest -ra

2020-04-20 Thread Simon Glass
Hi Heinrich, On Mon, 20 Apr 2020 at 12:23, Heinrich Schuchardt wrote: > > On 4/20/20 1:38 AM, Simon Glass wrote: > > On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt > > wrote: > >> > >> By passing -ra to pytest we get a summary indicating which tests failed > >> and why tests were skipped. >

RE: [PATCH 1/2] mtd: spi-nor: Enable QE bit for ISSI flash

2020-04-20 Thread Sagar Kadam
Hi Jagan, > -Original Message- > From: Jagan Teki > Sent: Monday, April 20, 2020 9:58 PM > To: Sagar Kadam > Cc: Vignesh R ; u-boot@lists.denx.de; Bin Meng > ; linux-amar...@amarulasolutions.com > Subject: Re: [PATCH 1/2] mtd: spi-nor: Enable QE bit for ISSI flash > > [External Email]

[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

Re: [PATCH 1/1] test: test_fs error message

2020-04-20 Thread Stephen Warren
On 4/20/20 12:48 PM, Heinrich Schuchardt wrote: > For non-root users mkfs.vfat is not in the search path at least on Debian. > Hence when running 'make tests' a message indicates that file system tests > have been skipped: > > SKIPPED [13] test/py/tests/test_fs/conftest.py:340: Setup failed for >

Re: [PATCH] USB: Add USB support in u-boot for OrangePi Win/Plus

2020-04-20 Thread Jagan Teki
On Wed, Apr 15, 2020 at 4:32 PM wrote: > > From: Maxime Hesling > > Make USB devices (keyboard, storage...) working in u-boot for OrangePi > Win/Plus. > --- S-o-B ? commit message? Jagan.

Re: [PATCH] test: make tests should use pytest -ra

2020-04-20 Thread Tom Rini
On Mon, Apr 20, 2020 at 08:23:08PM +0200, Heinrich Schuchardt wrote: > On 4/20/20 1:38 AM, Simon Glass wrote: > > On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt > > wrote: > >> > >> By passing -ra to pytest we get a summary indicating which tests failed > >> and why tests were skipped. > >> >

Re: [PATCH] test: make tests should use pytest -ra

2020-04-20 Thread Heinrich Schuchardt
On 4/20/20 8:45 PM, Simon Glass wrote: > Hi Heinrich, > > On Mon, 20 Apr 2020 at 12:23, Heinrich Schuchardt wrote: >> >> On 4/20/20 1:38 AM, Simon Glass wrote: >>> On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt >>> wrote: By passing -ra to pytest we get a summary indicating which

Re: [GIT PULL] TI changes for next branch targeting v2020.07-rc1

2020-04-20 Thread Tom Rini
On Mon, Apr 20, 2020 at 08:22:54PM +0530, Lokesh Vutla wrote: > Hi Tom, > > Please find the pull request targeting v2020.07-rc1 tag containing > TI specific changes. > > Travis-CI:https://travis-ci.org/github/lokeshvutla/u-boot/builds/676839900 > > Thanks and regards, > Lokesh > > The

[RFC PATCH 1/3] net: phy: Add a generic phy file for TI generic PHYs

2020-04-20 Thread Dan Murphy
Add a TI Generic init file that will initialize TI PHYs that follow that not require special handling. These PHYs can connect with the standard MII register set. This generice file will register the PHY IDs and names of the PHYs so when the command 'mdio list' is executed the PHY name will

Re: [PATCH v7 04/17] efi_loader: variable: support variable authentication

2020-04-20 Thread Heinrich Schuchardt
On 4/20/20 9:22 PM, Sughosh Ganu wrote: > > On Tue, 14 Apr 2020 at 08:23, AKASHI Takahiro > mailto:takahiro.aka...@linaro.org>> wrote: > > With this commit, EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS > is supported for authenticated variables and the system secure state > will

Re: [PATCH 3/5] ARM: dts: rmobile: Reserve space in R-Car Gen3 DTs

2020-04-20 Thread Tom Rini
On Sun, Apr 19, 2020 at 05:37:17PM -0600, Simon Glass wrote: > Hi Marek, > > On Sat, 11 Apr 2020 at 14:01, Marek Vasut wrote: > > > > Reserve 4 kiB of space in R-Car Gen3 DTs when those DTs are compiled > > to permit patching in OpTee-OS /firmware node, /reserved-memory node > > and possibly

Question regarding sending new platform code

2020-04-20 Thread Rayagonda Kokatanur
Hi all, I am planning to push patches for new platform which includes board files, configuration files, defconfigs, dt files etc everything specific to new platform. I managed to break the new platform code into small logical patches, I ended up creating total 77 patches. Now is it good idea

Re: [PATCH] sunxi: add support for Banana Pi P2 Zero board

2020-04-20 Thread Jagan Teki
On Thu, Apr 16, 2020 at 10:06 PM Mizan R wrote: > commit details? > Signed-off-by: Mizan R > --- > arch/arm/dts/Makefile | 1 + > .../dts/sun8i-h2-plus-bananapi-p2-zero.dts| 181 ++ > configs/Sinovoip_BPI_P2_Zero_defconfig| 20 ++ > 3

[PATCH] imx8qxp_mek: Run with caches enabled

2020-04-20 Thread Fabio Estevam
There is no need to run with caches disabled. Signed-off-by: Fabio Estevam --- configs/imx8qxp_mek_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig index 8a7e9ee9c7..46b8cbf351 100644 --- a/configs/imx8qxp_mek_defconfig

[PATCH 1/1] test: test_fs error message

2020-04-20 Thread Heinrich Schuchardt
For non-root users mkfs.vfat is not in the search path at least on Debian. Hence when running 'make tests' a message indicates that file system tests have been skipped: SKIPPED [13] test/py/tests/test_fs/conftest.py:340: Setup failed for filesystem: fat16 This message is not really helpful as

[RFC PATCH 3/3] net: phy: dp83869: Port the kernel driver

2020-04-20 Thread Dan Murphy
Port the DP83869 kernel driver. Signed-off-by: Dan Murphy --- drivers/net/phy/Kconfig | 4 + drivers/net/phy/Makefile | 1 + drivers/net/phy/dp83869.c| 440 +++ drivers/net/phy/ti_phy_init.c| 4 +

Re: [PATCH] test: make tests should use pytest -ra

2020-04-20 Thread Heinrich Schuchardt
On 4/20/20 8:32 PM, Tom Rini wrote: > On Mon, Apr 20, 2020 at 08:23:08PM +0200, Heinrich Schuchardt wrote: >> On 4/20/20 1:38 AM, Simon Glass wrote: >>> On Sat, 18 Apr 2020 at 06:09, Heinrich Schuchardt >>> wrote: By passing -ra to pytest we get a summary indicating which tests failed

[RFC PATCH 2/3] net: phy: Add helper routines to set and clear bits

2020-04-20 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/phy.h b/include/phy.h index

[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

[PATCH v2 3/7] lib: rsa: distinguish between tpl and spl for CONFIG_RSA_VERIFY

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner While the SPL may want to do signature checking this won't be the case for TPL in all cases, as TPL is mostly used when the amound of initial memory is not enough for a full SPL. So on a system where SPL uses DM but TPL does not we currently end up with a TPL compile error

[PATCH v2 1/7] spl: fit: select SPL_HASH_SUPPORT for SPL_FIT_SIGNATURE

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner rsa-checsum needs support for hash functions or else will run into compile errors like: u-boot/lib/rsa/rsa-checksum.c:28: undefined reference to `hash_progressive_lookup_algo' So similar to the main FIT_SIGNATURE entry selects HASH, select SPL_HASH_SUPPORT for

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-20 Thread Marek
> > Can you please showcase using this feature somewhere? Thanks! > Yes. First of all, sincere apology for such a massive delay in it. I got snowed with the corporation work of mine. So here is my go at showcasing it. We are in SPL U-Boot running code from within the static memory:

[PATCH] lib/crypto, efi_loader: avoid multiple inclusions of header files

2020-04-20 Thread AKASHI Takahiro
By adding extra symbols, we can now avoid including x509_parser and pkcs7_parser.h files multiple times. Signed-off-by: AKASHI Takahiro Suggested-by: Heinrich Schuchardt --- lib/crypto/pkcs7_parser.h | 4 lib/crypto/x509_parser.h | 4

[PATCH 1/7] examples: generate demo.bin

2020-04-20 Thread mhorne
From: Mitchell Horne The CONFIG_API option builds the example program, examples/api/demo, as an ELF file. The make logic exists to create a binary as well, so add the target to do so. Signed-off-by: Mitchell Horne --- examples/api/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 0/7] Add support for CONFIG_API on RISC-V

2020-04-20 Thread mhorne
From: Mitchell Horne FreeBSD makes use of u-boot's CONFIG_API to provide a version of its standard bootloader for embedded architectures. This series adds the necessary support for the RISC-V architecture, along with some small fixes to the API demo program for 64-bit systems. Mitchell Horne

[PATCH v2 5/7] spl: fit: enable signing a generated u-boot.itb

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner With SPL_FIT_SIGNATURE enabled we will likely want a generated u-boot.itb to be signed and the key stores so that the spl can reach it. So add a SPL_FIT_SIGNATURE_KEY_DIR option and suitable hooks into the Makefile to have mkimage sign the .itb and store the used key into

[PATCH v2 4/7] mkimage: fit_image: handle multiple errors when writing signatures

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner fit_image_write_sig() contains mostly functions from libfdt that return FDT_ERR_foo errors but also a call to fit_set_timestamp() which returns a regular error. When handling the size increase via multiple iterations, check for both -FDT_ERR_NOSPACE but also for -ENOSPC.

[PATCH v2 7/7] rockchip: make_fit_atf: add signature handling

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner If the newly added fit-generator key-options are found, append needed signature nodes to all generated image blocks, so that they can get signed when mkimage later compiles the .itb from the generated .its. Signed-off-by: Heiko Stuebner ---

[PATCH v2 6/7] spl: fit: add Kconfig option to specify key-hint for fit_generator

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner The u-boot.itb can be generated either from a static .its that can simply include the needed signature nodes with key-hints or from a fit-generator script referenced in CONFIG_SPL_FIT_GENERATOR. In the script-case it will need to know what key to include for the key-hint

[PATCH v2 0/7] rockchip: make it possible to sign the u-boot.itb

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner This series fixes some issues I found with SPL_FIT_SIGNATURE enabled and then makes it possible to sign a generated u-boot.itb automatically even if the its-source got created by a generator script. To let the SPL know about the key, the -K option for mkimage points to the

Re: [PATCH v2 4/6] riscv: Add SMP Kconfig option dependency for U-Boot proper

2020-04-20 Thread Atish Patra
On Thu, Apr 16, 2020 at 8:18 AM Bin Meng wrote: > > U-Boot proper running in S-mode only need SMP support when using > SBI v0.1. With SBI v0.2 HSM extension, it does not need implement > multicore boot in U-Boot proper. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - add

[PATCH v2 2/7] spl: fit: select SPL_CRYPTO_SUPPORT for SPL_FIT_SIGNATURE

2020-04-20 Thread Heiko Stuebner
From: Heiko Stuebner Verifying FIT images obviously needs the rsa parts of crypto support and while main uboot always compiles crypto support, it's optional for SPL and we should thus select the necessary option to not end up in compile errors like: u-boot/lib/rsa/rsa-verify.c:328:

[PATCH] lib/crypto, efi_loader: move some headers to include/crypto

2020-04-20 Thread AKASHI Takahiro
Pkcs7_parse.h and x509_parser.h are used in UEFI subsystem, in particular, secure boot. So move them to include/crypto to avoid relative paths. Signed-off-by: AKASHI Takahiro Suggested-by: Heinrich Schuchardt --- {lib => include}/crypto/pkcs7_parser.h | 0 {lib => include}/crypto/x509_parser.h

[PATCH] efi_loader: factor out the common code from efi_transfer_secure_state()

2020-04-20 Thread AKASHI Takahiro
efi_set_secure_stat() provides the common code for each stat transition caused by efi_transfer_secure_state(). Signed-off-by: AKASHI Takahiro Suggested-by: Heinrich Schuchardt --- lib/efi_loader/efi_variable.c | 194 +++--- 1 file changed, 64 insertions(+), 130

[PATCH] efi_loader: remove CONFIG_EFI_SECURE_BOOT in efi_loader.h

2020-04-20 Thread AKASHI Takahiro
The guard doesn't make any difference, so remove it. Signed-off-by: AKASHI Takahiro Suggested-by: Heinrich Schuchardt --- include/efi_loader.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index 0ba9a1f702a6..8381aa5d5731

[PATCH] efi_loader: fixe unreachable statement in efi_sigstore_parse_siglist

2020-04-20 Thread AKASHI Takahiro
"if (left < esl->signature_size)" is not reachable in a while loop. But it is still valuable in case that a given signature database is somehow corrupted. So fix the while loop condition. Signed-off-by: AKASHI Takahiro Reported-by: Heinrich Schuchardt --- lib/efi_loader/efi_signature.c | 2 +-

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

2020-04-20 Thread Vagrant Cascadian
On 2020-04-20, Peter Robinson wrote: > 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 > Reviewed-by: Anatolij

Re: [PATCH] board: add InnoComm i.MX8MM WB15EVK

2020-04-20 Thread Matt Porter
On Thu, Apr 16, 2020 at 02:33:17PM -0300, Fabio Estevam wrote: > Hi Matt, Hi Fabio, thanks for the review! > On Thu, Apr 9, 2020 at 6:51 PM Matt Porter wrote: > > Hopefully this dts will be sent upstream. Yes, this just made it out first. Updating both accordingly below. > > > +/ { > > +

Re: [PULL u-boot] Please pull u-boot-amlogic-20200420

2020-04-20 Thread Tom Rini
aster' of git://git.denx.de/u-boot-marvell (2020-04-14 > 08:47:07 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20200420 > > for you to fetch changes up to 699a33b938860744645

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. > > > > Tested with Fedora 32. > >

Re: [PATCH 3/3] spi: sifive: Fix format register proto field

2020-04-20 Thread Bin Meng
On Mon, Apr 20, 2020 at 8:09 PM Jagan Teki wrote: > > SiFive SPI controller has a proto bit field in frame format > register which would be used to configure the SPI I/O protocol > lines used on specific transfer. > > Right now the driver is configuring this proto using slave->mode > which is

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

2020-04-20 Thread Vagrant Cascadian
On 2020-04-20, Peter Robinson wrote: > add "boe,nv140fhmn49" display to compatible node. I didn't see u-boot output on the eDP panel; not sure if that's expected. Once linux booted it did work just fine. live well, vagrant > Signed-off-by: Peter Robinson > Cc: Anatolij Gustschin > --- >

Re: [PATCH 00/11] Fixes for Nokia RX-51

2020-04-20 Thread Pali Rohár
On Monday 20 April 2020 13:42:12 Lokesh Vutla wrote: > > > On 17/04/20 3:27 AM, Pali Rohár wrote: > > On Tuesday 14 April 2020 14:01:44 Pali Rohár wrote: > >> On Tuesday 14 April 2020 17:21:24 Lokesh Vutla wrote: > >>> On 14/04/20 4:47 PM, Pali Rohár wrote: > On Tuesday 14 April 2020

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

2020-04-20 Thread Vagrant Cascadian
On 2020-04-20, Peter Robinson wrote: > Specification: > - Rockchip RK3399 > - 4GB Dual-Channel LPDDR4 > - eMMC socket > - mSD card slot > - 128Mbit (16Mb) SPI Flash > - AP6256 for 11AC WiFi + BT5 > - 14 inch 1920*1080 eDP MiPi display > - Camera > - USB 3.0, 2.0 ports > - Type-C port with alt-mode

Re: Support for Pinebook Pro v2

2020-04-20 Thread Vagrant Cascadian
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. > > Tested with Fedora 32. I was unable to build applied against 2020.04 on Debian or GNU Guix, ending

[PATCH 4/7] examples: fix the type of search_hint

2020-04-20 Thread mhorne
From: Mitchell Horne search_hint is defined in assembly as a .long, and is intended to hold the initial stack pointer as a hint to the api_search_sig() routine. Convert this to a uintptr_t, to avoid possible truncation on 64-bit systems. Signed-off-by: Mitchell Horne --- examples/api/glue.c |

[PATCH 3/7] examples: add a linker script for the API demo

2020-04-20 Thread mhorne
From: Mitchell Horne When compiling the API demo program, the first object file in the linker arguments is crt0.o, which contains the _start routine. This is done with the hope that it will appear first in the .text section, but the linker doesn't guarantee this behaviour. Add a simple linker

[PATCH 5/7] examples: fix incompatible type casts

2020-04-20 Thread mhorne
From: Mitchell Horne Some printf statements in the API demo assume pointers to be 32-bits long, presumably since it was originally developed for 32-bit arm. This generates a number of warnings when compiling for 64-bit architectures, and may result in truncation of these values. Fix this by

[PATCH 7/7] api: enumerate virtio-blk devices

2020-04-20 Thread mhorne
From: Mitchell Horne API clients can make a syscall requesting the enumeration of network and storage devices. However, this does not check for virtio-blk storage devices, which API consumers may wish to use. Add the support to enumerate these devices as well. Signed-off-by: Mitchell Horne ---

[PATCH 6/7] riscv: add CONFIG_API support

2020-04-20 Thread mhorne
From: Mitchell Horne Add the necessary changes to allow building the CONFIG_API option on the RISC-V architecture. The downstream consumer of this API is the u-boot version of FreeBSD's loader(8). This enables the loader to be ported to RISC-V. Signed-off-by: Mitchell Horne Cc:

[PATCH 2/7] examples: rename __start to _start on MIPS

2020-04-20 Thread mhorne
From: Mitchell Horne On MIPS, __start marks the entry point to the CONFIG_API demo program. Change the name to _start, to be consistent with all other architectures. Signed-off-by: Mitchell Horne --- examples/api/crt0.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v6 4/8] board: presidio-asic: Add I2C support

2020-04-20 Thread Alex Nemirovsky
Add I2C board support for Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky CC: Heiko Schocher --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None configs/cortina_presidio-asic-emmc_defconfig | 3 +++ 1 file changed,

[PATCH v6 7/8] spi: ca_sflash: Add CAxxxx SPI Flash Controller

2020-04-20 Thread Alex Nemirovsky
From: Pengpeng Chen Add SPI Flash controller driver for Cortina Access CA SoCs Signed-off-by: Pengpeng Chen Signed-off-by: Alex Nemirovsky CC: Jagan Teki CC: Vignesh R --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Fixup syntax issues related to

[PATCH v6 5/8] led: led_cortina: Add CAxxx LED support

2020-04-20 Thread Alex Nemirovsky
From: Jway Lin Add Cortina Access LED controller support for CA SOCs Signed-off-by: Jway Lin Signed-off-by: Alex Nemirovsky CC: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: - remove unused macros - remove cortina prefix from macros - remove use BSS variable -

[PATCH v6 3/8] i2c: i2c-cortina: added CAxxxx I2C support

2020-04-20 Thread Alex Nemirovsky
From: Arthur Li Add I2C controller support for Cortina Access CA SoCs Signed-off-by: Arthur Li Signed-off-by: Alex Nemirovsky CC: Heiko Schocher CA_I2C: DT binding for I2C controller DT binding document for Cortina I2C driver --- Changes in v6: - Add I2C DT binding document Changes

[PATCH v6 0/8] Cortina Access Drivers Package 2

2020-04-20 Thread Alex Nemirovsky
This release adds the following drivers and integrates support into the Cortina Access Presidio Engineering Board: CA SoC eMMC/SD controller CA SoC I2C controller CA Soc LED controller CA SPI NAND and NOR controller Changes in v6: - Add I2C DT binding document Changes in v5:

[PATCH v6 2/8] board: presidio-asic: update eMMC DT informatino

2020-04-20 Thread Alex Nemirovsky
Change DT compatiblity name to match change in driver's name. Remove unused io_ds and fifo_mode fields from DT. Signed-off-by: Alex Nemirovsky CC: Peng Fan --- Changes in v6: None Changes in v5: - Rebase on codebase basis v2020.04-rc5 which already incorporated initial baseline of eMMC DT

[PATCH v6 6/8] board: presidio: add LED support

2020-04-20 Thread Alex Nemirovsky
From: Jway Lin Add LED support for Cortina Access Presidio Engineering Board Signed-off-by: Jway Lin Signed-off-by: Alex Nemirovsky Reviewed-by: Simon Glass CC: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: - rename DT blink rate symbol Changes in v3: None

[PATCH v6 1/8] mmc: ca_dw_mmc: Misc cleanup of driver

2020-04-20 Thread Alex Nemirovsky
From: Arthur Li - Rename DT compatible name - Remove uneccessary if-statement to support 8-bit buswidth - Remove redundant error msg - Use symbolic constants in switch statement Signed-off-by: Arthur Li Signed-off-by: Alex Nemirovsky CC: Peng Fan --- Changes in v6: None Changes in v5: -

Re: [PATCH v6 3/6] riscv: Provide a mechanism to fix DT for reserved memory

2020-04-20 Thread Atish Patra
On Mon, Apr 20, 2020 at 1:41 AM Rick Chen wrote: > > Hi Atish > > > From: Atish Patra [mailto:atish.pa...@wdc.com] > > Sent: Sunday, April 19, 2020 3:32 AM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Bin Meng; Anup Patel; Lukas Auer; Heinrich Schuchardt; > > ag...@csgraf.de;

[PATCH v6 8/8] board: presidio-asic: Add SPI NOR support

2020-04-20 Thread Alex Nemirovsky
Add SPI NOR support for Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky CC: Jagan Teki CC: Vignesh R --- Changes in v6: None Changes in v5: - NAND support removed from presidio-asic board DT. Changes in v4: None Changes in v3: None Changes in v2: None

Re: [PATCH v6 3/8] i2c: i2c-cortina: added CAxxxx I2C support

2020-04-20 Thread Heiko Schocher
Hello Alex, Am 21.04.2020 um 07:29 schrieb Alex Nemirovsky: From: Arthur Li Add I2C controller support for Cortina Access CA SoCs Signed-off-by: Arthur Li Signed-off-by: Alex Nemirovsky CC: Heiko Schocher CA_I2C: DT binding for I2C controller DT binding document for Cortina I2C

Re: [PATCH v6 4/8] board: presidio-asic: Add I2C support

2020-04-20 Thread Heiko Schocher
Hello Alex, Am 21.04.2020 um 07:29 schrieb Alex Nemirovsky: Add I2C board support for Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky CC: Heiko Schocher --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

Re: [PATCH] i2c: muxes: pca954x: add PCA9546 variant

2020-04-20 Thread Heiko Schocher
Hello Chris, Am 01.04.2020 um 04:55 schrieb Chris Packham: This adds the PCA9546 4-channel i2c bus switch. Signed-off-by: Chris Packham --- U-boot already supports the PCA9646 which is a pin-compatible (and mostly register compatible) replacement. I still think it's worth making the

RE: [PATCH v6 00/17] RISC-V SiFive FU540 support SPL

2020-04-20 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 20 April 2020 20:13 >To: Pragnesh Patel >Cc: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; Atish Patra ; >palmerdabb...@google.com; Paul Walmsley ; >Troy Benjegerdes ; Anup Patel >; Sagar Kadam ; Rick Chen > >Subject: Re: [PATCH v6

RE: [PATCHv2 1/9] board: lx2160a: Add header file cpu_func.h

2020-04-20 Thread Wasim Khan
> -Original Message- > From: U-Boot On Behalf Of Zhiqiang Hou > Sent: Tuesday, March 24, 2020 1:42 PM > To: u-boot@lists.denx.de; Priyanka Jain ; Biwen Li > > Cc: Z.q. Hou > Subject: [PATCHv2 1/9] board: lx2160a: Add header file cpu_func.h > > From: Hou Zhiqiang > > The

Re: [PATCH] cmd: eeprom: Staticize eeprom_i2c_bus

2020-04-20 Thread Heiko Schocher
Hello Marek, Am 07.04.2020 um 13:29 schrieb Marek Vasut: The eeprom_i2c_bus is not used outside of this file, make it static. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Tom Rini --- cmd/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-i2c master,

[U-Boot] Please pull from u-boot-i2c

2020-04-20 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c master The following changes since commit 8d5d3bcf3c53d798bd7f3fe7092e994593bcc41c: Merge branch '2020-04-16-master-imports' (2020-04-17 11:17:29 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-i2c.git

Re: [PATCH v3 1/1] drivers: i2c: add brcm iproc I2C driver support

2020-04-20 Thread Heiko Schocher
Hello Rayagonda Kokatanur, Am 08.04.2020 um 07:42 schrieb Rayagonda Kokatanur: Add I2C driver support for Broadcom iproc-based socs. Signed-off-by: Arjun Jyothi Signed-off-by: Rayagonda Kokatanur Signed-off-by: Sheetal Tigadoli Signed-off-by: Vladimir Olovyannikov Reviewed-by: Heiko

Re: [PATCH v4] cmd: ubi: add a command to rename volume

2020-04-20 Thread Heiko Schocher
Hello Philippe, Am 23.03.2020 um 19:20 schrieb Philippe Reynes: This commit adds the command ubi rename to rename an ubi volume. The format of the command is: ubi rename . To enable this command, the option CMD_UBI_RENAME must be selected. Signed-off-by: Philippe Reynes --- cmd/Kconfig |

[U-Boot] Pull request: u-boot-ubi/master

2020-04-20 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi master The following changes since commit 8d5d3bcf3c53d798bd7f3fe7092e994593bcc41c: Merge branch '2020-04-16-master-imports' (2020-04-17 11:17:29 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-ubi.git

Re: [PATCH v6 02/14] test: dm: add test item for ofnode_get_child_count()

2020-04-20 Thread Chunfeng Yun
On Mon, 2020-04-20 at 11:07 -0300, Fabio Estevam wrote: > On Mon, Apr 20, 2020 at 12:22 AM Chunfeng Yun > wrote: > > > + i-test { > > + compatible = "mediatek,u-boot-fdt-test"; > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > +

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200419

2020-04-20 Thread Tom Rini
On Sun, Apr 19, 2020 at 11:33:46AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks !The following changes since commit > 0f238dab6d17caabe4f9781d23aaa6087139f2bd: > > Merge tag 'arc-fixes-for-2020.07-rc1' of > https://gitlab.denx.de/u-boot/custodians/u-boot-arc

[PULL u-boot] Please pull u-boot-amlogic-20200420

2020-04-20 Thread Neil Armstrong
/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20200420 for you to fetch changes up to 699a33b9388607446452ed3457921cfd61fc094e: configs: libretech-s912-pc: Enable USB gadget with Mass Storage function (2020-04-20 14:19:10 +0200

[PATCH 2/2] mx8mq_evk: Remove unrelated comment

2020-04-20 Thread Fabio Estevam
The comment does not relate to the setup_i2c() function, so just remove it. Signed-off-by: Fabio Estevam --- board/freescale/imx8mq_evk/spl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c index e442510f44..6ba6a52ebb

[PATCH 1/2] imx8mp_evk: Remove unrelated comment

2020-04-20 Thread Fabio Estevam
The comment does not relate to the setup_i2c() function, so just remove it. Signed-off-by: Fabio Estevam --- board/freescale/imx8mp_evk/spl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c index 0b20668e2b..da4da6796d

[PATCH] doc: sphinx: refresh parse-headers.pl from Linux

2020-04-20 Thread Heinrich Schuchardt
Copy parse-headers.pl from Linux kernel tree: * fix the parameter description %s/--man/--usage/ * fix a documentation reference Signed-off-by: Heinrich Schuchardt --- doc/sphinx/parse-headers.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sphinx/parse-headers.pl

[PATCH] lib: zlib: fix formatting, reference

2020-04-20 Thread Heinrich Schuchardt
Provide a valid reference for the deflate format. Reformat the ALGORITHM and REFERENCES comments. Signed-off-by: Heinrich Schuchardt --- lib/zlib/trees.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/lib/zlib/trees.c b/lib/zlib/trees.c

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Marek Vasut
On 4/20/20 4:47 PM, Neil Armstrong wrote: > On 20/04/2020 16:10, Marek Vasut wrote: >> On 4/20/20 4:07 PM, Neil Armstrong wrote: >> [...] >> Doesn't checkpatch complain about this extra space before semicolon ? >>> >>> Nop, even in --strict >> >> Shouldn't it though ? I

[PATCH] dt-bindings: pinctrl: imxrt1020: remove useless comment

2020-04-20 Thread Giulio Benetti
A comment note has been left after completing pinctrl listing, so let's remove it since it's useless. Signed-off-by: Giulio Benetti --- include/dt-bindings/pinctrl/pins-imxrt1020.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/dt-bindings/pinctrl/pins-imxrt1020.h

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

Re: [PATCH v6 02/17] riscv: sifive: fu540: Use OTP DM driver for serial environment variable

2020-04-20 Thread Bin Meng
Hi Jagan, On Tue, Apr 7, 2020 at 5:21 PM Jagan Teki wrote: > > On Tue, Apr 7, 2020 at 1:40 PM Pragnesh Patel > wrote: > > > > Hi Jagan, > > > > >-Original Message- > > >From: Jagan Teki > > >Sent: 07 April 2020 13:32 > > >To: Pragnesh Patel > > >Cc: U-Boot-Denx ; Atish Patra > > >;

Re: [PATCH v6 02/17] riscv: sifive: fu540: Use OTP DM driver for serial environment variable

2020-04-20 Thread Jagan Teki
Hi Bin, On Mon, Apr 20, 2020 at 1:24 PM Bin Meng wrote: > > Hi Jagan, > > On Tue, Apr 7, 2020 at 5:21 PM Jagan Teki wrote: > > > > On Tue, Apr 7, 2020 at 1:40 PM Pragnesh Patel > > wrote: > > > > > > Hi Jagan, > > > > > > >-Original Message- > > > >From: Jagan Teki > > > >Sent: 07

[PATCH] arm: socfpga: stratix10: Fix incorrect CLKMGR_S10_PERPLL_BYPASS offset

2020-04-20 Thread Ley Foon Tan
Offset value for CLKMGR_S10_PERPLL_BYPASS should be 0xb0, fix it. Reported-by: Chee Hong Ang Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/clock_manager_s10.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

  1   2   3   >