Re: [U-Boot] [PATCH 1/2] net: macb: Fixed reading MII_LPA register

2019-07-08 Thread Joe Hershberger
On Fri, Jun 7, 2019 at 8:48 AM Radu Pirea wrote: > > If macb is gem and is gigabit capable, lpa value is not read from > the right register(MII_LPA) and is read from MII_STAT1000. This patch > fixes reading of the lpa value. > > Signed-off-by: Radu Pirea Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/6] net: macb: sync header definitions as taken from Linux

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:51 AM Ramon Fried wrote: > > Few registers and bits were added by Cadence and > they were not updated in the headers. > Take the latest definitions as defined in Linux > header (5.1) that also includes some comments > about existing registers. > > One register was

Re: [U-Boot] [PATCH 2/6] net: macb: add support for faster clk rates

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:40 AM Ramon Fried wrote: > > add support for clock rates higher than 2.4Mhz > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v5 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-07-08 Thread Joe Hershberger
On Thu, Jun 6, 2019 at 7:15 AM Keerthy wrote: > > From: Grygorii Strashko > > Add mcu cpsw nuss pinmux and phy defs required by cpsw. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v5 5/5] configs: am65x_evm_a53: enable networking

2019-07-08 Thread Joe Hershberger
On Thu, Jun 6, 2019 at 7:15 AM Keerthy wrote: > > From: Grygorii Strashko > > Enable TI K3 AM65x CPSW NUSS driver. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Question below, but... Acked-by: Joe Hershberger > --- >

Re: [U-Boot] [PATCH 5/6] net: macb: add dma_burst_length config

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:39 AM Ramon Fried wrote: > > GEM support higher DMA burst writes/reads than the default (4). > add configuration structure with dma burst length so it could be > applied later to DMA configuration. > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger

[U-Boot] [PATCH V2] ARM: renesas: Update Gen3 PCIe dma-ranges before boot

2019-07-08 Thread Marek Vasut
Update "dma-ranges" DT property of all PCIe controllers in the system with the up-to-date DRAM layout. This allows the PCIe controller take full advantage of all the available DRAM. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- V2: - Drop support for older kernels - Mark memory as

[U-Boot] [PATCH] common: fdt_support: Add missing cpu_to_fdt32() to fdt_pci_dma_ranges()

2019-07-08 Thread Marek Vasut
The fdt_pci_dma_ranges() cannot work on e.g. ARM, since the DT entries endianness is not adjusted at all. Fix this. Signed-off-by: Marek Vasut Cc: Tom Rini --- common/fdt_support.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git

Re: [U-Boot] [PATCH] common: fdt_support: Add missing cpu_to_fdt32() to fdt_pci_dma_ranges()

2019-07-08 Thread Marek Vasut
On 7/9/19 2:49 AM, Marek Vasut wrote: > The fdt_pci_dma_ranges() cannot work on e.g. ARM, since the DT entries > endianness is not adjusted at all. Fix this. > > Signed-off-by: Marek Vasut > Cc: Tom Rini +CC Simon > --- > common/fdt_support.c | 25 ++--- > 1 file changed,

Re: [U-Boot] [PATCH v5 5/5] configs: am65x_evm_a53: enable networking

2019-07-08 Thread Keerthy
On 09/07/19 4:27 AM, Joe Hershberger wrote: On Thu, Jun 6, 2019 at 7:15 AM Keerthy wrote: From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Question below, but... Acked-by: Joe Hershberger

[U-Boot] [PATCH 2/5] CVE-2019-13105: ext4: fix double-free in ext4_cache_read

2019-07-08 Thread Paul Emge
ext_cache_read doesn't null cache->buf, after freeing, which results in a later function double-freeing it. This patch fixes ext_cache_read to call ext_cache_fini instead of free. Signed-off-by: Paul Emge --- fs/ext4/ext4fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/5] CVE-2019-13103: disk: stop infinite recursion in DOS Partitions

2019-07-08 Thread Paul Emge
part_get_info_extended and print_partition_extended can recurse infinitely while parsing a self-referential filesystem or one with a silly number of extended partitions. This patch adds a limit to the number of recursive partitions. Signed-off-by: Paul Emge --- disk/part_dos.c | 18

[U-Boot] [PATCH 5/5] CVE-2019-13106: ext4: fix out-of-bounds memset

2019-07-08 Thread Paul Emge
In ext4fs_read_file in ext4fs.c, a memset can overwrite the bounds of the destination memory region. This patch adds a check to disallow this. Signed-off-by: Paul Emge --- fs/ext4/ext4fs.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/ext4/ext4fs.c

[U-Boot] [PATCH 4/5] ext4: gracefully fail on divide-by-0

2019-07-08 Thread Paul Emge
This patch checks for 0 in several ext4 headers and gracefully fails instead of raising a divide-by-0 exception. Signed-off-by: Paul Emge --- fs/ext4/ext4_common.c | 12 1 file changed, 12 insertions(+) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index

[U-Boot] [PATCH 3/5] CVE-2019-13104: ext4: check for underflow in ext4fs_read_file

2019-07-08 Thread Paul Emge
in ext4fs_read_file, it is possible for a broken/malicious file system to cause a memcpy of a negative number of bytes, which overflows all memory. This patch fixes the issue by checking for a negative length. Signed-off-by: Paul Emge --- fs/ext4/ext4fs.c | 8 +--- 1 file changed, 5

Re: [U-Boot] [PATCH v5 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
On 09/07/19 3:52 AM, Joe Hershberger wrote: On Thu, Jun 6, 2019 at 7:14 AM Keerthy wrote: From: Grygorii Strashko Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be

[U-Boot] [PATCH v6 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-07-08 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack. arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59

[U-Boot] [PATCH v6 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-07-08 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack. arch/arm/dts/k3-am65.dtsi

Re: [U-Boot] [PATCH v2 7/8] board: Add new slimbootloader board

2019-07-08 Thread Bin Meng
Hi Aiden, On Tue, Jul 9, 2019 at 8:02 AM Park, Aiden wrote: > > Hi Bin, > > > -Original Message- > > From: Park, Aiden > > Sent: Monday, July 8, 2019 9:48 AM > > To: Bin Meng > > Cc: U-Boot Mailing List ; Simon Glass > > > > Subject: RE: [PATCH v2 7/8] board: Add new slimbootloader

[U-Boot] [PATCH v6 5/5] configs: am65x_evm_a53: enable networking

2019-07-08 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Removed unused HEXDUMP config. * Added Joe's Ack. configs/am65x_evm_a53_defconfig | 6 ++ 1

Re: [U-Boot] [PATCH v5 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Joe Hershberger
On Thu, Jun 6, 2019 at 7:14 AM Keerthy wrote: > > From: Grygorii Strashko > > Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW > NUSS). It has two ports and provides Ethernet packet communication for the > device and can be configured as an Ethernet switch. CPSW NUSS

Re: [U-Boot] [PATCH v5 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-07-08 Thread Joe Hershberger
On Thu, Jun 6, 2019 at 7:15 AM Keerthy wrote: > > From: Grygorii Strashko > > Add mcu cpsw and its components along with scm_conf node > to have ethernet functional. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/2] net: macb: Add support for 1000-baseX

2019-07-08 Thread Joe Hershberger
On Fri, Jun 7, 2019 at 8:48 AM Radu Pirea wrote: > > Macb can be used with Xilinx PCS/PMA PHY in fpga which is a 1000-baseX > phy(lpa 0x41e0). This patch adds checks for LPA_1000XFULL and > LPA_1000XHALF bits. > > Signed-off-by: Radu Pirea Acked-by: Joe Hershberger

Re: [U-Boot] [RESEND Patch] net: mscc: refactor mscc_miim

2019-07-08 Thread Joe Hershberger
On Sun, Jun 9, 2019 at 8:28 AM Horatiu Vultur wrote: > > Because all MSCC SoC use the same MDIO bus, put the implementation in > one common file(mscc_miim) and make all the other MSCC network drivers to > use these functions. > > Signed-off-by: Horatiu Vultur Acked-by: Joe Hershberger

[U-Boot] [PATCH 2/2] efi_loader: Return non-zero for error in efi_add_memory_map()

2019-07-08 Thread Bryan O'Donoghue
If we are trying to map address zero, as is the case on raspberrypi, then we have no way of telling the difference between a valid efi_add_memory_map() at zero and an overlapping error at zero. Instead of returning zero, return EFI_NO_MAPPING on carve-out errors. In include/efi.h we can see that

Re: [U-Boot] [PATCH 3/6] net: macb: use bit access macro from header file

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:52 AM Ramon Fried wrote: > > macb.h provides macros for reading/setting bitfields, > in macb registers and descriptors. use that instead > of redefining them in the source file. > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 4/6] net: macb: add support for SGMII phy interface

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:50 AM Ramon Fried wrote: > > This patch adds support for the sgmii phy interface, > available only to DM users, dictated by current driver > design. > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger ___ U-Boot

[U-Boot] [PATCH 0/2] efi_loader: Fix inconsistencies in efi_add_memory_map usage

2019-07-08 Thread Bryan O'Donoghue
These two patches fix some inconsistent usage around efi_add_memory_map(). The first patch fixes the case where there is a mapping for an address starting at 0 as is the case on RPI3. We should not print an error for this. efi_add_memory_map(start = 0, ...) succeeds but efi_carve_out_dt_rsv()

[U-Boot] [PATCH 1/2] efi_loader: Check the result of efi_add_memory_map against input addr

2019-07-08 Thread Bryan O'Donoghue
We should check the result of efi_add_memory_map() against the first input parameter, not against zero. In efi_carve_out_dt_rsv() add_efi_memory_map() gets passed addr = 0. The function succeeds but the parsing routine interprets zero as an error. Fix that now by comparing the result code of

Re: [U-Boot] [PATCH v2 7/8] board: Add new slimbootloader board

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Park, Aiden > Sent: Monday, July 8, 2019 9:48 AM > To: Bin Meng > Cc: U-Boot Mailing List ; Simon Glass > > Subject: RE: [PATCH v2 7/8] board: Add new slimbootloader board > > Hi Bin, > > > -Original Message- > > From: Bin Meng

Re: [U-Boot] [PATCH v3] net: phy: cortina: Use block layer to read from mmc

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 1:27 AM Yinbo Zhu wrote: > > This patch is to use block layer to read from mmc in cortina > > Signed-off-by: Yinbo Zhu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] ARM: renesas: Update Gen3 PCIe dma-ranges before boot

2019-07-08 Thread Marek Vasut
Update "dma-ranges" DT property of all PCIe controllers in the system with the up-to-date DRAM layout. This allows the PCIe controller take full advantage of all the available DRAM, at least in theory. This patch only populates up to two dma-ranges entry though, this is because older versions of

Re: [U-Boot] [EXT] Re: [PATCH 1/2 v3] net: introduce MDIO DM class for MDIO devices

2019-07-08 Thread Alex Marginean
On 7/9/2019 12:40 AM, Joe Hershberger wrote: On Fri, Jun 14, 2019 at 1:26 PM Alex Marginean wrote: Hi Nevo, On 6/14/2019 7:55 PM, Nevo Hed wrote: Hi Alex In another thread (https://lists.denx.de/pipermail/u-boot/2019-June/371933.html) I asked Ken (before learning of their cut-backs) if I

Re: [U-Boot] [PATCH 6/6] net: macb: apply sane DMA configuration

2019-07-08 Thread Joe Hershberger
On Tue, Jun 11, 2019 at 10:51 AM Ramon Fried wrote: > > DMA configuration was heavily dependent on the HW > defaults, add function to properly set the required > fields, including the new dma_burst_length. > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger

[U-Boot] [PATCH v6 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (RGMII), Reduced Media

[U-Boot] [PATCH v6 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (RGMII), Reduced Media

[U-Boot] [PATCH v6 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-07-08 Thread Keerthy
Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack.

Re: [U-Boot] U-Boot/EBBR plugfest at ELC-EU?

2019-07-08 Thread Alexander Graf
On 08.07.19 12:13, Daniel Kiper wrote: Sorry for late reply but I am busy... On Fri, Jun 28, 2019 at 11:42:06AM +0100, Leif Lindholm wrote: On Fri, Jun 28, 2019 at 12:17:54PM +0200, Alexander Graf wrote: On 28.06.19 12:03, Heinrich Schuchardt wrote: I would be interested in joining. I hope

Re: [U-Boot] U-Boot/EBBR plugfest at ELC-EU?

2019-07-08 Thread Steve McIntyre
On Mon, Jul 08, 2019 at 11:18:56AM +0100, Leif Lindholm wrote: >On Mon, Jul 08, 2019 at 12:13:07PM +0200, Daniel Kiper wrote: >> > I don't know yet - UEFI Asia plugfest date hasn't been decided yet, >> > and is likely to end up around the same time. And actually another >> > unrelated event too.

Re: [U-Boot] [PATCH v2 4/8] x86: slimbootloader: Add serial driver

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 2, 2019 7:14 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > > Subject: Re: [PATCH v2 4/8] x86: slimbootloader: Add serial driver > > Hi Aiden, > > On Wed, Jun 26, 2019 at

Re: [U-Boot] [PATCH] riscv: image: save space on the magic number field

2019-07-08 Thread Atish Patra
On Mon, 2019-07-08 at 11:27 +, Chester Lin wrote: > Change the symbol from "RISCV" to "RSCV" so the magic number can be > 32-bit > long, which is consistent with other architectures. This change can > also > be compatible with grub because grub defines this field as 32-bit > long. > It is

Re: [U-Boot] [PATCH v2 1/8] x86: Add new slimbootloader CPU type

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 2, 2019 7:13 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > > Subject: Re: [PATCH v2 1/8] x86: Add new slimbootloader CPU type > > Hi Aiden, > > On Wed, Jun 26, 2019 at 7:15

Re: [U-Boot] [PATCH v2 2/8] x86: slimbootloader: Add a function to access HOB

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 2, 2019 7:13 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > > Subject: Re: [PATCH v2 2/8] x86: slimbootloader: Add a function to access > HOB > > Hi Aiden, > > On Wed, Jun

Re: [U-Boot] [PATCH v2 7/8] board: Add new slimbootloader board

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 2, 2019 7:14 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > > Subject: Re: [PATCH v2 7/8] board: Add new slimbootloader board > > Hi Aiden, > > On Wed, Jun 26, 2019 at 7:21

[U-Boot] Pull request for UEFI sub-system for v2019.10-rc1

2019-07-08 Thread Heinrich Schuchardt
The following changes since commit 1f83431f0053f6fb20c511c391ffc687433848cf: board: amlogic: add mailing-list to MAINTAINERS (2019-07-04 11:36:52 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2019-10-rc1 for you to fetch

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-07-08 Thread Joe Hershberger
On Wed, Jul 3, 2019 at 4:01 AM Alex Marginean wrote: > > Hi Bin, > > On 7/3/2019 10:39 AM, Bin Meng wrote: > > Hi Alex, > > > > On Wed, Jul 3, 2019 at 3:09 AM Alex Marginean > > wrote: > >> > >> On 7/1/2019 11:15 AM, Bin Meng wrote: > >>> Hi Alex, > >>> > >>> On Wed, Jun 19, 2019 at 5:07 PM

[U-Boot] What is the status of rk3066 support?

2019-07-08 Thread Arthur Helfstein Fragoso
Hello, I found Paweł Jarosz sent patches for rk3066 support: https://lists.denx.de/pipermail/u-boot/2017-August/302895.html I tried to search for its status at the patchwork tool mentioned in the website, but I could not find it listed. I can find some code that contains the "rk3066" string in

Re: [U-Boot] [PATCH v2 3/8] x86: slimbootloader: Add memory configuration

2019-07-08 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Tuesday, July 2, 2019 7:13 AM > To: Park, Aiden > Cc: U-Boot Mailing List ; Simon Glass > > Subject: Re: [PATCH v2 3/8] x86: slimbootloader: Add memory configuration > > Hi Aiden, > > On Wed, Jun 26,

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Lukasz Majewski
Hi Peng, > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > Hi Peng, > > > > > From: Peng Fan > > > > > > This patchset is to support i.MX8MM/8MN with some update in ddr > > > settings and ddr driver update. > > > > > > The initial patchset to support i.MX8MM is > > >

Re: [U-Boot] [PATCH 2/4 v3] doc: bindings: Add description for MDIO MUX dts nodes

2019-07-08 Thread Bin Meng
On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: > > Adds a short bindings document describing the expected structure of a MDIO > MUX dts node. This is based on Linux binding and the example is in fact > copied from there. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: >

Re: [U-Boot] [PATCH 3/4 v3] test: dm_mdio: add a 2nd register to the emulated PHY

2019-07-08 Thread Bin Meng
On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: > > This 2nd register is used by the follow-up MDIO MUX test. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - no change > Changes in v3: > - no change, just fighting with the email server > >

Re: [U-Boot] [PATCH 4/4 v3] test: dm: add a test for MDIO MUX DM uclass

2019-07-08 Thread Bin Meng
On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: > > Adds a test using a makeshift MDIO MUX. The test is based on the existing > MDIO test. It uses the last emulated PHY register to verify MUX selection. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - no

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Peng Fan
Hi Lukasz, > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > Hi Peng, > > > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > > > Hi Peng, > > > > > > > From: Peng Fan > > > > > > > > This patchset is to support i.MX8MM/8MN with some update in ddr > > > > settings and

Re: [U-Boot] [PATCH 1/4 v3] net: add MDIO_MUX DM class

2019-07-08 Thread Bin Meng
On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: > > Adds a class for MDIO MUXes, which control access to a series of > downstream child MDIOs. > MDIO MUX drivers are required to implement a select function used to switch > between child buses. > MUX children are registered as MDIO

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > Hi Peng, > > > > > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > > > > > Hi Peng, > > > > > > > > > From: Peng Fan > > > > > > > > > > This patchset is to support i.MX8MM/8MN with

Re: [U-Boot] [PATCH v3] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-08 Thread Marek Vasut
On 7/8/19 3:04 PM, Ludwig Zenz wrote: > This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and > removes non DM I2C code. The I2C EEPROM with ethaddr (MAC) > is defined in the device tree. Use UCLASS_I2C_EEPROM > to find the device by fixed hardware path and read the ethaddr. > > Tested with

Re: [U-Boot] [PATCH 2/4 v3] doc: bindings: Add description for MDIO MUX dts nodes

2019-07-08 Thread Alex Marginean
On 7/8/2019 10:40 AM, Bin Meng wrote: On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: Adds a short bindings document describing the expected structure of a MDIO MUX dts node. This is based on Linux binding and the example is in fact copied from there. Signed-off-by: Alex

Re: [U-Boot] [PATCH 4/4 v3] test: dm: add a test for MDIO MUX DM uclass

2019-07-08 Thread Alex Marginean
Hi Bin, On 7/8/2019 10:40 AM, Bin Meng wrote: On Tue, Jun 18, 2019 at 10:58 PM Alexandru Marginean wrote: Adds a test using a makeshift MDIO MUX. The test is based on the existing MDIO test. It uses the last emulated PHY register to verify MUX selection. Signed-off-by: Alex Marginean ---

Re: [U-Boot] [PATCH v2] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-08 Thread Ludwig Zenz
On 7/5/19 14:24 PM, Marek Vasut wrote: > > On 7/5/19 12:46 PM, Ludwig Zenz wrote: > [...] > > > static int setup_dhcom_mac_from_fuse(void) > > { > > + struct udevice *dev; > > unsigned char enetaddr[6]; > > int ret; > > > > @@ -228,13 +142,13 @@ static int

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Schrempf Frieder
On 08.07.19 09:47, Peng Fan wrote: > Hi Lukasz, > >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N >> >> Hi Peng, >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N Hi Peng, > From: Peng Fan > > This patchset is to support i.MX8MM/8MN with some

Re: [U-Boot] U-Boot/EBBR plugfest at ELC-EU?

2019-07-08 Thread Leif Lindholm
On Mon, Jul 08, 2019 at 12:13:07PM +0200, Daniel Kiper wrote: > > I don't know yet - UEFI Asia plugfest date hasn't been decided yet, > > and is likely to end up around the same time. And actually another > > unrelated event too. > > > > Certainly, Lyon is a quite convenient train journey from

Re: [U-Boot] [PATCH V2 00/51] Support i.MX8MM/N

2019-07-08 Thread Schrempf Frieder
Hi Peng, On 08.07.19 03:38, Peng Fan wrote: > This patchset is to support i.MX8MM/8MN with some update > in ddr settings and ddr driver update. > > V2: > Fix build break, add Cc for some patches, and drop CCF select in i.MX8MM > Fix script to remove srctree in tools/imx8m_image.sh > Fix License

Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM

2019-07-08 Thread Lukasz Majewski
Hi Peng, > Introduce clk implementation for i.MX8MM, including pll configuration, > ccm configuration. Export get_root_clk for CLK UCLASS driver usage. > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/arch-imx8m/clock.h| 3 + > arch/arm/include/asm/arch-imx8m/clock_imx8mm.h |

Re: [U-Boot] [PATCH 2/2] Add i.MX7D based Meerkat96 board support

2019-07-08 Thread Shawn Guo
On Mon, Jul 08, 2019 at 02:42:54PM +0530, Manivannan Sadhasivam wrote: > Hi Shawn, > > Thanks for the patch! > > On Sun, Jul 07, 2019 at 08:59:55PM +0800, Shawn Guo wrote: > > The Meerkat96 board, based on the NXP i.MX7D SoC, is a member of > > 96Boards community and complies with all Consumer

Re: [U-Boot] [PATCH V2 1/2] watchdog: Split WDT from SPL_WDT

2019-07-08 Thread Suniel Mahesh
On 02/07/19 01:55, Marek Vasut wrote: > On 7/1/19 8:45 AM, Suniel Mahesh wrote: >> Hi Marek, >> >> May I know if this patch series is still under review ? > > I guess Stefano is taking them for next ... or ? > Hi Marek, Because of this change set applied to u-boot, this patch might not apply,

Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM

2019-07-08 Thread Lukasz Majewski
Hi Peng, > > Subject: Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for > > i.MX8MM > > > > Hi Peng, > > > > > Introduce clk implementation for i.MX8MM, including pll > > > configuration, ccm configuration. Export get_root_clk for CLK > > > UCLASS driver usage. > > > > > >

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > Hi Peng, > > > Hi Lukasz, > > > > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > > > Hi Peng, > > > > > > > > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > > > > > > > > > Hi Peng, > > > > > > > > > > >

Re: [U-Boot] [PULL] u-boot-mips

2019-07-08 Thread Stefan Roese
Hi Tom, On 05.07.19 17:29, Daniel Schwierzeck wrote: Hi Tom, please pull a fix for network instability on MT7688 Gardena Smart Gateway. This should go into 2019.07, thanks. Could you please pull this patch into the upcoming release via the pull request from Daniel? Thanks, Stefan The

Re: [U-Boot] [PATCH V2 00/51] Support i.MX8MM/N

2019-07-08 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH V2 00/51] Support i.MX8MM/N > > Hi Peng, > > On 08.07.19 03:38, Peng Fan wrote: > > This patchset is to support i.MX8MM/8MN with some update in ddr > > settings and ddr driver update. > > > > V2: > > Fix build break, add Cc for some patches, and drop CCF select in

Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N

2019-07-08 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > On 08.07.19 09:47, Peng Fan wrote: > > Hi Lukasz, > > > >> Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > >> > >> Hi Peng, > >> > Subject: Re: [U-Boot] [PATCH 00/52] Support i.MX8MM/N > > Hi Peng, > > >

Re: [U-Boot] [PATCH 2/2] Add i.MX7D based Meerkat96 board support

2019-07-08 Thread Manivannan Sadhasivam
Hi Shawn, Thanks for the patch! On Sun, Jul 07, 2019 at 08:59:55PM +0800, Shawn Guo wrote: > The Meerkat96 board, based on the NXP i.MX7D SoC, is a member of > 96Boards community and complies with all Consumer Edition board > specifications. > > https://www.novtech.com/products/meerkat96.html >

Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM

2019-07-08 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH V2 18/51] imx8m: add clk support for i.MX8MM > > Hi Peng, > > > Introduce clk implementation for i.MX8MM, including pll configuration, > > ccm configuration. Export get_root_clk for CLK UCLASS driver usage. > > > > Signed-off-by: Peng Fan > > --- > >

Re: [U-Boot] [PATCH 2/2] Add i.MX7D based Meerkat96 board support

2019-07-08 Thread Manivannan Sadhasivam
On Mon, Jul 08, 2019 at 05:59:04PM +0800, Shawn Guo wrote: > On Mon, Jul 08, 2019 at 02:42:54PM +0530, Manivannan Sadhasivam wrote: > > Hi Shawn, > > > > Thanks for the patch! > > > > On Sun, Jul 07, 2019 at 08:59:55PM +0800, Shawn Guo wrote: > > > The Meerkat96 board, based on the NXP i.MX7D

Re: [U-Boot] [PATCH] net: mvpp2: support setting hardware addresses from ethernet core

2019-07-08 Thread Joe Hershberger
On Sat, Jun 1, 2019 at 1:39 PM Joe Hershberger wrote: > > On Wed, May 8, 2019 at 2:36 PM Matt Pelland wrote: > > > > mvpp2 already has support for setting MAC addresses but this > > functionality was not exposed to the ethernet core. This commit exposes > > this functionality so that MAC address

[U-Boot] [PATCH v2 04/37] tools: Drop duplicate raise_on_error argument

2019-07-08 Thread Simon Glass
If kwargs contains raise_on_error then this function generates an error due to a duplicate argument. Fix this. Signed-off-by: Simon Glass --- Changes in v2: None tools/patman/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/patman/command.py

[U-Boot] [PATCH v2 06/37] binman: Correct two typos in function names in ftest

2019-07-08 Thread Simon Glass
Two functions have incorrect names. Fix them. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/ftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index cc57ef3e04a..46f669e73b4 100644 ---

Re: [U-Boot] What is the status of rk3066 support?

2019-07-08 Thread Arthur Helfstein Fragoso
On 7/8/19 12:50 PM, Arthur Helfstein Fragoso wrote: > Hello, > > > I found Paweł Jarosz sent patches for rk3066 support: > https://lists.denx.de/pipermail/u-boot/2017-August/302895.html > > I tried to search for its status at the patchwork tool mentioned in the > website, but I could not find

[U-Boot] [PATCH v2 01/37] x86: Add ifwitool for Intel Integrated Firmware Image

2019-07-08 Thread Simon Glass
Some Intel SoCs from about 2016 boot using an internal microcontroller via an 'IFWI' image. This is a special format which can hold firmware images. In U-Boot's case it holds u-boot-tpl.bin. Add this tool, taken from coreboot, so that we can build bootable images on apollolake SoCs. This tool

[U-Boot] [PATCH v2 02/37] cbfs: Add an enum and comment for the magic number

2019-07-08 Thread Simon Glass
This field is not commented in the original file. Add a comment. Signed-off-by: Simon Glass --- Changes in v2: None include/cbfs.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/cbfs.h b/include/cbfs.h index bd1bf75bbfc..f2ede25f517 100644 --- a/include/cbfs.h +++

[U-Boot] [PATCH v2 03/37] cbfs: Rename checksum to attributes_offset

2019-07-08 Thread Simon Glass
It seems that this field has been renamed in later version of coreboot. Update it. Signed-off-by: Simon Glass --- Changes in v2: None fs/cbfs/cbfs.c | 4 ++-- include/cbfs.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c index

[U-Boot] [PATCH v2 00/37] binman: Add CBFS support

2019-07-08 Thread Simon Glass
CBFS (Coreboot Filesystem) is a simple ROM-based filesystem used for locating data needed during booting. It has particular features for x86 such as defining a boot block at the top of the ROM image. At run-time, boot loaders can locate files in the ROM by searching for a header and magic strings

[U-Boot] [PATCH v2 11/37] binman: Add missing comments toentry

2019-07-08 Thread Simon Glass
At present GetOffsets() lacks a function comment. Add one. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/entry.py | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tools/binman/entry.py b/tools/binman/entry.py index d842d89dd66..e8d0adec1e9 100644 ---

[U-Boot] [PATCH v2 05/37] binman: Fix comment in bsection.GetEntries()

2019-07-08 Thread Simon Glass
This comment is out of date as it does not correctly describe the return value. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/bsection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/bsection.py b/tools/binman/bsection.py index

[U-Boot] [PATCH v2 07/37] binman: Add coverage tools info for Python 3

2019-07-08 Thread Simon Glass
Test coverage with Python 3 requires a new package. Add details about this. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/README b/tools/binman/README index ac193f16cf7..decca47bbf3

[U-Boot] [PATCH v2 31/37] binman: Pass the toolpath to tests

2019-07-08 Thread Simon Glass
Tools like ifwitool may not be available in the PATH, but are available in the build. These tools may be needed by tests, so allow tests to use the --toolpath flag. Also use this flag with travis. Signed-off-by: Simon Glass --- Changes in v2: None .travis.yml| 2 +- test/run

[U-Boot] [PATCH v2 09/37] binman: Add a --toolpath option to set the tool search path

2019-07-08 Thread Simon Glass
Sometimes tools used by binman may not be in the normal PATH search path, such as when the tool is built by the U-Boot build itself (e.g. mkimage). Provide a way to specify an additional search path for tools. The flag can be used multiple times. Update the help to describe this option.

[U-Boot] [PATCH v2 17/37] binman: Ensure that coverage has access to site packages

2019-07-08 Thread Simon Glass
Code coverage tests fail on binman due to dist-packages being dropped from the python path on Ubuntu 16.04. Add them in so that we can find the elffile module, which is required by binman. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/binman.py | 8 1 file changed,

[U-Boot] [PATCH v2 21/37] binman: Allow text directly in the node

2019-07-08 Thread Simon Glass
At present text entries use an indirect method to specify the text to use, with a label pointing to the text itself. Allow the text to be directly written into the node. This is more convenient in cases where the text is constant. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 16/37] binman: Add a function to decode an ELF file

2019-07-08 Thread Simon Glass
Add a function which decodes an ELF file, working out where in memory each part of the data should be written. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/README | 4 +++ tools/binman/elf.py | 76 tools/binman/elf_test.py

[U-Boot] [PATCH v2 20/37] binman: Update entry.SetOffsetSize to be optional

2019-07-08 Thread Simon Glass
At present this function always sets both the offset and the size of entries. But in some cases we want to set only one or the other, for example with the forthcoming ifwi entry, where we only set the offset. Update the function to handle this. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 25/37] binman: Use tools compression function for blob handling

2019-07-08 Thread Simon Glass
Avoid duplicate code here by using the new compression function in the tools module. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/etype/blob.py | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/tools/binman/etype/blob.py

[U-Boot] [PATCH v2 18/37] binman: Assume Intel descriptor is at the start of the image

2019-07-08 Thread Simon Glass
At present binman requires that the Intel descriptor has an explicit offset. Generally this is 0 since the descriptor is at the start of the image. Add a default to handle this, so users don't need to specify the offset. Signed-off-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 24/37] binman: Drop unnecessary debug handling

2019-07-08 Thread Simon Glass
The -D option enables debug mode, but we only need to add -D to the command line once. Drop the duplicate code. Also drop the comment about enabling debugging since this can be done with -D. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/binman.py | 5 - 1 file changed,

[U-Boot] [PATCH v2 35/37] binman: Add support for Intel IFWI entries

2019-07-08 Thread Simon Glass
An Integrated Firmware Image is used to hold various binaries used for booting with Apollolake and some later devices. Add support for this. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/etype/intel_descriptor.py| 6 +- tools/binman/etype/intel_ifwi.py

[U-Boot] [PATCH v2 13/37] binman: Use a better error for missing Intel descriptor

2019-07-08 Thread Simon Glass
FD is a bit confusing so write this out in full. Also avoid splitting the string so that people can grep for the error message more easily. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/etype/intel_descriptor.py | 2 +- tools/binman/ftest.py | 4 ++-- 2

[U-Boot] [PATCH v2 26/37] binman: Correct comment in u_boot_spl_elf

2019-07-08 Thread Simon Glass
This comment mentions the wrong default filename. Fix it. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/README.entries | 2 +- tools/binman/etype/u_boot_spl_elf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/binman/README.entries

[U-Boot] [PATCH v2 22/37] patman: Add functions to compress and decompress data

2019-07-08 Thread Simon Glass
Add utility functions to compress and decompress using lz4 and lzma algorithms. In the latter case these use the legacy lzma support favoured by coreboot's CBFS. No tests are provided as these functions will be tested by the CBFS tests in a separate patch. Signed-off-by: Simon Glass ---

Re: [U-Boot] [PULL] u-boot-mips

2019-07-08 Thread Tom Rini
On Fri, Jul 05, 2019 at 05:29:43PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull a fix for network instability on MT7688 Gardena Smart Gateway. > This should go into 2019.07, thanks. > > > The following changes since commit 1f83431f0053f6fb20c511c391ffc687433848cf: > > board:

[U-Boot] [PATCH v2 36/37] binman: Pad empty areas of the CBFS with files

2019-07-08 Thread Simon Glass
When there is lots of open space in a CBFS it is normally padded with 'empty' files so that sequentially scanning the CBFS can skip from one to the next without a break. Add support for this. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/cbfs_util.py | 68

[U-Boot] [PATCH v2 23/37] binman: Use the tools.Decompress method

2019-07-08 Thread Simon Glass
Update the compression test to use the tools module to decompress the output data. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/ftest.py | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py index

  1   2   >