Re: [U-Boot] [U-Boot,1/1] cmd: unzip: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:34:16PM +0100, Heinrich Schuchardt wrote: > src_len is defined as unsigned long. So use %lu for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] test: bootcount: add bootcount-uclass test

2019-01-15 Thread Tom Rini
On Fri, Dec 14, 2018 at 09:14:29PM +0100, Philipp Tomsich wrote: > Add a test for the bootcount uclass, which uses the RTC bootcount backend > (i.e. drivers/bootcount/rtc.c is implictly also tested). > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, 08/11] arm: MediaTek: add ethernet support for MT7623 boards

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:56PM +0800, Weijie Gao wrote: > Enable ethernet related configs to mt7623n_bpir2_defconfig. > Add default IP addresses. > Enable noncached memory region required by ethernet driver. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [U-Boot, 04/11] clk: MediaTek: bind ethsys reset controller

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:52PM +0800, Weijie Gao wrote: > The ethsys contains not only the clock gating controller, but also the > reset controller for the whole ethernet subsystem and its components. > > This patch adds binding of the reset controller so that the ethernet node > can have ref

Re: [U-Boot] [U-Boot, 1/2] cmd: mmc: Force mmc reinit when no card present

2019-01-15 Thread Tom Rini
On Thu, Jan 03, 2019 at 10:09:43PM +0100, Marek Vasut wrote: > In case the card is removed, force-init the MMC to start the internal > machinery which deregisters and invalidate the MMC device. > > Signed-off-by: Marek Vasut > Cc: Jaehoon Chung Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] am335x: sl50: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:34:11PM +0100, Enric Balletbo i Serra wrote: > This adds device tree and the DM_MMC driver for the SL50 board. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 11/11] configs: MediaTek: use OF_SEPARATE instead of OF_EMBED

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:59PM +0800, Weijie Gao wrote: > This patch replace OF_EMBED with OF_SEPARATE of defconfig files of > MediaTek boards because now OF_EMBED is only used for debugging purpose. > > Signed-off-by: Weijie Gao > Reviewed-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 05/11] ethernet: MediaTek: add ethernet driver for MediaTek ARM-based SoCs

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:53PM +0800, Weijie Gao wrote: > This patch adds ethernet support for Mediatek ARM-based SoCs, including > a minimum setup of the integrated switch. > > Cc: Joe Hershberger > Signed-off-by: Mark Lee > Signed-off-by: Weijie Gao > Tested-By: "Frank Wunderlich" Appl

Re: [U-Boot] [U-Boot, v2] common: command: Add support for $ auto-completion

2019-01-15 Thread Tom Rini
On Wed, Dec 05, 2018 at 09:26:50AM +0100, Boris Brezillon wrote: > Add the dollar_complete() function to auto-complete arguments starting > with a '$' and use it in the cmd_auto_complete() path such that all > args starting with a $ can be auto-completed based on the available env > vars. > > Sig

Re: [U-Boot] [U-Boot, v3] xyz-modem: Fix timeout loop waiting with WATCHDOG

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 07:28:35PM +0530, Lokesh Vutla wrote: > Commit 2c77c0d6524eb ("xyz-modem: Change getc timeout loop waiting") > fixes the loop delay when using a hw watchdog, assuming that watchdog > kicking is taken care of by getc(). But the xyzmodem driver tries to > do a getc only after

Re: [U-Boot] [U-Boot, v2, 2/3] mmc: Convert HI6220 MMC driver to driver model

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:04PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Convert HiSilicon HI6220 MMC driver based on DWMMC IP to driver > model. > > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom s

Re: [U-Boot] [U-Boot, 03/11] reset: MedaiTek: add reset controller driver for MediaTek SoCs

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:51PM +0800, Weijie Gao wrote: > This patch adds reset controller driver for MediaTek SoCs. > > Signed-off-by: Ryder Lee > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, 3/5] omap3: igep00x0: Switch to using TI_COMMON_CMD_OPTION

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:28PM +0100, Enric Balletbo i Serra wrote: > Enable TI_COMMON_CMD_OPTIONS and remove similar options > from the defconfig. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,1/1] cmd: zip: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:38:37PM +0100, Heinrich Schuchardt wrote: > dst_len is defined as unsigned long. So use %lu for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 5/5] omap3: igep00x0: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:30PM +0100, Enric Balletbo i Serra wrote: > This adds device tree for OMAP3 IGEP based boards and the DM_MMC driver. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [U-Boot,1/1] cmd: sf: use correct printf code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:03:37PM +0100, Heinrich Schuchardt wrote: > test->time_ms[] is defined as unsigned. So use %u for printf(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,1/1] cmd: tpm-v2: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:09:10PM +0100, Heinrich Schuchardt wrote: > updates is defined as unsigned int. So use %u for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] am57xx_evm_defconfig: Enable YMODEM support

2019-01-15 Thread Tom Rini
On Mon, Dec 17, 2018 at 09:27:59AM -0500, yan-...@ti.com wrote: > From: Yan Liu > > Enable CONFIG_SPL_YMODEM_SUPPORT to support UART boot > > Signed-off-by: Yan Liu > Reviewed-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] spl: ymodem: Add support for loading gzip compressed uImage

2019-01-15 Thread Tom Rini
On Mon, Jan 07, 2019 at 09:23:22PM +0100, Marek Vasut wrote: > Add support for gunzip-ing gzip-compressed uImages in the SPL Ymodem code. > Loading data over Ymodem can be gruelingly slow, gzip-ing the data can > reduce that aggravating slowness at least slightly (depends on the data, > u-boot.bin

Re: [U-Boot] lib: uuid: Do not enable UUID command SPL

2019-01-15 Thread Tom Rini
On Mon, Jan 07, 2019 at 09:23:38PM +0100, Marek Vasut wrote: > The uuid command is only really useful in U-Boot, but it's useless in > SPL. Worse yet, it pulls in various environment manipulation functions > as it call env_set(). Do not compile the command in in SPL. > > Signed-off-by: Marek Vasu

Re: [U-Boot] [U-Boot,1/2] poplar: add DWC2 OTG gadget support

2019-01-15 Thread Tom Rini
On Tue, Dec 18, 2018 at 05:52:06PM +0800, Shawn Guo wrote: > It enables DWC2 OTG gadget driver support for Poplar board. As > usb2_phy_init() is being always called from board_init(), we can save > the call from board_usb_init(). > > Signed-off-by: Shawn Guo Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 09/11] arm: MediaTek: add ethernet support for MT7629 boards

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:57PM +0800, Weijie Gao wrote: > Enable ethernet related configs to mt7629_rfb_defconfig. > Add default IP addresses. > Enable noncached memory region required by ethernet driver. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] configs: stm32: Remove CONFIG_OF_EMBED

2019-01-15 Thread Tom Rini
On Fri, Jan 04, 2019 at 11:48:55AM +0100, Patrice Chotard wrote: > Building with CONFIG_OF_EMBED generates build warnings, as it should > only be used for debugging purposes. > > Remove CONFIG_OF_EMBED from all stm32 config files which are using > this flag. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot, 2/2] poplar_defconfig: enable fastboot support

2019-01-15 Thread Tom Rini
On Tue, Dec 18, 2018 at 05:52:07PM +0800, Shawn Guo wrote: > It enables fastboot support on Poplar board by using DWC2 OTG gadget > driver. > > Signed-off-by: Shawn Guo Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,1/1] cmd: gpio: use correct printf code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 11:31:54AM +0100, Heinrich Schuchardt wrote: > gpio is defined as unsigned int. So we should use %u when calling printf(). > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [U-Boot,1/1] cmd: nvedit: use correct format code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 11:52:06AM +0100, Heinrich Schuchardt wrote: > len is defined as unsigned. So use %u for printf(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] test: Use single quote consistently

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:11:13AM -0700, Simon Glass wrote: > Some tests have ended up using double quotes where single quotes could be > used. Adjust this for consistency with the rest of U-Boot's Python code. > > Signed-off-by: Simon Glass > Reviewed-by: Heinrich Schuchardt Applied to u-boo

Re: [U-Boot] serial: ns16550: fix debug uart putc called before init

2019-01-15 Thread Tom Rini
On Wed, Jan 09, 2019 at 08:35:31PM +0100, Simon Goldschmidt wrote: > If _debug_uart_putc() is called before _debug_uart_init(), the > ns16550 debug uart driver hangs in a tight loop waiting for the > tx FIFO to get empty. > > As this can happen via a printf sneaking in before the port calls > deb

Re: [U-Boot] [U-Boot, v2, 3/3] arm: dts: Add MMC nodes for HiKey board

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:05PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Add MMC nodes for HiKey board based on HI6220 SoC. There are three MMC > controllers in this SoC, first one used for eMMC, second one used > for SD card and third one is not used by u-boot. >

Re: [U-Boot] pylibfdt: Use Python 2 in Makefile

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 02:19:46PM +0100, Josef Lusticky wrote: > pylibfdt needs Python 2 to build. > Replace $(PYTHON) with $(PYTHON2) in pylibfdt Makefile > to ensure Python 2 is used to build it. > > This fixes build on systems where Python 3 is the default version > of the "python" interprete

Re: [U-Boot] drivers: serial: DEBUG_UART_SKIP_INIT depends on DEBUG_UART

2019-01-15 Thread Tom Rini
On Wed, Jan 09, 2019 at 08:27:09PM +0100, Simon Goldschmidt wrote: > DEBUG_UART_SKIP_INIT is used only by debug UART and thus should depend > on DEBUG_UART. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] mmc: Add support for downgrading HS200/HS400 to HS mode

2019-01-15 Thread Tom Rini
On Thu, Jan 03, 2019 at 09:19:24PM +0100, Marek Vasut wrote: > The mmc_select_mode_and_width() function can be called while the card > is in HS200/HS400 mode and can be used to downgrade the card to lower > mode, e.g. HS. This is used for example by mmc_boot_part_access_chk() > which cannot access

Re: [U-Boot] [U-Boot, 07/11] arm: dts: add ethernet related node for MT7629 SoC

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:55PM +0800, Weijie Gao wrote: > This patch adds ethernet gmac node for MT7629 with internal gigabit phy. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot,1/1] cmd: ubi: remove unreachable code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:26:28PM +0100, Heinrich Schuchardt wrote: > It does not make sense to check if argc < 2 a second time, especially after > accessing argv[1]. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 09:39:39PM -0500, Tom Rini wrote: > On Tue, Dec 04, 2018 at 02:44:28PM +0100, Frank Wunderlich wrote: > > > changes since v1: fixed bracket-style in if-else statement > > > > >From 47701fbea478ce09a5ef43d914261bf00eb50544 Mon Sep 17 00:00:00 2001 > > From: Frank Wunderlich

Re: [U-Boot] [U-Boot, 1/5] omap3: igep00x0: Remove unmaintained IGEP0032 defconfig

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:26PM +0100, Enric Balletbo i Serra wrote: > The IGEP0032 board was never officially pushed upstream and actually I > don't have access to this hardware, unless someone with the hardware > wants to start working on this doesn't makes sense have this defconfig > here. S

Re: [U-Boot] Fix typo: missmatched -> mismatched.

2019-01-15 Thread Tom Rini
On Tue, Jan 08, 2019 at 01:10:23PM -0800, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > Reviewed-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [U-Boot, 2/5] omap3: igep00x0: Remove USB support due DM_USB deadline

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:27PM +0100, Enric Balletbo i Serra wrote: > The USB support for this board was never really tested, in fact, the > presence of these options are more a copy & paste error from the > Beagleboard than a feature that really was used. As doesn't work, remove > for now. If

Re: [U-Boot] [U-Boot, v2, 1/3] include: configs: Add gunzip size for HiKey board

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:03PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Default 8MB gunzip size is not enough to load the release kernel, hence > fix 64MB size for uncompressing the kernel. > > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot, 10/11] MAINTAINERS: ARM MEDIATEK: update file entries

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:58PM +0800, Weijie Gao wrote: > This patch adds new file entries for MediaTek SoCs > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing lis

Re: [U-Boot] [U-Boot, v2] kbuild: fix parallel build race caused by u-boot.cfg regeneration

2019-01-15 Thread Tom Rini
On Thu, Jan 10, 2019 at 11:11:39PM +0900, Masahiro Yamada wrote: > Multiple people have reported intermittent build failure in parallel > building. > > Kever Yang reported this issue some time ago [1], but I could not > get enough clue at that time. > > This time, Richard Purdie provided a full

Re: [U-Boot] [U-Boot, 2/2, (RFT)] am335x: igep003x: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Fri, Dec 28, 2018 at 11:55:48AM +0100, Enric Balletbo i Serra wrote: > This adds device tree and the DM_MMC driver for the AM335x IGEP based > boards. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] dtoc: make generated platdata structs const

2019-01-15 Thread Tom Rini
On Mon, Jan 07, 2019 at 08:29:26PM +0100, Simon Goldschmidt wrote: > The platdata initialization structs are currently generated into .rwdata. > Make sure the are put into .rodata by generating them as const. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to u-boot/mas

Re: [U-Boot] [PATCH] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-15 Thread Vignesh R
On 15/01/19 9:12 PM, Abel Vesa wrote: > On 19-01-15 18:38:00, Vignesh R wrote: >> >> >> On 15/01/19 4:37 PM, Abel Vesa wrote: >>> Some boards might need USB_STORAGE enabled in u-boot proper but not in SPL. >>> Make a separate config for SPL and keep the same depends on conditions but >>> for SPL

Re: [U-Boot] [PATCH 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-15 Thread Stefan Roese
On 15.01.19 17:56, Gregory CLEMENT wrote: On some ocelots platform a workaround is needed in order to be able to reset the switch without resetting the DDR. Signed-off-by: Gregory CLEMENT --- board/mscc/ocelot/ocelot.c | 28 1 file changed, 28 insertions(+) diff

[U-Boot] [PATCH] configs: am335x_evm: Enable DM_SPI and DM_SPI_FLASH

2019-01-15 Thread Vignesh R
Enable DM_SPI and DM_SPI_FLASH for actively used defconfigs for am335x_evm. Signed-off-by: Vignesh R --- configs/am335x_evm_defconfig | 2 ++ configs/am335x_hs_evm_defconfig | 2 ++ configs/am335x_hs_evm_uart_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/a

Re: [U-Boot] [PATCH 1/2] efi_loader: implement GetNextVariableName()

2019-01-15 Thread AKASHI Takahiro
Alex, Heinrich, Please review this patch set. Thanks, -Takahiro Akashi On Fri, Dec 14, 2018 at 06:47:11PM +0900, AKASHI Takahiro wrote: > The current GetNextVariableName() is a placeholder. > With this patch, it works well as expected. > > Signed-off-by: AKASHI Takahiro > --- > lib/efi_loader

Re: [U-Boot] [PATCH v1 01/21] ARM: DTS: vybrid: Add vf-u-boot.dtsi to set 'u-boot, dm-pre-reloc' in soc

2019-01-15 Thread Lukasz Majewski
On Tue, 15 Jan 2019 21:24:31 -0500 Tom Rini wrote: > On Tue, Jan 15, 2019 at 08:58:58AM +0100, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Mon, Jan 14, 2019 at 03:17:20PM +0100, Lukasz Majewski wrote: > > > > > > > This property is necessary to allow pinctrl configuration before > > > >

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Frank Wunderlich
Hi, Here is v3 :) https://patchwork.ozlabs.org/patch/1025345/ Regards Frank Am 16. Januar 2019 03:54:07 MEZ schrieb Tom Rini <>: >> Applied to u-boot/master, thanks! > >Wait, no, silly me, I forgot to remove this from my local bundle. I'm >expecting a v3 and have been talking with Frank off-l

Re: [U-Boot] [PATCH v1 11/21] ARM: DTS: Update pcm052 based dts files (bk4r1/pcm052.dts)

2019-01-15 Thread Lukasz Majewski
Hi Tom, > On Tue, Jan 15, 2019 at 09:20:16AM +0100, Lukasz Majewski wrote: > > Hi Tom, > > > > > On Mon, Jan 14, 2019 at 03:17:30PM +0100, Lukasz Majewski wrote: > > > > This commit provides update to the bk4r1.dts file with > > > > more on SoC HW description. > > > > Moreover, a new vf610-pc

<    1   2