Re: [U-Boot] [PATCH 1/1] efi_loader: use built-in device tree in bootefi command

2018-01-22 Thread Alexander Graf
On 01/20/2018 01:56 PM, Heinrich Schuchardt wrote: The bootefi command has two parameters: the address of the executable and the address of the flattened device tree. When executing the devicetree command in grub this command can only replace an existing device tree. So we always want to pass a

Re: [U-Boot] [PATCH v4 1/2] efi_driver: EFI block driver

2018-01-22 Thread Alexander Graf
On 01/21/2018 07:29 PM, Heinrich Schuchardt wrote: This patch provides * a uclass for EFI drivers * a EFI driver for block devices For each EFI driver the uclass * creates a handle * adds the driver binding protocol The uclass provides the bind, start, and stop entry points for the driver

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-22 Thread Simon Goldschmidt
On 22.01.2018 07:01, Jagan Teki wrote: On Thu, Jan 18, 2018 at 1:45 PM, Simon Goldschmidt wrote: When the device tree is missing a correct spi slave description below the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. At least with cadence

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-22 Thread Simon Goldschmidt
On 22.01.2018 06:04, Vignesh R wrote: On Thursday 18 January 2018 01:45 PM, Simon Goldschmidt wrote: When the device tree is missing a correct spi slave description below the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. At least with cadence qspi, this leads to a division

Re: [U-Boot] [PATCH v2] ARM: dts: Freescale: re-license device tree files under GPLv2+/X11

2018-01-22 Thread Tom Rini
On Mon, Jan 22, 2018 at 10:02:58AM +, Pankaj Bansal wrote: > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Friday, January 19, 2018 10:33 PM > > To: York Sun > > Cc: Pankaj Bansal ; u-boot@lists.denx.de; > >

Re: [U-Boot] [PATCH] dm: spi: prevent setting a speed of 0 Hz

2018-01-22 Thread Simon Goldschmidt
On 22.01.2018 01:29, Simon Glass wrote: Hi Simon, On 18 January 2018 at 01:15, Simon Goldschmidt wrote: When the device tree is missing a correct spi slave description below the bus, the 'set_speed' callback can be called with 'speed' == 0 Hz. At least with

Re: [U-Boot] [PATCH V5 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-22 Thread Diego Dorta
Hi Peng, 2018-01-10 3:20 GMT-02:00 Peng Fan : > This patchset is to add i.MX8M and i.MX8MQ-EVK support > > V5: > Drop wait_mask_set/clr_timeout and switch to use readl_poll_timeout in > the patchset. > > V4: > Regenerate patchset based on Tom's master tree. > In this

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

2018-01-22 Thread Tom Rini
On Mon, Jan 22, 2018 at 11:20:56AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit 98691a60abffb44303d7dae6e9e699d0daded930: > > Merge git://git.denx.de/u-boot-rockchip (2018-01-09 13:28:51 -0500) > > are available in

Re: [U-Boot] [PATCH v6 2/2] common: Generic firmware loader for file system

2018-01-22 Thread Marek Vasut
On 01/22/2018 08:11 AM, Chee, Tien Fong wrote: [...] >>> This is last line code of the function, so it's always return the >>> result regardless error or not. >> You are rewriting the true error code with -ENODEV instead of >> propagating it. >> > Ohhare you saying to change the codes as

Re: [U-Boot] [PATCH v2 13/15] env: Mark env_get_location as weak

2018-01-22 Thread Tom Rini
On Mon, Jan 22, 2018 at 01:46:46PM +0100, Maxime Ripard wrote: > Hi, > > On Sun, Jan 21, 2018 at 05:29:56PM -0700, Simon Glass wrote: > > > On Wed, Jan 17, 2018 at 03:07:58PM -0700, Simon Glass wrote: > > >> On 16 January 2018 at 01:16, Maxime Ripard > > >>

Re: [U-Boot] [PATCH v2 13/15] env: Mark env_get_location as weak

2018-01-22 Thread Maxime Ripard
Hi, On Sun, Jan 21, 2018 at 05:29:56PM -0700, Simon Glass wrote: > > On Wed, Jan 17, 2018 at 03:07:58PM -0700, Simon Glass wrote: > >> On 16 January 2018 at 01:16, Maxime Ripard > >> wrote: > >> > Allow boards and architectures to override the default

Re: [U-Boot] [PATCH] mmc: Poll for broken card detection case

2018-01-22 Thread Jun Nie
2018-01-22 13:03 GMT+08:00 Jaehoon Chung : > Hi, > > On 01/02/2018 01:25 PM, Jun Nie wrote: >> Poll for broken card detection case instead of return >> no card detected. > > Sorry for late. i didn't see this patch in my mailbox. > > Does it need to add the new config? Yes,

Re: [U-Boot] Please pull u-boot-dm

2018-01-22 Thread Tom Rini
On Sun, Jan 21, 2018 at 06:09:23PM -0700, Simon Glass wrote: > Hi Tom. > > The following changes since commit 557767ed29968af0294e3aae48433e5d5a298e0b: > > Merge git://git.denx.de/u-boot-marvell (2018-01-20 08:39:47 -0500) > > are available in the Git repository at: > >

Re: [U-Boot] [PATCH v6 2/2] common: Generic firmware loader for file system

2018-01-22 Thread Simon Goldschmidt
On 22.01.2018 09:08, Chee, Tien Fong wrote: On Thu, 2018-01-18 at 06:57 +0100, Simon Goldschmidt wrote: On 27.12.2017 06:04, tien.fong.c...@intel.com wrote: From: Tien Fong Chee This is file system generic loader which can be used to load the file image from the

Re: [U-Boot] [PATCH 1/2] sunxi: fix i2c support for sunxi H3/H5

2018-01-22 Thread Nuno Gonçalves
On Fri, Jan 19, 2018 at 9:35 PM, Jernej Škrabec wrote: > Hi, > > Dne petek, 19. januar 2018 ob 19:38:52 CET je Nuno Gonçalves napisal(a): >> Sorry, there is only 1 patch in this series. >> >> I would like comments regarding removing DM_I2C for MACH_SUNXI_H3_H5, >> as I

Re: [U-Boot] [PATCH] sunxi: Add support for the Beelink-x2 STB

2018-01-22 Thread Code Kipper
On 22 January 2018 at 09:04, Maxime Ripard wrote: > Hi, > > On Sun, Jan 21, 2018 at 07:06:49PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, >> 2 USB

[U-Boot] [PATCH v2] arm: add support for PDU001

2018-01-22 Thread Felix Brack
This patch adds support for the PDU001 board. Signed-off-by: Felix Brack --- Changes in v2: - use DT to configure the board - use new single-register pin controller - use new TPS65910 PMIC driver - eliminate the need of CONFIG_DM_I2C_COMPAT, i.e. use DM for i2c - clarify the

Re: [U-Boot] [RFC PATCH] mmc: Skipping the MMC initialization at the boot time

2018-01-22 Thread Siva Durga Prasad Paladugu
Hi Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Thursday, January 18, 2018 1:46 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: Vipul Kumar ; Vipul Kumar ; > Siva

Re: [U-Boot] [PATCH v2] ARM: dts: Freescale: re-license device tree files under GPLv2+/X11

2018-01-22 Thread Pankaj Bansal
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, January 19, 2018 10:33 PM > To: York Sun > Cc: Pankaj Bansal ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; Varun Sethi ; Leo Li >

Re: [U-Boot] [PATCH v4] spi: kirkwood_spi: implement workaround for FE-9144572

2018-01-22 Thread Jagan Teki
On Mon, Jan 22, 2018 at 3:14 PM, Chris Packham wrote: > Erratum NO. FE-9144572: The device SPI interface supports frequencies of > up to 50 MHz. However, due to this erratum, when the device core clock > is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock

[U-Boot] [PATCH v4] spi: kirkwood_spi: implement workaround for FE-9144572

2018-01-22 Thread Chris Packham
Erratum NO. FE-9144572: The device SPI interface supports frequencies of up to 50 MHz. However, due to this erratum, when the device core clock is 250 MHz and the SPI interfaces is configured for 50MHz SPI clock and CPOL=CPHA=1 there might occur data corruption on reads from the SPI device.

Re: [U-Boot] UDP packet sender

2018-01-22 Thread Gaëtan Carlier
Hi, On 01/18/2018 11:56 AM, Gaëtan Carlier wrote: > Hi, > I would like to implement a new command and submit it to the mailing list. > The command will have the following format: > udpsend send> > > udpsend 255.255.255.255 4040 0 hello world > > If source port is 0, a random port will be

Re: [U-Boot] [PATCH 1/2] serial: mxc: support DTE mode

2018-01-22 Thread Ryan Harkin
Hi Simon, On 22 January 2018 at 00:29, Simon Glass wrote: > Hi Ryan, > > On 19 January 2018 at 06:21, Ryan Harkin wrote: > > Hi Stefan, > > > > Thanks for looking so quickly. > > > > On 19 January 2018 at 12:23, Stefan Agner

Re: [U-Boot] [PATCH] sunxi: Add support for the Beelink-x2 STB

2018-01-22 Thread Maxime Ripard
On Mon, Jan 22, 2018 at 09:20:06AM +0100, Code Kipper wrote: > On 22 January 2018 at 09:04, Maxime Ripard > wrote: > > Hi, > > > > On Sun, Jan 21, 2018 at 07:06:49PM +0100, codekip...@gmail.com wrote: > >> From: Marcus Cooper > >> > >> The

Re: [U-Boot] [PATCH] tools/mrvl_uart.sh: Tidy script output

2018-01-22 Thread Stefan Roese
On 20.01.2018 13:18, Andreas Färber wrote: Fix a typo in help output (awailable -> available). Tidy the grammar - not the board connects to a port, we do. While at it, be consistent in upper-casing the comments. Fixes: eee4835d22 ("tools: Add Marvell recovery image download script") Cc:

Re: [U-Boot] [PATCH] tools/mrvl_uart.sh: Fix minicom baudrate

2018-01-22 Thread Stefan Roese
On 20.01.2018 13:07, Andreas Färber wrote: minicom doesn't inherit the baudrate from stty but uses its own defaults, such as for example 57600, whereas we expect 115200 here. Explicitly tell minicom which baudrate to use. Fixes: eee4835d22 ("tools: Add Marvell recovery image download script")

Re: [U-Boot] [PATCH v6 2/2] common: Generic firmware loader for file system

2018-01-22 Thread Lothar Waßmann
Hi, On Mon, 22 Jan 2018 07:11:37 + Chee, Tien Fong wrote: > On Thu, 2018-01-18 at 12:12 +0100, Marek Vasut wrote: > > On 01/18/2018 05:33 AM, Chee, Tien Fong wrote: > > > > > > On Tue, 2018-01-16 at 15:41 +0100, Marek Vasut wrote: > > > > > > > > On 12/27/2017 06:04 AM,

Re: [U-Boot] [PATCH v3 2/2] Enable test case with A20-OLinuXino-Lime2

2018-01-22 Thread Jagan Teki
On Tue, Jan 2, 2018 at 4:31 PM, Stefan Mavrodiev wrote: > On 12/26/2017 11:47 AM, Jagan Teki wrote: >> >> On Fri, Dec 22, 2017 at 3:30 PM, Stefan Mavrodiev >> wrote: >>> >>> Driver testing is done with A20-OLinuXino-Lime2. Testing >>> requirements

Re: [U-Boot] [PATCH v3 1/2] arm: sunxi: Allwinner A10 SPI driver

2018-01-22 Thread Jagan Teki
On Fri, Dec 22, 2017 at 3:30 PM, Stefan Mavrodiev wrote: > Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is > adapted from mailine kernel. > > Signed-off-by: Stefan Mavrodiev > --- > Changes for v3: > - Add required changes in dts and

Re: [U-Boot] [PATCH 1/2] sunxi: fix i2c support for sunxi H3/H5

2018-01-22 Thread Maxime Ripard
On Fri, Jan 19, 2018 at 09:35:58PM +0100, Jernej Škrabec wrote: > Hi, > > Dne petek, 19. januar 2018 ob 19:38:52 CET je Nuno Gonçalves napisal(a): > > Sorry, there is only 1 patch in this series. > > > > I would like comments regarding removing DM_I2C for MACH_SUNXI_H3_H5, > > as I didn't found

Re: [U-Boot] [PATCH 1/2] sunxi: fix i2c support for sunxi H3/H5

2018-01-22 Thread Maxime Ripard
On Fri, Jan 19, 2018 at 07:35:59PM +0100, Nuno Goncalves wrote: > Tested to work in a Orange Pi Zero (H2+/H3), and checked against H5 datasheet. > > Signed-off-by: Nuno Goncalves Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard,

Re: [U-Boot] [PATCH] sunxi: Fix display timing flags

2018-01-22 Thread Jagan Teki
On Wed, Jan 17, 2018 at 1:08 PM, Maxime Ripard wrote: > On Tue, Jan 16, 2018 at 05:43:48PM +0100, Giulio Benetti wrote: >> flags member of struct timing was not initialized, >> this took to unpredictable behaviour of display flags, >> such

Re: [U-Boot] [PATCH v2] spi: kirkwood_spi: implement workaround for FE-9144572

2018-01-22 Thread Jagan Teki
On Tue, Oct 17, 2017 at 4:15 AM, Chris Packham wrote: > On Tue, Oct 17, 2017 at 10:46 AM, Jagan Teki wrote: >> On Tue, Oct 17, 2017 at 3:07 AM, Chris Packham >> wrote: >>> Erratum NO. FE-9144572: The device SPI

Re: [U-Boot] [PATCH v6 2/2] common: Generic firmware loader for file system

2018-01-22 Thread Chee, Tien Fong
On Thu, 2018-01-18 at 06:57 +0100, Simon Goldschmidt wrote: > On 27.12.2017 06:04, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage into target such as

Re: [U-Boot] [PATCH] sunxi: Add support for the Beelink-x2 STB

2018-01-22 Thread Maxime Ripard
Hi, On Sun, Jan 21, 2018 at 07:06:49PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, > 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using > the SoC's integrated PHY,

<    1   2