Re: [U-Boot] [PATCH] sunxi: support fuse cmd to read/write fuse

2018-01-28 Thread Calvin Johnson
Hi, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jun Nie > Sent: Monday, January 29, 2018 12:59 PM > To: André Przywara > Cc: U-Boot Mailing List ; Icenowy Zheng > ; 370719...@qq.com

Re: [U-Boot] [PATCH] sunxi: support fuse cmd to read/write fuse

2018-01-28 Thread Jun Nie
2018-01-28 1:45 GMT+08:00 André Przywara : > On 27/01/18 15:20, Jun Nie wrote: >> Support fuse cmd to read/write fuse. Power supply for fuse >> should be ready, name is VDD_EFUSE in some schematic. > > Mmh, in general I am not sure it is a good idea to expose this so easily

[U-Boot] [PATCH v3 2/4] dm: video: correctly clean background in 16bit mode

2018-01-28 Thread Heinrich Schuchardt
In 16 bit mode we have to copy two bytes per pixels repeatedly and not four. Otherwise we will see a striped pattern. Signed-off-by: Heinrich Schuchardt --- v3 no change v2 no change --- drivers/video/video-uclass.c | 16 ++-- 1 file changed, 14

[U-Boot] [PATCH v3 4/4] dm: video: support increased intensity (bold)

2018-01-28 Thread Heinrich Schuchardt
Support special rendition code 0 - reset attributes. Support special rendition code 1 - increased intensity (bold). Signed-off-by: Heinrich Schuchardt --- v3 Add color constants. v2 SGR 0 should reset the colors and the attributes. ---

[U-Boot] [PATCH v3 1/4] dm: video: show correct colors in graphical console

2018-01-28 Thread Heinrich Schuchardt
Get RGB sequence in pixels right (swap blue and red). Do not set reserved bits. qemu-system-i386 -display sdl -vga virtio and qemu-system-i386 -display sdl -vga cirrus now display the similar colors (highlighting still missing) as qemu-system-i386 -nographic Testing is possible via

[U-Boot] [PATCH v3 3/4] dm: video: use constants to refer to colors

2018-01-28 Thread Heinrich Schuchardt
Use constants to refer to colors. Adjust initialization of foreground and background color to avoid setting reserved bits. Consistently u32 instead of unsigned for color bit mask. Signed-off-by: Heinrich Schuchardt --- v3 Use color constants for initalizing the

[U-Boot] [PATCH v3 0/4] dm: video: Correct color ANSI escape sequence support

2018-01-28 Thread Heinrich Schuchardt
Support special rendition code 0 - reset attributes. Support special rendition code 1 - increased intensity (bold). Get RGB sequence in pixels right (swap blue and red). Do not set reserved bits. Use u32 instead of unsigned for color bit mask. qemu-system-i386 -display sdl -vga virtio and

Re: [U-Boot] [PATCH 1/4] mvpp2: Fix warning over 32bit vs 64bit targets

2018-01-28 Thread Stefan Roese
On 27.01.2018 20:48, Tom Rini wrote: When we have a driver that is used on both 32bit and 64bit targets and we are talking about address space we cannot use u64 nor u32 and instead need to use phys_addr_t. Fixes: 377883f16d36 ("net: mvpp2x: fix phy connected to wrong mdio issue") Cc: Stefan

[U-Boot] [RESEND PATCH] armv8: ls1088: Add CONFIG_SPI_FLASH_SPANSION to sdcard defconfigs

2018-01-28 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- RESEND: Patch is not see in patchworks configs/ls1088aqds_sdcard_qspi_defconfig | 1 + configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1088ardb_sdcard_qspi_defconfig | 1 + 3 files changed, 3

[U-Boot] [PATCH 1/1] arm: socfpga: fix qspi flash compatible (add "spi-flash")

2018-01-28 Thread Simon Goldschmidt
This patch adds "spi-flash" to the compatible list of the qspi flash chip for all socfpga boards. This is required to make qspi work on these boards on top of the recent fixes. Without the "spi-flash" compatible string for the flash chip, the speed cannot be read and a speed of 0Hz is used (which

Re: [U-Boot] [PATCH] mmc: use pr_* log functions

2018-01-28 Thread Jaehoon Chung
On 01/28/2018 07:11 PM, Masahiro Yamada wrote: > Use pr_* log functions from Linux. They can be enabled/disabled > via CONFIG_LOGLEVEL. > > Signed-off-by: Masahiro Yamada Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > >

[U-Boot] [PATCH v2] samsung: board: init the s2mps11 pmic during booting time

2018-01-28 Thread Jaehoon Chung
Exynos5422 board has s2mps11 pmic. If CONFIG_PMIC_S2MPS11 is enabled, it can initialize PMIC and Regulators during booting time. Signed-off-by: Jaehoon Chung Tested-by: Anand Moon --- Changelog on V2: - Fix the #endif location

Re: [U-Boot] [PATCH v2 00/24] omap_hsmmc: Add support for HS200 and UHS modes

2018-01-28 Thread Lokesh Vutla
On Thursday 25 January 2018 04:21 PM, Jean-Jacques Hiblot wrote: > > This series adds the missing bits to enable the UHS and HS200 modes > for the TI platforms. For my understanding, these patches enable HS modes only in U-Boot proper or in SPL also? Thanks and regards, Lokesh > > Enabling

Re: [U-Boot] [PATCH] host-tools: use python2 explicitly for shebang

2018-01-28 Thread Masahiro Yamada
2018-01-29 13:26 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 27 January 2018 at 14:28, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2018-01-27 0:27 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 21 January 2018 at

Re: [U-Boot] [PATCH v2 04/24] mmc: omap_hsmmc: set MMC mode in the UHSMS bit field

2018-01-28 Thread Jaehoon Chung
Hi, On 01/25/2018 07:51 PM, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > Use the timing parameter set in the MMC core to set the > mode in UHSMS bit field. This is in preparation for > adding HS200 support in omap hsmmc driver. > > Signed-off-by: Kishon Vijay

Re: [U-Boot] [PATCH] host-tools: use python2 explicitly for shebang

2018-01-28 Thread Simon Glass
Hi Masahiro, On 27 January 2018 at 14:28, Masahiro Yamada wrote: > Hi Simon, > > > 2018-01-27 0:27 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 21 January 2018 at 02:34, Masahiro Yamada >> wrote: >>> All of

Re: [U-Boot] [PATCH v2 1/1] dm: video: Correct color ANSI escape sequence support

2018-01-28 Thread Simon Glass
Hi Heinrich, On 28 January 2018 at 12:50, Heinrich Schuchardt wrote: > On 01/22/2018 01:29 AM, Simon Glass wrote: >> Hi Heinrich, >> >> On 17 January 2018 at 19:42, Heinrich Schuchardt wrote: >>> >>> Support special rendition code 0 - reset attributes.

Re: [U-Boot] [PATCH] TCP and wget implementation. Patch V5, 3 of 3.

2018-01-28 Thread Calvin Johnson
Hi Duncan Hare, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of > d...@synoia.com > Sent: Monday, January 29, 2018 9:24 AM > To: duncanch...@yahoo.com > Cc: u-boot@lists.denx.de; Joe Hershberger ; > Maxime Ripard

Re: [U-Boot] [PATCH 2/3] mmc: add the debug message in mmc_set_clock

2018-01-28 Thread Jaehoon Chung
Hi, On 01/26/2018 07:25 PM, Jaehoon Chung wrote: > Add the debug message for checking the mmc clock status. > It's helpful to debug the controlling clock. Will resend the patch. Because Masahiro sent the patch as "mmc: use pr_* log functions". So i will follow his patch. Will use the pr_* log

Re: [U-Boot] [BUG] 0001-mmc-fix-the-wrong-disabling-clock.patch

2018-01-28 Thread Jaehoon Chung
On 01/29/2018 10:41 AM, Heinrich Schuchardt wrote: > On 01/29/2018 02:34 AM, Jaehoon Chung wrote: >> On 01/29/2018 09:33 AM, Heinrich Schuchardt wrote: >>> On 01/26/2018 07:58 AM, Jaehoon Chung wrote: Hi Heinrich, On 01/26/2018 12:28 PM, Jaehoon Chung wrote: > Hi, > > On

[U-Boot] [PATCH] TCP and wget implementation. Patch V5, 3 of 3.

2018-01-28 Thread DH
From: Duncan Hare This is the wget, tftp and Kconfig files for introducing TCP and wget into u-boot. tftp.c was enhanced to check a downloaded kernel by being able to compile it as a verification tool. The switch detween download program and tool is by c #define

Re: [U-Boot] [U-Boot, v3, 01/15] serial: Use next serial device if probing fails

2018-01-28 Thread Derald D. Woods
On Sun, Jan 28, 2018 at 01:54:50PM -0500, Tom Rini wrote: > On Thu, Jan 25, 2018 at 12:05:42PM +0100, Alexander Graf wrote: > > > Currently our serial device search chokes on the fact that the serial > > probe function could fail. If it does, instead of searching for the next > > usable serial

Re: [U-Boot] [PULL] efi patch queue 2018-01-28

2018-01-28 Thread Tom Rini
On Sun, Jan 28, 2018 at 09:40:39PM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 4f6c7b12ed425095e635c32f184e8f8002da3823: > > omap3_logic: Clean up I2C pin muxing. (2018-01-28 12:27:37

Re: [U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-28 Thread Heinrich Schuchardt
On 01/29/2018 02:34 AM, Duncan Hare wrote: > Date: Sun, 28 Jan 2018 11:25:51 -0800 > > This is the interface and Kconfig files for introducing TCP and wget > into u-boot. > > Interfaces are in net.c and net.h, ping is modified to the new ip send > interface, and UDP and TCP have shim

Re: [U-Boot] [PATCH 1/2] mx6sabre_common: Allow building CONFIG_USB_FUNCTION_MASS_STORAGE

2018-01-28 Thread Shawn Guo
On Sun, Jan 28, 2018 at 12:49:02PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Selecting CONFIG_USB_FUNCTION_MASS_STORAGE=y in the defconfig leads to > the following error: > > cmd/built-in.o: In function `do_usb_mass_storage': > cmd/usb_mass_storage.c:217:

Re: [U-Boot] [BUG] 0001-mmc-fix-the-wrong-disabling-clock.patch

2018-01-28 Thread Heinrich Schuchardt
On 01/29/2018 02:34 AM, Jaehoon Chung wrote: > On 01/29/2018 09:33 AM, Heinrich Schuchardt wrote: >> On 01/26/2018 07:58 AM, Jaehoon Chung wrote: >>> Hi Heinrich, >>> >>> On 01/26/2018 12:28 PM, Jaehoon Chung wrote: Hi, On 01/26/2018 04:37 AM, Heinrich Schuchardt wrote: > With

Re: [U-Boot] [BUG] 0001-mmc-fix-the-wrong-disabling-clock.patch

2018-01-28 Thread Jaehoon Chung
On 01/29/2018 09:33 AM, Heinrich Schuchardt wrote: > On 01/26/2018 07:58 AM, Jaehoon Chung wrote: >> Hi Heinrich, >> >> On 01/26/2018 12:28 PM, Jaehoon Chung wrote: >>> Hi, >>> >>> On 01/26/2018 04:37 AM, Heinrich Schuchardt wrote: With git master HEAD the Odroid C2 hangs after the command

[U-Boot] [PATCH] TCP and wget implementation. Ptch V5 1 of 3

2018-01-28 Thread Duncan Hare
Date: Sun, 28 Jan 2018 11:25:51 -0800 This is the interface and Kconfig files for introducing TCP and wget into u-boot. Interfaces are in net.c and net.h, ping is modified to the new ip send interface, and UDP and TCP have shim procedures call map the protocol interface to the ip interface.

[U-Boot] [PATCH 2/3] net: sun8i-emac: support new pinctrl DT bindings

2018-01-28 Thread Andre Przywara
The Linux kernel driver for the Allwinner pin controller gained support for generic properties, which are now also used in the DTs. The sun8i-emac Ethernet driver for new Allwinner MACs reads the pins from the DT, but so far only supported the old binding. Update the parsing routine to cope with

[U-Boot] [PATCH 3/3] net: sun8i-emac: add support for new EMAC DT binding

2018-01-28 Thread Andre Przywara
The Ethernet MAC used in newer Allwinner SoCs (H3, A64, H5) got an upstream Linux driver in v4.15. This one uses a slightly different binding from the original one used by the U-Boot driver. The differences to the old binding are: - The "syscon" address is held in a separate node, referenced via a

[U-Boot] [PATCH 1/3] sunxi: gpio: add missing compatible strings

2018-01-28 Thread Andre Przywara
The sunxi GPIO driver is missing some compatible strings for recent SoCs. While most of the sunxi GPIO code seems to not rely on this (and so works anyway), the sunxi_name_to_gpio() function does and fails at the moment (for instance when resolving the MMC CD pin name). Add the compatible strings

[U-Boot] [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings

2018-01-28 Thread Andre Przywara
The existing sun8i-emac driver in U-Boot uses some preliminary bindings, which matched our own DTs. Now that the Linux kernel got a driver, lets update our probe code to handle those Linux DTs as well. The first patch adds the missing compatible strings for the pinctrl drivers, which is needed for

Re: [U-Boot] [BUG] 0001-mmc-fix-the-wrong-disabling-clock.patch

2018-01-28 Thread Heinrich Schuchardt
On 01/26/2018 07:58 AM, Jaehoon Chung wrote: > Hi Heinrich, > > On 01/26/2018 12:28 PM, Jaehoon Chung wrote: >> Hi, >> >> On 01/26/2018 04:37 AM, Heinrich Schuchardt wrote: >>> With git master HEAD the Odroid C2 hangs after the command line countdown. >>> >>> Bisecting teaches that this is the

Re: [U-Boot] [PULL] Please pull u-boot-rockchip

2018-01-28 Thread Tom Rini
On Sun, Jan 28, 2018 at 05:24:54PM +0100, Dr. Philipp Tomsich wrote: > Tom, > > Here’s the changes to the rockchip tree for this iteration (and I expect us > to generate a few bug-fixes in the stabilisation phase), just in time for rc1. > > The key change in in this merge window is improved

Re: [U-Boot] Guide to hush shell in u-boot

2018-01-28 Thread Wolfgang Denk
Dear Nathan, In message you wrote: > > How do people usually learn u-boot command line, scripting, and hush shell > without any kind of syntax guide? Well, it's mostly just a POSIX compatible shell with a number of

Re: [U-Boot] Manual is out of date, missing commands and information

2018-01-28 Thread Wolfgang Denk
Dear Nathan, In message you wrote: > > So I wrote that when I thought there were better guides online somewhere. I > haven't found any more complete guides. Maybe that is intentional? Intentional? Not sure if you want to

[U-Boot] [PULL] efi patch queue 2018-01-28

2018-01-28 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 4f6c7b12ed425095e635c32f184e8f8002da3823: omap3_logic: Clean up I2C pin muxing. (2018-01-28 12:27:37 -0500) are available in the git repository at: git://github.com/agraf/u-boot.git

Re: [U-Boot] How to debug u-boot on arm board if nothing printed via uart?

2018-01-28 Thread Lukasz Majewski
Hi, > Hello all, > As the topic, im a newbie for the u-boot debugging. > Now, it can't booting on my TI boards, there were > nothing printed via uart. Were your boards working previously? What has happen that they aren't printing anything anymore? > I want to know, for this > condition, how

Re: [U-Boot] [PATCH] mmc: use pr_* log functions

2018-01-28 Thread Lukasz Majewski
On Sun, 28 Jan 2018 19:11:42 +0900 Masahiro Yamada wrote: > Use pr_* log functions from Linux. They can be enabled/disabled > via CONFIG_LOGLEVEL. > > Signed-off-by: Masahiro Yamada > --- > > drivers/mmc/mmc.c | 68 >

Re: [U-Boot] Guide to hush shell in u-boot

2018-01-28 Thread Lukasz Majewski
Hi Nathan, > Hi Wolfgang, > > How do people usually learn u-boot command line, scripting, and hush > shell without any kind of syntax guide? It is very similar to standard dash, without many "advanced features". In short - you can count that you will have return value of executed command,

Re: [U-Boot] [PATCH v2 1/1] dm: video: Correct color ANSI escape sequence support

2018-01-28 Thread Heinrich Schuchardt
On 01/22/2018 01:29 AM, Simon Glass wrote: > Hi Heinrich, > > On 17 January 2018 at 19:42, Heinrich Schuchardt wrote: >> >> Support special rendition code 0 - reset attributes. >> Support special rendition code 1 - increased intensity (bold). >> Get RGB sequence in pixels

[U-Boot] [PATCH] git_meg_1

2018-01-28 Thread DH
From: Duncan Hare Signed-off-by: Duncan Hare --- include/net.h | 32 ++ net/Kconfig | 5 +++ net/net.c | 102 +++--- net/ping.c| 9 ++ 4 files changed, 115

Re: [U-Boot] [U-Boot, v2] spl: add option to disable SPL banner output

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 06:45:22PM +0100, Lukasz Majewski wrote: > From: Anatolij Gustschin > > Selecting this option will reduce SPL boot time by approx. 6 ms > (e. g. with 70 bytes long banner string at 115200 baud). > > Signed-off-by: Anatolij Gustschin >

Re: [U-Boot] clk: clk_stm32f: Fix PLLSAICFGR_PLLSAIP_4 divider value

2018-01-28 Thread Tom Rini
On Fri, Jan 19, 2018 at 06:02:40PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > PLLSAIP divider uses 2 bits (bits 16 and 17) into RCC_PLLSAICFGR > register, available combination are : > 00: PLLSAIP = 2 > 01: PLLSAIP = 4 > 10: PLLSAIP = 6 >

Re: [U-Boot] [U-Boot,v3,08/15] pl01x: Convert to dev_read

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:49PM +0100, Alexander Graf wrote: > The fdtdec API is deprecated, convert the pl010 and pl011 devices to > use the dev_read API instead. > > Signed-off-by: Alexander Graf Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot,v3,06/15] serial_bcm283x_mu: Always skip init

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:47PM +0100, Alexander Graf wrote: > The serial initialization doesn't always quite work for me, so let's > always skip it for now. We know that firmware on the RPi initializes > us properly already. > > Signed-off-by: Alexander Graf Applied to

Re: [U-Boot] omap3_logic: Clean up I2C pin muxing.

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 02:15:38PM -0600, Adam Ford wrote: > The SOM has external pull-up resistors, so let's turn these off. > It was helping reduce some errors when running I2C1 @ 2.6MHz. > > Signed-off-by: Adam Ford > > diff --git a/board/logicpd/omap3som/omap3logic.h >

Re: [U-Boot] spl: use different BOARD_INIT MACRO for spl and tpl

2018-01-28 Thread Tom Rini
On Sat, Jan 20, 2018 at 06:00:26PM +0800, Kever Yang wrote: > SPL and TPL may not always need spl_board_init() at the same time. > > Signed-off-by: Kever Yang > Reviewed-by: Philipp Tomsich Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 02/15] rpi: Remove runtime disabling support for serial

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:43PM +0100, Alexander Graf wrote: > We are switching to a model where our board file can directly fail probing > of serial devices when they're not usable, so remove the current runtime > hack we have. > > Signed-off-by: Alexander Graf Applied to

Re: [U-Boot] [U-Boot,v3,1/2] bcm283x: Add pinctrl driver

2018-01-28 Thread Tom Rini
On Tue, Jan 23, 2018 at 06:05:21PM +0100, Alexander Graf wrote: > The bcm283x family of SoCs have a GPIO controller that also acts as > pinctrl controller. > > This patch introduces a new pinctrl driver that can actually properly mux > devices into their device tree defined pin states and is now

Re: [U-Boot] [U-Boot, 2/6] clk: stm32: retrieve external oscillator frequency from DT

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 01:39:30PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > All current STM32F4 supported boards uses a 8MHz external oscillator. > All current STM32F7 supported boards uses a 25MHz external oscillator. > > In order to introduce

Re: [U-Boot] [U-Boot, v3, 03/15] serial: bcm283x_mu: Remove support for post-init disabling

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:44PM +0100, Alexander Graf wrote: > We are switching to a model where a serial device doesn't even get probed when > it's not muxed properly, so we don't need device specific disabling > functionality anymore. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [U-Boot, 1/2] distro bootcmd: Allow board defined UBI partition and volume names

2018-01-28 Thread Tom Rini
On Sat, Jan 20, 2018 at 09:16:13PM -0600, Derald D. Woods wrote: > This commit allows overriding the default assumption that the boot UBI > MTD partition is named 'UBI' and the UBI volume is 'boot'. A board > desiring to use a legacy or alternative NAND layout can now define the > following two

Re: [U-Boot] [U-Boot, RESEND, v2, 4/4] common: board_r: Fix style violations

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:10:30AM +0100, Mario Six wrote: > Fix some style violations in the board_r file. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 2/2] ARM: omap3: evm: Fix distro bootcmd UBIFS and MMC support

2018-01-28 Thread Tom Rini
On Sat, Jan 20, 2018 at 09:16:14PM -0600, Derald D. Woods wrote: > The omap3_evm board does not boot when commit: > a47ca2cf67 ("ARM: omap3: evm: Add kernel image loading from UBIFS and > EXT4") > is applied after commit: > 3dde8f2037 ("Merge git://git.denx.de/u-boot-mmc") > > This

Re: [U-Boot] [U-Boot, 2/2] ARM: AM43XX: Call hw_data_init() again after relocation to update *ctrl

2018-01-28 Thread Tom Rini
On Fri, Jan 19, 2018 at 03:32:48PM +0530, Faiz Abbas wrote: > hw_data_init() is called before relocation to initialise hardware data. > Since ctrl is initialized to OMAP_SRAM_SCRATCH_SYS_CTRL in > arch/arm/mach-omap2/am33xx/hw_data.c, the pointer *ctrl will not be > updated during relocation and

Re: [U-Boot] [U-Boot, v3, 4/6] libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:16PM +0900, Masahiro Yamada wrote: > libfdt_env.h exists to contain system-dependent defines: > > - typedef of fdt*_t > - fdt*_to_cpu(), cpu_to_fdt* > > working_fdt and FDT_RAMDISK_OVERHEAD are unrelated to the environment, > so they must get out of this

Re: [U-Boot] [U-Boot, v3, 12/15] bcm2835_mu_serial: Convert to Kconfig

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:53PM +0100, Alexander Graf wrote: > Setting config options using headers is deprecated. This patch converts > the BCM2835 Mini-UART to Kconfig. > > Signed-off-by: Alexander Graf Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v3, 10/15] pl011: Convert CONFIG_PL011_SERIAL to Kconfig

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:51PM +0100, Alexander Graf wrote: > We want to use Kconfig logic to depend on whether pl01x devices > are built in, so let's convert their inclusion selection to Kconfig. > > This round goes to pl011. > > Signed-off-by: Alexander Graf Applied to

Re: [U-Boot] [U-Boot, 6/6] ARM: dts: stm32: add stm32429-eval-u-boot dts file

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 01:39:34PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > >_ Add gpio compatible and aliases for stm32f469 >_ Add FMC sdram node >_ Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl, > pwrcfg and gpio

Re: [U-Boot] [U-Boot, v2, 3/3] clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks()

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 02:10:05PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Move SYSCFG clock setup into configure_clocks() instead of calling > clock_setup() from board file. > > As this clock is only needed in case of ethernet enabled and as >

Re: [U-Boot] host-tools: use python2 explicitly for shebang

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 06:34:57PM +0900, Masahiro Yamada wrote: > All of these host tools are apparently written for Python2, > not Python3. > > Use 'python2' in the shebang line according to PEP 394 > (https://www.python.org/dev/peps/pep-0394/). > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, 5/6] ARM: dts: stm32: Add STM32F429 Evaluation board support

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 01:39:33PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This DT file comes from kernel v4.15, this board offers : > >_ STM32F429NIH6 microcontroller >_ 4.3” color TFT LCD with resistive touchscreen (480 x 272 pixels) >

Re: [U-Boot] [U-Boot, 1/2] configs: Replace CONFIG_ISW_ENTRY_ADDR with CONFIG_SYS_TEXT_BASE

2018-01-28 Thread Tom Rini
On Fri, Jan 19, 2018 at 03:32:47PM +0530, Faiz Abbas wrote: > Since 7e0ed13 ("Convert ARCH_OMAP2PLUS boards' CONFIG_SYS_TEXT_BASE to > Kconfig"), a default SYS_TEXT_BASE was set for all ARCH_OMAP2PLUS devices. > CONFIG_ISW_ENTRY_ADDR is used to set SYS_TEXT_BASE in qspi boot. > > Simplify this

Re: [U-Boot] [U-Boot, RESEND, v2, 2/4] serial: ns16550: Fix style violation

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:09:49AM +0100, Mario Six wrote: > Clarify the computation precedence in two ternary operator > constructions. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v3, 04/15] rpi: Determine PL011/Mini-UART availability at runtime

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:45PM +0100, Alexander Graf wrote: > Firmware on the Raspberry Pi family of devices can dynamically configure > either > the PL011, Mini-UART or no device at all to be routed to the user accessible > UART pins. > > That means we need to always include both drivers,

Re: [U-Boot] [U-Boot, v3, 1/6] libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:13PM +0900, Masahiro Yamada wrote: > The only difference between scripts/dtc/libfdt/fdt_rw.c and > lib/libfdt/fdt_rw.c is fdt_remove_unused_strings(). > > It is only used by fdtgrep, so we do not need to compile it for U-Boot > image. Move it to

Re: [U-Boot] [U-Boot, v3, 14/15] bcm2835_pl011_serial: Add BCM2835 specific serial driver

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:55PM +0100, Alexander Graf wrote: > On bcm2835 we need to ensure we only access serial devices that are > muxed to the serial output pins of the pin header. To achieve this > for the pl011 device, add a bcm2835 specific pl011 wrapper device > that does this check but

Re: [U-Boot] am33xx: board: Call spl_early_init() to support sdram_init()

2018-01-28 Thread Tom Rini
On Wed, Jan 24, 2018 at 02:44:49PM +0530, Faiz Abbas wrote: > With driver model enabled in SPL, sdram_init() requires device tree > and malloc to be initialized. > Therefore call spl_early_init() in early_system_init(). > > Signed-off-by: Faiz Abbas > Reviewed-by: Lokesh

Re: [U-Boot] [U-Boot,v3,2/6] libfdt: fix

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:14PM +0900, Masahiro Yamada wrote: > I do not remember why, but this is apparently a file-copy mistake. > The file name is libfdt.h, but its content is that of libfdt_env.h > > Re-import it from upstream Linux. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, v2, 1/3] ARM: dts: stm32: Add STMMAC clocks for stm32f746

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 02:10:03PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add ETHMAC, ETHMACRX and ETHMACTX clocks for STMMAC. > > Signed-off-by: Patrice Chotard > Reviewed-by: Vikas Manocha

Re: [U-Boot] [U-Boot,v3,15/15] bcm2835_pinctrl: Probe pre-reloc

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:56PM +0100, Alexander Graf wrote: > The serial drivers now depend on the pinctrl driver to determine whether > they are enabled. That means if a serial device wants to be used pre-reloc, > we also need the pinctrl device pre-reloc. > > Adapt the pinctrl driver as

Re: [U-Boot] [U-Boot, v3, 11/15] pl01x: Convert CONFIG_PL01X_SERIAL to Kconfig

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:52PM +0100, Alexander Graf wrote: > We want to use Kconfig logic to depend on whether pl01x devices > are built in, so let's convert their inclusion selection to Kconfig. > > This round goes to pl01x. > > Signed-off-by: Alexander Graf Applied to

Re: [U-Boot] [U-Boot, RESEND, v2, 5/7] gpio: mpc8xxx: Rename Kconfig option, structures, and functions

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:48AM +0100, Mario Six wrote: > Rename the Kconfig option, structures (and their members), as well as > functions of the mpc85xx driver to include mpc8xxx to reflect the more > generic usage. > > Signed-off-by: Mario Six Applied to

Re: [U-Boot] [U-Boot,v3,2/2] mmc: Add bcm2835 sdhost controller

2018-01-28 Thread Tom Rini
On Tue, Jan 23, 2018 at 06:05:22PM +0100, Alexander Graf wrote: > The BCM2835 family of SoCs has 2 different SD controllers: One based on > the SDHCI spec and a custom, home-grown one. > > This patch implements a driver for the latter based on the Linux driver. > This is needed so that we can

Re: [U-Boot] [U-Boot,v4] arm: add support for PDU001

2018-01-28 Thread Tom Rini
On Tue, Jan 23, 2018 at 06:27:22PM +0100, Felix Brack wrote: > This patch adds support for the PDU001 board. > > Signed-off-by: Felix Brack > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 5/6] libfdt: migrate libfdt.h to a wrapper + U-Boot own code

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:17PM +0900, Masahiro Yamada wrote: > There is tons of code duplication between lib/libfdt/libfdt.h and > scripts/dtc/libfdt/libfdt.h. Evacuate the U-Boot own code to > include/libfdt.h and remove lib/libfdt/libfdt.h. > > For host tools, should include

Re: [U-Boot] arm: bootm-fdt.c: fix compiler warning

2018-01-28 Thread Tom Rini
On Wed, Jan 17, 2018 at 07:00:37AM +0100, Heiko Schocher wrote: > compiling U-Boot with bosch_mpcd_sd_defconfig > drops warning: > > arch/arm/lib/bootm-fdt.c: In function ‘arch_fixup_fdt’: > arch/arm/lib/bootm-fdt.c:37:6: warning: unused variable ‘ret’ > [-Wunused-variable] > int ret = 0;

Re: [U-Boot] atomic-long: Fix warnings on arm64

2018-01-28 Thread Tom Rini
On Fri, Jan 26, 2018 at 10:11:04PM -0500, Bradley Bolen wrote: > Several inline functions in this file reference undefined functions in > U-Boot. For example: > > atomic-long.h:73:9: warning: implicit declaration of function > 'atomic64_sub_and_test' > atomic-long.h:80:9: warning: implicit

Re: [U-Boot] fs: btrfs: Fix unaligned memory accesses

2018-01-28 Thread Tom Rini
On Sat, Jan 20, 2018 at 09:17:57AM +0200, Alberto Sánchez Molero wrote: > Loading files stored with lzo compression from a btrfs filesystem was > producing unaligned memory accesses, which were causing a data abort > and a reset on an Orange Pi Zero. > > The change in hash.c is not triggered by

Re: [U-Boot] [U-Boot, v3, 13/15] MAINTAINERS: Take over BCM2835 maintainership

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:54PM +0100, Alexander Graf wrote: > It seems as if I have more interest in BCM2835 support than most others, > so I'll bite the bullet and declare myself maintainer. It'd be a shame > to leave that platform orphaned. > > Signed-off-by: Alexander Graf

Re: [U-Boot] [U-Boot, v3, 01/15] serial: Use next serial device if probing fails

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:42PM +0100, Alexander Graf wrote: > Currently our serial device search chokes on the fact that the serial > probe function could fail. If it does, instead of searching for the next > usable serial device, it just quits. > > This patch changes the fallback logic so

Re: [U-Boot] [U-Boot, v3, 09/15] pl010: Convert CONFIG_PL010_SERIAL to Kconfig

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:50PM +0100, Alexander Graf wrote: > We want to use Kconfig logic to depend on whether pl01x devices > are built in, so let's convert their inclusion selection to Kconfig. > > This round goes to pl010. > > Signed-off-by: Alexander Graf Applied to

Re: [U-Boot] [U-Boot, v3, 07/15] serial_bcm283x_mu: Fail loading if not muxed

2018-01-28 Thread Tom Rini
On Thu, Jan 25, 2018 at 12:05:48PM +0100, Alexander Graf wrote: > The bcm283x mini-uart is only really usable as U-Boot serial output > when it is muxed to the UART pins of the RPi pin header. > > So fail probing in case it is not muxed correctly, as in that case > firmware did not initialize it

Re: [U-Boot] [U-Boot, v3, 3/6] tools: include necessary headers explicitly

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:15PM +0900, Masahiro Yamada wrote: > Several host-tools use "bool" type without including . > This relies on the crappy header inclusion chain. > > tools/Makefile has the following line: > > HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ > > All

Re: [U-Boot] [U-Boot, v2, 2/3] clk: clk_stm32f: Remove STMMAC clock setup

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 02:10:04PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Thanks to 'commit ba1f96672522 ("net: designware: add clock support")' > we don't need anymore to setup the STMMAC clock in board. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot, RESEND, v2, 6/7] gpio: mpc8xxx: Make compatible with more SoCs

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:49AM +0100, Mario Six wrote: > Finally, make the mpc8xxx driver capable of handling more GPIO devices; > this entails adding a special case for the MPC5121 SoC, and adding a set > of new compatible strings. > > Signed-off-by: Mario Six Applied

Re: [U-Boot] [U-Boot, RESEND, v2, 3/4] common: board_f: Fix style violations

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:10:02AM +0100, Mario Six wrote: > Fix some style violations in the board_f file. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] powerpc: Drop CONFIG_WALNUT and other related dead code

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 06:16:42PM +0200, Tuomas Tynkkynen wrote: > CONFIG_WALNUT was dropped in June 2017 in: > commit 98f705c9cefdfd ("powerpc: remove 4xx support") > > While at it, the related CONFIG_MACH_SPECIFIC and the have_of > and _machine variables are unused as well, so drop them too.

Re: [U-Boot] arm: mach-omap2: Pass args to secure ROM in SRAM in SPL

2018-01-28 Thread Tom Rini
On Tue, Jan 16, 2018 at 02:25:48PM -0600, Andrew F. Davis wrote: > When in early SPL we make some secure ROM calls that can effect > DRAM, due to this it is more stable to store the args for these > calls in SRAM, but uninitialized and zero'd globals are placed > in BSS, located in DRAM. Force

Re: [U-Boot] [U-Boot, RESEND, v2, 3/7] gpio: mpc85xx_gpio: Fix style violations

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:46AM +0100, Mario Six wrote: > Fix some style violations in the MPC85XX GPIO driver. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 4/6] board: stm32: Add stm32f429-evaluation board support

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 01:39:32PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add stm32f429-evaluation board support. > For more information, please visit: > http://www.st.com/en/evaluation-tools/stm32429i-eval.html > > Signed-off-by: Patrice

Re: [U-Boot] [U-Boot, v3, 6/6] libfdt: migrate include/libfdt_env.h to a wrapper

2018-01-28 Thread Tom Rini
On Sun, Jan 21, 2018 at 07:19:18PM +0900, Masahiro Yamada wrote: > libfdt_env.h is supposed to provide system-dependent defines. > > scripts/dtc/libfdt/libfdt_env.h from upstream DTC is suitable > for user-space, so we should use this for USE_HOSTCC case. > > For compiling U-Boot, we need to

Re: [U-Boot] [U-Boot, 3/6] configs: stm32f: Remove STM32_HSE_HZ for all STM32F series

2018-01-28 Thread Tom Rini
On Thu, Jan 18, 2018 at 01:39:31PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > As clk_stm32f driver is able to retrieve HSE frequency from DT, > CONFIG_STM32_HSE_HZ becomes useless. > > Signed-off-by: Patrice Chotard

Re: [U-Boot] [U-Boot, RESEND, v2, 4/7] gpio: mpc85xx: Rename driver file to mpc8xxx

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:47AM +0100, Mario Six wrote: > In preparation to making the MPC85xx GPIO driver useable for a broader > range of SoCs, rename the driver file. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, RESEND, v2, 7/7] gpio: mpc8xxx: Make live-tree compatible

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:50AM +0100, Mario Six wrote: > Make the MPC8xxx GPIO driver compatible with a live device tree. > > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, RESEND, v2, 2/7] gpio: pca953x_gpio: Make live-tree compatible

2018-01-28 Thread Tom Rini
On Mon, Jan 15, 2018 at 11:07:45AM +0100, Mario Six wrote: > Make the pca953x_gpio driver compatible with a live device tree. > > Reviewed-by: Simon Glass > Signed-off-by: Mario Six Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PULL] u-boot-usb/master

2018-01-28 Thread Tom Rini
On Sun, Jan 28, 2018 at 01:38:11PM +0100, Marek Vasut wrote: > The following changes since commit > 1a7f6d4597646662022f3e67ceaaeff7a23459e5: > > Merge git://git.denx.de/u-boot-uniphier (2018-01-27 21:55:04 -0500) > > are available in the Git repository at: > >

Re: [U-Boot] Initialize SHA buffer size var in passwd_abort

2018-01-28 Thread Tom Rini
On Fri, Jan 12, 2018 at 09:04:38AM +0100, Martin Etnestad wrote: > The call to hash_block in passwd_abort fails with error ENOSPC on some > systems. The reason is that the variable which specifies the size of the > buffer to contain the computed hash does not get initialized. > > This patch

Re: [U-Boot] [PATCH v3 03/30] sunxi: Fix USB PHY index for H3/H5/A64

2018-01-28 Thread Marek Vasut
On 01/28/2018 07:29 PM, Jagan Teki wrote: > On Sun, Jan 28, 2018 at 11:55 PM, Marek Vasut wrote: >> On 01/28/2018 07:20 PM, Jagan Teki wrote: >>> On Sun, Jan 28, 2018 at 10:01 PM, Marek Vasut wrote: On 01/28/2018 05:19 PM, Jagan Teki wrote: > From: Chen-Yu

  1   2   >