Re: [U-Boot] [PATCH 1/1] efi_loader: helloworld.c: remove superfluous include

2017-09-05 Thread Alexander Graf
On 04.09.17 09:25, Heinrich Schuchardt wrote: Remove a superfluous include from helloworld.c Signed-off-by: Heinrich Schuchardt This patch breaks compilation: https://travis-ci.org/agraf/u-boot/jobs/271837141 I'll remove it from my queue again (and thus rebase it). Alex __

Re: [U-Boot] [PATCH v9 00/10] STiH410-B2260: add reset, usb and fastboot support

2017-09-05 Thread Patrice CHOTARD
Hi I just noticed that this series need to be reworked as some update has been merged on mainline since this series has been submitted on mailing list. A v10 will be pushed today. Sorry Patrice On 09/04/2017 06:03 PM, Patrice CHOTARD wrote: > Hi > > Just a gentle reminder to not forget this

[U-Boot] [PATCH v2 2/2] env: Add 'envtools' target to 'make help'

2017-09-05 Thread Simon Glass
The target is not currently mentioned anywhere. Add it to the help so people can find it. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch with a message in 'make help' Makefile | 1 + tools/env/README | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Make

[U-Boot] [PATCH v2 1/2] env: Fix operation of 'make environ'

2017-09-05 Thread Simon Glass
This was broken by the recent environment refactoring. Specifically: $ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2 Fix this by updating th

Re: [U-Boot] [PATCH] env: Fix operation of 'make environ'

2017-09-05 Thread Simon Glass
Hi, On 29 August 2017 at 00:08, Joe Hershberger wrote: > > On Mon, Aug 28, 2017 at 6:13 AM, Tom Rini wrote: > > On Mon, Aug 28, 2017 at 12:01:51PM +0100, Måns Rullgård wrote: > >> Simon Glass writes: > >> > >> > This was broken by the recent environment refactoring. Specifically: > >> > > >> >

Re: [U-Boot] [PATCH v2 2/4] block: ide: Fix block read/write with driver model

2017-09-05 Thread Bin Meng
Hi Heinrich, On Mon, Sep 4, 2017 at 10:10 PM, Heinrich Schuchardt wrote: > On 09/04/2017 11:08 AM, Bin Meng wrote: >> This converts the IDE driver to driver model so that block read and >> write are fully functional. >> >> Fixes: b7c6baef ("x86: Convert MMC to driver model") >> Reported-by: Heinr

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-09-05 Thread Dr. Philipp Tomsich
Kever, Most of the patches are queued for next (as they came in after the close of the merge window). I will open a next-branch later this week/early next week—around the time that -rc4 comes out. I generally pick off the patches for the current merge-window around the time the merge window cl

Re: [U-Boot] Bad URL for mailing list info in "Contacts" web page

2017-09-05 Thread Anatolij Gustschin
Hi, On Mon, 4 Sep 2017 19:33:45 +0200 Stefan Weil s...@weilnetz.de wrote: > Hi, > > Could somebody please fix the listinfo URL on > http://www.denx.de/wiki/U-Boot/Contacts > ? > > https://lists.denx.de/mailman/listinfo/u-boot does not work. > https://li

Re: [U-Boot] [U-Boot, 3/3] rockchip: firefly-rk3399: enable ATF and dwmmc

2017-09-05 Thread Dr. Philipp Tomsich
I was waiting for an new revision of the entire series, but I’ll happily pick just 2/3 and 3/3. > On 5 Sep 2017, at 04:24, Kever Yang wrote: > > Hi Philipp, > >Could you merge this patch first? >For the other two patches, I can send later after I figure out how to do > it. > > Thanks

Re: [U-Boot] [PATCH 1/3] GPT: create block device for sandbox testing

2017-09-05 Thread Simon Glass
Hi Alison, On 3 September 2017 at 08:18, wrote: > From: Alison Chaiken > > Provide a shell script that creates a small block device for the > purpose of testing the cmd/gpt.c functions in the u-boot sandbox. > Running the tests removes the device file. > > Signed-off-by: Alison Chaiken > --- >

Re: [U-Boot] [ANN] U-Boot v2017.09-rc4 released

2017-09-05 Thread Simon Glass
Hi Paul, On 5 September 2017 at 03:55, Paul Barker wrote: > On Mon, Sep 4, 2017 at 2:05 PM, Tom Rini wrote: >> Hey all, >> >> It's release day and v2017.09-rc4 is out. It's a week until release >> day. Please let me know if you know of any regressions, thanks! >> >> -- >> Tom > > I looks like

Re: [U-Boot] [PATCH 3/3] add pytests for 'gpt rename' and 'gpt swap'

2017-09-05 Thread Simon Glass
Hi Alison, On 3 September 2017 at 08:18, wrote: > From: Alison Chaiken > > Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely > on the block device created by test/gpt/make-test-disk.sh. Create a > new configs/sandbox_gpt_rename_defconfig file to enable testing with > CONFI

Re: [U-Boot] [PATCH v2 1/8] fs/fat: split out helper to init fsdata

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 00:37, Rob Clark wrote: > Want to re-use this in fat dirent iterator in next patch. > > Signed-off-by: Rob Clark > --- > fs/fat/fat.c | 73 > +++ > include/fat.h | 1 + > 2 files changed, 44 insertions(+),

Re: [U-Boot] [PATCH v2 6/8] fat/fs: remove a bunch of dead code

2017-09-05 Thread Simon Glass
On 3 September 2017 at 00:38, Rob Clark wrote: > Spotted by chance, when trying to remove file_fat_ls(), I noticed there > were some dead users of the API. > > Signed-off-by: Rob Clark > Acked-by: Stefan Brüns > --- > fs/fat/Makefile | 4 -- > fs/fat/file.c | 183 >

Re: [U-Boot] [PATCH v2 2/8] fs/fat: introduce new director iterators

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 00:37, Rob Clark wrote: > Untangle directory traversal into a simple iterator, to replace the > existing multi-purpose do_fat_read_at() + get_dentfromdir(). > > Signed-off-by: Rob Clark > --- > fs/fat/fat.c | 326 >

Re: [U-Boot] [PATCH v2 3/8] fat/fs: convert to directory iterators

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 23:08, Łukasz Majewski wrote: > On 09/02/2017 06:37 PM, Rob Clark wrote: >> >> And drop a whole lot of ugly code! :-) > > > +1 > > Reviewed-by: Łukasz Majewski > > > >> >> Signed-off-by: Rob Clark >> --- >> fs/fat/fat.c | 723 >> ++

Re: [U-Boot] [PATCH 00/23] efi_loader implement missing functions

2017-09-05 Thread Simon Glass
Hi, On 1 September 2017 at 22:45, Tom Rini wrote: > On Wed, Aug 30, 2017 at 04:16:34AM +0800, Simon Glass wrote: >> Hi, >> >> On 29 August 2017 at 22:16, Rob Clark wrote: >> > On Tue, Aug 29, 2017 at 8:57 AM, Leif Lindholm >> > wrote: >> >> On Tue, Aug 29, 2017 at 02:26:48PM +0200, Alexander G

Re: [U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 23:16, Łukasz Majewski wrote: > On 09/02/2017 06:37 PM, Rob Clark wrote: >> >> Needed to support efi file protocol. The fallback.efi loader wants >> to be able to read the contents of the /EFI directory to find an OS >> to boot. >> >> Modelled after POSIX opendir()

Re: [U-Boot] [PATCH v2 7/8] fat/fs: move ls to generic implementation

2017-09-05 Thread Simon Glass
On 3 September 2017 at 00:38, Rob Clark wrote: > Add a generic implementation of 'ls' using opendir/readdir/closedir, and > replace fat's custom implementation. Other filesystems should move to > the generic implementation after they add opendir/readdir/closedir > support. > > Signed-off-by: Rob

Re: [U-Boot] [PATCH v2 4/4] cmd: ide: Make the first device the default one

2017-09-05 Thread Simon Glass
On 4 September 2017 at 17:08, Bin Meng wrote: > At present the IDE device number is initialized to -1, which means > we cannot type "ide read" command before setting the device number > via "ide device #". > > For convenience, let's set the first device as the default one. > > Signed-off-by: Bin M

Re: [U-Boot] [PATCH v2 1/4] blk: Use macros for block device vendor/product/rev string size

2017-09-05 Thread Simon Glass
On 4 September 2017 at 17:08, Bin Meng wrote: > So far these are using magic numbers. Replace them with macros. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > include/blk.h | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 3/4] block: ide: Don't bother to create BLK device if no CDROM inserted

2017-09-05 Thread Simon Glass
On 4 September 2017 at 17:08, Bin Meng wrote: > When there is no CDROM inserted, the block size is zero hence there > is no need to create a BLK device for it. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > drivers/block/ide.c | 7 +++ > 1 file changed, 7 insertions(+) > Revi

Re: [U-Boot] [PATCH v2 5/8] fs/fat: implement opendir/readdir/closedir

2017-09-05 Thread Simon Glass
On 3 September 2017 at 00:38, Rob Clark wrote: > Implement the readdir interface using the directory iterators. > > Signed-off-by: Rob Clark > --- > fs/fat/fat.c | 56 > 1 file changed, 56 insertions(+) > > diff --git a/fs/fat/fat.c b/fs/f

Re: [U-Boot] [PATCH v2 2/4] block: ide: Fix block read/write with driver model

2017-09-05 Thread Simon Glass
On 4 September 2017 at 17:08, Bin Meng wrote: > This converts the IDE driver to driver model so that block read and > write are fully functional. > > Fixes: b7c6baef ("x86: Convert MMC to driver model") > Reported-by: Heinrich Schuchardt > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - F

Re: [U-Boot] [PATCH] gitignore: add intermediates from libfdt build

2017-09-05 Thread Simon Glass
Hi Bin, On 5 September 2017 at 09:33, Bin Meng wrote: > On Thu, Aug 31, 2017 at 8:52 PM, Simon Glass wrote: >> On 29 August 2017 at 17:47, Philipp Tomsich >> wrote: >>> Since ee95d10 (fdt: Build the new python libfdt module), a number of >>> additional files are auto-generated/installed into th

Re: [U-Boot] [PATCH v2 8/8] fs/fat: fix case for FAT shortnames

2017-09-05 Thread Simon Glass
Hi Rob, On 3 September 2017 at 23:22, Łukasz Majewski wrote: > On 09/02/2017 06:38 PM, Rob Clark wrote: >> >> Noticed when comparing our output to linux. There are some lcase bits >> which control whether filename and/or extension should be downcase'd. > > > Reviewed-by: Łukasz Majewski > > >>

Re: [U-Boot] [PATCH v2 3/4] block: ide: Don't bother to create BLK device if no CDROM inserted

2017-09-05 Thread Bin Meng
Hi Simon, On Tue, Sep 5, 2017 at 4:56 PM, Simon Glass wrote: > On 4 September 2017 at 17:08, Bin Meng wrote: >> When there is no CDROM inserted, the block size is zero hence there >> is no need to create a BLK device for it. >> >> Signed-off-by: Bin Meng >> --- >> >> Changes in v2: None >> >>

[U-Boot] [PATCH v10 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral

2017-09-05 Thread patrice.chotard
From: Patrice Chotard On STi 96boards, configure by default the micro USB connector (managed by DWC3 hardware block) in peripheral mode. This will allow to use fastboot feature. Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ add Reviewed-by

[U-Boot] [PATCH v10 05/10] STiH410-B2260: enable USB Host Networking

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Enable USB Host Networking support by enabling Ethernet/USB adaptors support and by enabling some BOOTP flags Signed-off-by: Patrice Chotard --- v10:_ remove obsolete CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS v9: _ none v8: _ none v7: _ none v6: _ add reviewe

[U-Boot] [PATCH v10 02/10] ARM: dts: stih410-family: Add missing reset_names for mmc1 node

2017-09-05 Thread patrice.chotard
From: Patrice Chotard reset-names property is needed to use the reset API for STi sdhci driver. Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6: _ add reviewed-by Simon Glass v5: _ n

[U-Boot] [PATCH v10 06/10] STiH410-B2260: enable USB, fastboot, reset, PHY related flags

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6: _ add reviewed-by Simon Glass v5: _ remove CONFIG_USB_OHCI_STI and CONFIG_USB_EHCI_STI : _ enable CONFIG_USB_EHCI_GENERIC and CONFIG_US

[U-Boot] [PATCH v10 03/10] mmc: sti_sdhci: Use reset framework

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6: _ add reviewed-by Simon Glass v5: _ none v4: _ none v3: _ none v2: _ none drivers/mmc/sti_sdhci.c |

[U-Boot] [PATCH v10 04/10] usb: phy: Add STi USB2 PHY

2017-09-05 Thread patrice.chotard
From: Patrice Chotard This is the generic phy driver for the picoPHY ports used by USB2/1.1 controllers. It is found on STiH407 SoC family from STMicroelectronics. Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ update doc/device-tree-bindings/phy/phy-stih4

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-05 Thread Marek Vasut
On 09/05/2017 07:53 AM, Chee, Tien Fong wrote: > On Isn, 2017-09-04 at 11:39 +0200, Marek Vasut wrote: >> On 09/04/2017 09:08 AM, Chee, Tien Fong wrote: >>> >>> On Rab, 2017-08-30 at 10:52 +0200, Marek Vasut wrote: On 08/30/2017 10:05 AM, Chee, Tien Fong wrote: > > > On Sel, 2

Re: [U-Boot] rockchip: i2c: fix >32 byte reads

2017-09-05 Thread Philipp Tomsich
> The hw can read up to 32 bytes at a time. If we need > more than one chunk, we have to enter the plain RX mode. > > Signed-off-by: Wadim Egorov > Acked-by: Philipp Tomsich > --- > drivers/i2c/rk_i2c.c | 19 --- > 1 file changed, 16 insertions(+), 3 deletions(-) > Reviewed-by

[U-Boot] [PATCH v10 07/10] usb: dwc3: Add dwc3 glue driver support for STi

2017-09-05 Thread patrice.chotard
From: Patrice Chotard This patch adds the ST glue logic to manage the DWC3 HC on STiH407 SoC family. It configures the internal glue logic and syscfg registers. Part of this code been extracted from kernel.org driver (drivers/usb/dwc3/dwc3-st.c) Signed-off-by: Patrice Chotard Reviewed-by: Simo

[U-Boot] [PATCH v10 10/10] board: STiH410-B2260: add fastboot support

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Add usb_gadget_handle_interrupts(), board_usb_init(), board_usb_cleanup() and g_dnl_board_usb_cable_connected() callbacks needed for FASTBOOT support Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ none v7: _ none v6

[U-Boot] [PATCH v10 09/10] ARM: dts: STiH410: update ehci and ohci compatible

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Update ehci and ohci node's compatible string in order to use ehci-generic and ohci-generic drivers. Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8: _ add Reviewed-by: Simon Glass v7: _ none arch/arm/dts/stih410.dts

[U-Boot] [PATCH v10 01/10] mmc: sti_sdhci: Rework sti_mmc_core_config()

2017-09-05 Thread patrice.chotard
From: Patrice Chotard Use struct udevice* as input parameter. Previous parameters are retrieved through plat and priv data. This to prepare to use the reset framework. Signed-off-by: Patrice Chotard Reviewed-by: Jaehoon Chung Reviewed-by: Simon Glass --- v10:_ none v9: _ none v8:

[U-Boot] [PATCH v10 00/10] STiH410-B2260: add reset, usb and fastboot support

2017-09-05 Thread patrice.chotard
From: Patrice Chotard This series adds : _ update existing sdhci driver to use reset framework _ add usb phy driver _ add fastboot support With all this feature enable, it's now possible to _ boot on usb mass storage device _ boot from kernel image and dt

Re: [U-Boot] [PATCH] MAINTAINERS: add lcd files to video section

2017-09-05 Thread Anatolij Gustschin
On Mon, 28 Aug 2017 22:39:41 +0200 Anatolij Gustschin ag...@denx.de wrote: > LCD drivers are video related, so add them to video section. > > Signed-off-by: Anatolij Gustschin > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) Applied to u-boot-video/master. -- Anatolij ___

Re: [U-Boot] rockchip: rk3288: update the mmc number for fastboot

2017-09-05 Thread Philipp Tomsich
Kever, On Thu, 27 Jul 2017, Kever Yang wrote: The emmc number is 0, correct it for fastboot parameter. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich --- include/configs/rk3288_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rk3288_common.h b

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-05 Thread Chee, Tien Fong
On Sel, 2017-09-05 at 11:04 +0200, Marek Vasut wrote: > On 09/05/2017 07:53 AM, Chee, Tien Fong wrote: > > > > On Isn, 2017-09-04 at 11:39 +0200, Marek Vasut wrote: > > > > > > On 09/04/2017 09:08 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Rab, 2017-08-30 at 10:52 +0200, Marek Vasut

[U-Boot] [PULL] Please pull u-boot-rockchip/master

2017-09-05 Thread Dr. Philipp Tomsich
Tom, I have a few lingering fixes and config changes. Thanks, Philipp. The following changes since commit 0e88cdd17da393e7dd6040de6a3fda289c00a51e: Prepare v2017.09-rc4 (2017-09-04 09:02:48 -0400) are available in the git repository at: git://git.denx.de/u-boot-rockchip.git master for y

Re: [U-Boot] rockchip: timer: fix U_BOOT_DRIVER name

2017-09-05 Thread Philipp Tomsich
> When I originally added this driver, I did some careless (and in > retrospect: mindless) copy & paste for the U_BOOT_DRIVER structure > skeletion... unfortunately, the 'arc_timer' string was committed > and slipped through all reviews. > > This fixes the U_BOOT_DRIVER name to read 'rockchip_rk33

Re: [U-Boot] rockchip: i2c: fix >32 byte reads

2017-09-05 Thread Philipp Tomsich
> The hw can read up to 32 bytes at a time. If we need > more than one chunk, we have to enter the plain RX mode. > > Signed-off-by: Wadim Egorov > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/i2c/rk_i2c.c | 19 --- > 1 file changed, 16 insertions(+)

Re: [U-Boot] [U-Boot, 3/3] rockchip: firefly-rk3399: enable ATF and dwmmc

2017-09-05 Thread Philipp Tomsich
> enable the ATF option and SDCard in defconfig. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > configs/firefly-rk3399_defconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > Applied to u-boot-rockchip, thanks! __

Re: [U-Boot] [PATCH 03/19] arm: socfpga: Add driver for flash to program FPGA

2017-09-05 Thread Marek Vasut
On 09/05/2017 11:23 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-05 at 11:04 +0200, Marek Vasut wrote: >> On 09/05/2017 07:53 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-04 at 11:39 +0200, Marek Vasut wrote: On 09/04/2017 09:08 AM, Chee, Tien Fong wrote: > > > On Rab, 2

Re: [U-Boot] [U-Boot,v2,2/5] rockchip: rk322x: add sdram driver

2017-09-05 Thread Philipp Tomsich
+ Simon Kever, thanks for moving this to the new location, but it doesn't address my concerns that we are duplicating large amounts of code from other SDRAM drivers (and that there's large amounts of #define statements where we usually use enum definitions for Rockchip). You may be able to

Re: [U-Boot] [U-Boot, 1/3] configs: rockchip: add USB configs for evb-rv1108 board

2017-09-05 Thread Philipp Tomsich
> This patch adds USB configs to support the USB OTG port(consist > of DWC2 controller) and the USB Host port(consist of EHCI and OHCI > controllers) on evb-rv1108 board, and also support fastboot over > USB and USB mass storage. > > Signed-off-by: William Wu > Reviewed-by: Simon Glass > Acked-b

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-09-05 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > arch/arm/dts/rv1108-evb.dts | 22 ++ > arch/arm/dts/rv1108.dtsi| 24 > 2 files chang

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-09-05 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/rk322x-board.c | 15 +++ > 1 file changed, 15 insertions(+) > Reviewed-by: Philipp Tomsich _

Re: [U-Boot] [PATCH v2 2/8] fs/fat: introduce new director iterators

2017-09-05 Thread Rob Clark
On Tue, Sep 5, 2017 at 4:56 AM, Simon Glass wrote: > Hi Rob, > > On 3 September 2017 at 00:37, Rob Clark wrote: >> Untangle directory traversal into a simple iterator, to replace the >> existing multi-purpose do_fat_read_at() + get_dentfromdir(). >> >> Signed-off-by: Rob Clark >> --- >> fs/fat/

Re: [U-Boot] [PATCH v3 1/1] usb: gadget: g_dnl: Sync internal SN variable with env

2017-09-05 Thread Sam Protsenko
On 4 September 2017 at 08:36, Heiko Schocher wrote: > Hello Lukasz, > > Am 02.09.2017 um 13:08 schrieb Łukasz Majewski: >> >> Hi Heiko, >> >> Would you find some time and run this patch through your test setup? >> >> Thanks in advance. > > > Of course, as it is automated ;-) > > Okay, I had to add

Re: [U-Boot] [PATCH v3 1/1] usb: gadget: g_dnl: Sync internal SN variable with env

2017-09-05 Thread Łukasz Majewski
Hi Sam, On 4 September 2017 at 08:36, Heiko Schocher wrote: Hello Lukasz, Am 02.09.2017 um 13:08 schrieb Łukasz Majewski: Hi Heiko, Would you find some time and run this patch through your test setup? Thanks in advance. Of course, as it is automated ;-) Okay, I had to add an oneliner,

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Eric Nelson
Hi Peng, Pardon the reference to an old update, but do you have a description of the symptoms that brought about this patch? On 03/09/2016 01:07 AM, Peng Fan wrote: The CONFIG_IPUV3_CLK should be 26400, to i.MX6DL, it should be 19800. Signed-off-by: Peng Fan Signed-off-by: Sandor Yu

Re: [U-Boot] [PATCH 3/3] rockchip: evb-rv1108: add usb init function for dwc2 gadget

2017-09-05 Thread wlf
Dear Simon, 在 2017年08月14日 18:05, wlf 写道: Dear Simon, 在 2017年08月14日 05:35, Simon Glass 写道: On 8 August 2017 at 21:36, William Wu wrote: This patch implements board_usb_init() for dwc2 gadget, it generally called from do_fastboot to do dwc2 udc probe and support fastboot over USB. Signed-off-

Re: [U-Boot] video: ipu_common: fix build error

2017-09-05 Thread Eric Nelson
Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happened to spot something in this patch. On 04/27/2016 07:07 PM, Peng Fan wrote: Some toolchains fail to build "clk->rate = (u64)(clk->

[U-Boot] [PATCH 0/2] clk: at91: utmi: Fix to set the main clock

2017-09-05 Thread Wenyou Yang
The source clock of the UTMI PLL is the main clock (MAINCK). The MAINCK must select the fast crystal oscillator to meet the frequency accuracy required by USB. The crystal frequency selection among 12, 16, 24 MHz must be configured to the correct value in the field SFR_UTMICKTRIM.FREQ, in order to

[U-Boot] [PATCH 1/2] clk: at91: utmi: Set the reference clock frequency

2017-09-05 Thread Wenyou Yang
By default, it is assumed that the UTMI clock is generated from a 12 MHz reference clock (MAINCK). If it's not the case, the FREQ field of the SFR_UTMICKTRIM has to be updated to generate the UTMI clock in the proper way. The UTMI clock has a fixed rate of 480 MHz. In fact, there is no multiplier

[U-Boot] [PATCH 2/2] ARM: dts: at91: sama5: Add the sfr node

2017-09-05 Thread Wenyou Yang
For sama5d2, add the sfr node with syscon support. In order to access the SFR_UTMICKTRIM register for the utmi clock driver, add the phandle property for the utmi node to point to the sfr node. Signed-off-by: Wenyou Yang --- arch/arm/dts/sama5d2.dtsi | 6 ++ arch/arm/dts/sama5d3.dtsi | 2 +

Re: [U-Boot] [PATCH v2 4/8] fs: add fs_readdir()

2017-09-05 Thread Rob Clark
On Tue, Sep 5, 2017 at 4:56 AM, Simon Glass wrote: > Hi Rob, > > On 3 September 2017 at 23:16, Łukasz Majewski wrote: >> On 09/02/2017 06:37 PM, Rob Clark wrote: >>> >>> Needed to support efi file protocol. The fallback.efi loader wants >>> to be able to read the contents of the /EFI directory t

Re: [U-Boot] FSL PCIe LTSSM >= PCI_LTSSM_L0 equals link up

2017-09-05 Thread Joakim Tjernlund
On Mon, 2017-08-28 at 17:14 +, York Sun wrote: > +Xiaowei > > On 08/28/2017 10:09 AM, Joakim Tjernlund wrote: > > On Mon, 2017-08-28 at 16:55 +, York Sun wrote: > > > On 08/28/2017 09:48 AM, Joakim Tjernlund wrote: > > > > FSL PCIe controller drivers before REV 3 has this test for link up:

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

2017-09-05 Thread Tom Rini
On Tue, Sep 05, 2017 at 12:31:13AM +0800, Simon Glass wrote: > Hi Tom, > > Here are a few bug fixes and doc changes, including the CONFIG_BLK > migration timeline. > > > The following changes since commit 6935aec0e3f0064698d8970a00b908f5a162b93f: > > Makefile: Suppress output of python libfd

Re: [U-Boot] Please pull u-boot-sh/rmobile branch

2017-09-05 Thread Tom Rini
On Tue, Sep 05, 2017 at 07:58:46AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > git request-pull f7f79b4493b8beeb1de099d1d1c86049b018ef5c > git://git.denx.de/u-boot-sh.git rmobile > The following changes since commit f7f79b4493b8beeb1de099d1d1c86049b018ef5c: > > ARM: rmobile: Enable MMC and U

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Fabio Estevam
Hi Stefan, On Mon, Sep 4, 2017 at 10:21 PM, Stefan Agner wrote: > From: Stefan Agner > > This macro allows to detect whether the boot ROM initialized USB > already (serial downloader). This is helpful to reliably detect > if the system has been recovered via USB serial downloader. > > Signed-off

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Stefano Babic
Hi Stefan, On 05/09/2017 03:21, Stefan Agner wrote: > From: Stefan Agner > > This macro allows to detect whether the boot ROM initialized USB > already (serial downloader). This is helpful to reliably detect > if the system has been recovered via USB serial downloader. > > Signed-off-by: Stefan

Re: [U-Boot] [PATCH v1 2/2] imx_common: detect USB serial downloader reliably

2017-09-05 Thread Fabio Estevam
On Mon, Sep 4, 2017 at 10:21 PM, Stefan Agner wrote: > From: Stefan Agner > > The current mechanism using SCR/GPR registers work well when > the serial downloader boot mode has been selected explicitly > (either via boot mode pins or using bmode command). However, > in case the system entered boo

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Stefano Babic
Hi Stefan, Eric, On 05/09/2017 06:50, Stefan Agner wrote: > On 2017-09-04 19:57, Eric Nelson wrote: >> Hi Stefan, >> >> On 09/04/2017 06:21 PM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> This macro allows to detect whether the boot ROM initialized USB >>> already (serial downloader). This

Re: [U-Boot] [PATCH v2] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before

2017-09-05 Thread Anatolij Gustschin
On Mon, 4 Sep 2017 23:58:17 +0200 Anatolij Gustschin ag...@denx.de wrote: > Boards can skip display interface init using board_video_skip(). > If display interface was not initialized (e.g. no ipuv3 framebuffer > registered or IPU clock disabled), booting Linux stops due to the > crash in IPU shu

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

2017-09-05 Thread Anatolij Gustschin
Hi Tom, On Fri, 1 Sep 2017 16:16:32 -0400 Tom Rini tr...@konsulko.com wrote: ... > Welp, that's what I get for not doing a full build cycle: > https://travis-ci.org/trini/u-boot/jobs/270930592 > > I've reverted this commit for now, sorry! Sorry, my build tests were for mx6 only. I'll fix and res

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

2017-09-05 Thread Anatolij Gustschin
Hi Tom, Please pull these fixes for v2017.09. The IPU and splash driver changes passed the full build test, here is a status report: https://travis-ci.org/vdsao/u-boot-video/builds/271856994 The following changes since commit 0e88cdd17da393e7dd6040de6a3fda289c00a51e: Prepare v2017.09-rc4 (

Re: [U-Boot] [U-Boot, 1/3] configs: rockchip: add USB configs for evb-rv1108 board

2017-09-05 Thread Philipp Tomsich
> This patch adds USB configs to support the USB OTG port(consist > of DWC2 controller) and the USB Host port(consist of EHCI and OHCI > controllers) on evb-rv1108 board, and also support fastboot over > USB and USB mass storage. > > Signed-off-by: William Wu > Reviewed-by: Simon Glass > Acked-b

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-09-05 Thread Philipp Tomsich
> The sysreset driver for rk322x is ready but not enabled, > add it to Makefile to make sure it's enabled. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > drivers/sysreset/Makefile | 1 + > 1 file changed, 1 insert

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-09-05 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > arch/arm/dts/rv1108-evb.dts | 22 ++ > arch/arm/dts/rv1108.dtsi| 24 +

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-09-05 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/rk322x-board.c | 15 +++ > 1 file changed, 15 insertions(+) > Applied to

Re: [U-Boot] rockchip: rk322x: Disable integrated macphy for saving power consuming

2017-09-05 Thread Philipp Tomsich
> Unfortunately, the integrated macphy default is enabled, which will > increase power consuming, if we do not use this PHY. So let's disable > it at first, which will save power consuming. If we really use it, then > enable it in driver level. > > Signed-off-by: David Wu > Reviewed-by: Kever Yan

[U-Boot] [PATCH v2] arm64: ls1012ardb: Add distro boot support

2017-09-05 Thread Rajesh Bhagat
Include common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support automatical distro boot which scan boot.scr from external storage devices(e.g. SD and USB) and execute autoboot script. Signed-off-by: Bhaskar Upadhaya Signed-off-by: Rajesh Bhagat --- Changes i

Re: [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?

2017-09-05 Thread Joakim Tjernlund
On Wed, 2017-08-30 at 15:25 +, York Sun wrote: > On 08/30/2017 06:05 AM, Joakim Tjernlund wrote: > > On Tue, 2017-08-29 at 17:33 +, York Sun wrote: > > > +Roy Zang to comment on PCIe clock source > > > > > > On 08/29/2017 10:06 AM, Joakim Tjernlund wrote: > > > > On Tue, 2017-08-29 at 15:4

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Fabio Estevam
Hi Eric, On Mon, Sep 4, 2017 at 11:37 PM, Eric Nelson wrote: >> --- a/include/configs/mx6sabre_common.h >> +++ b/include/configs/mx6sabre_common.h >> @@ -225,7 +225,11 @@ >> #define CONFIG_BMP_16BPP >> #define CONFIG_VIDEO_LOGO >> #define CONFIG_VIDEO_BMP_LOGO >> -#define CONFIG_IPUV3_CLK

[U-Boot] [PATCH v2] arm64: ls1012ardb: Add distro boot support

2017-09-05 Thread Rajesh Bhagat
Include common config_distro_defaults.h and config_distro_bootcmd.h for u-boot enviroments to support automatical distro boot which scan boot.scr from external storage devices(e.g. SD and USB) and execute autoboot script. Signed-off-by: Bhaskar Upadhaya Signed-off-by: Rajesh Bhagat --- Changes i

[U-Boot] [PATCH] ARM: rmobile: Fix SD divider settings on Gen3

2017-09-05 Thread Marek Vasut
On RCar M3 and on RCar H3 newer than and not including ES1.0, the SD clock must be divided by 4 rather than 2 because a hardware workaround present only in the H3 ES1.0 has been removed from these chips. U-Boot currently only supports M3 and H3 ES 2.0 and newer, so configure the SD pre-divider to 4

Re: [U-Boot] [PATCH v3 1/1] usb: gadget: g_dnl: Sync internal SN variable with env

2017-09-05 Thread Marek Vasut
On 09/01/2017 02:42 PM, Sam Protsenko wrote: > Since commit 842778a09104 ("usb: gadget: g_dnl: only set iSerialNumber > if we have a serial#") "fastboot devices" stopped to show correct device > serial number for TI boards, showing this line instead: > > fastboot > > This is

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Stefano Babic
On 05/09/2017 14:56, Fabio Estevam wrote: > Hi Eric, > > On Mon, Sep 4, 2017 at 11:37 PM, Eric Nelson wrote: > >>> --- a/include/configs/mx6sabre_common.h >>> +++ b/include/configs/mx6sabre_common.h >>> @@ -225,7 +225,11 @@ >>> #define CONFIG_BMP_16BPP >>> #define CONFIG_VIDEO_LOGO >>> #de

Re: [U-Boot] video: ipu_common: fix build error

2017-09-05 Thread Fabio Estevam
Hi Eric, On Mon, Sep 4, 2017 at 11:49 PM, Eric Nelson wrote: > Hi Peng, > > Can you tell that I'm hunting a bug in an old version? > > I'm seeing a **very** intermittent regression between U-Boot > versions 2015.07 and 2016.05 and happened to spot something > in this patch. Just curious: how doe

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Eric Nelson
Hi Stefano, On 09/05/2017 06:30 AM, Stefano Babic wrote: On 05/09/2017 14:56, Fabio Estevam wrote: Hi Eric, On Mon, Sep 4, 2017 at 11:37 PM, Eric Nelson wrote: --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -225,7 +225,11 @@ #define CONFIG_BMP_16BPP

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Eric Nelson
Hi Stefan, On 09/04/2017 09:50 PM, Stefan Agner wrote: On 2017-09-04 19:57, Eric Nelson wrote: On 09/04/2017 06:21 PM, Stefan Agner wrote: + +/* + * If ROM fell back to USB recover mode, USBPH0_PWD will be clear to use USB + * If boot from the other mode, USB0_PWD will keep reset value + *

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Fabio Estevam
Hi Stefano, On Tue, Sep 5, 2017 at 8:16 AM, Stefano Babic wrote: > Maybe we get some further info from our "insider" (Fabio, Peng). It will > be very interesting to know if we can apply this to all spectrum from > i.MX6, or if there is some MX6 variant where the Bootrom is doing > something diff

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Fabio Estevam
Hi Stefan, On Tue, Sep 5, 2017 at 1:50 AM, Stefan Agner wrote: > Note this idea is borrowed from NXP downstream and seems to work here: > http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/arch/arm/include/asm/arch-mx7/imx-regs.h?h=imx_v2016.03_4.1.15_2.0.0_ga#n1204 Please mention the

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Eric Nelson
Hi Stefano, On 09/05/2017 04:16 AM, Stefano Babic wrote: Hi Stefan, On 05/09/2017 03:21, Stefan Agner wrote: From: Stefan Agner This macro allows to detect whether the boot ROM initialized USB already (serial downloader). This is helpful to reliably detect if the system has been recovered via

Re: [U-Boot] video: ipu_common: fix build error

2017-09-05 Thread Eric Nelson
Hi Fabio, On 09/05/2017 06:33 AM, Fabio Estevam wrote: Hi Eric, On Mon, Sep 4, 2017 at 11:49 PM, Eric Nelson wrote: Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happened to spot

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Stefano Babic
Hi Eric, On 05/09/2017 15:49, Eric Nelson wrote: > Hi Stefano, > > On 09/05/2017 04:16 AM, Stefano Babic wrote: >> Hi Stefan, >> On 05/09/2017 03:21, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> This macro allows to detect whether the boot ROM initialized USB >>> already (serial downloader

[U-Boot] [PATCH v2 1/4] efi_loader: rename __efi_hello_world_*

2017-09-05 Thread Heinrich Schuchardt
In scripts/Makefile.lib we build section including helloworld.efi. This allows to load the EFI binary with command 'bootefi hello'. scripts/Makefile.lib contains explicit references to strings containing helloworld and hello_world. This makes it impossible to generalize the coding to accomodate ad

[U-Boot] [PATCH v2 0/4] Clean up make process for EFI payload

2017-09-05 Thread Heinrich Schuchardt
Currently we have a single EFI application that we can deliver integrated into U-Boot. It is a hello world application that can be called with 'bootefi hello'. The Makefiles do not easily accomodate further EFI payloads like a unit test for the EFI API or an EFI shell. This patch series changes M

[U-Boot] [PATCH v2 4/4] efi_loader: allow multiple source files for EFI apps

2017-09-05 Thread Heinrich Schuchardt
With this patch an EFI application can be built out of multiple source files. All object files that are to be included into the EFI application %.efi must be added to variable %-objs. E.g. helloworld-objs = helloworld.o script/Makefile.lib automatically generates file %_efi.d containing

[U-Boot] [PATCH v2 3/4] efi_loader: usage of always in Makefile

2017-09-05 Thread Heinrich Schuchardt
Variable always should only be appended but not overwritten by lib/efi_loader/Makefile. Remove variable efiprogs which is not otherwise used. Signed-off-by: Heinrich Schuchardt --- v2 no change --- lib/efi_loader/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v2 2/4] scripts/Makefile.lib: generalize building built in EFI app

2017-09-05 Thread Heinrich Schuchardt
Replace all occurences of helloworld by generalized forms. This allows us to build additional EFI applications that are included into the U-Boot binary without loading scripts/Makefile.lib with specific filenames. Signed-off-by: Heinrich Schuchardt --- v2 Removed superfluous reference to

Re: [U-Boot] [PATCH 0/3] Clean up make process for EFI payload

2017-09-05 Thread Andy Shevchenko
On Tue, 2017-09-05 at 03:19 +0200, Heinrich Schuchardt wrote: > Currently we have a single EFI application that we can deliver > integrated into U-Boot. It is a hello world application that > can be called with 'bootefi hello'. > > The Makefiles do not easily accomodate further EFI payloads > like

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Stefan Agner
On 2017-09-05 04:13, Fabio Estevam wrote: > Hi Stefan, > > On Mon, Sep 4, 2017 at 10:21 PM, Stefan Agner wrote: >> From: Stefan Agner >> >> This macro allows to detect whether the boot ROM initialized USB >> already (serial downloader). This is helpful to reliably detect >> if the system has bee

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Stefan Agner
On 2017-09-05 06:45, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Sep 5, 2017 at 8:16 AM, Stefano Babic wrote: > >> Maybe we get some further info from our "insider" (Fabio, Peng). It will >> be very interesting to know if we can apply this to all spectrum from >> i.MX6, or if there is some MX

  1   2   >