Re: [U-Boot] [PATCH v2 2/2] net: eth-uclass: Support device tree MAC addresses

2019-04-17 Thread Grygorii Strashko
On 16.04.19 19:24, Thierry Reding wrote: > From: Thierry Reding > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the "mac-address" property > exists,

Re: [U-Boot] [RESEND-2 PATCH 0/4] sunxi: Enable EMAC on A83T boards using Realtek RTL8211E PHY

2019-04-17 Thread Jagan Teki
Hi, On Fri, Apr 12, 2019 at 4:05 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > (Resending yet again with correct email address now subscribed > and with proper cover letter subject. Sorry for the noise.) > > Hi everyone, > > This series enables EMAC (Ethernet controller) on two A83T boards,

Re: [U-Boot] [linux-sunxi] [PATCH] phy: sun4i-usb: Fix PHY0 routing and passby configuration for MUSB

2019-04-17 Thread Jagan Teki
On Mon, Apr 15, 2019 at 1:52 PM Paul Kocialkowski wrote: > > Hi, > > Le vendredi 12 avril 2019 à 14:49 +0530, Jagan Teki a écrit : > > On Thu, Mar 14, 2019 at 4:08 PM Paul Kocialkowski > > wrote: > > > Recent Allwinner platforms (starting with the H3) only use the MUSB > > > controller for periph

Re: [U-Boot] [PATCH v2 00/14] rockchip: Add new rk3399 boards

2019-04-17 Thread Jagan Teki
Hi Paul, On Tue, Apr 16, 2019 at 5:29 PM Paul Kocialkowski wrote: > > Hi, > > Le mardi 16 avril 2019 à 16:26 +0530, Jagan Teki a écrit : > > This series is combination of previous version[1] plus new rk3399 > > boards addition. > > Thanks for following-up on this series! > > > Overall this series

Re: [U-Boot] [PATCH v2 09/14] rockchip: rk3399: Add 4GB LPDDR3-1866 DMC settings【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2019-04-17 Thread Jagan Teki
On Wed, Apr 17, 2019 at 1:10 PM Kever Yang wrote: > > Hi Jagan, > > > On 04/16/2019 06:56 PM, Jagan Teki wrote: > > Add sdram dtsi file for 4GB LPDDR3-1866 DMC settings by reverse > > engineered from the rk3399_ddr_933Mhz_v1.14.bin file. > > > > Full credits to 'Liviu Dudau' who is the real author

Re: [U-Boot] [PATCH v2 08/14] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

2019-04-17 Thread Jagan Teki
On Tue, Apr 16, 2019 at 4:40 PM Robin Murphy wrote: > > On 16/04/2019 11:56, Jagan Teki wrote: > > sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and > > indeed failed to detect the sdcard on the board with below error > > > >Card did not respond to voltage select! > > > > So, fix i

Re: [U-Boot] [RFC v3 04/10] cmd: bootefi: merge efi_install_fdt() and efi_process_fdt()

2019-04-17 Thread Heinrich Schuchardt
On 4/16/19 6:24 AM, AKASHI Takahiro wrote: This is a preparatory patch for reworking do_bootefi() in later patch. For simplicity, merge two functions. Signed-off-by: AKASHI Takahiro --- cmd/bootefi.c | 67 +-- 1 file changed, 28 insertions(+),

[U-Boot] [v3 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma Reviewed-by: Michal Simek --- changed for v3: - Add Reviewed-by. drivers/ata/sata_ceva.c | 50 +++ 1 files changed, 33

[U-Boot] [v3 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-17 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- changed for v3: - remove some dts node reg to fix build error arch/arm/dts/fsl-ls1012a.dtsi |4 +++- arch/arm/dts/fsl-ls1043a.dtsi |4 +++- arch/arm/dts/fsl-ls1046a.dtsi |4 +++- arch/arm/dts/fsl-ls1088a.dtsi |

[U-Boot] [PATCH] arm: lpc32xx: Fix timer initialization

2019-04-17 Thread Gregory CLEMENT
The match controller register is not cleared during initialization. However, some bits of this register may reset the TC if tnMRx match it. As we can't make any assumption about how U-Boot is launched by the first stage bootloader (such as S1L) clearing this register ensure that the timers work as

[U-Boot] [PATCH] net: lpc32xx: Use IRAM for transmit buffer

2019-04-17 Thread Gregory CLEMENT
Since the introduction of the driver, some memory in IRAM is reserved for the TX buffers. However there are not used but instead of it, it is the buffer provided by the net stack which is used. As stated in the comment of the driver, not using the IRAM buffer could cause cache issue and lower the

[U-Boot] [PATCH 2/2] mxc_ocotp: Disable fuse sense for imx8mq B1

2019-04-17 Thread Peng Fan
From: Ye Li On iMX8MQ Rev B1, reading from fuse box is not allowed. The OCOTP_READ_FUSE_DATA register is tied to magic number 0xff0055aa for chip rev. So u-boot has to disable the fuse sense function for it. Signed-off-by: Ye Li Tested-by: Anson Huang Signed-off-by: Peng Fan --- drivers/misc

[U-Boot] [PATCH 1/2] mxc_ocotp: Update redundancy banks for mx7ulp B0

2019-04-17 Thread Peng Fan
From: Ye Li On mx7ulp B0, beside bank 0 and 1, the fuse bank 9, 10, 28 are changed to Redundancy mode not ECC, so they can support to program different bits of a word in multiple times. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- drivers/misc/mxc_ocotp.c | 18 +++--- 1 file c

[U-Boot] [PATCH] imx: i.MX8MQ: clear ocotp error bit

2019-04-17 Thread Peng Fan
In case ocotp error bit is set, clear it. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 11251c5f9a..7ec39b3e47 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++

Re: [U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-17 Thread Eugen.Hristev
On 17.04.2019 12:22, Gregory CLEMENT wrote: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disabled the default layout when

Re: [U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Gregory CLEMENT
Miquel Raynal writes: Hi Miquel, > Hi Gregory, > > Gregory CLEMENT wrote on Wed, 17 Apr 2019 > 11:09:42 +0200: > >> The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" >> was to allow disabling the default ECC layouts if a driver is known to >> provide its own ECC layout. How

[U-Boot] [PATCH v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-17 Thread Gregory CLEMENT
The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" was to allow disabling the default ECC layouts if a driver is known to provide its own ECC layout. However, this commit did the opposite and disabled the default layout when it was _not_ selected. It breaks all the NAND drivers

[U-Boot] [PATCH v3 1/1] colibri_imx7: migrate usb to driver model

2019-04-17 Thread Igor Opaniuk
Migrate USB to Driver Model (CONFIG_DM_USB=y). Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- v3: - re-order usb nodes and add additional comments, as suggested by Marcel v2: - Drop vbus-supply property for usbotg1 node, as on Colibri the turning on of th

Re: [U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Miquel Raynal
Hi Gregory, Gregory CLEMENT wrote on Wed, 17 Apr 2019 11:09:42 +0200: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disbal

[U-Boot] [PATCH] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behaviour

2019-04-17 Thread Gregory CLEMENT
The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" was to allow disabling the default ECC layouts if a driver is known to provide its own ECC layout. However, this commit did the opposite and disbaled the default layout whqant it was _not_ selectec. It breaks all the driver nan

[U-Boot] [GIT PULL] Xilinx patches for v2019.04

2019-04-17 Thread Michal Simek
Hi Tom, I am sending you some patches related to Xilinx devices and fpga framework. There are minimal changes in xilinx drivers and one patch which fixes EXT_DTB usage reviewed by Simon. Builds look good. https://travis-ci.org/michalsimek/u-boot/builds/520747035 Thanks, Michal The following ch

[U-Boot] [PATCH] ARM: dts: a20-wits-pro-a20-dkt: Enable AHCI

2019-04-17 Thread Jagan Teki
Enable ahci node for a20-wits-pro-a20-dkt, this would require since we have DM_SCSI enabled on the respective SoC. Right now, ahci enabled in -u-boot.dtsi and will remove once same supported by Linux. Cc: Hans de Goede Signed-off-by: Jagan Teki --- arch/arm/dts/sun7i-a20-wits-pro-a20-dkt-u-boo

[U-Boot] [PATCH v1] net: use block layer in net driver

2019-04-17 Thread Yinbo Zhu
From: Yinbo Zhu At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model when CONFIG_BLK is enabled, use blk_dread to replace previous mmc read interface, Signed-off-by: Yinbo Zhu --- drivers/net/phy/cortina.c | 2 +- 1 file changed, 1 insertion(+)

Re: [U-Boot] [v2 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Michal Simek
On 17. 04. 19 9:48, Peng Ma wrote: > Distinguish the ecc val by chassis version and move the ecc addr to dts. > Add ls1028a soc support. > > Signed-off-by: Peng Ma > --- > changed for v2: > - Use the reg-names to get secondary reg base > - Return error while some socs not set the ecc

Re: [U-Boot] [RFC v3 10/10] cmd: add efibootmgr command

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:27:10AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >Add CONFIG_CMD_STANDALONE_EFIBOOTMGR. > >With this patch, EFI boot manager can be kicked in by a standalone > >command, efibootmgr. > > > >Signed-off-by: AKASHI Takahiro > >--- > >

Re: [U-Boot] [PATCH v2 10/14] colibri-imx6ull: migrate usb to using driver model

2019-04-17 Thread Igor Opaniuk
Hi Marcel, Just found out that to be able to use usbotg1 also in host mode this change should be introduced: --- a/arch/arm/dts/imx6ull-colibri.dts +++ b/arch/arm/dts/imx6ull-colibri.dts @@ -220,7 +220,7 @@ /* Colibri USBC */ &usbotg1 { - dr_mode = "otg"; + dr_mode = "host";

[U-Boot] [v2 2/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
Distinguish the ecc val by chassis version and move the ecc addr to dts. Add ls1028a soc support. Signed-off-by: Peng Ma --- changed for v2: - Use the reg-names to get secondary reg base - Return error while some socs not set the ecc address at DT drivers/ata/sata_ceva.c | 50

[U-Boot] [v2 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-04-17 Thread Peng Ma
Move the ecc addr from driver to dts. Signed-off-by: Peng Ma --- changed for v2: - Add reg-names to improve driver code. arch/arm/dts/fsl-ls1012a.dtsi |4 +++- arch/arm/dts/fsl-ls1043a.dtsi |4 +++- arch/arm/dts/fsl-ls1046a.dtsi |4 +++- arch/arm/dts/fsl-ls1088a.dtsi |3

Re: [U-Boot] [RFC v3 08/10] cmd: bootefi: carve out do_boot_efi() from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:31:28AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >This is a preparatory patch for reworking do_bootefi() in later patch. > >All the non-boot-manager-based (that is, bootefi ) code is put > >into one function, do_boot_efi(). > > > >S

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 15:38 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [EXT] Re: [PATCH 1/2] scsi: ceva:

Re: [U-Boot] [PATCH v2 09/14] rockchip: rk3399: Add 4GB LPDDR3-1866 DMC settings【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips....@lists.infradead.org代发】

2019-04-17 Thread Kever Yang
Hi Jagan, On 04/16/2019 06:56 PM, Jagan Teki wrote: > Add sdram dtsi file for 4GB LPDDR3-1866 DMC settings by reverse > engineered from the rk3399_ddr_933Mhz_v1.14.bin file. > > Full credits to 'Liviu Dudau' who is the real author for this change. > > Signed-off-by: Liviu Dudau > Signed-off-by:

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Michal Simek
On 17. 04. 19 9:27, Peng Ma wrote: > > >> -Original Message- >> From: Michal Simek >> Sent: 2019年4月17日 14:58 >> To: Peng Ma ; Michal Simek ; >> albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >> ; York Sun ; Prabhakar >> Kushwaha >> Cc: Andy Tang ; Yinbo Zhu ; >> u-boot@list

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Peng Ma
>-Original Message- >From: Michal Simek >Sent: 2019年4月17日 14:58 >To: Peng Ma ; Michal Simek ; >albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >; York Sun ; Prabhakar >Kushwaha >Cc: Andy Tang ; Yinbo Zhu ; >u-boot@lists.denx.de >Subject: Re: [EXT] Re: [PATCH 1/2] scsi: ceva:

Re: [U-Boot] [RFC v3 05/10] cmd: bootefi: carve out efi_selftest code from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 07:21:26AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >This is a preparatory patch for reworking do_bootefi() in later patch. > > > >Efi_selftest code is unusual in terms of execution path in do_bootefi(), > >which make that function com

[U-Boot] SPL

2019-04-17 Thread Linder Pascal
Hello everyone, With my NanoPi NEO Plus2 board, I try to make some modifications on the Flattened Image Tree (FIT). This includes compression and also some security features like signing/verifying. But I do not know if my modifications worked out. It is a FIT that is started by the SPL, i.e.

Re: [U-Boot] [RFC v3 03/10] cmd: bootefi: carve out fdt handling from do_bootefi()

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 06:54:58AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >This is a preparatory patch for reworking do_bootefi() in later patch. > > I would prefer a more informative commit message like: > > Carve out a function to handle the installatio

Re: [U-Boot] [EXT] Re: [PATCH 1/2] scsi: ceva: Clean up the driver code

2019-04-17 Thread Michal Simek
On 17. 04. 19 8:50, Peng Ma wrote: > > >> -Original Message- >> From: Michal Simek >> Sent: 2019年4月17日 13:58 >> To: Peng Ma ; Michal Simek ; >> albert.u.b...@aribaud.net; s...@chromium.org; Fabio Estevam >> ; York Sun ; Prabhakar >> Kushwaha >> Cc: Andy Tang ; Yinbo Zhu ; >> u-boot@list

Re: [U-Boot] [RFC v3 02/10] efi_loader: export root node handle

2019-04-17 Thread AKASHI Takahiro
On Tue, Apr 16, 2019 at 06:48:46AM +0200, Heinrich Schuchardt wrote: > On 4/16/19 6:24 AM, AKASHI Takahiro wrote: > >This is a preparatory patch. > >The root node handle will be used as a dummy parent handle when invoking > >an EFI image from bootefi/bootmgr command. > > This patch is not based on

[U-Boot] [PATCH 6/6] ubispl: introduce separate CONFIG_UBI_SPL_SILENCE_MSG

2019-04-17 Thread Markus Klotzbuecher
From: Markus Klotzbuecher This allows to silence ubi and ubispl individually. Signed-off-by: Markus Klotzbuecher Cc: Heiko Schocher Cc: Kyungmin Park --- common/spl/Kconfig | 6 ++ drivers/mtd/ubispl/ubispl.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/

[U-Boot] [PATCH v2] sunxi: Add support for Olimex A64-Teres-I board

2019-04-17 Thread Jonas Smedegaard
Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard. https://linux-sunxi.org/Olimex_Teres-A64 This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree). sun50i-a64-teres-i.dts is copied verbatim from linux

Re: [U-Boot] [PATCH v2 08/14] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

2019-04-17 Thread Robin Murphy
On 16/04/2019 11:56, Jagan Teki wrote: sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and indeed failed to detect the sdcard on the board with below error Card did not respond to voltage select! So, fix it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in rk3399

<    1   2