[U-Boot] [PATCH v5 3/3] rename GPT partitions to detect boot failure

2017-06-09 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via a new 'gpt flip' command. The concept for the bootloader state machine is the following: -- u-boot renames ‘primary’ partitions as ‘candidate’ and

[U-Boot] [PATCH v5 2/3] GPT: read partition table from device into a data structure

2017-06-09 Thread alison
From: Alison Chaiken Make the partition table available for modification by reading it from the user-specified device into a linked list. Provide an accessor function for command-line testing. Changes since v4: -- Made do_get_gpt_info() return 0 upon success so that now,

[U-Boot] [PATCH v5 1/3] GPT: add accessor function for disk GUID

2017-06-09 Thread alison
From: Alison Chaiken In order to read the GPT, modify the partition name strings, and then write out a new GPT, the disk GUID is needed. While there is an existing accessor for the partition UUIDs, there is none yet for the disk GUID. Changes since v4: -- Made

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-09 Thread Bin Meng
Hi Simon, On Fri, Jun 9, 2017 at 8:27 PM, Simon Glass wrote: > Hi Bin, > > On 1 June 2017 at 17:04, Bin Meng wrote: >> Hi Simon, >> >> On Thu, Jun 1, 2017 at 9:14 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 1 June 2017 at 01:27, Bin

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-06-09 Thread Simon Glass
Hi Stephen, On 9 June 2017 at 16:57, Stephen Warren wrote: > On 06/09/2017 04:37 PM, Simon Glass wrote: >> >> Hi Tom, >> >> This is without the two offending patches that broke BUILD_TAG. I'll >> figure >> out a sandbox test for this and resubmit those patches later. >> >>

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-06-09 Thread Stephen Warren
On 06/09/2017 04:37 PM, Simon Glass wrote: Hi Tom, This is without the two offending patches that broke BUILD_TAG. I'll figure out a sandbox test for this and resubmit those patches later. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge

Re: [U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL

2017-06-09 Thread Fabio Estevam
On Fri, Jun 9, 2017 at 5:13 PM, Stefan Agner wrote: > From: Stefan Agner > > i.MX 6UL and 6ULL have different boot device capabilities and > use therefor use a different boot device selection table than > other i.MX 6 devices. Particularly, the value

[U-Boot] Please pull u-boot-dm (take 2)

2017-06-09 Thread Simon Glass
Hi Tom, This is without the two offending patches that broke BUILD_TAG. I'll figure out a sandbox test for this and resubmit those patches later. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400)

Re: [U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL

2017-06-09 Thread Fabio Estevam
On Fri, Jun 9, 2017 at 5:13 PM, Stefan Agner wrote: > From: Stefan Agner > > i.MX 6UL and 6ULL have different boot device capabilities and > use therefor use a different boot device selection table than > other i.MX 6 devices. Particularly, the value

Re: [U-Boot] [PATCH v3 2/2] power: regulator: lp87565: add regulator support

2017-06-09 Thread Nishanth Menon
On 06/07/2017 08:38 AM, Keerthy wrote: +static bool buck_get_enable(struct udevice *dev) +{ + bool enable = false; + int ret; + + + ret = lp87565_buck_enable(dev, PMIC_OP_GET, ); + if (ret) + return ret; Somehow does'nt look right, why return int for a

[U-Boot] [PATCH] powerpc: mpc8568mds: Update board config

2017-06-09 Thread York Sun
Enable DHCP command by default. Move environmental variable location to before U-Boot image. Enlarge reserved mem for malloc. Update maintainer. Signed-off-by: York Sun --- board/freescale/mpc8568mds/MAINTAINERS | 2 +- configs/MPC8568MDS_defconfig | 1 +

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Robert Nelson
On Fri, Jun 9, 2017 at 3:00 PM, Tom Rini wrote: > On Fri, Jun 09, 2017 at 02:45:32PM -0500, Robert Nelson wrote: >> > Ah, the problem with BBB is that it wants to boot from eMMC, not SD, >> > unless the button is pressed. It's possible, and I'd have to look at >> > the TRM

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 09:53:14PM +0200, Emmanuel Vadot wrote: > On Fri, 9 Jun 2017 15:13:05 -0400 > Tom Rini wrote: > > > On Fri, Jun 09, 2017 at 05:55:10PM +0200, Heiko Schocher wrote: > > > Hello Tom, > > > > > > Am 09.06.2017 um 13:20 schrieb Tom Rini: > > > >On Fri,

[U-Boot] [PATCH v2 1/1] meson-gx: reserved memory regions

2017-06-09 Thread Heinrich Schuchardt
The Odroid C2 has two GiB of memory with two reserved regions. reg = <0x0 0x0 0x0 0x100>; reg = <0x0 0x1000 0x0 0x20>; Patch bfcef28ae4cf (arm: add initial support for Amlogic Meson and ODROID-C2) provided function dram_init_banksize to reserve the first 16 MiB of RAM for firmware in

[U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL

2017-06-09 Thread Stefan Agner
From: Stefan Agner i.MX 6UL and 6ULL have different boot device capabilities and use therefor use a different boot device selection table than other i.MX 6 devices. Particularly, the value which has been used so far (b0001) is assigned to QSPI boot for these two

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 02:45:32PM -0500, Robert Nelson wrote: > > Ah, the problem with BBB is that it wants to boot from eMMC, not SD, > > unless the button is pressed. It's possible, and I'd have to look at > > the TRM and maybe the schematic, to see about changing the order, or > > being able

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Emmanuel Vadot
On Fri, 9 Jun 2017 15:13:05 -0400 Tom Rini wrote: > On Fri, Jun 09, 2017 at 05:55:10PM +0200, Heiko Schocher wrote: > > Hello Tom, > > > > Am 09.06.2017 um 13:20 schrieb Tom Rini: > > >On Fri, Jun 09, 2017 at 12:22:44PM +0200, Heiko Schocher wrote: > > >>Hello Lokesh, > > >>

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Robert Nelson
> Ah, the problem with BBB is that it wants to boot from eMMC, not SD, > unless the button is pressed. It's possible, and I'd have to look at > the TRM and maybe the schematic, to see about changing the order, or > being able to remote boot it with a blank eMMC. The button is routed to the

Re: [U-Boot] u-boot-dm crashes on NVIDIA Jetson TX1 running "version"

2017-06-09 Thread Simon Glass
Hi Stephen, On 8 June 2017 at 19:15, Stephen Warren wrote: > > On 06/08/2017 07:02 PM, Stephen Warren wrote: > > Simon, > > > > With the latest code in u-boot-dm.git/master, the "version" command > > crashes on p2371-2180 (NVIDIA Jetson TX1); see log below. Preliminary > >

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:55:10PM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 09.06.2017 um 13:20 schrieb Tom Rini: > >On Fri, Jun 09, 2017 at 12:22:44PM +0200, Heiko Schocher wrote: > >>Hello Lokesh, > >> > >>Am 09.06.2017 um 11:25 schrieb Lokesh Vutla: > >>> > >>> > >>>On Friday 09 June

[U-Boot] [PATCH] rockchip: video: fix taking the VOP device out of standby

2017-06-09 Thread Philipp Tomsich
The VOP uses regular registers, so use setbits_le32/clrbits_le32 instead of rk_setbits/rk_clrbits. Signed-off-by: Philipp Tomsich --- drivers/video/rockchip/rk3288_vop.c | 2 +- drivers/video/rockchip/rk_vop.c | 2 +- 2 files changed, 2 insertions(+),

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

2017-06-09 Thread Stephen Warren
On 06/08/2017 08:24 PM, Simon Glass wrote: Hi Tom, This includes the utf-8 fixes for patman and buildman as well as chain-loading support for two Chromebooks. The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08

Re: [U-Boot] [PATCH v1 0/4] Add FIT support for falcon boot

2017-06-09 Thread york sun
On 05/19/2017 02:56 AM, Andre Przywara wrote: > Hi York, > > On 16/05/17 16:54, york sun wrote: >> On 05/15/2017 10:42 PM, Lokesh Vutla wrote: >>> + Andre >>> >>> >>> On Monday 15 May 2017 09:31 PM, York Sun wrote: This patch set adds FIT support for falcon boot. GZIP is enabled to

Re: [U-Boot] [PATCH v4 04/11] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-09 Thread Dr. Philipp Tomsich
> On 09 Jun 2017, at 16:01, rock-chips(daniel.meng) > wrote: > > > > On 2017/6/9 16:22, Marek Vasut wrote: >> On 06/09/2017 09:49 AM, rock-chips(daniel.meng) wrote: >>> >>> On 2017/6/8 21:17, Marek Vasut wrote: On 06/08/2017 09:31 AM, Meng Dongyang wrote:

Re: [U-Boot] [PATCH] rockchip: video: fix taking the VOP device out of standby

2017-06-09 Thread Dr. Philipp Tomsich
Anatolij, This is against u-boot-dm/master and a fix-up for the errors that Tom reported in response to Simon’s pull-request (for u-boot-dm). I haven’t bothered to find out what tree the underlying patch came in through… Philipp. > On 09 Jun 2017, at 18:45, Anatolij Gustschin

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

2017-06-09 Thread Simon Glass
Hi Stephen, On 9 June 2017 at 13:01, Stephen Warren wrote: > > On 06/08/2017 08:24 PM, Simon Glass wrote: >> >> Hi Tom, >> >> This includes the utf-8 fixes for patman and buildman as well as >> chain-loading support for two Chromebooks. >> >> >> The following changes since

Re: [U-Boot] [U-Boot, v4, 11/11] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-09 Thread Dr. Philipp Tomsich
> On 08 Jun 2017, at 09:35, Meng Dongyang wrote: > > Add fixed regulator for the port of typec0 and typec1 to control vbus > instead of gpio. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > --- > >

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

2017-06-09 Thread Dr. Philipp Tomsich
Tom & Simon, > On 09 Jun 2017, at 15:45, Tom Rini wrote: > > On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote: > >> Hi Tom, >> >> This includes the utf-8 fixes for patman and buildman as well as >> chain-loading support for two Chromebooks. >> >> >> The

Re: [U-Boot] [RFC PATCH 0/5] move boot0 hook in the beginning for armv7

2017-06-09 Thread Dr. Philipp Tomsich
Simon, > On 09 Jun 2017, at 14:27, Simon Glass wrote: > > Hi Kever, > > On 7 June 2017 at 04:55, Kever Yang wrote: >> Simon, >> >> >> >> On 06/07/2017 11:15 AM, Simon Glass wrote: >>> >>> Hi Kever, >>> >>> On 6 June 2017 at 20:41, Kever Yang

Re: [U-Boot] [U-Boot, v2, 1/4] rockchip: evb-rk3328: set uart2 io routing to M1

2017-06-09 Thread Dr. Philipp Tomsich
> On 08 Jun 2017, at 09:32, Kever Yang wrote: > > In rk3328, some function pin may have more than one choice, and muxed > with more than one IO, for example, the UART2 controller IO, > TX and RX, have 3 choice(setting in com_iomux): > - M0 which mux with

[U-Boot] [PATCH] dm: bcm6345_gpio: Set proper output level in bcm6345_gpio_direction_output

2017-06-09 Thread Axel Lin
Current code does not set output level in bcm6345_gpio_direction_output, fix it. Signed-off-by: Axel Lin --- drivers/gpio/bcm6345_gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c index 009e2fc..b9100cd

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

2017-06-09 Thread Simon Glass
On 9 June 2017 at 09:52, Dr. Philipp Tomsich wrote: > Tom & Simon, > >> On 09 Jun 2017, at 15:45, Tom Rini wrote: >> >> On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote: >> >>> Hi Tom, >>> >>> This includes the utf-8 fixes for

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Robert Nelson
On Wed, Jun 7, 2017 at 11:47 PM, Lokesh Vutla wrote: > > > On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: >> On Fri, 12 May 2017 13:20:50 -0400 >> Tom Rini wrote: >> >>> On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote: >>>

Re: [U-Boot] [PATCH 2/2] ARM: sunxi: add support for Sinlinx SinA83T

2017-06-09 Thread Ziping Chen
Previously I did not submit the patch to linux because of the missing a83t's DT support of Linux... And I saw Bananapi M3 haven't been supported for Linux, but for U-Boot. Well, now I will try to fix up the a83t's DT support for Linux, and then submitted it to uboot. BTW, I found that the

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Robert Nelson
On Wed, Jun 7, 2017 at 11:47 PM, Lokesh Vutla wrote: > > > On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: >> On Fri, 12 May 2017 13:20:50 -0400 >> Tom Rini wrote: >> >>> On Fri, May 05, 2017 at 12:59:10PM +0530, Lokesh Vutla wrote: >>>

[U-Boot] [PATCH v4 3/7] arch/arm/dts: Add Turris Omnia device tree

2017-06-09 Thread Marek Behún
This device tree is taken from mainline Linux kernel commit 7b7db5ab. Added is also a -u-boot.dtsi file with these additions: - aliases for I2C and SPI devices are added, because i2cmux and SPI flash doesn't work otherwise - spi_flash node has been added so that the new DM API works -

[U-Boot] [PATCH v4 6/7] marvell: armada385: Add the Turris Omnia board

2017-06-09 Thread Marek Behún
The Turris Omnia is a open-source router created by CZ.NIC. The code is based on the Marvell/db-88f6820-gp by Stefan Roese with modifications from Tomas Hlavacek in the CZ.NIC turris-omnia-uboot repository, which can be found at https://gitlab.labs.nic.cz/turris/turris-omnia-uboot By default,

[U-Boot] [PATCH v4 4/7] drivers/i2c/muxes/pca954x: Add pca9547 I2C mux support

2017-06-09 Thread Marek Behún
This I2C mux is found, for example, on the Turris Omnia board. Signed-off-by: Marek Behun Reviewed-by: Heiko Schocher diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c index 1a6761858c..383f72f552 100644 --- a/drivers/i2c/muxes/pca954x.c

[U-Boot] [PATCH v4 5/7] drivers/misc: Add basic support for ATSHA204A Crypto module

2017-06-09 Thread Marek Behún
This module can be found on the Turris Omnia board connected via the I2C interface. Among some cryptographic functions, the chip has a 512 bit One Time Programmable memory, 88 byte configuration memory and 512 byte general purpose memory. The Turris Omnia stores serial number and device MAC

[U-Boot] [PATCH v4 2/7] orion_wdt: Support for the Orion Watchdog

2017-06-09 Thread Marek Behún
The Orion watchdog can be found on some Marvell Armada chips. This driver is based on the code by Tomas Hlavacek in the CZ.NIC turris-omnia-uboot repository, which can be found at https://gitlab.labs.nic.cz/turris/turris-omnia-uboot, and that one is based on code by Sylver Bruneau. His code is

[U-Boot] [PATCH v4 1/7] driver/ddr: Add support for setting timing in hws_topology_map

2017-06-09 Thread Marek Behún
The DDR3 training code for Marvell A38X currently computes 1t timing when given board topology map of the Turris Omnia, but Omnia needs 2t. This patch adds support for enforcing the 2t timing in struct hws_topology_map, through a new enum hws_timing, which can assume following values:

[U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2017-06-09 Thread Marek Behún
This is the fourth version of patches for adding support for the Turris Omnia board, a router developed by the CZ.NIC. Modifications from last version: - Since the new driver model API does not expose the watchdog_reset function, only wdt_reset, the watchdog did not get restarted and

Re: [U-Boot] [PATCH] rockchip: video: fix taking the VOP device out of standby

2017-06-09 Thread Anatolij Gustschin
Hi Simon, On Fri, 9 Jun 2017 18:24:37 +0200 Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: > The VOP uses regular registers, so use setbits_le32/clrbits_le32 > instead of rk_setbits/rk_clrbits. these could be changed when applying, to match with the code:

Re: [U-Boot] [PATCH] rockchip: video: fix taking the VOP device out of standby

2017-06-09 Thread Anatolij Gustschin
On Fri, 9 Jun 2017 18:48:53 +0200 Dr. Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: > Anatolij, > > This is against u-boot-dm/master and a fix-up for the errors that Tom > reported in response to Simon’s pull-request (for u-boot-dm). > > I haven’t bothered to find out what tree

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Robert Nelson
On Thu, Jun 8, 2017 at 7:45 PM, Tom Rini wrote: > On Thu, Jun 08, 2017 at 10:17:09AM +0530, Lokesh Vutla wrote: >> >> >> On Thursday 08 June 2017 12:20 AM, Emmanuel Vadot wrote: >> > On Fri, 12 May 2017 13:20:50 -0400 >> > Tom Rini wrote: >> > >> >> On

Re: [U-Boot] [PATCH 2/2] ARM: sunxi: add support for Sinlinx SinA83T

2017-06-09 Thread Maxime Ripard
Hi, On Fri, Jun 09, 2017 at 09:24:19PM +0800, Ziping Chen wrote: > From: Ziping Chen > > The SinA83T is an A83T core/daughter board combo from Sinlinx. > > Add support for it. > > Signed-off-by: Ziping Chen > --- > arch/arm/dts/Makefile

Re: [U-Boot] [PATCH] rockchip: video: fix taking the VOP device out of standby

2017-06-09 Thread Anatolij Gustschin
Hi Philipp, On Fri, 9 Jun 2017 18:24:37 +0200 Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: ... > --- a/drivers/video/rockchip/rk3288_vop.c > +++ b/drivers/video/rockchip/rk3288_vop.c > @@ -75,7 +75,7 @@ static int rk_vop_remove(struct udevice *dev) > struct rk_vop_priv

Re: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree

2017-06-09 Thread Simon Glass
Hi Marcel, On 9 June 2017 at 06:39, Marcel Ziswiler wrote: > > Hi Simon > > On Thu, 2017-06-08 at 22:04 -0600, Simon Glass wrote: > > Hi, > > > > On 8 June 2017 at 21:06, Simon Glass wrote: > > > Hi Tom (Warren) / Marcel, > > > > > > On 2 June

Re: [U-Boot] [RFC 1/1] meson-gx: reserved memory regions

2017-06-09 Thread Andreas Färber
Am 09.06.2017 um 17:43 schrieb heinr...@suse.de: > From: Heinrich Schuchardt > > The Odroid C2 has two GiB of memory with two reserved regions. > reg = <0x0 0x0 0x0 0x100>; > reg = <0x0 0x1000 0x0 0x20>; > > The description has been created with the following

Re: [U-Boot] [PATCH] MAINTAINERS: mpc83xx: Add new custodian

2017-06-09 Thread york sun
On 06/09/2017 05:51 AM, Mario Six wrote: > Add myself as mpc83xx custodian. > --- > MAINTAINERS | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 56dd1f35fd..3c7438dd1e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -340,8

Re: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree

2017-06-09 Thread Tom Warren
Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Thursday, June 08, 2017 8:06 PM > To: U-Boot Mailing List > Cc: Tom Rini ; Marcel Ziswiler > ; Simon Glass

Re: [U-Boot] [U-Boot, v2, 4/4] arm: am33xx: Add support for mulitiple PLL input frequencies

2017-06-09 Thread Heiko Schocher
Hello Tom, Am 09.06.2017 um 13:20 schrieb Tom Rini: On Fri, Jun 09, 2017 at 12:22:44PM +0200, Heiko Schocher wrote: Hello Lokesh, Am 09.06.2017 um 11:25 schrieb Lokesh Vutla: On Friday 09 June 2017 09:30 AM, Heiko Schocher wrote: Hello Tom, Am 09.06.2017 um 02:45 schrieb Tom Rini: On

[U-Boot] [RFC 1/1] meson-gx: reserved memory regions

2017-06-09 Thread Heinrich
From: Heinrich Schuchardt The Odroid C2 has two GiB of memory with two reserved regions. reg = <0x0 0x0 0x0 0x100>; reg = <0x0 0x1000 0x0 0x20>; The description has been created with the following patches: Patch bfcef28ae4cf (arm: add initial support for Amlogic

[U-Boot] Please pull u-boot-video/master

2017-06-09 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

[U-Boot] [PATCH] blk: dm: make blk_create_device() take a number of block instead of a size

2017-06-09 Thread Jean-Jacques Hiblot
There is an overflow problem when taking the size instead of the number of blocks in blk_create_device(). This results in a wrong device size: the device apparent size is its real size modulo 4GB. Using the number of blocks instead of the device size fixes the problem and is more coherent with

Re: [U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-09 Thread Sam Protsenko
On 9 June 2017 at 17:29, Tom Rini wrote: > On Fri, Jun 09, 2017 at 05:24:16PM +0300, Sam Protsenko wrote: >> On 9 June 2017 at 17:17, Tom Rini wrote: >> > On Fri, Jun 09, 2017 at 05:12:56PM +0300, Sam Protsenko wrote: >> > >> >> Use eMMC (instead of SD

Re: [U-Boot] [PATCH] arm: am57xx: Increase "bootloader" partition size

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:12:41PM +0300, Sam Protsenko wrote: > Increase the size of u-boot.img, so that it conforms with new DFU > configuration (see commit [1]). > > [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) > > Signed-off-by: Sam Protsenko

Re: [U-Boot] [PATCH] arm: dra7: Increase "bootloader" partition size

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:12:48PM +0300, Sam Protsenko wrote: > Increase the size of u-boot.img, so that it conforms with new DFU > configuration (see commit [1]). > > [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) > > Signed-off-by: Sam Protsenko

Re: [U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:24:16PM +0300, Sam Protsenko wrote: > On 9 June 2017 at 17:17, Tom Rini wrote: > > On Fri, Jun 09, 2017 at 05:12:56PM +0300, Sam Protsenko wrote: > > > >> Use eMMC (instead of SD card) to store U-Boot environment. Use > >> "reserved" partition for

Re: [U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-09 Thread Sam Protsenko
On 9 June 2017 at 17:17, Tom Rini wrote: > On Fri, Jun 09, 2017 at 05:12:56PM +0300, Sam Protsenko wrote: > >> Use eMMC (instead of SD card) to store U-Boot environment. Use >> "reserved" partition for U-Boot environment. >> >> Signed-off-by: Sam Protsenko

Re: [U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:12:56PM +0300, Sam Protsenko wrote: > Use eMMC (instead of SD card) to store U-Boot environment. Use > "reserved" partition for U-Boot environment. > > Signed-off-by: Sam Protsenko > --- > include/configs/am57xx_evm.h | 14 +- >

[U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-09 Thread Sam Protsenko
Use eMMC (instead of SD card) to store U-Boot environment. Use "reserved" partition for U-Boot environment. Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH] arm: dra7: Increase "bootloader" partition size

2017-06-09 Thread Sam Protsenko
Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) Signed-off-by: Sam Protsenko --- include/configs/dra7xx_evm.h | 2 +- 1 file changed, 1

[U-Boot] [PATCH] arm: am57xx: Increase "bootloader" partition size

2017-06-09 Thread Sam Protsenko
Increase the size of u-boot.img, so that it conforms with new DFU configuration (see commit [1]). [1] 7a53a1a8115b ARM: ti: Update layout for MMC and eMMC (env and dfu) Signed-off-by: Sam Protsenko --- include/configs/am57xx_evm.h | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH v4 04/11] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-09 Thread rock-chips(daniel.meng)
On 2017/6/9 16:22, Marek Vasut wrote: On 06/09/2017 09:49 AM, rock-chips(daniel.meng) wrote: On 2017/6/8 21:17, Marek Vasut wrote: On 06/08/2017 09:31 AM, Meng Dongyang wrote: Use fixed regulator to control the voltage of vbus and turn off vbus when usb stop. Signed-off-by: Meng Dongyang

Re: [U-Boot] [PATCH 2/2] rockchip: video: document externally visible functions for rk_vop

2017-06-09 Thread Anatolij Gustschin
On Fri, 2 Jun 2017 16:06:18 +0200 Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: > Documents the externally visible functions shared between the VOP > drivers for the RK3288 and RK3399. > > Signed-off-by: Philipp Tomsich > --- > >

Re: [U-Boot] [PATCH v8 4/7] arm: socfpga: Enable FPGA driver on SPL

2017-06-09 Thread Dinh Nguyen
On 06/09/2017 03:25 AM, Marek Vasut wrote: > > I didn't really look since we still have a discussion open on V8 . There > is no point in sending new versions while discussion is still open. > Also, I'd like some review from Ley/Dinh I've reviewed v6 and gave my Reviewed-by. Now I see there's a

Re: [U-Boot] [PATCH 1/2] rockchip: video: document externally visible functions for rk_hdmi

2017-06-09 Thread Anatolij Gustschin
On Fri, 2 Jun 2017 16:06:17 +0200 Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: > Documents the externally visible functions shared between the HDMI > drivers for the RK3288 and RK3399. > > Signed-off-by: Philipp Tomsich > --- > >

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

2017-06-09 Thread Tom Rini
On Thu, Jun 08, 2017 at 08:24:44PM -0600, Simon Glass wrote: > Hi Tom, > > This includes the utf-8 fixes for patman and buildman as well as > chain-loading support for two Chromebooks. > > > The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: > > Merge

Re: [U-Boot] [PATCH] video: atmel_hlcdfb: Fix misaligned cache operation warning

2017-06-09 Thread Anatolij Gustschin
On Fri, 2 Jun 2017 11:29:04 +0800 Wenyou Yang wenyou.y...@atmel.com wrote: > Fix the warning, > ---8<--- > CACHE: Misaligned operation at range [3fd0, 3fdc] > ---<8--- > > Signed-off-by: Wenyou Yang > --- > > drivers/video/atmel_hlcdfb.c | 8 ++-- > 1 file

[U-Boot] [PATCH 2/2] ARM: sunxi: add support for Sinlinx SinA83T

2017-06-09 Thread Ziping Chen
From: Ziping Chen The SinA83T is an A83T core/daughter board combo from Sinlinx. Add support for it. Signed-off-by: Ziping Chen --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun8i-a83t-sinlinx-sina83t.dts | 107

[U-Boot] [PATCH 1/2] dt: sun8i: Perfect r_pio node of the A83T

2017-06-09 Thread Ziping Chen
From: Ziping Chen Perfect `r_pio` node of the A83T based on `pio` node. Signed-off-by: Ziping Chen --- arch/arm/dts/sun8i-a83t.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/sun8i-a83t.dtsi

Re: [U-Boot] [PATCH] MAINTAINERS: mpc83xx: Add new custodian

2017-06-09 Thread Tom Rini
On Fri, Jun 09, 2017 at 02:50:47PM +0200, Mario Six wrote: > Add myself as mpc83xx custodian. > --- > MAINTAINERS | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 56dd1f35fd..3c7438dd1e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS

Re: [U-Boot] [PATCH 13/13] rockchip: rk3066: add sdram init code for tpl

2017-06-09 Thread Paweł Jarosz
W dniu 09.06.2017 o 14:27, Simon Glass pisze: Hi Pawel, On 7 June 2017 at 09:44, Paweł Jarosz wrote: Hi Simon, W dniu 06.06.2017 o 23:10, Simon Glass pisze: Hi Pawel, On 6 June 2017 at 12:53, Paweł Jarosz wrote: Add sdram

Re: [U-Boot] [PATCH 12/13] armv7: support rk3066 early back to bootrom in start.S

2017-06-09 Thread Paweł Jarosz
W dniu 09.06.2017 o 14:27, Simon Glass pisze: So can we do this trick with SPL and drop TPL? I think it's better to leave tpl build as it is. Ad.2,3 Due to size issues (200KB limit) i needed to move main u-boot to mmc. To load u-boot from mmc by SPL (there is 32KB bootrom limit, not enough

[U-Boot] [PATCH v4 2/2] sun50i: a64: Add initial NanoPi A64 support

2017-06-09 Thread Jagan Teki
From: Jagan Teki NanoPi A64 is a new board of high performance with low cost designed by FriendlyElec., using the Allwinner A64 SOC. Nanopi A64 features - Allwinner A64, 64-bit Quad-core Cortex-A53@648MHz to 1.152GHz, DVFS - 1GB DDR3 RAM - MicroSD - Gigabit Ethernet

Re: [U-Boot] [PATCH 06/13] rockchip: rk3066: add core support

2017-06-09 Thread Paweł Jarosz
W dniu 09.06.2017 o 14:27, Simon Glass pisze: Hi Pawel, On 7 June 2017 at 09:22, Paweł Jarosz wrote: Hi Simon W dniu 06.06.2017 o 23:10, Simon Glass pisze: Hi Pawel, On 6 June 2017 at 12:50, Paweł Jarosz wrote: +#include +#include

[U-Boot] [PATCH] MAINTAINERS: mpc83xx: Add new custodian

2017-06-09 Thread Mario Six
Add myself as mpc83xx custodian. --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 56dd1f35fd..3c7438dd1e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -340,8 +340,8 @@ T: git git://git.denx.de/u-boot-mpc82xx.git F:

Re: [U-Boot] [PATCH v2] buildman: Translate binutils output to UTF-8

2017-06-09 Thread Daniel Schwierzeck
Am 09.06.2017 um 14:27 schrieb Simon Glass: > Hi Daniel, > > On 7 June 2017 at 10:03, Daniel Schwierzeck > wrote: >> >> >> Am 07.06.2017 um 17:52 schrieb Simon Glass: >>> Hi Daniel, >>> >>> On 7 June 2017 at 06:19, Daniel Schwierzeck >>>

Re: [U-Boot] [PATCH v3 2/2] sun50i: a64: Add initial NanoPi A64 support

2017-06-09 Thread Andre Przywara
Hi, On 09/06/17 13:27, Jagan Teki wrote: > From: Jagan Teki > > NanoPi A64 is a new board of high performance with low cost > designed by FriendlyElec., using the Allwinner A64 SOC. > > Nanopi A64 features > - Allwinner A64, 64-bit Quad-core Cortex-A53@648MHz to

[U-Boot] [PATCH v3 2/2] sun50i: a64: Add initial NanoPi A64 support

2017-06-09 Thread Jagan Teki
From: Jagan Teki NanoPi A64 is a new board of high performance with low cost designed by FriendlyElec., using the Allwinner A64 SOC. Nanopi A64 features - Allwinner A64, 64-bit Quad-core Cortex-A53@648MHz to 1.152GHz, DVFS - 1GB DDR3 RAM - MicroSD - Gigabit Ethernet

[U-Boot] [PATCH 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-09 Thread Kever Yang
Add support for rk322x package header in mkimage tool. Signed-off-by: Kever Yang --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index fd95abc..6e9595f 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c

[U-Boot] [PATCH 2/7] rockchip: rk322x: add clock driver

2017-06-09 Thread Kever Yang
Add clock driver init support for: - cpu, bus clock init; - emmc, sdmmc clock; - ddr clock; Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 215 drivers/clk/rockchip/Makefile | 1 +

Re: [U-Boot] [PATCH v3 1/2] power: pmic: lp87565: Add the basic pmic support

2017-06-09 Thread Simon Glass
On 7 June 2017 at 07:38, Keerthy wrote: > Add support to bind the regulators/child nodes with the pmic. > > Signed-off-by: Keerthy > --- > > Changes in v3: > > Returned values from dm_i2c_write and dm_i2c_read as is. > > Changes in v2: > > * Used

[U-Boot] [PATCH 6/7] rockchip: rk322x: add sysreset driver

2017-06-09 Thread Kever Yang
Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, only difference is that the target register address is different. Signed-off-by: Kever Yang --- drivers/sysreset/sysreset_rk322x.c | 45 ++ 1 file changed, 45

[U-Boot] [PATCH 4/7] rockchip: rk322x: add dts file

2017-06-09 Thread Kever Yang
The dts files are from kernel and with modify to adapt U-Boot. Signed-off-by: Kever Yang --- arch/arm/dts/rk3229-evb.dts| 77 arch/arm/dts/rk322x.dtsi | 710 + include/dt-bindings/clock/rk3228-cru.h |

Re: [U-Boot] [PATCH 12/13] armv7: support rk3066 early back to bootrom in start.S

2017-06-09 Thread Paweł Jarosz
W dniu 09.06.2017 o 13:46, Heiko Stuebner pisze: Am Mittwoch, 7. Juni 2017, 17:37:13 CEST schrieb Paweł Jarosz: Hi Simon, W dniu 06.06.2017 o 23:10, Simon Glass pisze: Hi Pawel, On 6 June 2017 at 12:53, Paweł Jarosz wrote: Rockchip bootrom first reads 1KB data

Re: [U-Boot] u-boot-flasher fails with current u-boot

2017-06-09 Thread Simon Glass
Hi Peter, On 7 June 2017 at 21:11, Simon Glass wrote: > Hi Peter, > > On 7 June 2017 at 19:12, wrote: >>> "Peter" == Peter Chubb writes: >>> "Simon" == Simon Glass writes: >> >> Simon> Oh

[U-Boot] [PATCH v3 1/2] sun50i: a64: Sync Linux [oe]hci0 nodes

2017-06-09 Thread Jagan Teki
From: Jagan Teki Synced ohci0 and ehci0 nodes from Linux for sun50i-a64.dtsi Here is the Linux last merge tag details: Merge: 0e91f43d e5770b7 Author: Stephen Rothwell Date: Fri Jun 9 14:59:55 2017 +1000 Merge remote-tracking branch

Re: [U-Boot] [PATCH 6/7] rockchip: ns16550: dm: convert fdt_get to dev_read

2017-06-09 Thread Simon Glass
On 7 June 2017 at 10:46, Philipp Tomsich wrote: > With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the

Re: [U-Boot] [PATCH v2 00/31] dm: tegra: Move nyan-big and beaver to livetree

2017-06-09 Thread Marcel Ziswiler
Hi Simon On Thu, 2017-06-08 at 22:04 -0600, Simon Glass wrote: > Hi, > > On 8 June 2017 at 21:06, Simon Glass wrote: > > Hi Tom (Warren) / Marcel, > > > > On 2 June 2017 at 21:03, Simon Glass wrote: > > > > > > This moves an entire board to use a live

[U-Boot] [PATCH 0/7] Add Rockchip RK3229 SoC

2017-06-09 Thread Kever Yang
RK3229 is a Quad-core Cortex-A7 SoC, which supports: - 4K 10bit H.264/H.265,VP9. - 32KB internal memory; - eMMC 4.5.1, SD3.0; - DDR3, LPDDR2, LPDDR3; - HDMI 2.0 output, 4K@60Hz; - USB2.0 OTG and USB2.0 host; Kever Yang (7): rockchip: mkimage: add support for rk322x soc rockchip: rk322x:

Re: [U-Boot] [PATCH 7/7] rockchip: dm: convert fdt_get to dev_read

2017-06-09 Thread Simon Glass
On 7 June 2017 at 10:46, Philipp Tomsich wrote: > With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the DRAM

[U-Boot] [PATCH 7/7] rockchip: add evb_rk3229 board

2017-06-09 Thread Kever Yang
evb_rk3229 is a RK3229 based board, with: - 8GB eMMC; - 1GB DDR SDRAM; - 2 USB2.0 HOST port; - 1 MAC port; - 1 HDMI port; - IR; - WiFi; Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 1 + board/rockchip/evb_rk3229/Kconfig | 15 +

Re: [U-Boot] [PATCH 3/3] marvell: armada385: Add the Turris Omnia board

2017-06-09 Thread Marek Behún
On Sun, 28 May 2017 21:17:25 +0200 Pavel Machek wrote: > Should the path be .../cz.nic/... (lowercase)? The name of the association is conventionally uppercase, and as I have seen other board categories in U-Boot using uppercase letters (AndesTech, BuR, CarMedialLab, Marvell,

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-09 Thread Simon Glass
On 7 June 2017 at 19:20, Kever Yang wrote: > According to MMC spec, the write_counter is 4-byte length, > use 'int' instead of 'long' type for the 'long' is not 4-byte > in 64 bit CPU. > > Signed-off-by: Jason Zhu > Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH 13/13] rockchip: rk3066: add sdram init code for tpl

2017-06-09 Thread Simon Glass
Hi Pawel, On 7 June 2017 at 09:44, Paweł Jarosz wrote: > Hi Simon, > > > W dniu 06.06.2017 o 23:10, Simon Glass pisze: > >> Hi Pawel, >> >> On 6 June 2017 at 12:53, Paweł Jarosz wrote: >>> >>> Add sdram initialisation code which will be

Re: [U-Boot] [PATCH v2] rockchip: doc: update latest info to document

2017-06-09 Thread Simon Glass
Hi Kever, On 8 June 2017 at 00:44, Kever Yang wrote: > - Add some rk3399 and rk3328 boards; > - use rkdeveloptool; > - add link to opensource.rock-chips.com instead of wikidot; > - other update. > > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [PATCH 12/13] armv7: support rk3066 early back to bootrom in start.S

2017-06-09 Thread Simon Glass
Hi Pawel, On 7 June 2017 at 09:37, Paweł Jarosz wrote: > Hi Simon, > > > W dniu 06.06.2017 o 23:10, Simon Glass pisze: >> >> Hi Pawel, >> >> On 6 June 2017 at 12:53, Paweł Jarosz wrote: >>> >>> Rockchip bootrom first reads 1KB data from nand

[U-Boot] [PATCH 5/7] rockchip: rk322x: add basic soc support

2017-06-09 Thread Kever Yang
Enable soc support for SPL and U-boot skeleton. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/clock.h| 1 + arch/arm/mach-rockchip/Kconfig| 13 +++ arch/arm/mach-rockchip/Makefile | 3 +

  1   2   >