[U-Boot] [PATCH] mkimage: fix missing break for -p switch

2016-07-11 Thread Teddy Reed
Signed-off-by: Teddy Reed --- tools/mkimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mkimage.c b/tools/mkimage.c index ff3024a..0e501f8 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -225,6 +225,7 @@ static void process_args(int argc, char **argv)

Re: [U-Boot] [PATCH v4] rockchip: add option to change method of loading u-boot

2016-07-11 Thread Ziyuan Xu
hi Andreas, Thanks for your catch. I will revise the typos. On 2016年07月12日 12:30, Andreas Färber wrote: Am 12.07.2016 um 05:18 schrieb Ziyuan Xu: From: Xu Ziyuan If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly

Re: [U-Boot] [PATCH v3] driver: spi: fsl-qspi: disable AHB buffer prefetch

2016-07-11 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Yunhui Cui > Sent: Tuesday, July 12, 2016 8:20 AM > To: york sun > Cc: Yunhui Cui ; u-boot@lists.denx.de > Subject: [U-Boot] [PATCH v3] driver: spi: fsl-qspi:

Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-07-11 Thread Bin Meng
Hi Simon, On Tue, Jun 28, 2016 at 9:44 PM, Stefan Roese wrote: > This patch adds support for the SMBus block read/write functionality. > Other protocols like the SMBus quick command need to get added > if this is needed. > > This patch also removed the SMBus related defines from

Re: [U-Boot] [PATCH] x86: conga-qeval20-qa3: Add SMBus support and SMSC2513 config code

2016-07-11 Thread Bin Meng
On Tue, Jun 28, 2016 at 9:45 PM, Stefan Roese wrote: > This patch includes the following changes: > > - Remove Designware I2C support from dts as its not used > - Configure SMBus PADs in dts > - Enable I2C commands and I2C support > - Configure SMSC2513 USB hub via SMBus upon

Re: [U-Boot] [PATCH] x86: link: Correct a failure in DRAM init

2016-07-11 Thread Bin Meng
On Mon, Jul 11, 2016 at 11:30 PM, Simon Glass wrote: > With the change to set up pinctrl after relocation, link fails to boot. Add > a special case in the link code to handle this. > > Fixes: d8906c1f (x86: Probe pinctrl driver in cpu_init_r()) > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v4 09/13] libfdt: Add fdt_getprop_namelen_w

2016-07-11 Thread David Gibson
On Mon, Jul 11, 2016 at 09:12:27AM +0200, Maxime Ripard wrote: > On Wed, Jul 06, 2016 at 11:22:48AM +1000, David Gibson wrote: > > On Tue, Jul 05, 2016 at 10:26:42AM +0200, Maxime Ripard wrote: > > > Add a function to retrieve a writeable property only by the first > > > characters of its name. >

Re: [U-Boot] [PATCH v4] rockchip: add option to change method of loading u-boot

2016-07-11 Thread Andreas Färber
Am 12.07.2016 um 05:18 schrieb Ziyuan Xu: > From: Xu Ziyuan > > If we would like to boot from SD card, we have to implement mmc driver > in SPL stage, and get a slightly large SPL binrary. Rockchip SoC's "binary" > bootrom code has the ability to load spl and u-boot,

[U-Boot] [PATCH] driver: spi: fsl-qspi: remove compile Warnings

2016-07-11 Thread Yunhui Cui
From: Yunhui Cui Warnins log: drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’: drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy(rxbuf, (u8 *)(priv->cur_amba_base + priv->sf_addr), len);

[U-Boot] [PATCH 6/6] efi_loader: Display which .dtb we found

2016-07-11 Thread Andreas Färber
We do so for the EFI binary already and it aids debugging. Cc: Alexander Graf Signed-off-by: Andreas Färber --- include/config_distro_bootcmd.h | 4 1 file changed, 4 insertions(+) diff --git a/include/config_distro_bootcmd.h

[U-Boot] [PATCH 4/6] efi_loader: Improve .dtb search for arm64

2016-07-11 Thread Andreas Färber
On arm64 Linux device trees are organized by SoC vendor. Therefore we need to search the vendor subdirectory as well. Since the SoC vendor may be different from ${vendor}, introduce a new ${soc_vendor}. If this is not set, the behavior remains unchanged. Cc: Alexander Graf

[U-Boot] [PATCH 0/6] efi_loader: Improvements to .dtb handling

2016-07-11 Thread Andreas Färber
Hi, This series modifies the distro boot scripts to better cope with real-world .dtb scenarios. In particular openSUSE images have the EFI GRUB2 and optional .dtb files on separate partitions (fat vs. ext4) and installed to /boot/dtb-foo symlink, which may be /dtb or /boot/dtb for U-Boot. The

[U-Boot] [PATCH 5/6] dragonboard410c: Set soc_vendor

2016-07-11 Thread Andreas Färber
Signed-off-by: Andreas Färber --- include/configs/dragonboard410c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 74a827d..8b019e9 100644 --- a/include/configs/dragonboard410c.h +++

[U-Boot] [PATCH 3/6] efi_loader: Search .dtb on non-EFI partitions

2016-07-11 Thread Andreas Färber
A UEFI setup will typically have an EFI FAT partition, but device trees are more likely to be located on, e.g., Linux volumes. By convention the EFI partition will usually be placed first, so that we would find the EFI removable media binary and enter it without device tree from disk. Therefore

[U-Boot] [PATCH 2/6] efi_loader: Respect $boot_prefixes for EFI .dtb search

2016-07-11 Thread Andreas Färber
Just like boot configs or scripts, .dtb files may be in /boot. Search $efi_dtb_prefixes for all $boot_prefixes. Cc: Alexander Graf Signed-off-by: Andreas Färber --- include/config_distro_bootcmd.h | 24 +++- 1 file changed, 15 insertions(+),

[U-Boot] [PATCH 1/6] efi_loader: Cosmetic distro script cleanups

2016-07-11 Thread Andreas Färber
Fix a macro line break whose alignment slipped in commit fba5f93. Be consistent in having trailing spaces after semicolon. While at it, drop a duplicate white line. Cc: Alexander Graf Signed-off-by: Andreas Färber --- include/config_distro_bootcmd.h | 11

[U-Boot] [PATCH v4] rockchip: add option to change method of loading u-boot

2016-07-11 Thread Ziyuan Xu
From: Xu Ziyuan If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large SPL binrary. Rockchip SoC's bootrom code has the ability to load spl and u-boot, then boot. If CONFIG_ROCKCHIP_SPL_BACK_TO_BROM is enabled, the

[U-Boot] [PATCH] armv8: spl: Call board_init_r from crt0_64 in SPL

2016-07-11 Thread Jeremy Hunt
As part of the startup process for boards using the SPL, the meaning of board_init_f changed such that it should return normally rather than calling board_init_r directly. (see db910353a126d84fe8dff7a694ea792f50fcfb6a) This was fixed in 32-bit arm, but broke when SPL was added to 64 bit arm. This

[U-Boot] [PATCH v3] driver: spi: fsl-qspi: disable AHB buffer prefetch

2016-07-11 Thread Yunhui Cui
From: Yunhui Cui Errata: A-009282: QuadSPI data pre-fetch can result in incorrect data We need this errata workaround when CONFIG_SYS_FSL_QSPI_AHB is enabled. Signed-off-by: Yunhui Cui --- drivers/spi/fsl_qspi.c | 12 +++- 1 file changed, 11

Re: [U-Boot] [PATCH v2] driver: fsl_qspi: disable AHB buffer prefetch

2016-07-11 Thread Yunhui Cui
On 07/11, 2016, 11:17 PM, York Wrote: > On 07/11/2016 12:49 AM, Yunhui Cui wrote: > > From: Yunhui Cui > > > > Errata: A-009282: QuadSPI data pre-fetch can result in incorrect data > > > > Signed-off-by: Yunhui Cui > > --- > > drivers/spi/fsl_qspi.c |

Re: [U-Boot] [PATCH v3] rockchip: rk3288: Change method of loading u-boot

2016-07-11 Thread Simon Glass
Hi, On Jul 11, 2016 20:06, "Ziyuan Xu" wrote: > > hi Simon, > > > On 2016年07月12日 07:29, Simon Glass wrote: >> >> Hi Ziyuan, >> >> On 27 June 2016 at 02:30, Ziyuan Xu wrote: >>> >>> From: Xu Ziyuan >>> >>> If we would like to

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-11 Thread Kever Yang
Hi Simon, CC Doug for this topic. On 07/12/2016 07:54 AM, Simon Glass wrote: Hi Kever, On 11 July 2016 at 00:58, Kever Yang wrote: Hi Simon, On 07/09/2016 10:39 PM, Simon Glass wrote: Hi Kever, On 7 July 2016 at 20:45, Kever Yang

Re: [U-Boot] [PATCH v3] rockchip: rk3288: Change method of loading u-boot

2016-07-11 Thread Ziyuan Xu
hi Simon, On 2016年07月12日 07:29, Simon Glass wrote: Hi Ziyuan, On 27 June 2016 at 02:30, Ziyuan Xu wrote: From: Xu Ziyuan If we would like to boot from SD card, we have to implement mmc driver in SPL stage, and get a slightly large spl binrary.

Re: [U-Boot] [PATCH] dragonboard410c: prefer sdcard boot over emmc

2016-07-11 Thread Andreas Färber
Am 03.07.2016 um 18:59 schrieb Ricardo Salveti: > Make the external devices the preferred ones when booting the system > (usb is already the first option). This allows users to easily boot > custom distributions without requiring them to reflash/customize u-boot. > > Cc: Mateusz Kulikowski

Re: [U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support

2016-07-11 Thread Ziyuan Xu
hi Simon, On 2016年07月12日 07:54, Simon Glass wrote: Hi, On 6 July 2016 at 03:34, Ziyuan Xu wrote: This patchset add the fastboot support for rk3288, and I have tested on firefly-rk3288 board. Fix an issue which was mentioned in V1's cover-letter: The DMA buffer was

Re: [U-Boot] storage support for ub_dev_write API function

2016-07-11 Thread Simon Glass
Hi, On 6 July 2016 at 08:44, Ihar Filipau wrote: > Hi All! > > I have stumbled upon the lack of support for storage devices in API's > ub_dev_write()/API_dev_write() functions. Currently the function > supports only the network devices. > > I have implemented the support

Re: [U-Boot] [RESEND PATCH] board: move all the rockchip board in one folder

2016-07-11 Thread Simon Glass
On 10 July 2016 at 21:14, Kever Yang wrote: > The 'evb_rk3036' and 'kylin' is not a vendor name, let's replace them > to 'rockchip' which is a real _vendor_ name, and meet the architecure > 'board///'. > > More boards from rockchip like evb_rk3288, evb_rk3399 will comes

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-11 Thread Simon Glass
Hi Kever, On 11 July 2016 at 00:58, Kever Yang wrote: > Hi Simon, > > On 07/09/2016 10:39 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 7 July 2016 at 20:45, Kever Yang wrote: >>> >>> The grf setting for rkpwm is only need in rk3288, other

Re: [U-Boot] [PATCH v3 0/4] rockchip: rk3288: add fastboot support

2016-07-11 Thread Simon Glass
Hi, On 6 July 2016 at 03:34, Ziyuan Xu wrote: > This patchset add the fastboot support for rk3288, and I have tested on > firefly-rk3288 board. > > Fix an issue which was mentioned in V1's cover-letter: > The DMA buffer was always zero after DMA transfer is complete, It

Re: [U-Boot] [PATCH] board: move all the rockchip board in one folder

2016-07-11 Thread Simon Glass
Hi Kever, On 10 July 2016 at 21:14, Kever Yang wrote: > Hi Simon, > > > On 07/09/2016 10:38 PM, Simon Glass wrote: > > Hi Kevin, > > On 7 July 2016 at 21:49, Eddie Cai wrote: > > 2016-07-08 11:30 GMT+08:00 Kever Yang

Re: [U-Boot] [PATCH v3] rockchip: rk3288: Change method of loading u-boot

2016-07-11 Thread Simon Glass
On 27 June 2016 at 02:30, Ziyuan Xu wrote: > From: Xu Ziyuan > > If we would like to boot from SD card, we have to implement mmc driver > in SPL stage, and get a slightly large spl binrary. RK3288's bootrom code > has the ability to load spl and

Re: [U-Boot] [PATCH v2] rockchip: add basic support for evb-rk3288 board

2016-07-11 Thread Simon Glass
On 11 July 2016 at 03:14, Ziyuan Xu wrote: > From: Xu Ziyuan > > evb-3288 board RK3288-based development board with 2 USB ports, HDMI, > VGA, micro-SD card, audio, WiFi and Gigabit Ethernet. It also includes > on-board 8G eMMC and 2GB of SDRAM.

Re: [U-Boot] [PATCH v3] rockchip: rk3288: Change method of loading u-boot

2016-07-11 Thread Simon Glass
Hi Ziyuan, On 27 June 2016 at 02:30, Ziyuan Xu wrote: > From: Xu Ziyuan > > If we would like to boot from SD card, we have to implement mmc driver > in SPL stage, and get a slightly large spl binrary. RK3288's bootrom code > has the ability to load

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Carlo Caione
On Tue, Jul 12, 2016 at 12:54 AM, Andreas Färber wrote: > Am 12.07.2016 um 00:52 schrieb Carlo Caione: >> On Mon, Jul 11, 2016 at 11:38 PM, Andreas Färber wrote: >>> Am 11.07.2016 um 22:36 schrieb Carlo Caione: On Mon, Jul 11, 2016 at 10:15 PM, Andreas

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Andreas Färber
Am 12.07.2016 um 00:52 schrieb Carlo Caione: > On Mon, Jul 11, 2016 at 11:38 PM, Andreas Färber wrote: >> Am 11.07.2016 um 22:36 schrieb Carlo Caione: >>> On Mon, Jul 11, 2016 at 10:15 PM, Andreas Färber wrote: > > [...] > DRAM: 2 GiB No

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Carlo Caione
On Mon, Jul 11, 2016 at 11:38 PM, Andreas Färber wrote: > Am 11.07.2016 um 22:36 schrieb Carlo Caione: >> On Mon, Jul 11, 2016 at 10:15 PM, Andreas Färber wrote: [...] >>> >>> DRAM: 2 GiB >>> No maUsing default environment >>> >>> In:serial@4c0 >>> Out:

Re: [U-Boot] [PATCH v3 00/62] dm: rockchip: sandbox: Add support for compiled-in platform data

2016-07-11 Thread Simon Glass
Hi, On 4 July 2016 at 11:57, Simon Glass wrote: > > Note: This v3 series adds a test and fixes a few bugs found in generation of > of-platdata. > > This series provides a way to compile in the contents of a device tree as C > code into U-Boot, implementing an idea that Tom

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

2016-07-11 Thread Simon Glass
Hi Tom, This includes the MMC block-device stuff (which needs lots of testing time), cleaning up some fdtdec COMPAT strings and some patman improvements. The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: Prepare v2016.07 (2016-07-11 15:01:01 -0400) are available in

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Andreas Färber
Am 11.07.2016 um 22:36 schrieb Carlo Caione: > On Mon, Jul 11, 2016 at 10:15 PM, Andreas Färber wrote: >> [...] >> NOTICE: BL3-1: v1.0(debug):4d2e34d >> NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015 >> INFO:BL3-1: Initializing runtime services >> INFO:BL3-1: Preparing

Re: [U-Boot] [ANN] U-Boot v2016.07 is released

2016-07-11 Thread Wolfgang Denk
Dear Tom, In message <20160711195212.GA25382@bill-the-cat> you wrote: > > I've released v2016.07 and it's now live on git and FTP and ACD. As a > possible bonus, the tarball is now signed with my PGP key. Thanks a lot. Release statistics are also up now, oth for the recent [1] and for the

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Carlo Caione
On Mon, Jul 11, 2016 at 10:15 PM, Andreas Färber wrote: > Am 11.07.2016 um 21:48 schrieb Beniamino Galvani: >> On Mon, Jul 11, 2016 at 05:23:15AM +0100, Peter Robinson wrote: >>> On Mon, Jul 11, 2016 at 4:57 AM, Andreas Färber wrote: Last output:

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Andreas Färber
Am 11.07.2016 um 21:48 schrieb Beniamino Galvani: > On Mon, Jul 11, 2016 at 05:23:15AM +0100, Peter Robinson wrote: >> On Mon, Jul 11, 2016 at 4:57 AM, Andreas Färber wrote: >>> Last output: >>> >>> NOTICE: BL3-1: v1.0(debug):4d2e34d >>> NOTICE: BL3-1: Built : 17:08:35, Oct 29

[U-Boot] [ANN] U-Boot v2016.07 is released

2016-07-11 Thread Tom Rini
Hey all, I've released v2016.07 and it's now live on git and FTP and ACD. As a possible bonus, the tarball is now signed with my PGP key. Looking over the changes in this release, I would say it's another good, solid, iterative improvement over the last. MMC has moved to DM, we have more tests

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-07-11 Thread Beniamino Galvani
On Mon, Jul 11, 2016 at 05:23:15AM +0100, Peter Robinson wrote: > On Mon, Jul 11, 2016 at 4:57 AM, Andreas Färber wrote: > > Last output: > > > > NOTICE: BL3-1: v1.0(debug):4d2e34d > > NOTICE: BL3-1: Built : 17:08:35, Oct 29 2015 > > INFO:BL3-1: Initializing runtime

[U-Boot] [PATCH v2] video: allow version string to be optional when using LOGO

2016-07-11 Thread Anatolij Gustschin
From: Tim Harvey The CONFIG_HIDE_LOGO_VERSION config can be used to disable putting the U-Boot version string on top of the logo. Signed-off-by: Tim Harvey --- Changes in v2: - move len and space variables to functio top - hide extra string if

Re: [U-Boot] [RFC PATCH 4/7] env: Introduce "transient" and "system" access flags

2016-07-11 Thread Bernhard Nortmann
Am 11.07.2016 um 20:14 schrieb Bernhard Nortmann: "transient" (='t') is like "any", but requests that a variable should not be exported (ENV_FLAGS_VARACCESS_PREVENT_EXPORT). "system" (='S') is meant for 'internal' variables that aren't supposed to be changed by the user. It corresponds to

Re: [U-Boot] [RFC PATCH 0/7] "Transient" (= export-restricted) environment vars

2016-07-11 Thread Joe Hershberger
Hi Bernhard, On Mon, Jul 11, 2016 at 1:14 PM, Bernhard Nortmann wrote: > This series evolved around the idea of introducing a new env_op > type to control (and possibly restrict) the export of variables. > This is especially useful if one wants to prevent dynamic >

[U-Boot] [PATCH 3/4] Disable CONFIG_EFI_LOADER for rock2.

2016-07-11 Thread Sandy Patterson
I'm not sure why this breaks kernel loading. Signed-off-by: Sandy Patterson --- configs/rock2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig index 3e16b80..3a06b7e 100644 --- a/configs/rock2_defconfig

[U-Boot] [PATCH 4/4] RK3288 needs fdt and initrd below 256M now.

2016-07-11 Thread Sandy Patterson
I am not sure why this limit is changing. But my kernel doesn't load when it's above 256. This was testing on the rock2 board. Signed-off-by: Sandy Patterson --- include/configs/rk3288_common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 2/4] Revert "arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_INVAL_ALL) with asm code"

2016-07-11 Thread Sandy Patterson
This reverts commit df120142f36b6ff8b12187b8860269763b2b3203. Conflicts: arch/arm/cpu/armv7/cache_v7.c arch/arm/cpu/armv7/cache_v7_asm.S Signed-off-by: Sandy Patterson --- arch/arm/cpu/armv7/cache_v7.c | 24 +--- 1 file changed,

[U-Boot] [PATCH 1/4] Revert "arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code"

2016-07-11 Thread Sandy Patterson
This reverts commit c09d29057ab0b04db0857d319c6bff74de31b9c3. Conflicts: arch/arm/cpu/armv7/cache_v7.c arch/arm/cpu/armv7/cache_v7_asm.S Signed-off-by: Sandy Patterson --- arch/arm/cpu/armv7/Makefile | 2 +-

[U-Boot] [PATCH 0/4] Ability to load linux kernel on rock2 RK3288

2016-07-11 Thread Sandy Patterson
I wasn't able to load the linux kernel using a Rock2 board using the latest master branch. The board hangs after it has handed executing over to the kernel. I found that the latest release that worked was v2016.03. I did some searching and I suspect the problem may be cache related. This

[U-Boot] [RFC PATCH 5/7] sunxi: env: flag fel_* environment vars as "system"

2016-07-11 Thread Bernhard Nortmann
"fel_booted" and "fel_scriptaddr" have a special meaning and get used by U-Boot internally. This patch aims at both preventing user modification of these values, and at excluding them from being stored on "saveenv". As this is achieved by setting specialized access flags, also enable the "env

[U-Boot] [RFC PATCH 3/7] env: Introduce "export" operation and (access flag) restriction

2016-07-11 Thread Bernhard Nortmann
This patch introduces a new "export" environment operation (env_op_export) and the corresponding access flag ENV_FLAGS_VARACCESS_PREVENT_EXPORT; so that env_flags_validate() may now check requests to export specific variables. In turn, hexport_r() makes uses of this ability to suppress the export

[U-Boot] [RFC PATCH 6/7] env: Introduce setenv_transient() helper function

2016-07-11 Thread Bernhard Nortmann
Like setenv(), but automatically marks the entry as "don't export". Signed-off-by: Bernhard Nortmann --- cmd/nvedit.c | 21 + include/common.h | 1 + 2 files changed, 22 insertions(+) diff --git a/cmd/nvedit.c b/cmd/nvedit.c index

[U-Boot] [RFC PATCH 7/7] env: Automatically mark dynamic configuration info as "do not export"

2016-07-11 Thread Bernhard Nortmann
This is an attempt to prevent such information from ending up in exported environment data, especially when doing "saveenv". (http://lists.denx.de/pipermail/u-boot/2015-September/227611.html) The patch makes use of the new setenv_transient() helper for environment variables that get updated via

[U-Boot] [RFC PATCH 4/7] env: Introduce "transient" and "system" access flags

2016-07-11 Thread Bernhard Nortmann
"transient" (='t') is like "any", but requests that a variable should not be exported (ENV_FLAGS_VARACCESS_PREVENT_EXPORT). "system" (='S') is meant for 'internal' variables that aren't supposed to be changed by the user. It corresponds to "transient" plus "read-only". Signed-off-by: Bernhard

[U-Boot] [RFC PATCH 2/7] net: dm: Ignore unknown env_op_* constants

2016-07-11 Thread Bernhard Nortmann
This prevents a possible compiler warning similar to "net/eth-uclass.c::: warning: enumeration value 'env_op_*' not handled in switch [-Wswitch]". Signed-off-by: Bernhard Nortmann --- net/eth-uclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [RFC PATCH 0/7] "Transient" (= export-restricted) environment vars

2016-07-11 Thread Bernhard Nortmann
This series evolved around the idea of introducing a new env_op type to control (and possibly restrict) the export of variables. This is especially useful if one wants to prevent dynamic configuration information from ending up in a saved environment - the 'classic' example being network setup

[U-Boot] [RFC PATCH 1/7] env: Allow unconditional access if H_PROGRAMMATIC is set

2016-07-11 Thread Bernhard Nortmann
This patch modifies env_flags_validate() in such a way that any operation will *always* be allowed if H_PROGRAMMATIC is present. Without this change, programmatically changing environment vars may fail depending on their flags, e.g. when trying to setenv*() a variable that is marked "read-only".

[U-Boot] SPL on ZynqMP ZCU102 evaluation board

2016-07-11 Thread Oleksy, Adam (Nokia - PL/Wroclaw)
Hi all I'm working with zynqmp evalutation board (zcu102 revB) and currently I rely on FSBL generated by petalinux and I'm thinking of dropping it ans using u-boot's SPL. I have spent some time trying to configure and use SPL, but I've stuck on booting up the board. I've prepared SD card as

Re: [U-Boot] [PATCH] video: allow version string to be optional when using LOGO

2016-07-11 Thread Anatolij Gustschin
Hi Tim, On Fri, 8 Jul 2016 06:45:10 -0700 Tim Harvey thar...@gateworks.com wrote: ... > I haven't seen any feedback on this. Do you have any comment or ack? sorry for delay, I was on vacation. Applied slightly modified patch to u-boot-video/next. Thanks, Anatolij

Re: [U-Boot] [PATCH 1/2] spi: ti_qspi: Fix failure on multiple READ_ID cmd

2016-07-11 Thread R, Vignesh
On 7/11/2016 12:05 PM, Jagan Teki wrote: > On 11 July 2016 at 11:00, Vignesh R wrote: >> Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value >> QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in >> ti_qspi_cs_deactivate(). Therefore CS is never

[U-Boot] [PATCH v2] driver: fsl_qspi: disable AHB buffer prefetch

2016-07-11 Thread Yunhui Cui
From: Yunhui Cui Errata: A-009282: QuadSPI data pre-fetch can result in incorrect data Signed-off-by: Yunhui Cui --- drivers/spi/fsl_qspi.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/spi/fsl_qspi.c

[U-Boot] SPL on ZynqMP ZCU102 evaluation board

2016-07-11 Thread Oleksy, Adam (Nokia - PL/Wroclaw)
Hi all I'm working with zynqmp evalutation board (zcu102 revB) and currently I rely on FSBL generated by petalinux and I'm thinking of dropping it ans using u-boot's SPL. I have spent some time trying to configure and use SPL, but I've stuck on booting up the board. I've prepared SD card as

[U-Boot] [PATCH] x86: link: Correct a failure in DRAM init

2016-07-11 Thread Simon Glass
With the change to set up pinctrl after relocation, link fails to boot. Add a special case in the link code to handle this. Fixes: d8906c1f (x86: Probe pinctrl driver in cpu_init_r()) Signed-off-by: Simon Glass --- arch/x86/cpu/ivybridge/sdram.c | 5 + 1 file changed, 5

Re: [U-Boot] [PATCH v2] driver: fsl_qspi: disable AHB buffer prefetch

2016-07-11 Thread york sun
On 07/11/2016 12:49 AM, Yunhui Cui wrote: > From: Yunhui Cui > > Errata: A-009282: QuadSPI data pre-fetch can result in incorrect data > > Signed-off-by: Yunhui Cui > --- > drivers/spi/fsl_qspi.c | 14 -- > 1 file changed, 12 insertions(+),

Re: [U-Boot] drivers/crypto/fsl/Makefile: strange assignment

2016-07-11 Thread Tom Rini
On Mon, Jul 11, 2016 at 09:56:48AM -0300, Fabio Estevam wrote: > Hi Tom, > > On Fri, May 13, 2016 at 9:30 AM, Tom Rini wrote: > > On Thu, May 12, 2016 at 11:22:17PM -0300, Fabio Estevam wrote: > >> On Thu, May 12, 2016 at 11:12 PM, Fabio Estevam wrote: >

Re: [U-Boot] git-mailrc: add rockchip alias

2016-07-11 Thread Tom Rini
On Sat, Jul 09, 2016 at 09:12:04PM +0800, jk wrote: > It's easier to Cc rockchip maintainers on rockchip-releated patches. > > Signed-off-by: jk Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] driver/net/fec: support fixed speed connection

2016-07-11 Thread Hannes Schmelzer
On 07/11/2016 04:23 PM, Stefano Babic wrote: Hi Hannes, Hi Stefano, On 22/06/2016 12:07, Hannes Schmelzer wrote: If MAC is directly connected to another MAC (like a switch for example) we don't need to probe for a phy, autoneogation and so on. We simply have to setup speed. Signed-off-by:

Re: [U-Boot] [U-Boot, for, v2016.07] mkimage -l is broken for images after gpimage

2016-07-11 Thread Tom Rini
On Mon, Jul 11, 2016 at 04:09:48PM +0200, Stefano Babic wrote: > Because a gpimage cannot be detected, a false > GP header is printed instead of checking > for further image types. > > Move gpimage as last to be linked, letting check > all other image types and printing a GP header just > in

Re: [U-Boot] [U-Boot,for,v2016.07] doc: ARMv8: add README.pine64

2016-07-11 Thread Tom Rini
On Fri, Jul 08, 2016 at 03:25:23PM +0100, Andre Przywara wrote: > Since we lack information about the DRAM initialization for the > Allwinner A64 SoC, booting any A64 based board like the Pine64 is a bit > involved at the moment. > Add a README file to explain the process. > > Signed-off-by:

Re: [U-Boot] [PATCH] imx6: clock: typo fix

2016-07-11 Thread Stefano Babic
On 30/06/2016 15:08, Peng Fan wrote: > Typo fix, "PPL2 -> PLL2" > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > arch/arm/cpu/armv7/mx6/clock.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/cpu/armv7/mx6/clock.c

Re: [U-Boot] [PATCH] arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite

2016-07-11 Thread Otavio Salvador
On Wed, Jun 22, 2016 at 7:07 AM, Hannes Schmelzer wrote: > if we build for an i.mx6 (d)ual(l)ite CONFIC_MX6DL we shall use > MX6DL_PAD instead the common MX6_PAD. > > Signed-off-by: Hannes Schmelzer Please put this for the current release; this is a bugfix and

Re: [U-Boot] [PATCH] arch-mx6: fix MX6_PAD_DECLARE macro to work with MX6 duallite

2016-07-11 Thread Stefano Babic
On 22/06/2016 12:07, Hannes Schmelzer wrote: > if we build for an i.mx6 (d)ual(l)ite CONFIC_MX6DL we shall use > MX6DL_PAD instead the common MX6_PAD. > > Signed-off-by: Hannes Schmelzer > --- > > arch/arm/include/asm/arch-mx6/mx6-pins.h | 4 ++-- > 1 file changed, 2

Re: [U-Boot] [PATCH] driver/net/fec: support fixed speed connection

2016-07-11 Thread Stefano Babic
Hi Hannes, On 22/06/2016 12:07, Hannes Schmelzer wrote: > If MAC is directly connected to another MAC (like a switch for example) > we don't need to probe for a phy, autoneogation and so on. We simply > have to setup speed. > > Signed-off-by: Hannes Schmelzer > --- > >

[U-Boot] [PATCH for v2016.07] mkimage -l is broken for images after gpimage

2016-07-11 Thread Stefano Babic
Because a gpimage cannot be detected, a false GP header is printed instead of checking for further image types. Move gpimage as last to be linked, letting check all other image types and printing a GP header just in case no image is detected. Signed-off-by: Stefano Babic ---

Re: [U-Boot] [PATCH] pico-imx6ul: Add USB Host support

2016-07-11 Thread Stefano Babic
On 11/07/2016 14:41, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Jun 13, 2016 at 1:49 PM, Fabio Estevam wrote: >> On Mon, Jun 13, 2016 at 1:01 PM, Vanessa Maegima >> wrote: >>> Add USB host support. >>> >>> Tested by connecting a USB pen drive:

Re: [U-Boot] [PATCH v2] sunxi: Add support for multiple ethadrr-esses

2016-07-11 Thread Ian Campbell
On Mon, 2016-07-11 at 11:02 +0200, Hans de Goede wrote: > > On Sat, 2016-07-09 at 15:12 +0200, Hans de Goede wrote: > > > > > > [...] > > > +static void setup_environment(const void *fdt) > > > > It might be worth adding a commit to this function noting that it > > must > > remain idempotent. >

Re: [U-Boot] drivers/crypto/fsl/Makefile: strange assignment

2016-07-11 Thread Fabio Estevam
Hi Tom, On Fri, May 13, 2016 at 9:30 AM, Tom Rini wrote: > On Thu, May 12, 2016 at 11:22:17PM -0300, Fabio Estevam wrote: >> On Thu, May 12, 2016 at 11:12 PM, Fabio Estevam wrote: >> > Hi Raul, >> > >> > In commit 0200020bc2b8192 ("imx6: Added DEK blob

[U-Boot] [PATCH 1/3] COSMETIC: mmc: sdhci: Add CONFIG_ prefix to SDHCI_READ_STATUS_TIMEOUT

2016-07-11 Thread Lukasz Majewski
This change gives common prefix for SDHCI_READ_STATUS_TIMEOUT. Signed-off-by: Lukasz Majewski --- drivers/mmc/sdhci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 604f18d..aa4cd4f 100644 ---

[U-Boot] [PATCH 2/3] FIX: mmc: sdhci: Board specific definitions for SDHCI CMD and READ TIMEOUTS

2016-07-11 Thread Lukasz Majewski
For some boards - e.g. odroid u3, it is necessary to adjust manually those two timeouts. Exynos4 based boards, which use SDHCI controller to read data from SD cards, have SDHCI_QUIRK_BROKEN_R1B flag set. This quirk requires short timeout values, since in fact it relies on timeout exit, because

[U-Boot] [PATCH 3/3] FIX: mmc: sdhci: exynos4: Define smaller SDHCI timeouts for Exynos4 based boards

2016-07-11 Thread Lukasz Majewski
Those values are necessary to provide SDHCI controller SD card write speed comparable to those before introducing the commit: 29905a451b7ecf86785a4404e926fb14a8daced3. Such adjustments are required on boards with SDHCI's SDHCI_QUIRK_BROKEN_R1B quirk flag set. Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH] pico-imx6ul: Add USB Host support

2016-07-11 Thread Fabio Estevam
Hi Stefano, On Mon, Jun 13, 2016 at 1:49 PM, Fabio Estevam wrote: > On Mon, Jun 13, 2016 at 1:01 PM, Vanessa Maegima > wrote: >> Add USB host support. >> >> Tested by connecting a USB pen drive: >> >> => usb start >> starting USB... >> USB0: Port

Re: [U-Boot] [PATCH 2/3] ARM: board: cm_fx6: fixup mtd partitions in the fdt

2016-07-11 Thread Christopher Spinrath
Hi Nikita, On 10.07.2016 09:52, Nikita Kiryanov wrote: Hi Christopher, On Thu, Jul 07, 2016 at 03:30:25PM +0200, Christopher Spinrath wrote: Hi Nikita, On 07/07/2016 10:53 AM, Nikita Kiryanov wrote: On Wed, Jun 22, 2016 at 07:17:53PM +0300, Igor Grinberg wrote: On 06/19/2016 06:44 PM,

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-11 Thread Otavio Salvador
On Mon, Jul 11, 2016 at 3:51 AM, Alexey Brodkin wrote: > On Sat, 2016-07-09 at 10:02 -0300, Otavio Salvador wrote: >> On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin >> wrote: >> > >> > Recently I started to notice that u-boot.img built

[U-Boot] [PATCH] bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state

2016-07-11 Thread Hector Palacios
The function fixup_silent_linux() is called in status BOOTM_STATE_LOADOS to silence Linux if variable 'silent' is set. Currently only the 'bootm' command state machine contains BOOTM_STATE_LOADOS, but others like 'booti' or 'bootz' commands do not. This means silent Linux does not work with these

[U-Boot] [PATCH v2] rockchip: add basic support for evb-rk3288 board

2016-07-11 Thread Ziyuan Xu
From: Xu Ziyuan evb-3288 board RK3288-based development board with 2 USB ports, HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet. It also includes on-board 8G eMMC and 2GB of SDRAM. Expansion connector provide access to display pins, I2C, SPI, UART and GPIOs.

Re: [U-Boot] [PATCH 1/4] sunxi: Use BROM stored boot_media value to determine our boot-source

2016-07-11 Thread Hans de Goede
Hi, On 10-07-16 10:17, Ian Campbell wrote: On Sat, 2016-07-09 at 22:22 +0200, Hans de Goede wrote: Now that we know that the BROM stores a value indicating the boot- source at the beginning of SRAM, use that instead of trying to recreate the BROM's boot probing. Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH v2] sunxi: Add support for multiple ethadrr-esses

2016-07-11 Thread Hans de Goede
Hi, On 10-07-16 10:15, Ian Campbell wrote: On Sat, 2016-07-09 at 15:12 +0200, Hans de Goede wrote: Currently we fill ethaddr with a fixed unique address based on the SoCs serial (from the sid) to make sure that boards which use the integrated emac / gmac get a fixed mac rather then a random

Re: [U-Boot] [PATCH] driver: fsl_qspi: disable AHB buffer prefetch

2016-07-11 Thread Yunhui Cui
On 07/07/2016 10:55 PM, York wrote: > On 07/07/2016 12:52 AM, Yunhui Cui wrote: > > > >> On 07/07/2016 1:01 AM, york sun wrote: > >> On 07/03/2016 08:27 PM, Yunhui Cui wrote: > >>> From: Yunhui Cui > >>> > >>> A-009282: QuadSPI: QuadSPI data pre-fetch can result in incorrect

Re: [U-Boot] [PATCH v4 09/13] libfdt: Add fdt_getprop_namelen_w

2016-07-11 Thread Maxime Ripard
On Wed, Jul 06, 2016 at 11:22:48AM +1000, David Gibson wrote: > On Tue, Jul 05, 2016 at 10:26:42AM +0200, Maxime Ripard wrote: > > Add a function to retrieve a writeable property only by the first > > characters of its name. > > > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH v4 07/13] libfdt: Fix separator spelling

2016-07-11 Thread Maxime Ripard
Hi David, On Wed, Jul 06, 2016 at 11:16:41AM +1000, David Gibson wrote: > On Tue, Jul 05, 2016 at 10:26:40AM +0200, Maxime Ripard wrote: > > The function fdt_path_next_seperator had an obvious mispell. Fix it. > > > > Signed-off-by: Maxime Ripard > > Huh..

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-11 Thread Kever Yang
Hi Simon, On 07/09/2016 10:39 PM, Simon Glass wrote: Hi Kever, On 7 July 2016 at 20:45, Kever Yang wrote: The grf setting for rkpwm is only need in rk3288, other SoCs like RK3399 which also use rkpwm do not need set the grf, let's add a MACRO to make the code only

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-11 Thread Alexey Brodkin
Hi Otavio, On Sat, 2016-07-09 at 10:02 -0300, Otavio Salvador wrote: > On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin > wrote: > > > > Recently I started to notice that u-boot.img built for Wandboard > > by some toolchains becomes so large that it basically overlaps

Re: [U-Boot] [PATCH 1/2] spi: ti_qspi: Fix failure on multiple READ_ID cmd

2016-07-11 Thread Jagan Teki
On 11 July 2016 at 11:00, Vignesh R wrote: > Populating QSPI_RD_SNGL bit(0x1) in priv->cmd means that value > QSPI_INVAL (0x4) is not written to CMD field of QSPI_SPI_CMD_REG in > ti_qspi_cs_deactivate(). Therefore CS is never deactivated between > successive READ ID which