[PATCH v3 5/5] test/py: Create a test for launching UEFI binaries from FIT images

2019-12-16 Thread Cristian Ciocaltea
This test verifies the implementation of the 'bootm' extension that handles UEFI binaries inside FIT images (enabled via CONFIG_BOOTM_EFI). Signed-off-by: Cristian Ciocaltea --- test/py/tests/test_efi_fit.py | 233 ++ 1 file changed, 233 insertions(+) create

Re: [BUG] POWER: undefined reference to `_restgpr_25_x'

2019-12-16 Thread Heinrich Schuchardt
On 12/16/19 2:10 PM, Wolfgang Denk wrote: Dear Heinrich, In message you wrote: with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors below when compiling P2041RDB_defconfig. I'm not sure if it's a good idea (and supposed to work) to use a 64 bit compiler for a 32 bit

[PATCH v3 4/5] doc: uefi.rst: Document launching UEFI binaries from FIT images

2019-12-16 Thread Cristian Ciocaltea
This patch adds a new section "Launching a UEFI binary from a FIT image" documenting the usage of the CONFIG_BOOTM_EFI extension to bootm command that offers a verified boot alternative for UEFI binaries such as GRUB2. Signed-off-by: Cristian Ciocaltea Reviewed-by: Heinrich Schuchardt ---

[PATCH v3 0/5] Add support for booting EFI FIT images

2019-12-16 Thread Cristian Ciocaltea
Currently the only way to run an EFI binary like GRUB2 is via the 'bootefi' command, which cannot be used in a verified boot scenario. The obvious solution to this limitation is to add support for booting FIT images containing those EFI binaries. The implementation relies on a new image type -

[PATCH v3 1/5] image: Add IH_OS_EFI for EFI chain-load boot

2019-12-16 Thread Cristian Ciocaltea
Add a new OS type to be used for chain-loading an EFI compatible firmware or boot loader like GRUB2, possibly in a verified boot scenario. Bellow is sample ITS file that generates a FIT image supporting secure boot. Please note the presence of 'os = "efi";' line, which identifies the currently

[PATCH v3 3/5] doc: Add sample uefi.its image description file

2019-12-16 Thread Cristian Ciocaltea
This patch adds an example FIT image description file demonstrating the usage of bootm command to securely launch UEFI binaries. Signed-off-by: Cristian Ciocaltea Reviewed-by: Heinrich Schuchardt --- doc/uImage.FIT/uefi.its | 67 + 1 file changed, 67

[PATCH v3 2/5] bootm: Add a bootm command for type IH_OS_EFI

2019-12-16 Thread Cristian Ciocaltea
Add support for booting EFI binaries contained in FIT images. A typical usage scenario is chain-loading GRUB2 in a verified boot environment. Signed-off-by: Cristian Ciocaltea --- cmd/Kconfig | 7 ++ common/bootm_os.c | 56 +++ 2 files

Re: [U-Boot] [PATCH] net/phy: Fix phy_connect() for phy addr 0

2019-12-16 Thread Marek Vasut
On 11/7/19 9:04 PM, Joe Hershberger wrote: > On Thu, Nov 7, 2019 at 1:16 PM Tom Rini wrote: >> >> On Tue, Nov 05, 2019 at 04:05:11AM +, Priyanka Jain wrote: >> >>> Fix 'mask' calculation in phy_connect() for phy addr '0'. >>> 'mask' is getting set to '0x' for phy addr '0' >>> in

Re: [PATCH v3 4/6] drivers: net: add Felix DSA switch driver

2019-12-16 Thread Alexandru Marginean
On 12/15/2019 3:16 PM, Vladimir Oltean wrote: On Sun, 15 Dec 2019 at 14:53, Vladimir Oltean wrote: Hi Alex, On Tue, 3 Dec 2019 at 18:18, Alex Marginean wrote: +static int felix_port_enable(struct udevice *dev, int port, +struct phy_device *phy) +{ + struct

Re: [PATCH v3 4/6] drivers: net: add Felix DSA switch driver

2019-12-16 Thread Alexandru Marginean
On 12/15/2019 1:53 PM, Vladimir Oltean wrote: Hi Alex, On Tue, 3 Dec 2019 at 18:18, Alex Marginean wrote: +static int felix_port_enable(struct udevice *dev, int port, +struct phy_device *phy) +{ + struct felix_priv *priv = dev_get_priv(dev); + void

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-16 Thread Alexandru Marginean
On 12/15/2019 2:08 PM, Vladimir Oltean wrote: On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: +/** + * This function deals with additional devices around the switch as these should + * have been bound to drivers by now. + * TODO: pick up references to other switch devices here, if we're

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2019-12-16 Thread Alexandru Marginean
Hi Vladimir, On 12/15/2019 1:44 PM, Vladimir Oltean wrote: Hi Alex, On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: DSA stands for Distributed Switch Architecture and it covers switches that are connected to the CPU through an Ethernet link and generally use frame tags to pass

RE: [U-Boot] [PATCH v2 1/2] spi: nxp_fspi: new driver for the FlexSPI controller

2019-12-16 Thread Priyanka Jain
>-Original Message- >From: Michael Walle >Sent: Monday, December 16, 2019 6:50 PM >To: Priyanka Jain ; Jagan Teki >; Vignesh R >Cc: u-boot@lists.denx.de >Subject: Re: [U-Boot] [PATCH v2 1/2] spi: nxp_fspi: new driver for the FlexSPI >controller > >Hi Priyanka, Hi Jagan, Hi Vingesh, >

RE: [Patch v2 1/7] spi: Transform the FSL QuadSPI driver to use the SPI MEM API

2019-12-16 Thread Priyanka Jain
>-Original Message- >From: Kuldeep Singh >Sent: Monday, December 16, 2019 5:19 PM >To: u-boot@lists.denx.de >Cc: ja...@amarulasolutions.com; Priyanka Jain ; >s...@denx.de; Ashish Kumar ; >frieder.schre...@kontron.de; Kuldeep Singh ; Ashish >Kumar >Subject: [Patch v2 1/7] spi:

RE: [Patch v2 2/7] treewide: Remove unused FSL QSPI config options

2019-12-16 Thread Priyanka Jain
>-Original Message- >From: Kuldeep Singh >Sent: Monday, December 16, 2019 5:19 PM >To: u-boot@lists.denx.de >Cc: ja...@amarulasolutions.com; Priyanka Jain ; >s...@denx.de; Ashish Kumar ; >frieder.schre...@kontron.de; Kuldeep Singh ; >Ashish Kumar >Subject: [Patch v2 2/7] treewide:

RE: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-16 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH V3 2/2] core: device: use > dev_power_domain_on > > Hi Igor, > > On Mon, Dec 16, 2019 at 12:29 PM Igor Opaniuk > wrote: > > > I do face the same boot issues on colibri-imx8qxp_defconfig , In my > > case using imx_4.19.35_1.0.0 TF-A(ATF) doesn't help too. > > > >

RE: [PATCH] imx8mm_evk: Adjust the environment for booting a mainline kernel

2019-12-16 Thread Peng Fan
> Subject: [PATCH] imx8mm_evk: Adjust the environment for booting a mainline > kernel > > Adjust the environment for booting a mainline kernel by default. > > Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan > --- > configs/imx8mm_evk_defconfig | 1 - > include/configs/imx8mm_evk.h | 8

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-16 Thread Fabio Estevam
Hi Igor, On Mon, Dec 16, 2019 at 6:16 PM Igor Opaniuk wrote: > Sure, will do tomorrow morning asap.Btw, there is also a regression in MMC > subsystem (currently AFK, will look into it and provide more details also > tomorrow), probably the same as explained in the "i.MX8MM-EVK Boot failure"

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-16 Thread Igor Opaniuk
Hi Fabio, On Mon, Dec 16, 2019, 18:24 Fabio Estevam wrote: > Hi Igor, > > On Mon, Dec 16, 2019 at 12:29 PM Igor Opaniuk > wrote: > > > I do face the same boot issues on colibri-imx8qxp_defconfig , > > In my case using imx_4.19.35_1.0.0 TF-A(ATF) doesn't help too. > > > > Bi-secting also points

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2019-12-16 Thread Andrew F. Davis
Hi Tom, I see you have a -next again, if you don't want to take this for the v2020.01 perhaps this could be a good candidate for the next? Andrew On 11/20/19 10:59 PM, Lokesh Vutla wrote: > > > On 20/11/19 11:10 PM, Andrew F. Davis wrote: >> Hello all, >> >> This series brings up

Re: i.MX8MM-EVK Boot failure

2019-12-16 Thread Fabio Estevam
Hi Ricardo, On Thu, Dec 12, 2019 at 6:20 PM Ricardo Salveti wrote: > Can you also confirm if mmc is working correctly on imx8mm evk? > > I currently building with atf imx_4.19.35_1.1.0 and firmware-imx 8.5 > (tried multiple versions, no difference) and I'm unable to get u-boot > to find the mmc

Re: [ANN] U-Boot v2020.01-rc5 released

2019-12-16 Thread Jagan Teki
Hi Andy, On Tue, Dec 17, 2019 at 12:21 AM Andy Shevchenko wrote: > > On Mon, Dec 16, 2019 at 2:41 PM Tom Rini wrote: > > > > Hey all, > > > > It's release day and here is v2020.01-rc5. At this point, we should be > > just seeing regression fixes, and preferably to ones introduced this > >

[PATCH] imx8mm_evk: Adjust the environment for booting a mainline kernel

2019-12-16 Thread Fabio Estevam
Adjust the environment for booting a mainline kernel by default. Signed-off-by: Fabio Estevam --- configs/imx8mm_evk_defconfig | 1 - include/configs/imx8mm_evk.h | 8 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/configs/imx8mm_evk_defconfig

Re: [PATCH v3 7/8] test: rng: Add basic test for random number generator(rng) uclass

2019-12-16 Thread Sughosh Ganu
hi Patrick, On Mon, 16 Dec 2019 at 18:12, Patrick DELAUNAY wrote: > Hi, > > > -Original Message- > > From: U-Boot On Behalf Of Sughosh Ganu > > Sent: vendredi 13 décembre 2019 08:14 > > To: u-boot@lists.denx.de > > Subject: [PATCH v3 7/8] test: rng: Add basic test for random number > >

Re: [PATCH v3 5/8] sandbox: rng: Add a random number generator(rng) driver

2019-12-16 Thread Sughosh Ganu
hi Patrick, On Mon, 16 Dec 2019 at 18:00, Patrick DELAUNAY wrote: > Hi, > > > From: U-Boot On Behalf Of Sughosh Ganu > > Sent: vendredi 13 décembre 2019 08:14 > > > > Add a sandbox driver for random number generation. Mostly aimed at > providing a > > unit test for rng uclass. > > > >

Re: [PATCH v3 1/8] dm: rng: Add random number generator(rng) uclass

2019-12-16 Thread Sughosh Ganu
hi Patrick, On Mon, 16 Dec 2019 at 17:43, Patrick DELAUNAY wrote: > Hi, > > > From: U-Boot On Behalf Of Sughosh Ganu > > Sent: vendredi 13 décembre 2019 08:14 > > > > Add a uclass for reading a random number seed from a random number > generator > > device. > > > > Signed-off-by: Sughosh Ganu

Re: [ANN] U-Boot v2020.01-rc5 released

2019-12-16 Thread Andy Shevchenko
On Mon, Dec 16, 2019 at 2:41 PM Tom Rini wrote: > > Hey all, > > It's release day and here is v2020.01-rc5. At this point, we should be > just seeing regression fixes, and preferably to ones introduced this > cycle rather than older regressions too. > > Once again, for a changelog, > git log

[PATCH v2 1/1] arch: arm: Program GIC LPI configuration table

2019-12-16 Thread Vladimir Olovyannikov
From: Bharat Kumar Reddy Gooty Programs the following: 1. Redistributor PROCBASER configuration table (which is common for all redistributors) 2. Redistributor pending table (PENDBASER), for all the available redistributors. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Vladimir

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-16 Thread Fabio Estevam
Hi Igor, On Mon, Dec 16, 2019 at 12:29 PM Igor Opaniuk wrote: > I do face the same boot issues on colibri-imx8qxp_defconfig , > In my case using imx_4.19.35_1.0.0 TF-A(ATF) doesn't help too. > > Bi-secting also points to this commit. As we are close to the release, I think we should do a

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-16 Thread Igor Opaniuk
Hi Oliver, Fabio, Peng, On Thu, Dec 12, 2019 at 9:20 AM Oliver Graute wrote: > > On 11/12/19, Fabio Estevam wrote: > > Hi Oliver, > > > > On Tue, Dec 10, 2019 at 11:50 PM Peng Fan wrote: > > > > > Update your scfw/atf and they try again. > > > > Does it boot if you use the imx_4.19.35_1.0.0 ATF

[PATCH] dfu: Add option to skip empty pages when flashing UBI images to NAND

2019-12-16 Thread Guillermo Rodríguez
Add a new option to enable the DROP_FFS flag when flashing UBI images to NAND in order to drop trailing all-0xff pages. This is similar to the existing FASTBOOT_FLASH_NAND_TRIMFFS option. Signed-off-by: Guillermo Rodriguez Cc: Lukasz Majewski --- drivers/dfu/Kconfig| 7 +++

Re: [BUG] POWER: undefined reference to `_restgpr_25_x'

2019-12-16 Thread Bin Meng
Hi Heinrich, On Mon, Dec 16, 2019 at 6:06 PM Heinrich Schuchardt wrote: > > Hello Wolfgang, > > with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors > below when compiling P2041RDB_defconfig. > > post/drivers/memory.c:268: undefined reference to `_restgpr_25_x' >

Re: [RFC PATCH 2/2] net: Add Support for GENET Ethernet controller

2019-12-16 Thread Andre Przywara
On Mon, 16 Dec 2019 18:15:01 +0530 Amit Tomer wrote: Hi, > Thanks for having the look. thanks for the reply and the comments. [ ... ] > > > +#define TDMA_RING_REG_BASE(QUEUE_NUMBER) (GENET_TDMA_REG_OFF \ > > > ++ (DMA_RING_SIZE * (QUEUE_NUMBER))) > > > > So it seems

Re: [BUG] common/usb.c: taking address of packed member of ‘struct usb_device_descriptor’ may result in an unaligned pointer value

2019-12-16 Thread Marek Vasut
On 12/16/19 10:44 AM, Heinrich Schuchardt wrote: > Hello Marek, Hi, > with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors > below. Are you building this with some additional extra flags ? > struct usb_device_descriptor is naturally packed. Why do we need the > packed

Re: [U-Boot] [PATCH v2 1/2] spi: nxp_fspi: new driver for the FlexSPI controller

2019-12-16 Thread Michael Walle
Hi Priyanka, Hi Jagan, Hi Vingesh, Am 2019-11-29 08:49, schrieb Michael Walle: Am 2019-11-29 06:03, schrieb Priyanka Jain: -Original Message- From: U-Boot On Behalf Of Michael Walle Sent: Saturday, November 2, 2019 11:56 PM To: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 1/2]

Re: [BUG] POWER: undefined reference to `_restgpr_25_x'

2019-12-16 Thread Wolfgang Denk
Dear Heinrich, In message you wrote: > > with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors > below when compiling P2041RDB_defconfig. I'm not sure if it's a good idea (and supposed to work) to use a 64 bit compiler for a 32 bit application. It might be missing some of

Re: Boot from different partitions based on some condition

2019-12-16 Thread Wolfgang Denk
Dear Mats, In message <1024408647.20191212164...@tele2.se> you wrote: > > I want to set up for an upgrade of our embedded system, using a > special kernel for the upgrade. The standard will be to load the > system from mtd3 (kernel), mtd4 (devicetree) and mtd5 (rootfs). > > When an update is to

Re: gtlab slow?

2019-12-16 Thread Wolfgang Denk
Hi all, In message Claudius Heine wrote: > > Strato apparently took our gitlab instance at about 23:52 to 01:04 CET > offline last night and the load now seems more stable. Hopefully they > resolved this issue now. *knocking on wood* All the statistics we can see says that sind this downtime in

Re: [RFC PATCH 2/2] net: Add Support for GENET Ethernet controller

2019-12-16 Thread Amit Tomer
Hi, Thanks for having the look. > > I am afraid that needs to be more elaborate. You could mention Broadcom, also > that it's only for v5 of it. And that it's based on reverse engineering the > Linux driver. > Text in the cover letter will not make it into the repo, so you should > mention

RE: [PATCH v3 7/8] test: rng: Add basic test for random number generator(rng) uclass

2019-12-16 Thread Patrick DELAUNAY
Hi, > -Original Message- > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > To: u-boot@lists.denx.de > Subject: [PATCH v3 7/8] test: rng: Add basic test for random number > generator(rng) uclass > > Add a unit test for testing the rng uclass functionality

[ANN] U-Boot v2020.01-rc5 released

2019-12-16 Thread Tom Rini
Hey all, It's release day and here is v2020.01-rc5. At this point, we should be just seeing regression fixes, and preferably to ones introduced this cycle rather than older regressions too. Once again, for a changelog, git log --merges v2020.01-rc4..v2020.01-rc5 and as always, I ask for more

RE: [PATCH v3 5/8] sandbox: rng: Add a random number generator(rng) driver

2019-12-16 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Add a sandbox driver for random number generation. Mostly aimed at providing a > unit test for rng uclass. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard > --- >

RE: [PATCH v3 1/8] dm: rng: Add random number generator(rng) uclass

2019-12-16 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Add a uclass for reading a random number seed from a random number generator > device. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard > --- > drivers/Kconfig | 2 ++ >

RE: [PATCH v3 6/8] configs: sandbox: Enable random number generator(rng) device

2019-12-16 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Enable support for random number generator on sandbox configs. This is aimed > primarily at adding unit test support for rng uclass. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard

[PATCH v1] mach-imx: nandbcb: improve cmd help

2019-12-16 Thread Igor Opaniuk
From: Igor Opaniuk Add info about supported i.MX7, improve details the usage of bcbonly subcommand. Signed-off-by: Igor Opaniuk --- arch/arm/mach-imx/cmd_nandbcb.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c

RE: [PATCH v3 4/8] configs: stm32mp15: Enable random number generator(rng) device

2019-12-16 Thread Patrick DELAUNAY
Hi, > Sent: vendredi 13 décembre 2019 08:14 > > Enable support for the rng device on the stm32mp15 configs. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard Acked-by: Patrick Delaunay Thanks. > --- > configs/stm32mp15_basic_defconfig | 2 ++ >

RE: [PATCH v3 1/8] dm: rng: Add random number generator(rng) uclass

2019-12-16 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Add a uclass for reading a random number seed from a random number generator > device. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard Reviewed-by: Patrick Delaunay Thanks. > --- >

RE: [PATCH v3 3/8] stm32mp1: rng: Add a driver for random number generator(rng) device

2019-12-16 Thread Patrick DELAUNAY
Hi Sugosh, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Add a driver for the rng device found on stm32mp1 platforms. The driver > provides > a routine for reading the random number seed from the hardware device. > > Signed-off-by: Sughosh Ganu >

RE: [PATCH v3] board_f.c: Insure gd->new_bootstage alignment

2019-12-16 Thread Patrick DELAUNAY
Hi Tom, > From: Patrice CHOTARD > Sent: mercredi 27 novembre 2019 10:12 > > In reserve_bootstage(), in case size is odd, gd->new_bootstage is not > aligned. In > bootstage_relocate(), the platform hangs when getting access to data- > >record[i].name. > To avoid this issue, make

[Patch v2 7/7] treewide: Update fsl qspi node dt properties as per spi-mem driver

2019-12-16 Thread Kuldeep Singh
According to new qspi driver, some properties like "bus-num, num-cs, big-endian" are no longer used. Device endiannes can be determined from device-type data in driver. Now use board specific compatibles, generic node names and specific labels to align with linux device-tree properties. Also

[Patch v2 6/7] configs: ls1046a: Move SPI_FLASH_SPANSION to defconfig

2019-12-16 Thread Kuldeep Singh
Enable CONFIG_SPI_FLASH_SPANSION in defconfigs of LS1046ARDB and LS1046AQDS which have two spansion flases i.e s25fs512s each of size 64M. Signed-off-by: Kuldeep Singh --- configs/ls1046aqds_qspi_defconfig | 1 + configs/ls1046aqds_sdcard_qspi_defconfig | 1 +

[Patch v2 0/7] Transition of fsl qspi driver to spi-mem framework

2019-12-16 Thread Kuldeep Singh
This entire patch series migrate freescale qspi driver to spi-mem framework. v2 version of series includes changes in qspi driver to have 1k size instead of complete flash size so as to make driver independent of flash size. This also makes it align with linux version of driver. Also added

[Patch v2 5/7] configs: ls1012a: Enable CONFIG_SPI_FLASH_SPANSION

2019-12-16 Thread Kuldeep Singh
Since CONFIG_FSL_QSPI is already enabled for LS1012A in defconfigs. Also enable the CONFIG_SPI_FLASH_SPANSION for LS1012A boards having spansion flashes. Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh --- configs/ls1012a2g5rdb_qspi_defconfig | 1 +

[Patch v2 4/7] imx: imx6sx: Remove unused 'num-cs' property

2019-12-16 Thread Kuldeep Singh
From: Frieder Schrempf This property is not used by the driver anymore so let's remove it. Other dts still have 'num-cs' set, but they need a resync with the Linux kernel anyway, so let's only do the U-Boot-specific files for now. Signed-off-by: Frieder Schrempf Signed-off-by: Kuldeep Singh

[Patch v2 2/7] treewide: Remove unused FSL QSPI config options

2019-12-16 Thread Kuldeep Singh
Some of these options are not used by the driver anymore and some of them are obsolete as the information is gathered from the dt. Also consolidating defines in common headers. Signed-off-by: Frieder Schrempf Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh ---

[Patch v2 3/7] configs: ls1043a: Move CONFIG_FSL_QSPI to defconfig

2019-12-16 Thread Kuldeep Singh
Move CONFIG_FSL_QSPI to the boards defconfigs and while at it also move CONFIG_SPI_FLASH_SPANSION. Signed-off-by: Frieder Schrempf Signed-off-by: Kuldeep Singh --- configs/ls1043aqds_qspi_defconfig| 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 +

[Patch v2 1/7] spi: Transform the FSL QuadSPI driver to use the SPI MEM API

2019-12-16 Thread Kuldeep Singh
To support the SPI MEM API, instead of modifying the existing U-Boot driver, this patch adds a port of the existing Linux driver. This also has the advantage that porting changes and fixes from Linux will be easier. Porting of driver left most of the functions unchanged while few of the changes

[PATCH 1/1] efi_loader: git ignore helloworld_efi.S

2019-12-16 Thread Heinrich Schuchardt
Add *.S to .gitignore. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/efi_loader/.gitignore b/lib/efi_loader/.gitignore index 634a600f84..f2d7c14447 100644 --- a/lib/efi_loader/.gitignore +++ b/lib/efi_loader/.gitignore

[PATCH v2 1/1] efi_selftest: Update .gitignore

2019-12-16 Thread Heinrich Schuchardt
From: Sughosh Ganu Add the following file to .gitignore efi_miniapp_file_image_exception.h Signed-off-by: Sughosh Ganu Use efi_miniapp_*.h instead of file enumeration. Signed-off-by: Heinrich Schuchardt --- v2 Use efi_miniapp_*.h instead of file enumeration. ---

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

2019-12-16 Thread Vignesh Raghavendra
On 14/11/19 5:31 am, Peter Robinson wrote: > Add gd25q128 128Mbit chip to spi-nor id table. > > Tested on Pinebook Pro > > Signed-off-by: Peter Robinson > --- Acked-by: Vignesh Raghavendra > drivers/mtd/spi/spi-nor-ids.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [RFC PATCH 2/2] net: Add Support for GENET Ethernet controller

2019-12-16 Thread Andre Przywara
On Fri, 13 Dec 2019 15:53:24 -0800 Florian Fainelli wrote: Hi Florian, many thanks for your reply! > On 12/13/2019 8:50 AM, Andre Przywara wrote: > >> +/* total number of Buffer Descriptors, same for Rx/Tx */ > >> +#define TOTAL_DESC 256 > >> + > >> +#define DEFAULT_Q

Re: [PATCH v2 2/4] regmap: Allow providing read/write callbacks through struct regmap_config

2019-12-16 Thread Jean-Jacques Hiblot
Hi Simon, On 10/12/2019 16:18, Simon Glass wrote: Hi Jean-Jacques, On Tue, 5 Nov 2019 at 04:47, Jean-Jacques Hiblot wrote: Some linux drivers provide their own read/write functions to access data from/of the regmap. Adding support for it. Signed-off-by: Jean-Jacques Hiblot --- Changes in

[BUG] POWER: undefined reference to `_restgpr_25_x'

2019-12-16 Thread Heinrich Schuchardt
Hello Wolfgang, with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors below when compiling P2041RDB_defconfig. post/drivers/memory.c:268: undefined reference to `_restgpr_25_x' powerpc64-linux-gnu-ld.bfd: post/built-in.o: in function `memory_post_test_lines':

[BUG] common/usb.c: taking address of packed member of ‘struct usb_device_descriptor’ may result in an unaligned pointer value

2019-12-16 Thread Heinrich Schuchardt
Hello Marek, with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors below. struct usb_device_descriptor is naturally packed. Why do we need the packed attribute in include/linux/usb/ch9.h? If it is needed, we should replace le16_to_cpus() by an alignment friendly

Re: [RFC] new board VoCore2

2019-12-16 Thread Mauro Condarelli
On 12/16/19 8:20 AM, Stefan Roese wrote: > Hi Mauro, > > On 15.12.19 11:20, Mauro Condarelli wrote: >> I am trying to extend support to a new board "VoCore2" whose specs can >> be found here: https://vocore.io/v2.html > > Nice. Thanks for working on this. > >> Port is concerning the "ultimate"

Re: [Patch] Add support for GD25Q128C SPI NOR chip

2019-12-16 Thread Peter Robinson
On Mon, Dec 16, 2019 at 9:06 AM Mauro Condarelli wrote: > > Trivial patch to add Support for GigaDevice GD25Q128C: This looks like the same as I submitted a while back [1] [1] http://patchwork.ozlabs.org/patch/1194523/ > > diff --git a/drivers/mtd/spi/spi-nor-ids.c

[Patch] Add support for GD25Q128C SPI NOR chip

2019-12-16 Thread Mauro Condarelli
Trivial patch to add Support for GigaDevice GD25Q128C: diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index d3b84574ac..fbb7dca30c 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -107,6 +107,11 @@ const struct flash_info spi_nor_ids[]

RE: [PATCH v3 2/8] clk: stm32mp1: Add a clock entry for RNG1 device

2019-12-16 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Sughosh Ganu > Sent: vendredi 13 décembre 2019 08:14 > > Add an entry for allowing clock enablement for the random number generator > peripheral, RNG1. > > Signed-off-by: Sughosh Ganu > Reviewed-by: Patrice Chotard Acked-by: Patrick Delaunay Thanks.

Re: [PATCH v1] T1024RDB: USB: Add a 10808 us delay in usb_scan_port

2019-12-16 Thread Marek Vasut
On 12/16/19 4:17 AM, Bin Meng wrote: > +Marek, > > On Mon, Dec 16, 2019 at 11:13 AM Yinbo Zhu wrote: >> >> T1024RDB usb controller doesn't detect usb device at first usb start >> Add a delay that is greater than 10808 us can fix that issue, which >> delay if is less than 10808 us, issue is