Re: [PATCH] regulator: fix: enable gpio when requested

2020-04-27 Thread Lukasz Majewski
Hi Mark, > The fix in commit b7adcdd073c0 has the side-effect that the regulator > will be disabled when requesting the relevant gpio in > regulator_common_ofdata_to_platdata() and enabled in > regulator_pre_probe() when the regulator was already enabled. > This leads to a short interruption in

Re: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata

2020-04-27 Thread Lokesh Vutla
+Faiz, On 28/04/20 12:29 AM, Tom Rini wrote: > On Mon, Apr 27, 2020 at 05:33:41AM +, Peng Fan wrote: >>> Subject: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata >>> >>> At present this driver is enabled in SPL on omapl138_lcdk, which uses >>> of-platdata. The driver needs to be

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Bin Meng
Hi Simon, On Tue, Apr 28, 2020 at 11:06 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 27 Apr 2020 at 20:42, Bin Meng wrote: > > > > Hi Simon, > > > > On Tue, Apr 28, 2020 at 10:29 AM Simon Glass wrote: > > > > > > Hi Bin, > > > > > > On Mon, 27 Apr 2020 at 19:30, Bin Meng wrote: > > > > > > >

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Simon Glass
Hi Bin, On Mon, 27 Apr 2020 at 20:42, Bin Meng wrote: > > Hi Simon, > > On Tue, Apr 28, 2020 at 10:29 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Mon, 27 Apr 2020 at 19:30, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Tue, Apr 28, 2020 at 1:02 AM Simon Glass wrote: > > > > > > >

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Bin Meng
Hi Simon, On Tue, Apr 28, 2020 at 10:29 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 27 Apr 2020 at 19:30, Bin Meng wrote: > > > > Hi Simon, > > > > On Tue, Apr 28, 2020 at 1:02 AM Simon Glass wrote: > > > > > > Move the alignment code into acpi_setup_base_tables() so that test and > > >

[PATCH 6/8] net: eqos: implement callbaks to get interface and set txclk rate

2020-04-27 Thread Peng Fan
From: Fugang Duan Implement the callbacks to get phy mode interface and txclk rate configuration. Reviewed-by: Ye Li Signed-off-by: Fugang Duan Signed-off-by: Peng Fan --- drivers/net/dwc_eth_qos.c | 42 -- 1 file changed, 40 insertions(+), 2

[PATCH 8/8] eQos: Implement the read_rom_hwaddr callback

2020-04-27 Thread Peng Fan
From: Ye Li Implement the read_rom_hwaddr callback to load MAC address from fuse for imx8m platforms. Reviewed-by: Fugang Duan Signed-off-by: Ye Li Signed-off-by: Peng Fan --- drivers/net/dwc_eth_qos.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH 7/8] fec: Move imx_get_mac_from_fuse declare to imx file

2020-04-27 Thread Peng Fan
From: Ye Li imx_get_mac_from_fuse is used to load MAC address from fuse. On imx8mp, we have two different ENET controllers and both need to call this function. So decouple its declare from fec driver. Reviewed-by: Fugang Duan Signed-off-by: Ye Li Signed-off-by: Peng Fan ---

[PATCH 5/8] net: dwc_eth_qos: add dwc eqos for imx support

2020-04-27 Thread Peng Fan
From: Fugang Duan Add dwc eqos for imx support. Reviewed-by: Ye Li Signed-off-by: Fugang Duan Signed-off-by: Peng Fan --- drivers/net/dwc_eth_qos.c | 187 ++ 1 file changed, 173 insertions(+), 14 deletions(-) diff --git

[PATCH 2/8] net: Add eth phy generic driver for shared MDIO

2020-04-27 Thread Peng Fan
From: Ye Li For dual ethernet controllers, the HW design may connect ETH phys to one MDIO ports. So two different ethernet drivers have to share MDIO bus. Since two ethernet drivers are independent, we can't ensure their probe order. To resolve this problem, introduce an eth phy generic driver

[PATCH 3/8] net: Update eQos driver and FEC driver to use eth phy interfaces

2020-04-27 Thread Peng Fan
From: Ye Li Update eQoS and fec ethernet drivers to support shared MDIO framework Signed-off-by: Ye Li Signed-off-by: Peng Fan --- drivers/net/dwc_eth_qos.c | 45 +++-- drivers/net/fec_mxc.c | 16 ++-- 2 files changed, 45 insertions(+),

[PATCH 1/8] net: eth-uclass: add return value check

2020-04-27 Thread Peng Fan
Add return value check Signed-off-by: Peng Fan --- net/eth-uclass.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index 8bf2eabe90..950a48d520 100644 --- a/net/eth-uclass.c +++ b/net/eth-uclass.c @@ -40,8 +40,12 @@ static

[PATCH 4/8] net: phy: realtek: add rx delay support for RTL8211F

2020-04-27 Thread Peng Fan
From: Fugang Duan Add RX delay enable support for RTL8211F PHY. Reviewed-by: Ye Li Signed-off-by: Fugang Duan Signed-off-by: Peng Fan --- drivers/net/phy/realtek.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index

[PATCH 0/8] net: several updates to support i.MX

2020-04-27 Thread Peng Fan
The patchset is to upstream NXP downstream network patches that runs on i.MX platforms, including eqos update, sharded mdio support, mac addr accessing and etc. Fugang Duan (3): net: phy: realtek: add rx delay support for RTL8211F net: dwc_eth_qos: add dwc eqos for imx support net: eqos:

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Simon Glass
Hi Bin, On Mon, 27 Apr 2020 at 19:30, Bin Meng wrote: > > Hi Simon, > > On Tue, Apr 28, 2020 at 1:02 AM Simon Glass wrote: > > > > Move the alignment code into acpi_setup_base_tables() so that test and > > production code are in alignment. > > > > This brings x86/master into line with patch

[PATCHv3 8/8] configs: ls208xa: Enable GIC_V3_ITS config

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable GIC_V3_ITS config to initialize the GIC redistributor tables. Signed-off-by: Hou Zhiqiang Reviewed-by: Wasim Khan --- V3: - No change. configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 +

[PATCHv3 7/8] configs: ls1028a: Enable GIC_V3_ITS config

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable GIC_V3_ITS config to initialize the GIC redistributor tables. Signed-off-by: Hou Zhiqiang Reviewed-by: Wasim Khan --- V3: - No change. configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1028aqds_tfa_defconfig | 1 +

[PATCHv3 6/8] configs: ls1088a: Enable GIC_V3_ITS config

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable GIC_V3_ITS config to initialize the GIC redistributor tables. Signed-off-by: Hou Zhiqiang Reviewed-by: Wasim Khan --- V3: - No change. configs/ls1088aqds_defconfig | 1 + configs/ls1088aqds_qspi_SECURE_BOOT_defconfig| 1 +

[PATCHv3 5/8] arm64: layerscape: Move GIC RD tables initialization to CPU setup function

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Move GIC redistributor tables initialization to CPU setup function. This patch introduces a GIC redistributor tables init function, and moves the function of reserving memory for GIC redistributor tables to soc.c and adds a argument for the memory size to reserve, BTW rename

[PATCHv3 4/8] fsl-layerscape: Kconfig: Select RESV_RAM config if GIC_V3_ITS is enabled

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang The GIC redistributor tables initialization depends on RESV_RAM config, so select RESV_RAM if GIC_V3_ITS is enabled. Signed-off-by: Hou Zhiqiang Reviewed-by: Wasim Khan --- V3: - No change. arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 1 file changed, 4

[PATCHv3 3/8] board: lx2160a: Make sure the RD tables address align to 64KB

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang As the lower 16bit of the redistributor pending table is reserved for describing the memory attributes, we must give a 64KB aligned address to the GIC LPI initialization function. Signed-off-by: Hou Zhiqiang Reviewed-by: Wasim Khan --- V3: - No change.

[PATCHv3 0/8] fsl: layerscape: Initialize the GIC redistributor

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang This patch set is to initialize the GIC redistributor tables and add the tables to kernel DT's reserved memeory node. Hou Zhiqiang (8): arm64: fsl-layerscape: Assign addr to resv_ram if enabled RESV_RAM config board: lx2160a: Don't program the GIC RD tables if failed

[PATCHv3 2/8] board: lx2160a: Don't program the GIC RD tables if failed to reserve memory

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang Program the GIC redistributor tables only when succeeded to reserve memory for them, otherwise kernel will lose the chance to program them using allocated memory. Signed-off-by: Hou Zhiqiang --- V3: - Change the return type to int of fdt_fixup_gic_lpi_memory().

[PATCHv3 1/8] arm64: fsl-layerscape: Assign addr to resv_ram if enabled RESV_RAM config

2020-04-27 Thread Zhiqiang Hou
From: Hou Zhiqiang The initialization of gd->arch.resv_ram pointer should depend on if the RESV_RAM config is enabled. Signed-off-by: Hou Zhiqiang --- V3: - No change. arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Updating using FIT images to SPI NOR and eMMC

2020-04-27 Thread Aaron Williams
Hi all, I am looking at using FIT images to update the various blobs in our SPI NOR and eMMC devices since various blobs must be placed at specific addresses. Right now it looks like this update support is limited to CFI flash. Does anyone have any thoughts on extending this to SPI NOR and

Re: [PATCH 09/10] tools: add mkeficapsule command for UEFI capsule update test

2020-04-27 Thread AKASHI Takahiro
On Mon, Apr 27, 2020 at 10:15:41PM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > This is a utility mainly for test purpose. > > mkeficapsule -f: create a test capsule file for FIT image firmware > > > > Having said that, you will be able to customize the

Please pull NXP i.MX nxp-imx-4-28

2020-04-27 Thread Peng Fan
Hi Stefano, Please pull this version nxp-imx-20200422, with patches sent out to ML. Based on yours master branch. Please see whether you are ok with this patchset. I take Marek's one patch in the patchset, and all patches have Fabio's R-b tag applied. CI:

Re: [PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Bin Meng
Hi Simon, On Tue, Apr 28, 2020 at 1:02 AM Simon Glass wrote: > > Move the alignment code into acpi_setup_base_tables() so that test and > production code are in alignment. > > This brings x86/master into line with patch series v8. > > Signed-off-by: Simon Glass > --- > >

Re: [PATCH 04/10] efi_loader: capsule: add capsule_on_disk support

2020-04-27 Thread AKASHI Takahiro
Heinrich, On Mon, Apr 27, 2020 at 10:28:35PM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > Capsule data can be loaded into the system either via UpdateCapsule > > runtime service or files on a file system (of boot device). > > The latter case is called

Re: [PATCH 02/10] efi_loader: add option to initialise EFI subsystem early

2020-04-27 Thread AKASHI Takahiro
Heinrich, On Mon, Apr 27, 2020 at 10:09:11PM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > If this option is enabled, the initialisation of UEFI subsystem will be > > done as part of U-Boot initialisation. > > > > This feature will be utilised in implementing

Re: [PATCH 01/10] efi_loader: disk: add efi_disk_is_system_part()

2020-04-27 Thread AKASHI Takahiro
Heinrich, On Mon, Apr 27, 2020 at 09:57:25PM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > This function will check if a given handle to device is a EFI system > > partition. It will be utilised in implementing capsule-on-disk feature. > > > > Signed-off-by:

Re: [PATCH 00/10] efi_loader: add capsule update support

2020-04-27 Thread AKASHI Takahiro
Heinrich, On Mon, Apr 27, 2020 at 10:33:41PM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > Summary > > === > > 'UpdateCapsule' is one of runtime services defined in UEFI specification > > and its aim is to allow a caller (OS) to pass information to the

Re: [PATCH v2 2/2] Makefile: Only build dtc if needed

2020-04-27 Thread Vagrant Cascadian
On 2020-04-27, Simon Glass wrote: > On Sun, 26 Apr 2020 at 18:58, Heinrich Schuchardt wrote: >> >> Am April 27, 2020 12:29:29 AM UTC schrieb Simon Glass : >> >At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. >> >This >> >is wasteful when the system already has a suitable

Re: [PATCH] sandbox: update documents regarding spi_sf

2020-04-27 Thread Simon Glass
On Mon, 27 Apr 2020 at 00:47, AKASHI Takahiro wrote: > > Since the commit 1289e96797bf ("sandbox: spi: Drop command-line SPI > option"), "--spi_sf" command line option is no longer supported. > > So update the following documents to sync them up with the change. > doc/arch/sandbox.rst >

Re: [U-Boot] Makefile: Only build dtc if needed

2020-04-27 Thread Simon Glass
Hi Tom, On Mon, 27 Apr 2020 at 12:59, Tom Rini wrote: > > On Sun, Apr 26, 2020 at 06:34:48PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 26 Jan 2019 at 20:51, Tom Rini wrote: > > > > > > On Tue, Nov 13, 2018 at 03:43:07PM -0700, Simon Glass wrote: > > > > > > > At present U-Boot

Re: Build error in u-boot-dm/master

2020-04-27 Thread Simon Glass
Hi Stephen, On Mon, 27 Apr 2020 at 12:44, Stephen Warren wrote: > > On 4/27/20 11:02 AM, Simon Glass wrote: > > Hi Stephen, > > > > On Mon, 27 Apr 2020 at 10:04, Stephen Warren wrote: > >> > >> Simon, > >> > >> All 32-bit Tegra builds of u-boot-dm/master are failing with the > >> following

Re: libfdt issue - key verification fails with longer key-name

2020-04-27 Thread Simon Glass
Hi Heiko, On Sun, 26 Apr 2020 at 17:55, Heiko Stuebner wrote: > > Hi, > > I've encountered a strange issue that happens depending on the > length of the used key-name. Naming it "integrity" works, > "integrity-uboot" or even "integrity-ub" does not. > With the resulting key-node of course then

Re: [PATCH 1/3] [RFC] dm: core: Add late driver remove option

2020-04-27 Thread Simon Glass
Hi Marek, On Sun, 26 Apr 2020 at 04:52, Marek Vasut wrote: > > Add another flag to the DM core which could be assigned to drivers and > which makes those drivers call their remove callbacks last, just before > booting OS and after all the other drivers finished with their remove > callbacks.

Re: [PATCH] sandbox: drop CONFIG_SYS_RELOC_GD_ENV_ADDR

2020-04-27 Thread Simon Glass
On Sun, 26 Apr 2020 at 22:22, AKASHI Takahiro wrote: > > As we discussed in [1], this option is not needed for sandbox build. > > [1] https://lists.denx.de/pipermail/u-boot/2020-February/400182.html > > Signed-off-by: AKASHI Takahiro > --- > configs/sandbox64_defconfig| 1 - >

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Simon Glass
Hi Rayagonda, On Mon, 27 Apr 2020 at 07:29, Rayagonda Kokatanur wrote: > > > > On Mon, Apr 27, 2020, 6:55 PM Marek Vasut wrote: >> >> On 4/27/20 3:13 PM, Andy Shevchenko wrote: >> > On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: >> >> >> >> On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote:

Re: [PATCH] regulator: fix: enable gpio when requested

2020-04-27 Thread Simon Glass
Hi Mark, On Mon, 27 Apr 2020 at 03:09, Mark Kettenis wrote: > > The fix in commit b7adcdd073c0 has the side-effect that the regulator > will be disabled when requesting the relevant gpio in > regulator_common_ofdata_to_platdata() and enabled in > regulator_pre_probe() when the regulator was

Re: [PATCH v2 2/2] Makefile: Only build dtc if needed

2020-04-27 Thread Simon Glass
Hi Heinrich, On Sun, 26 Apr 2020 at 18:58, Heinrich Schuchardt wrote: > > Am April 27, 2020 12:29:29 AM UTC schrieb Simon Glass : > >At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. > >This > >is wasteful when the system already has a suitable version available. > > > >Update

Re: ZynqMP boot: no messages from SPL other than "Debug uart enabled"

2020-04-27 Thread Major A
Hi Michal, Thanks for your script, I tried it, it can extract the PMU config object from the FSBL generated by Vitis, but the SD card I prepare this way still doesn't boot. It does one thing differently than before, though: the line ### ERROR ### Please RESET the board ### appears EVERY

[PATCH] Azure/GitLab: Update to latest Docker image

2020-04-27 Thread Tom Rini
This provides a newer ARC toolchain along with being based on a newer Ubuntu bionic tag. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

[PATCH] travis: Update ARC toolchain to 2019.09

2020-04-27 Thread Tom Rini
Per Alexey Brodkin, this is the current toolchain we should use when building for ARC, update. Signed-off-by: Tom Rini --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82e3b9152375..d9dadc6ba7c3 100644 --- a/.travis.yml

Re: [U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 08:32:45PM +, Alexey Brodkin wrote: > Hi Tom, > > > -Original Message- > > From: Tom Rini > > Sent: Monday, April 27, 2020 9:11 PM > > To: Alexey Brodkin > > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com > > Subject: Re: [U-Boot] Please pull more ARC

Re: [PATCH 00/10] efi_loader: add capsule update support

2020-04-27 Thread Heinrich Schuchardt
On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > Summary > === > 'UpdateCapsule' is one of runtime services defined in UEFI specification > and its aim is to allow a caller (OS) to pass information to the firmware, > i.e. U-Boot. This is mostly used to update firmware binary on devices by >

RE: [U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Monday, April 27, 2020 9:11 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com > Subject: Re: [U-Boot] Please pull more ARC changes for v2020.07-rc1 > > On Mon, Apr 27, 2020 at 12:13:39PM +, Alexey

[PULL] u-boot-mips

2020-04-27 Thread Daniel Schwierzeck
Hi Tom, please pull MIPS updates for 2020.07, thanks. https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/2966 https://travis-ci.org/github/danielschwierzeck/u-boot/builds/680241185 The following changes since commit d16d37bcd4087b8ea0f66cb76a73edad182d151a: Merge tag

Re: [PATCH 04/10] efi_loader: capsule: add capsule_on_disk support

2020-04-27 Thread Heinrich Schuchardt
On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > Capsule data can be loaded into the system either via UpdateCapsule > runtime service or files on a file system (of boot device). > The latter case is called "capsules on disk", and actual updates will > take place at the next boot time. > > In this

Re: [PATCH 09/10] tools: add mkeficapsule command for UEFI capsule update test

2020-04-27 Thread Heinrich Schuchardt
On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > This is a utility mainly for test purpose. > mkeficapsule -f: create a test capsule file for FIT image firmware > > Having said that, you will be able to customize the code to fit > your specific requirements for your platform. > > Signed-off-by:

Re: [PATCH 02/10] efi_loader: add option to initialise EFI subsystem early

2020-04-27 Thread Heinrich Schuchardt
On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > If this option is enabled, the initialisation of UEFI subsystem will be > done as part of U-Boot initialisation. > > This feature will be utilised in implementing capsule-on-disk feature. This would mean that we allow unaligned access very early.

Re: [PATCH 01/10] efi_loader: disk: add efi_disk_is_system_part()

2020-04-27 Thread Heinrich Schuchardt
On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > This function will check if a given handle to device is a EFI system > partition. It will be utilised in implementing capsule-on-disk feature. > > Signed-off-by: AKASHI Takahiro Just a reminder for me: This patch depends on "part: detect EFI system

Re: [U-Boot] Makefile: Only build dtc if needed

2020-04-27 Thread Tom Rini
On Sun, Apr 26, 2020 at 06:34:48PM -0600, Simon Glass wrote: > Hi Tom, > > On Sat, 26 Jan 2019 at 20:51, Tom Rini wrote: > > > > On Tue, Nov 13, 2018 at 03:43:07PM -0700, Simon Glass wrote: > > > > > At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. This > > > is wasteful when

Re: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 05:33:41AM +, Peng Fan wrote: > > Subject: [PATCH v5 1/4] omap: mmc: Avoid using libfdt with of-platdata > > > > At present this driver is enabled in SPL on omapl138_lcdk, which uses > > of-platdata. The driver needs to be ported to use of-platdata properly. > > For

Re: Build error in u-boot-dm/master

2020-04-27 Thread Stephen Warren
On 4/27/20 11:02 AM, Simon Glass wrote: > Hi Stephen, > > On Mon, 27 Apr 2020 at 10:04, Stephen Warren wrote: >> >> Simon, >> >> All 32-bit Tegra builds of u-boot-dm/master are failing with the >> following (this log is from Harmony): >> >>> CC spl/common/spl/spl.o >>> CC

[PATCH 1/2] JFFS2: Process obsolete nodes as well as accurate ones

2020-04-27 Thread petr . borsodi
From: Petr Borsodi Obsolete nodes (ie. without the JFFS2_NODE_ACCURATE flag) were ignored because they had seemingly invalid crc. This could lead to finding the phantom node header in obsolete node data. Signed-off-by: Petr Borsodi --- fs/jffs2/jffs2_1pass.c | 67

[PATCH 2/2] JFFS2: Add useful fields into lists

2020-04-27 Thread petr . borsodi
From: Petr Borsodi The inode list uses version and ino, the dirent list uses version and pino. This information is collected during scanning, reducing accesses to flash and significantly speeding up ls and read. Signed-off-by: Petr Borsodi --- fs/jffs2/jffs2_1pass.c | 154

[PATCH v3 4/7] arm: juno: Enable OF_CONTROL

2020-04-27 Thread Andre Przywara
The Arm Juno board was still somewhat stuck in "hardcoded land", even though there are stable DTs around, and one happens to actually be on the memory mapped NOR flash. Enable the configuration options to let the board use OF_CONTROL, and add a routine to find the address of the DTB partition in

[PATCH v3 2/7] uart: pl011: Add proper DM clock support

2020-04-27 Thread Andre Przywara
Even though the PL011 UART driver claims to be DM compliant, it does not really a good job with parsing DT nodes. U-Boot seems to adhere to a non-standard binding, either requiring to have a "skip-init" property in the node, or to have an extra "clock" property holding the base *frequency* value

[PATCH v3 6/7] arm: juno: enable USB

2020-04-27 Thread Andre Przywara
The Juno board features a standard compliant EHCI/OHCI USB host controller pair, which we can just enable. The platform data is taken from the device tree. This allows to use USB mass storage (the only storage on a Juno r0) for loading. At least on my board USB seems a bit flaky, I need two "usb

[PATCH v3 5/7] arm: juno: Use PSCI based reset

2020-04-27 Thread Andre Przywara
So far the Juno board wasn't implementing reset. Let's just use the already existing PSCI_RESET based method to avoid any extra code. Signed-off-by: Andre Przywara Acked-by: Liviu Dudau --- arch/arm/Kconfig | 2 ++ board/armltd/vexpress64/vexpress64.c | 4 +--- 2 files

[PATCH v3 7/7] arm: vexpress64: Remove unneeded CONFIG_ check

2020-04-27 Thread Andre Przywara
CONFIG_SEMIHOSTING is selected for the VFP target by the means of Kconfig already, there is no need to check this in the header file. Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij --- include/configs/vexpress_aemv8a.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH v3 0/7] Arm Juno board OF_CONTROL upgrade

2020-04-27 Thread Andre Przywara
Hi, another small update, fixing the Raspberry Pi breakage from the previous version. Only patch 2/7 has changed. I added Linus' Reviewed-by: to patch 7/7 and dropped Simon's R-b: to patch 2/7, because of the changes. Cheers, Andre The Juno port in U-Boot didn't see much love

[PATCH v3 1/7] arm: juno: Fix Juno address variables

2020-04-27 Thread Andre Przywara
The U-Boot documentation explains that variables ending with "_r" hold addresses in DRAM, while those without that ending point to flash/ROM. The default variables for the Juno board pointing to the kernel and DTB load addresses were not complying with this scheme: they lack the extension, but

[PATCH v3 3/7] arm: juno: Fix UART clock rate

2020-04-27 Thread Andre Przywara
The UART base clock rate was typo-ed in the header file, probably because the reference (the Linux .dts) was also wrong[1]. Fix the number to make the baud rate more correct. Signed-off-by: Andre Przywara Reviewed-by: Linus Walleij [1]

Re: [U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 12:13:39PM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit d202f67db0771247de562af5d6a5df778702857b: > > Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) > > are available in the Git repository at: > >

Re: [PATCH v2] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-04-27 Thread Tom Rini
On Sat, Apr 25, 2020 at 11:00:06AM +0200, Pali Rohár wrote: > This patch contains test/nokia_rx51_test.sh script which automatically > download and compile all needed tools in local temporary directory to > generate a simple MTD images for booting Maemo kernel image by U-Boot from > RAM, eMMC and

Re: [PATCH 5/8] pci: Add Rockchip PCIe controller driver

2020-04-27 Thread Robin Murphy
On 2020-04-25 8:36 pm, Jagan Teki wrote: On Sun, Apr 26, 2020 at 12:23 AM Mark Kettenis wrote: From: Jagan Teki Date: Sat, 25 Apr 2020 16:33:51 +0530 Add Rockchip PCIe controller driver for rk3399 platform. Driver support Gen1 by operating as a Root complex. Thanks to Patrick for initial

[PATCH 2/3] lib: Add a function to convert a string to upper case

2020-04-27 Thread Simon Glass
Add a helper function for this operation. Update the strtoul() tests to check upper case as well. Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt --- include/vsprintf.h | 12 +++ lib/strto.c| 8 + test/str_ut.c | 78

[PATCH 3/3] acpi: Fix-up patch to correct sandbox test errors

2020-04-27 Thread Simon Glass
Move the alignment code into acpi_setup_base_tables() so that test and production code are in alignment. This brings x86/master into line with patch series v8. Signed-off-by: Simon Glass --- arch/x86/lib/acpi_table.c | 5 - lib/acpi/acpi_table.c | 7 ++- 2 files changed, 6

[PATCH 0/3] Fix-up series for x86/master

2020-04-27 Thread Simon Glass
Note that this includes two patches which are in mainline but not in x86/master Simon Glass (3): test: Add the beginnings of some string tests lib: Add a function to convert a string to upper case acpi: Fix-up patch to correct sandbox test errors arch/x86/lib/acpi_table.c | 5 --

Re: Build error in u-boot-dm/master

2020-04-27 Thread Simon Glass
Hi Stephen, On Mon, 27 Apr 2020 at 10:04, Stephen Warren wrote: > > Simon, > > All 32-bit Tegra builds of u-boot-dm/master are failing with the > following (this log is from Harmony): > > > CC spl/common/spl/spl.o > > CC spl/lib/display_options.o > > LD

Re: [PATCH v7 0/9] dm: Add programmatic generation of ACPI tables (part A)

2020-04-27 Thread Simon Glass
Hi Bin, On Sun, 26 Apr 2020 at 23:58, Bin Meng wrote: > > Hi Simon, > > On Thu, Apr 23, 2020 at 5:58 PM Bin Meng wrote: > > > > Hi Simon, > > > > On Thu, Apr 23, 2020 at 5:46 PM Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Wed, Apr 22, 2020 at 5:37 AM Simon Glass wrote: > > > > > > >

[PATCH 1/3] test: Add the beginnings of some string tests

2020-04-27 Thread Simon Glass
There are quite a few string functions in U-Boot with no tests. Make a start by adding a test for strtoul(). Signed-off-by: Simon Glass --- include/test/suites.h | 1 + test/Makefile | 1 + test/cmd_ut.c | 5 test/str_ut.c | 67

Re: Please pull u-boot-video

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 10:32:22AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit d202f67db0771247de562af5d6a5df778702857b: > > Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) > > are available in the Git repository at: > >

Build error in u-boot-dm/master

2020-04-27 Thread Stephen Warren
Simon, All 32-bit Tegra builds of u-boot-dm/master are failing with the following (this log is from Harmony): > CC spl/common/spl/spl.o > CC spl/lib/display_options.o > LD spl/common/spl/built-in.o > LD spl/lib/built-in.o > LD spl/u-boot-spl > OBJCOPY

Re: [PATCH v3 0/4] Various i.MXRT bug/typo fixes

2020-04-27 Thread Giulio Benetti
On 4/27/20 5:57 PM, Fabio Estevam wrote: Hi Giulio, On Mon, Apr 27, 2020 at 12:53 PM Giulio Benetti wrote: Hi Anatolij, Lukasz, Stefano, Fabio, All, this patchset fix 2 bugs preventing from LCDIF to work when booting from sd-card. There are also 2 little typo fixes for boards READMEs.

Re: [PATCH v3 4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

2020-04-27 Thread Giulio Benetti
Forgotten to add On 4/27/20 5:53 PM, Giulio Benetti wrote: LCDIF clock gate was wrong so set it according to RM. Signed-off-by: Giulio Benetti Reviewed-by: Anatolij Gustschin Reviewed-by: Fabio Estevam --- drivers/clk/imx/clk-imxrt1050.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v3 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Giulio Benetti
Forgotten to add On 4/27/20 5:53 PM, Giulio Benetti wrote: BROM doesn't enable lcdif by default so add clk_enable() after clk_set_rate(). Signed-off-by: Giulio Benetti Reviewed-by: Anatolij Gustschin Reviewed-by: Fabio Estevam --- V1->V2: * call clk_enable() after clk_set_rate() as

Re: [PATCH v3 0/4] Various i.MXRT bug/typo fixes

2020-04-27 Thread Fabio Estevam
Hi Giulio, On Mon, Apr 27, 2020 at 12:53 PM Giulio Benetti wrote: > > Hi Anatolij, Lukasz, Stefano, Fabio, All, > > this patchset fix 2 bugs preventing from LCDIF to work when booting from > sd-card. There are also 2 little typo fixes for boards READMEs. > > V1->V2: > * modify mxfsb.c patch as

[PATCH v3 1/4] imxrt1050-evk: README: change dd command destination

2020-04-27 Thread Giulio Benetti
Set dd "of=" to "of=/dev/sdX" to be generic and prevent host hard drive damage. Signed-off-by: Giulio Benetti --- V2->V3: * change /dev/sdb to /dev/sdX as suggested by Fabio --- board/freescale/imxrt1050-evk/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

2020-04-27 Thread Giulio Benetti
LCDIF clock gate was wrong so set it according to RM. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-imxrt1050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 329f4580c5..8279e784fe 100644 ---

[PATCH v3 2/4] imxrt1020-evk: README: change dd command destination

2020-04-27 Thread Giulio Benetti
Set dd "of=" to "of=/dev/sdX" to be generic and prevent host hard drive damage. Signed-off-by: Giulio Benetti --- V2->V3: * change /dev/sdb to /dev/sdX as suggested by Fabio --- board/freescale/imxrt1020-evk/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/4] Various i.MXRT bug/typo fixes

2020-04-27 Thread Giulio Benetti
Hi Anatolij, Lukasz, Stefano, Fabio, All, this patchset fix 2 bugs preventing from LCDIF to work when booting from sd-card. There are also 2 little typo fixes for boards READMEs. V1->V2: * modify mxfsb.c patch as suggested by Fabio V2->V3: * change /dev/sdb into /dev/sdX as suggested by Fabio

[PATCH v3 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Giulio Benetti
BROM doesn't enable lcdif by default so add clk_enable() after clk_set_rate(). Signed-off-by: Giulio Benetti --- V1->V2: * call clk_enable() after clk_set_rate() as suggested by Fabio --- drivers/video/mxsfb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/mxsfb.c

Re: [PATCH v2 1/4] imxrt1050-evk: README: fix dd command destination

2020-04-27 Thread Giulio Benetti
On 4/27/20 5:34 PM, Fabio Estevam wrote: Hi Giulio, On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti wrote: Make "of=" the same for the 2 commands since we're writing to the same sd-card. Signed-off-by: Giulio Benetti --- board/freescale/imxrt1050-evk/README | 2 +- 1 file changed, 1

Re: [PATCH v2 4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

2020-04-27 Thread Fabio Estevam
On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti wrote: > > LCDIF clock gate was wrong so set it according to RM. > > Signed-off-by: Giulio Benetti Reviewed-by: Fabio Estevam

Re: [PATCH v2 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Fabio Estevam
Hi Giulio, On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti wrote: > > BROM doesn't enable lcdif by default so add clk_enable() after > clk_set_rate(). > > Signed-off-by: Giulio Benetti > --- > V1->V2: > * call clk_enable() after clk_set_rate() as suggested by Fabio Thanks for the respin:

Re: [PATCH v2 1/4] imxrt1050-evk: README: fix dd command destination

2020-04-27 Thread Fabio Estevam
Hi Giulio, On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti wrote: > > Make "of=" the same for the 2 commands since we're writing to the same > sd-card. > > Signed-off-by: Giulio Benetti > --- > board/freescale/imxrt1050-evk/README | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH v2 4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

2020-04-27 Thread Anatolij Gustschin
On Mon, 27 Apr 2020 17:11:07 +0200 Giulio Benetti giulio.bene...@benettiengineering.com wrote: > LCDIF clock gate was wrong so set it according to RM. > > Signed-off-by: Giulio Benetti Reviewed-by: Anatolij Gustschin -- Anatolij

Please pull u-boot-dm

2020-04-27 Thread Simon Glass
Hi Tom, https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/2949 The following changes since commit d202f67db0771247de562af5d6a5df778702857b: Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) are available in the Git repository at:

Re: [PATCH v2 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Anatolij Gustschin
On Mon, 27 Apr 2020 17:11:06 +0200 Giulio Benetti giulio.bene...@benettiengineering.com wrote: > BROM doesn't enable lcdif by default so add clk_enable() after > clk_set_rate(). > > Signed-off-by: Giulio Benetti Reviewed-by: Anatolij Gustschin -- Anatolij

[PATCH v2 0/4] Various i.MXRT bug/typo fixes

2020-04-27 Thread Giulio Benetti
Hi Anatolij, Lukasz, Stefano, Fabio, All, this patchset fix 2 bugs preventing from LCDIF to work when booting from sd-card. There are also 2 little typo fixes for boards READMEs. V1->V2: * modify mxfsb.c patch as suggested by Fabio Giulio Benetti (4): imxrt1050-evk: README: fix dd command

[PATCH v2 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Giulio Benetti
BROM doesn't enable lcdif by default so add clk_enable() after clk_set_rate(). Signed-off-by: Giulio Benetti --- V1->V2: * call clk_enable() after clk_set_rate() as suggested by Fabio --- drivers/video/mxsfb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/video/mxsfb.c

[PATCH v2 4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

2020-04-27 Thread Giulio Benetti
LCDIF clock gate was wrong so set it according to RM. Signed-off-by: Giulio Benetti --- drivers/clk/imx/clk-imxrt1050.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 329f4580c5..8279e784fe 100644 ---

[PATCH v2 1/4] imxrt1050-evk: README: fix dd command destination

2020-04-27 Thread Giulio Benetti
Make "of=" the same for the 2 commands since we're writing to the same sd-card. Signed-off-by: Giulio Benetti --- board/freescale/imxrt1050-evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README

[PATCH v2 2/4] imxrt1020-evk: README: fix dd command destination

2020-04-27 Thread Giulio Benetti
Make "of=" the same for the 2 commands since we're writing to the same sd-card. Signed-off-by: Giulio Benetti --- board/freescale/imxrt1020-evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imxrt1020-evk/README b/board/freescale/imxrt1020-evk/README

Re: [PATCH 3/4] video: mxsfb: add clk_enable()

2020-04-27 Thread Giulio Benetti
Hi Fabio, On 4/27/20 1:48 AM, Fabio Estevam wrote: Hi Giulio, On Sun, Apr 26, 2020 at 8:43 PM Giulio Benetti wrote: + ret = clk_enable(_clk); + if (ret < 0) { + dev_err(dev, "Failed to enable mxs clk: %d\n", ret); + return; + } + ret =

Re: [PATCH v2 3/3] kbuild: SPL/TPL: generate separate asm-offsets.h for SPL and TPL

2020-04-27 Thread Bin Meng
Hi Tom, On Mon, Apr 27, 2020 at 9:37 PM Tom Rini wrote: > > On Mon, Apr 27, 2020 at 09:37:28AM +0800, Bin Meng wrote: > > Hi Tom, > > > > On Sat, Apr 18, 2020 at 8:37 PM Bin Meng wrote: > > > > > > On Fri, Apr 17, 2020 at 3:22 PM Masahiro Yamada > > > wrote: > > > > > > > > Currently

  1   2   3   >