Re: [U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Tom Rini
On Sat, Apr 15, 2017 at 11:40:10AM +0900, Masahiro Yamada wrote: > Hi Tom, > > 2017-04-15 8:47 GMT+09:00 Tom Rini : > > There are more and more cases where if we do not use gcc-6.0 or later we > > run into problems where our binaries are too large for the targets. > > Given

Re: [U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Masahiro Yamada
Hi Tom, 2017-04-15 8:47 GMT+09:00 Tom Rini : > There are more and more cases where if we do not use gcc-6.0 or later we > run into problems where our binaries are too large for the targets. > Given the prevalence of gcc-6.0 or later toolchains at this point in > time, we give

[U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required

2017-04-14 Thread Tom Rini
There are more and more cases where if we do not use gcc-6.0 or later we run into problems where our binaries are too large for the targets. Given the prevalence of gcc-6.0 or later toolchains at this point in time, we give notice now that starting with v2018.01 we will require gcc-6 (or later)

[U-Boot] [PATCH 2/3] travis-ci: Switch over to Linaro gcc-6.3.1 toolchains for ARM

2017-04-14 Thread Tom Rini
Linaro provides a number of pre-built GCC toolchains for both 32 and 64bit ARM. Switch to their 2017.02 release of gcc-6.3.1 for both. Cc: Koen Kooi Signed-off-by: Tom Rini --- .travis.yml | 14 ++ 1 file changed, 10 insertions(+), 4

[U-Boot] [PATCH 1/3] buildman: Allow 'gnueabihf' toolchains for ARM

2017-04-14 Thread Tom Rini
Many toolchains for ARM use the 'gnueabihf' suffix rather than just 'gnueabi', so allow these to be used, but with a lower priority than 'gnueabi' ones. Cc: Simon Glass Signed-off-by: Tom Rini --- tools/buildman/toolchain.py | 5 +++-- 1 file changed, 3

Re: [U-Boot] [PATCH 1/7] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-14 Thread Adam Ford
On Wed, Apr 12, 2017 at 11:24 PM, Vignesh R wrote: > > > On Wednesday 12 April 2017 06:08 PM, Adam Ford wrote: >> This patch fixes and issue where DM_MMC adds a 0x100 byte offset to the >> base register. This is necessary for AM33xx, OMAP4+ and newer devices, but >> it is not

Re: [U-Boot] [PATCH] sandbox: Change CONFIG_SANDBOX_BITS_PER_LONG to hard-coded

2017-04-14 Thread Tom Rini
On Wed, Apr 12, 2017 at 04:55:39PM -0400, Tom Rini wrote: > Instead of having CONFIG_SANDBOX_BITS_PER_LONG in sandbox.h set to 64 > with a comment to change to 32 on a 32bit host, simply set this to 64 in > asm/types.h and have the comment be there. > > Cc: Simon Glass >

Re: [U-Boot] [U-Boot,v2] pci: Add a command to show PCI regions

2017-04-14 Thread Tom Rini
On Sat, Apr 08, 2017 at 01:10:06PM -0600, Simon Glass wrote: > Add 'pci regions' which lists the I/O and memory regions accessible from > the PCI controller. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 1/1] buildman: Translate more strings to latin-1

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 10:19:36AM -0600, Simon Glass wrote: > On 14 April 2017 at 08:58, Tom Rini wrote: > > When writing out some of our results we may now have UTF-8 characters > > in there as well. Translate these to latin-1 and ignore any errors (as > > this is for

Re: [U-Boot] [U-Boot,v2] tiny-printf: Add support for %p format

2017-04-14 Thread Tom Rini
On Mon, Apr 10, 2017 at 12:23:22PM +0530, Vignesh R wrote: > Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. > %pM and %pI4 are widely used by SPL networking stack and is required if > networking support is desired in SPL. > %p, %pa and %pap are mostly used by debug prints

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

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 02:10:54PM +0200, Marek Vasut wrote: > The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: > > ARCv2: SLC: Make sure busy bit is set properly on SLC flushing > (2017-04-11 17:54:31 +0300) > > are available in the git repository at: > >

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

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 04:45:50PM +0200, Marek Vasut wrote: > The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: > > ARCv2: SLC: Make sure busy bit is set properly on SLC flushing > (2017-04-11 17:54:31 +0300) > > are available in the git repository at: > >

Re: [U-Boot] Fix a bug with PL010s running at 19200 baud

2017-04-14 Thread Tom Rini
On Fri, Apr 07, 2017 at 09:48:22AM -0700, Alyssa Rosenzweig wrote: > I don't have the hardware test this, but it is almost certainly a typo > in the code dating back to at least 2004. > > Signed-off-by: Alyssa Rosenzweig Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] debug_uart: Try not to use stack in printch

2017-04-14 Thread Tom Rini
On Thu, Apr 06, 2017 at 04:32:41PM +0100, tim.chick wrote: > Spam detection software, running on the system "lists.denx.de", > has identified this incoming email as possible spam. The original > message has been attached to this so you can view it or label > similar future email. If you have

Re: [U-Boot] [U-Boot, v1, 4/4] env: fix memory leak in fw_env routines

2017-04-14 Thread Tom Rini
On Wed, Apr 05, 2017 at 06:08:03PM +0200, Stefano Babic wrote: > fw_env_open allocates buffers to store the environment, but these > buffers are never freed. This becomes quite nasty using the fw_ tools as > library, because each access to the environment (even just reading a > variable)

Re: [U-Boot] [U-Boot, v2, 2/2] board_f: Rename initdram() to dram_init()

2017-04-14 Thread Tom Rini
On Thu, Apr 06, 2017 at 12:47:05PM -0600, Simon Glass wrote: > This allows us to use the same DRAM init function on all archs. Add a > dummy function for arc, which does not use DRAM init here. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 1/2] arm: freescale: Rename initdram() to fsl_initdram()

2017-04-14 Thread Tom Rini
On Thu, Apr 06, 2017 at 12:47:04PM -0600, Simon Glass wrote: > This function name shadows a global name but is in fact different. This > is very confusing. Rename it to help with the following refactoring. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,v1,1/4] Rename aes.h to uboot_aes.h

2017-04-14 Thread Tom Rini
On Wed, Apr 05, 2017 at 06:08:00PM +0200, Stefano Babic wrote: > aes.h is a too generic name if this file can > be exported and used by a program. > Rename it to avoid any conflicts with > other files (for example, from openSSL). > > Signed-off-by: Stefano Babic Applied to

Re: [U-Boot] [U-Boot,V2] lib: div64: sync with Linux

2017-04-14 Thread Tom Rini
On Mon, Apr 10, 2017 at 01:39:48PM +0800, Peng Fan wrote: > Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'"). > > Signed-off-by: Peng Fan > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v1, 3/4] env: add a version number to check API

2017-04-14 Thread Tom Rini
On Wed, Apr 05, 2017 at 06:08:02PM +0200, Stefano Babic wrote: > Changes in the environment library are difficult to tracked by programs > using the library. Add simply an API version number that must be > increased each time when the API is changed. > > This can be detected and a program can

Re: [U-Boot] [U-Boot, v1, 2/4] env: split fw_env.h in public and private parts

2017-04-14 Thread Tom Rini
On Wed, Apr 05, 2017 at 06:08:01PM +0200, Stefano Babic wrote: > Move U-Boot private data into a separate file. This > lets export fw_env.h to be used by external programs > that want to change the environment using the library > built in tools/env. > > Signed-off-by: Stefano Babic

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 03:51:48PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches into u-boot/master? > > The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: > > ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 >

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

2017-04-14 Thread Tom Rini
On Thu, Apr 13, 2017 at 03:27:56PM -0600, Simon Glass wrote: > Hi Tom, > > Here with some DM changes as well as the long-standing AT91 DM/DT > conversion patches which I have picked up via dm. > > > The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: > > ARCv2: SLC:

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

2017-04-14 Thread Tom Rini
On Thu, Apr 13, 2017 at 10:01:28AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit d5abcf94c7123167725fc22ace342f0d455093c1: > > ti: boot: Register the MMC controllers in SPL in the same way as in > u-boot (2017-03-19

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-14 Thread Vagrant Cascadian
On 2017-04-12, Tom Rini wrote: > We also need to start setting bootm_size. Quoting myself from > include/configs/ti_armv7_common.h: > /* > * We setup defaults based on constraints from the Linux kernel, which should > * also be safe elsewhere. We have the default load at 32MB into DDR (for >

Re: [U-Boot] [PATCH 06/11] dra7: dtsi: mark ocp2scp bus compatible with "simple-bus"

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 01:08:04PM +0200, Jean-Jacques Hiblot wrote: > This is needed to probe devices under that bus such as the SATA PHY. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-14 Thread Tom Rini
On Fri, Apr 14, 2017 at 05:16:11PM +, Alexey Brodkin wrote: > Hi Marek, > > On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: > > On 03/24/2017 01:56 PM, Marek Vasut wrote: > > >  > > Even better, this patch breaks powerpc board lwmon5, so dropped. > > Are you sure the problem is in my

Re: [U-Boot] [PATCH 5/8] mips: add support for Broadcom MIPS

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas: > This target supports some of the xDSL Broadcom MIPS SoCs for now. > However, support for other SoCs could be added in the future. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/Kconfig

Re: [U-Boot] [PATCH 8/8] mips: bmips: add support for raw .elf images

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas: > CFE supports loading .elf images instead of raw binaries. > > Signed-off-by: Álvaro Fernández Rojas > --- > Makefile | 22 ++ > arch/mips/cpu/u-boot-elf.lds | 10 ++ > 2

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

2017-04-14 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-14 Thread Marek Vasut
On 04/14/2017 07:16 PM, Alexey Brodkin wrote: > Hi Marek, Hi, > On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: >> On 03/24/2017 01:56 PM, Marek Vasut wrote: >>> >> Even better, this patch breaks powerpc board lwmon5, so dropped. > > Are you sure the problem is in my patch? Builds

Re: [U-Boot] [PATCH 7/8] mips: bmips: fix ioremap for BCM6358

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas: > BCM6358 has its internal registers mapped to 0xfffe, which is changed to > 0x1ffe when ioremap is called. > > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/include/asm/mach-generic/ioremap.h | 15

Re: [U-Boot] [PATCH 4/8] serial: add serial driver for BCM6345

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas: > It is based on linux/drivers/tty/serial/bcm63xx_uart.c > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/serial/Kconfig | 14 ++ > drivers/serial/Makefile | 1 + >

[U-Boot] [PATCH v2 1/1] meson: gxbb: change ramdisk_addr_r

2017-04-14 Thread Heinrich Schuchardt
0x1000 is the start of a 2 MiB area used by the ARM Trusted Firmware (BL31). See https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10 So we should not load the ramdisk here. The legacy Ubuntu image for

[U-Boot] [PATCH v2 1/1] meson: gxbb: increase CONFIG_SYS_BOOTM_LEN

2017-04-14 Thread Heinrich Schuchardt
A feature rich Linux kernel needs more than 8 MiB. Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems. As all known GXBB systems have at least 512 MiB of RAM this poses no problem. Cc: Andreas Färber Signed-off-by: Heinrich Schuchardt --- v2:

[U-Boot] [PATCH 2/2] drivers: omap_hsmmc: move to DM_MMC_OPS

2017-04-14 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- drivers/mmc/Kconfig | 1 + drivers/mmc/omap_hsmmc.c | 39 --- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 560391f..caa3c3c 100644

[U-Boot] [PATCH 1/2] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

2017-04-14 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot --- include/configs/am335x_evm.h | 1 + include/configs/am335x_shc.h | 1 + include/configs/chiliboard.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 2712687..d7787a1

[U-Boot] [PATCH 0/2] drivers: omap_hsmmc: move to DM_MMC_OPS

2017-04-14 Thread Jean-Jacques Hiblot
This series adapts the omap_hsmmc driver to DM_MMC_OPS. To reduce the number of #idef/#else/#endif, I voluntarily did not use CONFIG_DM_MMC_OPS in the driver. It's supposed to go away at one point anyway. The consequence is that DM_MMC_OPS must be selected if DM_MMC is selected. This is handled in

Re: [U-Boot] [PATCH 1/8] cmd: cpu: fix NULL cpu feature prints

2017-04-14 Thread Daniel Schwierzeck
+cc Simon Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas: > Commit 740d5d3 added two new features but only one feature name, > which results in NULL prints when device_id feature is selected. > Fix this by not printing features without a corresponding name. > > Before: > HG556a #

Re: [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 19:34 schrieb Heinrich Schuchardt: > 0x1000 is the start of a 2 MiB area used by > ARM Trusted Firmware (BL31). > > So we should not load the ramdisk here. > > The legacy Ubuntu image comes with the following line in boot.ini: > setenv initrd_loadaddr "0x1300" > > See >

Re: [U-Boot] [PATCH-v2 2/2] mips: qemu-mips/64: Expand malloc pool for CONFIG_SYS_BOOTPARAMS_LEN

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 04:42 schrieb Kyle Edwards: > Before this patch, CONFIG_SYS_BOOTPARAMS_LEN was the same size as > CONFIG_SYS_MALLOC_LEN. So, if malloc() had previously been called, and > initr_malloc_bootparams() was called, it would fail with an out-of- > memory error. This patch fixes this

Re: [U-Boot] [PATCH-v2 1/2] mips: qemu-mips/64: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

2017-04-14 Thread Daniel Schwierzeck
Am 13.04.2017 um 04:42 schrieb Kyle Edwards: > This fixes an issue with the saveenv command causing U-Boot to no > longer work on the QEMU Mips pseudoboard. Because the offset of the > environment was being determined by CONFIG_SYS_MONITOR_LEN, and this > value was less than the actual size of

[U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r

2017-04-14 Thread Heinrich Schuchardt
0x1000 is the start of a 2 MiB area used by ARM Trusted Firmware (BL31). So we should not load the ramdisk here. The legacy Ubuntu image comes with the following line in boot.ini: setenv initrd_loadaddr "0x1300" See

Re: [U-Boot] [PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN

2017-04-14 Thread Andreas Färber
Hi, Am 14.04.2017 um 14:17 schrieb Heinrich Schuchardt: > A feature rich Kernel for Linux needs more than 8 MiB. "Linux kernel"? > Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. > As the Odroid C2 has has 2 GiB of RAM this poses no problem. Duplicate "has", and "Odroid-C2".

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-14 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: > On 03/24/2017 01:56 PM, Marek Vasut wrote: > >  > Even better, this patch breaks powerpc board lwmon5, so dropped. Are you sure the problem is in my patch? Maybe this PPC board just needs to UNdefine CONFIG_EHCI_DESC_BIG_ENDIAN

[U-Boot] [PATCH] sunxi: Fix arm64 fdtfile variable

2017-04-14 Thread Andreas Färber
Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing the filename. However on arm64 that file is located in an allwinner subdirectory. To avoid the need for users/distros symlinking the .dtb files, prepend the vendor directory for ARM64. This aligns Pine64 with other boards

Re: [U-Boot] [PATCH 1/1] buildman: Translate more strings to latin-1

2017-04-14 Thread Simon Glass
On 14 April 2017 at 08:58, Tom Rini wrote: > When writing out some of our results we may now have UTF-8 characters > in there as well. Translate these to latin-1 and ignore any errors (as > this is for diagnostic and given the githash anything else can be > reconstructed by

[U-Boot] [PATCH v2 3/3] rockchip: configs: Enable mipi dsi for rk3399

2017-04-14 Thread Eric Gao
Enable mipi dsi by default for rk3399-evb board Signed-off-by: Eric Gao --- configs/evb-rk3399_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index aac6d2d..f41cbf9 100644 ---

[U-Boot] [PATCH v2 2/3] rockchip: dts: Add mipi dsi support for rk3399

2017-04-14 Thread Eric Gao
Add dts config for mipi display, include vop, mipi controller, panel, backlight.And Enable rk808 for lcd_3v3 in another patch. Signed-off-by: Eric Gao --- arch/arm/dts/rk3399-evb.dts | 84 + arch/arm/dts/rk3399.dtsi

[U-Boot] [PATCH v2 1/3] rockchip: video: Add mipi dsi driver for rk3399

2017-04-14 Thread Eric Gao
Add mipi dsi driver for rk chip. To enable this you need to enable DM, DM_VIDEO DM_ROCKCHIP_VIDEO, DISPLAY_MIPI in menuconfig. And enable rk808 and it's i2c. Signed-off-by: Eric Gao --- arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 1 +

[U-Boot] [PATCH v2 0/3]

2017-04-14 Thread Eric Gao
rockchip: video: Add mipi display support for rk3399 This serials patches add mipi dsi support for rk3399. Except the basic mipi driver, we need also enable pmic rk808 for lcd power and enable i2c for rk808 communication. what's more, the needed clk and pwm for backlight is init in spl stage,

Re: [U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

2017-04-14 Thread Heiner Kallweit
Am 14.04.2017 um 15:39 schrieb Andreas Färber: > Am 14.04.2017 um 10:24 schrieb Heiner Kallweit: >> In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot >> was assigned dev number 1 (0 is the SD slot). So on uboot prompt > > U-Boot > >> we had to manually switch the mmc device

Re: [U-Boot] [PATCH 2/2] odroid-c2: support storing the uboot environment in eMMC

2017-04-14 Thread Heiner Kallweit
Am 14.04.2017 um 15:40 schrieb Andreas Färber: > Am 14.04.2017 um 10:26 schrieb Heiner Kallweit: >> Support storing uboot environment in eMMC. >> >> Signed-off-by: Heiner Kallweit >> --- >> include/configs/meson-gxbb-common.h | 4 +++- >> 1 file changed, 3 insertions(+), 1

[U-Boot] [PATCH 1/1] buildman: Translate more strings to latin-1

2017-04-14 Thread Tom Rini
When writing out some of our results we may now have UTF-8 characters in there as well. Translate these to latin-1 and ignore any errors (as this is for diagnostic and given the githash anything else can be reconstructed by the user. Cc: Simon Glass Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-14 Thread Marek Vasut
On 03/24/2017 01:56 PM, Marek Vasut wrote: > On 03/24/2017 12:08 PM, Alexey Brodkin wrote: >> Hi Marek, >> >> On Sun, 2017-03-05 at 02:09 +0100, Marek Vasut wrote: >>> On 03/03/2017 02:22 PM, Alexey Brodkin wrote: Hi Marek, On Fri, 2017-03-03 at 00:57 +0100, Marek Vasut wrote:

[U-Boot] [PULL][V2] u-boot-usb/master

2017-04-14 Thread Marek Vasut
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 16:33 schrieb Heinrich Schuchardt: > To enable automatic booting from SD card or eMMC the MMC devices 0 and 1 > are added to the BOOT_TARGET_DEVICES. > > Booting from SD card, eMMC, and DHCP are tried in sequence. > A missing or failing device is gracefully handled. > > Cc:

[U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
To enable automatic booting from SD card or eMMC the MMC devices 0 and 1 are added to the BOOT_TARGET_DEVICES. Booting from SD card, eMMC, and DHCP are tried in sequence. A missing or failing device is gracefully handled. Cc: Andreas Färber Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 03:55 PM, Andreas Färber wrote: > Am 14.04.2017 um 15:50 schrieb Heinrich Schuchardt: >> On 04/14/2017 03:42 PM, Andreas Färber wrote: >>> Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: To enable booting from MMC the MMC devices 0 and 1 are added to the >>> >>> from eMMC >

Re: [U-Boot] [PATCH] video: Fix crash when scroll screen

2017-04-14 Thread Anatolij Gustschin
On Mon, 10 Apr 2017 10:02:20 +0800 Eric Gao eric@rock-chips.com wrote: ... > drivers/video/console_normal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-video/master. Thanks! -- Anatolij ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/1] usb: return 0 from usb_stor_get_info even if removable media

2017-04-14 Thread Marek Vasut
On 04/11/2017 03:23 AM, Troy Kisky wrote: > This fixes a regression caused by > > commit 07b2b78ce4bc8ae25e066c65245eaf58c0d9a67c > dm: usb: Convert USB storage to use driver-model for block devs > > which caused part_init to be called when it was not previously. > Without this patch, the

Re: [U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-04-14 Thread Marek Vasut
On 03/14/2017 04:28 PM, Sylvain Lemieux wrote: > From: Liam Beguin > > Add DM support for i2c functions. > > Signed-off-by: Liam Beguin > Signed-off-by: Sylvain Lemieux > --- > Note: > * This patch is require as part of the DM

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 15:50 schrieb Heinrich Schuchardt: > On 04/14/2017 03:42 PM, Andreas Färber wrote: >> Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: >>> To enable booting from MMC the MMC devices 0 and 1 are added to the >> >> from eMMC Sorry, was getting confused with the multiple

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 03:42 PM, Andreas Färber wrote: > Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: >> To enable booting from MMC the MMC devices 0 and 1 are added to the > > from eMMC > >> BOOT_TARGET_DEVICES. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> This is a

Re: [U-Boot] [PATCH v4 2/2] at91: video: DT binding for HLCDC driver

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 16:33:31 +0800 Songjun Wu songjun...@microchip.com wrote: ... > doc/device-tree-bindings/video/atme-hlcdc.txt | 42 > +++ > 1 file changed, 42 insertions(+) > create mode 100644 doc/device-tree-bindings/video/atme-hlcdc.txt applied to

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: > To enable booting from MMC the MMC devices 0 and 1 are added to the from eMMC > BOOT_TARGET_DEVICES. > > Signed-off-by: Heinrich Schuchardt > --- > This is a resubmission of >

Re: [U-Boot] [PATCH v4 1/2] at91: video: Support driver-model for the HLCD driver

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 16:33:30 +0800 Songjun Wu songjun...@microchip.com wrote: ... > drivers/video/Kconfig| 6 + > drivers/video/atmel_hlcdfb.c | 482 > --- > 2 files changed, 417 insertions(+), 71 deletions(-) applied to u-boot-video/master.

Re: [U-Boot] [PATCH 2/2] odroid-c2: support storing the uboot environment in eMMC

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 10:26 schrieb Heiner Kallweit: > Support storing uboot environment in eMMC. > > Signed-off-by: Heiner Kallweit > --- > include/configs/meson-gxbb-common.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH v3 0/6] Introduce DCU support for Vybrid

2017-04-14 Thread Anatolij Gustschin
On Tue, 11 Apr 2017 11:12:08 +0530 Sanchayan Maity maitysancha...@gmail.com wrote: ... > Sanchayan Maity (1): > Convert CONFIG_FSL_DCU_FB to Kconfig > > Stefan Agner (5): > video: fsl_dcu_fb: fix framebuffer to the end of memory > video: fsl_dcu_fb: Enable pixel clock after initialization >

Re: [U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 10:24 schrieb Heiner Kallweit: > In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot > was assigned dev number 1 (0 is the SD slot). So on uboot prompt U-Boot > we had to manually switch the mmc device first. Therefore change the > device number assignment.

Re: [U-Boot] [PATCH v3 6/6] board: toradex: colibri_vf: Add DCU support for Colibri Vybrid

2017-04-14 Thread Anatolij Gustschin
Hi Stefan, On Wed, 12 Apr 2017 10:53:01 -0700 Stefan Agner ste...@agner.ch wrote: > On 2017-04-12 09:14, Stefano Babic wrote: > > Hi Stefan, > > > > On 11/04/2017 07:42, Sanchayan Maity wrote: > >> From: Stefan Agner > >> > > > > The series is assigned to

Re: [U-Boot] [PATCH] Add support for Microchip LAN75xx and LAN78xx

2017-04-14 Thread Marek Vasut
On 04/10/2017 09:23 PM, yuiko.osh...@microchip.com wrote: > From: Yuiko Oshino > > Add support for Microchip LAN7500, LAN7800 and 7850, USB to 10/100/1000 > Ethernet Controllers > > Signed-off-by: Yuiko Oshino > Cc: Marek Vasut

[U-Boot] [PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN

2017-04-14 Thread Heinrich Schuchardt
A feature rich Kernel for Linux needs more than 8 MiB. Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. As the Odroid C2 has has 2 GiB of RAM this poses no problem. Signed-off-by: Heinrich Schuchardt --- include/configs/meson-gxbb-common.h | 2 ++ 1 file

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

2017-04-14 Thread Marek Vasut
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v5 0/8] arm: socfpga: Move to using distro boot

2017-04-14 Thread Marek Vasut
On 04/13/2017 04:30 PM, Dalon Westergreen wrote: > This series adds support to the common socfpga header for distro boot and > moves > the DE0/1, Socrates, C5/A5 SoCDK, and SoCKIT kits to use the common > environment. > > Where available, the default devicetree is set to the devicetree for the

[U-Boot] [PULL] u-boot-socfpga/master

2017-04-14 Thread Marek Vasut
The following changes since commit 40a808f173008729a0c631ab84693b6a2b0dcfc9: ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

[U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Heinrich Schuchardt
To enable booting from MMC the MMC devices 0 and 1 are added to the BOOT_TARGET_DEVICES. Signed-off-by: Heinrich Schuchardt --- This is a resubmission of https://lists.denx.de/pipermail/u-boot/2017-April/287315.html where this patch was part of patch series which was no

Re: [U-Boot] [PATCH v7 0/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-14 Thread Jaehoon Chung
Hi Heiner, On 04/14/2017 07:50 PM, Heiner Kallweit wrote: > Am 14.04.2017 um 12:26 schrieb Heinrich Schuchardt: >> This patch series is a resubmission of the v6 patch series >> https://lists.denx.de/pipermail/u-boot/2017-February/281941.html >> by Heiner Kallweit. >> > A updated version of this

Re: [U-Boot] [PATCH 00/11] OMAP: Move SATA to use block driver model

2017-04-14 Thread Jean-Jacques Hiblot
Hi all, This is the VERSION 3 of the series. Sorry for the confusion, I messed up while preparing the patches. Jean-Jacques On 14/04/2017 13:07, Jean-Jacques Hiblot wrote: This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N

Re: [U-Boot] [PATCH v7 0/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-14 Thread Heinrich Schuchardt
On 04/14/2017 12:49 PM, Jaehoon Chung wrote: > Hi Heinrich, > > On 04/14/2017 07:26 PM, Heinrich Schuchardt wrote: >> This patch series is a resubmission of the v6 patch series >> https://lists.denx.de/pipermail/u-boot/2017-February/281941.html >> by Heiner Kallweit. >> >> Patch 1 updates the

Re: [U-Boot] [PATCH v2 03/10] drivers: phy: add generic PHY framework

2017-04-14 Thread Jean-Jacques Hiblot
On 14/04/2017 12:36, Simon Glass wrote: Hi Jean-Jacques, On 13 April 2017 at 08:17, Jean-Jacques Hiblot wrote: On 09/04/2017 21:27, Simon Glass wrote: Hi, On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: The PHY framework provides a set of APIs to

[U-Boot] [PATCH 05/11] drivers: phy: add PIPE3 phy driver

2017-04-14 Thread Jean-Jacques Hiblot
This phy is found on omap platforms with sata capabilities. Except for the part related to the DM and the PHY framework, the code is basically a copy paste from arch/arm/mach-omap2/pipe3-phy.c Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini

[U-Boot] [PATCH 06/11] dra7: dtsi: mark ocp2scp bus compatible with "simple-bus"

2017-04-14 Thread Jean-Jacques Hiblot
This is needed to probe devices under that bus such as the SATA PHY. Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/omap5-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index

[U-Boot] [PATCH 08/11] scsi: make the LUN a parameter of scsi_detect_dev()

2017-04-14 Thread Jean-Jacques Hiblot
This is a cosmetic change. target and LUN have kind of the same role in this function. One of them was passed as a parameter and the other was embedded in a structure. For consistency, pass both of them as parameters. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini

[U-Boot] [PATCH 10/11] dm: scsi: fix divide-by-0 error in scsi_scan()

2017-04-14 Thread Jean-Jacques Hiblot
With DM_SCSI enabled, blk_create_devicef() is called with blkz = 0, leading to a divide-by-0 exception. scsi_detect_dev() can be used to get the required parameters (block size and number of blocks) from the drive before calling blk_create_devicef(). Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 11/11] defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for SCSI

2017-04-14 Thread Jean-Jacques Hiblot
Enable disk driver model for dra7xx_evm as dwc_ahci supports driver model. As a consequence we must also enable CONFIG_BLK and CONFIG_DM_USB. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini ---

[U-Boot] [PATCH 09/11] scsi: move the partition initialization out of the scsi detection

2017-04-14 Thread Jean-Jacques Hiblot
We might want to get information about the scsi device without initializing the partition. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- common/scsi.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH 02/11] arm: omap: sata: compile out board-level sata code when CONFIG_DM_SCSI is defined

2017-04-14 Thread Jean-Jacques Hiblot
When CONFIG_DM_SCSI is defined, the SATA initialization will be implemented in the scsi-uclass driver. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- arch/arm/mach-omap2/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 07/11] drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device

2017-04-14 Thread Jean-Jacques Hiblot
Implement a sata driver for Synopsys DWC sata device based on U-boot driver model. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass ---

[U-Boot] [PATCH 03/11] drivers: phy: add generic PHY framework

2017-04-14 Thread Jean-Jacques Hiblot
The PHY framework provides a set of APIs to control a PHY. This API is derived from the linux version of the generic PHY framework. Currently the API supports init(), deinit(), power_on, power_off() and reset(). The framework provides a way to get a reference to a phy from the device-tree.

[U-Boot] [PATCH 04/11] dm: test: Add tests for the generic PHY uclass

2017-04-14 Thread Jean-Jacques Hiblot
Those tests check: - the ability for a phy-user to get a phy device a reference in the device-tree - the ability to perform operations on the phy (init,deinit,on,off) - the behavior of the uclass when optional operations are not implemented Signed-off-by: Jean-Jacques Hiblot

[U-Boot] [PATCH 01/11] arm: omap: sata: move enable sata clocks to enable_basic_clocks()

2017-04-14 Thread Jean-Jacques Hiblot
All the clocks which has to be enabled has to be done in enable_basic_clocks(), so moving enable sata clock to common clocks enable function. Signed-off-by: Mugunthan V N Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini ---

[U-Boot] [PATCH 00/11] OMAP: Move SATA to use block driver model

2017-04-14 Thread Jean-Jacques Hiblot
This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N in Feb 2016 The first 2 patches are preparatory work. The 3rd patch adds a new framework to handle PHYs in a generic manner. The idea is to move the phy

[U-Boot] [RESEND PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-14 Thread Kever Yang
There are 3 region used by rk3399 ATF: - bl31 code, locate at 0x1; - cortex-m0 code and data, locate at 0xff8c; - bl31 data, locate at 0xff8c1000 ~ 0xff8c4000; SPL_TEXT_BASE starts from 0xff8c2000, we need to reserve memory for ATF data, or else there will have memory corrupt after SPL

Re: [U-Boot] [PATCH v7 0/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-14 Thread Jaehoon Chung
Hi Heinrich, On 04/14/2017 07:26 PM, Heinrich Schuchardt wrote: > This patch series is a resubmission of the v6 patch series > https://lists.denx.de/pipermail/u-boot/2017-February/281941.html > by Heiner Kallweit. > > Patch 1 updates the device tree to a recent Linux version. > Patch 2 add a MMC

Re: [U-Boot] [PATCH] rockchip: reserve memory for rk3399 ATF data

2017-04-14 Thread Dr. Philipp Tomsich
Kever, Do we really need to change the SPL layout (i.e. BL2) for this? The SPL code should remain independent of later stages. This change would tie the U-Boot SPL (BL2) to a specific implementation/memory layout of the later BL31 stage. It should rather remain the responsibility of the BL31

Re: [U-Boot] [PATCH v7 0/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-14 Thread Heiner Kallweit
Am 14.04.2017 um 12:26 schrieb Heinrich Schuchardt: > This patch series is a resubmission of the v6 patch series > https://lists.denx.de/pipermail/u-boot/2017-February/281941.html > by Heiner Kallweit. > A updated version of this series was just applied:

Re: [U-Boot] [PATCH v2 03/10] drivers: phy: add generic PHY framework

2017-04-14 Thread Simon Glass
Hi Jean-Jacques, On 13 April 2017 at 08:17, Jean-Jacques Hiblot wrote: > > > On 09/04/2017 21:27, Simon Glass wrote: >> >> Hi, >> >> On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: >>> >>> The PHY framework provides a set of APIs to control a PHY. This API

[U-Boot] [U-Boot, v7, 3/4] Enable new Meson GX MMC driver in Odroid C2 defconfig.

2017-04-14 Thread Heinrich Schuchardt
This patch is based on [U-Boot,v6,3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig by Heiner Kallweit CC: Heiner Kallweit Signed-off-by: Heinrich Schuchardt --- v7: - made applicable to current U-boot master v6: -

[U-Boot] [PATCH v7 1/4] arm: dts: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-04-14 Thread Heinrich Schuchardt
As a prerequisite for adding a Meson GX MMC driver update the Meson GXBB / Odroid-C2 device tree in Uboot with the latest version from Linux. Signed-off-by: Neil Armstrong Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber

  1   2   >