[U-Boot] [PATCH] malloc_simple: Add simple malloc free function

2016-08-02 Thread Chin Liang See
Enable a simple malloc implementation which will minimize memory usage prior relocation. This is essential as memory available prior location is internal memory and limited in size. This implementation will stored last 2 usage of malloc. When free is invoked and the free address matched, we shall

[U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-02 Thread Alban Bedel
Commit 147271209a9d ("net: asix: fix operation without eeprom") added a special handling for ASIX 88772B that enable another type of header. This break the driver in DM mode as the extra handling needed in the receive path is missing. However this new header mode is not required and only seems to

[U-Boot] [RESEND PATCH 1/2] rockchip: add basic partitions support for rk3288

2016-08-02 Thread Ziyuan Xu
For compatibility with distro boot, fastboot, and mount the mmc deivce to PC via usb mass storage feature, GPT partitions are essential. You should write the partitions to mmc device prior to use above feature. => gpt write mmc 1 $partitions GPT successfully written to block device! success!

[U-Boot] [RESEND PATCH 2/2] rockchip: add usb mass storage feature support for rk3288

2016-08-02 Thread Ziyuan Xu
Enable ums feature for rk3288 boards, so that we can mount the mmc device to PC. Signed-off-by: Ziyuan Xu --- include/configs/rk3288_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index

[U-Boot] [PATCH 2/2] rockchip: add usb mass storage feature support for rk3288

2016-08-02 Thread Ziyuan Xu
Enable ums feature for rk3288 boards, so that we can mount the mmc device to PC. Signed-off-by: Ziyuan Xu --- include/common.h| 4 +++- include/configs/rk3288_common.h | 4 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/2] rockchip: add basic partitions support for rk3288

2016-08-02 Thread Ziyuan Xu
For compatibility with distro boot, fastboot, and mount the mmc deivce to PC via usb mass storage feature, GPT partitions are essential. You should write the partitions to mmc device prior to use above feature. => gpt write mmc 1 $partitions GPT successfully written to block device! success!

Re: [U-Boot] A command to discard saved environments?

2016-08-02 Thread Masahiro Yamada
Hi Fabio, 2016-08-03 12:34 GMT+09:00 Fabio Estevam : > On Wed, Aug 3, 2016 at 12:31 AM, Masahiro Yamada > wrote: >> Hi. >> >> >> I am looking for a command >> that discards the saved environments, > > Does this command help? > > => env default

Re: [U-Boot] A command to discard saved environments?

2016-08-02 Thread Fabio Estevam
On Wed, Aug 3, 2016 at 12:31 AM, Masahiro Yamada wrote: > Hi. > > > I am looking for a command > that discards the saved environments, Does this command help? => env default -f -a Regards, Fabio Estevam ___ U-Boot

[U-Boot] A command to discard saved environments?

2016-08-02 Thread Masahiro Yamada
Hi. I am looking for a command that discards the saved environments, and takes me back to the "*** Warning - bad CRC, using default environment" state. In my case, the environment data is saved at sector 0x400 of the MMC device on my board. So, I can just do > mmc erase 400 10 But,

[U-Boot] [Patch v2] net: fm: fix spi flash probe for using driver model

2016-08-02 Thread Gong Qianyu
The current code would always use the speed and mode set by CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using SPI driver model it should get the values from DT. Signed-off-by: Gong Qianyu Reviewed-by: Jagan Teki --- v2: - Revised the comments

Re: [U-Boot] [PATCH] crypto/fsl: Update blob cmd to accept 64bit addresses

2016-08-02 Thread york sun
On 07/14/2016 04:09 AM, Sumit Garg wrote: > Update blob cmd to accept 64bit source, key modifier and destination > addresses. Also correct output result print format for fsl specific > implementation of blob cmd. > > Signed-off-by: Sumit Garg > --- > cmd/blob.c

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

2016-08-02 Thread york sun
On 07/12/2016 07:57 PM, Yunhui Cui wrote: > 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

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Update erratum workaround for A006379

2016-08-02 Thread york sun
On 08/01/2016 09:04 AM, York Sun wrote: > Update erratum workaround for A006379 to set register CPCHDBCR0 > with value 0x001e, replacing the old value 0x003c. > > Signed-off-by: York Sun > Reported-by: Dave Liu > --- >

Re: [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET

2016-08-02 Thread york sun
On 07/19/2016 01:36 AM, Prabhakar Kushwaha wrote: > qixis_reset altbank usagge ~QIXIS_LBMAP_MASK in code. So define > inverse value QIXIS_LBMAP_MASK. > > Also, update QIXIS_RST_CTL_RESET value to keep RST_CTL[REQ_MOD] > as 0b11 i.e. PORESET during qixis_reset > > Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH] board/freescale: Update MAINTAINERS files

2016-08-02 Thread york sun
On 07/29/2016 08:47 AM, York Sun wrote: > Update maintainers for secure boot targets. > > Signed-off-by: York Sun > --- > > board/freescale/b4860qds/MAINTAINERS | 2 +- > board/freescale/bsc9132qds/MAINTAINERS | 2 +- > board/freescale/corenet_ds/MAINTAINERS | 2 +- >

[U-Boot] Please pull u-boot-fsl-qoriq master

2016-08-02 Thread york sun
Tom, The following changes since commit 26fb8db0f4d1e7c118b5e8f3a8849f359b91c166: Merge git://git.denx.de/u-boot-rockchip (2016-07-31 20:31:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [PATCH] armv8: ls1043a: add pxe commands

2016-08-02 Thread york sun
On 07/15/2016 02:28 AM, Wenbin Song wrote: > Configure to support U-boot's pxe. > > Signed-off-by: Wenbin Song > --- > include/configs/ls1043a_common.h | 2 ++ > 1 file changed, 2 insertions(+) Minor change to subject. Applied to fsl-qoriq master, awaiting upstream. Thanks.

Re: [U-Boot] [PATCH] ARMv8/fsl-ppa: Consolidate PPA image stored-media flag for XIP

2016-08-02 Thread york sun
On 07/29/2016 04:37 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The PPA binary may be stored on QSPI flash instead of NOR. > So, deprecated CONFIG_SYS_LS_PPA_FW_IN_NOR in favour of > CONFIG_SYS_LS_PPA_FW_IN_XIP to prevent fragmentation of code > by addition of a new

Re: [U-Boot] [PATCH 2/3] arm/PSCI: Fixed the backward compatiblity issue

2016-08-02 Thread york sun
On 07/29/2016 03:37 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Appended the compatible strings of old version PSCI to the latest version > supported. And there are some psci functions' property must be added to DT > only for psci version 0.1, such as 'cpu_on' 'cpu_off'

Re: [U-Boot] [PATCH 3/3] arm/PSCI: Added support for creating ARMv7 PSCI version 1.0 DT node

2016-08-02 Thread york sun
On 07/29/2016 03:37 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- > arch/arm/lib/psci-dt.c | 2 ++ > 1 file changed, 2 insertions(+) Applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 1/2] armv8: ls1012a: Enable DDR row-bank-column decoding

2016-08-02 Thread york sun
On 07/19/2016 03:24 AM, Prabhakar Kushwaha wrote: > Enable DDR row-bank-column decoding to decode DDR address as > row-bank-column instead of bank-row-column for improving > performance of serial data transfers. > > Signed-off-by: Calvin Johnson > Signed-off-by: Prabhakar

Re: [U-Boot] [PATCH 2/2] armv8: ls1012a: Update Refresh cycle for DDR

2016-08-02 Thread york sun
On 07/19/2016 03:24 AM, Prabhakar Kushwaha wrote: > Refresh cycle value must be selected based on the frequency > of DDR. tREFI = 7.8 us as per JEDEC. The value for MDREF[REF_CNT] > should be based on round up (tREFI/tCK) formula. For 500MHz, mdref > value should be 0x0f3c8000. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/3] arm/PSCI: Removed unused code

2016-08-02 Thread york sun
On 07/29/2016 03:37 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Identify the PSCI node only by its name, so removed the code finding > it by compatible string. > > Signed-off-by: Hou Zhiqiang > --- > arch/arm/lib/psci-dt.c | 17 -

Re: [U-Boot] [PATCH] driver/ddr/fsl: Fix timing_cfg_2

2016-08-02 Thread york sun
On 07/29/2016 09:02 AM, York Sun wrote: > Commit 5605dc6 tried to fix wr_lat bit in timing_cfg_2, but the > change was wrong. wr_lat has 5 bits with MSB at [13] and lower > 4 bits at [9:12], in big-endian convention. > > Signed-off-by: York Sun > Reported-by: Thomas Schaefer

[U-Boot] 2016.07 regression: kwboot does not work on Kirkwood

2016-08-02 Thread Simon Baatz
Hi, I just tried to boot a freshly built u-boot.kwb using UART boot on a Kirkwood box (IB-NAS6210), but to no avail. An old backup image does not boot either. After scratching my head for quite some time, I found this change in commit f4db6c976cf ("arm: mvebu: Add runtime detection of UART

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Stefan Agner
On 2016-08-02 10:55, Marek Vasut wrote: > On 08/02/2016 07:01 PM, Stefan Agner wrote: >> On 2016-08-02 08:56, Marek Vasut wrote: >>> On 08/02/2016 05:47 PM, Stefan Agner wrote: On 2016-08-02 02:38, Marek Vasut wrote: > On 08/02/2016 09:07 AM, Stefan Agner wrote: >> From: Stefan Agner

Re: [U-Boot] [PATCH 2/2] fs/fat: Optimizes memory size with single global variable instead of 3

2016-08-02 Thread Benoît Thébaudeau
Hi, On Tue, Aug 2, 2016 at 8:53 PM, Stephen Warren wrote: > On 07/28/2016 12:11 AM, Tien Fong Chee wrote: >> >> Single 64KB get_contents_vfatname_block global variable would be used for >> all FAT implementation instead of allocating additional two global >> variables >>

Re: [U-Boot] [PATCH v2] mkimage: Fix argument parsing with signature comment

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 06:57:14PM +, Karl Beldan wrote: > Inform getopt that '-c' requires a parameter. > > Fixes: a02221f29deb ("mkimage: Convert to use getopt()") > Signed-off-by: Karl Beldan Reviewed-by: Tom Rini -- Tom signature.asc

[U-Boot] [PATCH v2] mkimage: Fix argument parsing with signature comment

2016-08-02 Thread Karl Beldan
Inform getopt that '-c' requires a parameter. Fixes: a02221f29deb ("mkimage: Convert to use getopt()") Signed-off-by: Karl Beldan --- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index

Re: [U-Boot] [PATCH 2/2] fs/fat: Optimizes memory size with single global variable instead of 3

2016-08-02 Thread Stephen Warren
On 07/28/2016 12:11 AM, Tien Fong Chee wrote: Single 64KB get_contents_vfatname_block global variable would be used for all FAT implementation instead of allocating additional two global variables which are get_denfromdir_block and do_fat_read_at_block. This implementation can help in saving up

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-08-02 Thread york sun
On 07/29/2016 04:00 AM, Qianyu Gong wrote: > Hi Jagan, > > Thanks. I'll fix it in the next version. > Qianyu, Is there anything you need to fix? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-02 Thread Stephen Warren
On 08/01/2016 04:54 PM, Tom Rini wrote: As part of testing booting Linux kernels on Rockchip devices, it was discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for some cases incomplete isb definitions. This was causing a failure to boot of the Linux kernel. In order to solve

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Marek Vasut
On 08/02/2016 07:01 PM, Stefan Agner wrote: > On 2016-08-02 08:56, Marek Vasut wrote: >> On 08/02/2016 05:47 PM, Stefan Agner wrote: >>> On 2016-08-02 02:38, Marek Vasut wrote: On 08/02/2016 09:07 AM, Stefan Agner wrote: > From: Stefan Agner > > The page

Re: [U-Boot] [PATCH] configs: Fix mmc rescan misuses

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:36:17AM +, Karl Beldan wrote: > This follows 9fd383724cf4 ("mmc: don't allow extra cmdline arguments"), > and affects omapl138_lcdk and omap3_evm_quick_mmc. > > Signed-off-by: Karl Beldan Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH] mkimage: Fix argument parsing with signature comment

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 08:49:55AM +, Karl Beldan wrote: > From: Karl Beldan > > Signed-off-by: Karl Beldan > --- > tools/mkimage.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/mkimage.c

Re: [U-Boot] [PATCH v3 3/5] ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:26AM +0530, Vignesh R wrote: > PCF8575 does not have any registers hence, offset field needs to be > ignored for i2c read/write. Therefore populate u-boot,i2c-offset-len > with 0 in PCF8575 DT nodes. > > Signed-off-by: Vignesh R Reviewed-by: Tom

Re: [U-Boot] [PATCH v3 2/5] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:25AM +0530, Vignesh R wrote: > On DRA7, pcf chip present at address 0x21 on i2c1, is used to > switch between cpsw slave0 and slave1. Hence, enable PCF > driver for the same. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 5/5] configs: k2l_evm: add random eth address support

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:15PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 4/5] configs: k2e_evm: add random eth address support

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:14PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 2/5] drivers: net: keystone_net: add support for multi slave ethernet

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:12PM +0530, Mugunthan V N wrote: > Keystone net can have multiple ethernet slaves, currently only > slave 1 is supported by the driver. Register multiple slaves as > individual ethernets to network framework. > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH 1/5] drivers: net: keystone_net: fix line termination with semi-colon

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:11PM +0530, Mugunthan V N wrote: > Each line should be terminated by semi-colon. It was not caught > earlier as there is a proper statement. Fix it by changing the > comma with semi-colon. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 3/5] configs: k2hk_evm: add random eth address support

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:13PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-08-02 Thread Tom Rini
On Tue, Aug 02, 2016 at 08:25:04AM +0200, Michal Simek wrote: > Hi Tom, > > please pull these patches to your tree. There are two critical > patches. One dm-pre-reloc which get ZynqMP boards back to live. > And the second about stack pointer init. > > Thanks, > Michal > > > The following

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

2016-08-02 Thread Tom Rini
On Mon, Aug 01, 2016 at 12:24:18PM -0600, Simon Glass wrote: > Hi Tom, > > Here's the buildman updates and an fdt patch. If you end up dropping > the last two patches (MAKEALL removal) that's fine. But I've included > them for now. > > > The following changes since commit

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2016-08-02 Thread Tom Rini
On Mon, Aug 01, 2016 at 12:35:20PM +0900, Jaehoon Chung wrote: > Update the mmc maintainer from Pantelis to me. > > Acked-by: Pantelis Antoniou > Signed-off-by: Jaehoon Chung Thanks a lot Pantelis and welcome aboard Jaehoon! Applied to

Re: [U-Boot] [PATCH 9/9] test: Adjust run_command_list() to return a list of strings

2016-08-02 Thread Stephen Warren
On 07/31/2016 05:35 PM, Simon Glass wrote: Return one string for each command that was executed. This seems cleaner. The series, Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 7/9] test: vboot: Put each test variant in its own section

2016-08-02 Thread Stephen Warren
On 07/31/2016 05:35 PM, Simon Glass wrote: Use 'cons.log.section' feature to split up the test output. This makes it easier to read. Suggested-by: Stephen Warren Signed-off-by: Simon Glass The same nit I mentioned before applies to a few other commits

Re: [U-Boot] [PATCH 5/9] test: Drop the cmd() function

2016-08-02 Thread Stephen Warren
On 07/31/2016 05:35 PM, Simon Glass wrote: Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments. Suggested-by: Stephen Warren Signed-off-by: Simon Glass Nit: Drop the blank line

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Stefan Agner
On 2016-08-02 08:56, Marek Vasut wrote: > On 08/02/2016 05:47 PM, Stefan Agner wrote: >> On 2016-08-02 02:38, Marek Vasut wrote: >>> On 08/02/2016 09:07 AM, Stefan Agner wrote: From: Stefan Agner The page table is maintained by the CPU, hence it is safe to

Re: [U-Boot] tegra124 jetson-tk1 ethernet problems.

2016-08-02 Thread Stephen Warren
On 08/01/2016 09:20 PM, Peter Chubb wrote: Hi Folks, Since patch 96350f729c42 "dm: tegra: net: Convert tegra boards to driver model for Ethernet" booting via dhcp has been broken on the Jetson TK1. Best to Cc the net and DM maintainers (Joe Hershberger and Simon Glass) on this to

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Marek Vasut
On 08/02/2016 05:47 PM, Stefan Agner wrote: > On 2016-08-02 02:38, Marek Vasut wrote: >> On 08/02/2016 09:07 AM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> The page table is maintained by the CPU, hence it is safe to always >>> align cache flush to a whole cache

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Stefan Agner
On 2016-08-02 02:38, Marek Vasut wrote: > On 08/02/2016 09:07 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> The page table is maintained by the CPU, hence it is safe to always >> align cache flush to a whole cache line size. This allows to use >>

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-08-02 Thread Marek Vasut
On 08/02/2016 03:12 PM, Paul Burton wrote: > On 01/08/16 19:36, Marek Vasut wrote: >> On 07/31/2016 07:32 PM, Paul Burton wrote: >>> On 31/07/16 16:56, Marek Vasut wrote: On 07/29/2016 10:36 AM, Paul Burton wrote: [...] >>> +#ifndef __ASSEMBLY__ >>> + >>> +#include >>> +

[U-Boot] [PATCH v5 11/11] boston: Introduce support for the MIPS Boston development board

2016-08-02 Thread Paul Burton
This patch introduces support for building U-Boot to run on the MIPS Boston development board. This is a board built around an FPGA & an Intel EG20T Platform Controller Hub, used largely as part of the development of new CPUs and their software support. It is essentially the successor to the older

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-08-02 Thread Paul Burton
On 01/08/16 19:36, Marek Vasut wrote: On 07/31/2016 07:32 PM, Paul Burton wrote: On 31/07/16 16:56, Marek Vasut wrote: On 07/29/2016 10:36 AM, Paul Burton wrote: [...] +#ifndef __ASSEMBLY__ + +#include + +#define BUILD_PLAT_ACCESSORS(offset, name)\ +static inline uint32_t

Re: [U-Boot] [PATCH] serial: Enable checking UART is ready for console based on device tree

2016-08-02 Thread Marek Vasut
On 08/01/2016 03:01 AM, Simon Glass wrote: > Hi, > > On 26 July 2016 at 04:55, Tien Fong Chee wrote: >> This patch would do checking on device tree to ensure the UART exist >> in the system and ready for console before setting have_console to true. >> This is required to avoid

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-02 Thread Sandy Patterson
Works for me on rock2. Thanks for the fix. Acked-by: Sandy Patterson On Mon, Aug 1, 2016 at 8:39 PM, Tom Rini wrote: > On Tue, Aug 02, 2016 at 08:37:19AM +0800, Ziyuan Xu wrote: > > Hi Tom, > > > > > > On 2016年08月02日 06:54, Tom Rini wrote: > >

Re: [U-Boot] [PATCH v2 0/3] Add USB EHCI support for ls1012aqds

2016-08-02 Thread Rajesh Bhagat
> > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Friday, June 10, 2016 9:40 AM > > To: Rajesh Bhagat ; u-boot@lists.denx.de > > Cc: Sriram Dash ; albert.u.b...@aribaud.net; > > prabha...@freescale.com; york sun

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-02 Thread Keerthy
Hi Alex, On Tuesday 02 August 2016 07:24 AM, Keerthy wrote: On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: On 01 Aug 2016, at 11:07, Keerthy wrote: Hi Alexander, I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not

Re: [U-Boot] [PATCH 4/5] fsl: csu: add an API to set R/W permission to PCIe

2016-08-02 Thread Zhiqiang Hou
Hi All, Drop this patch. > -Original Message- > From: Zhiqiang Hou [mailto:zhiqiang@nxp.com] > Sent: 2016年8月2日 19:03 > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; york sun > ; w...@denx.de; Prabhakar Kushwaha > ; Huan Wang

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Yangbo Lu
Thank you, Jaehoon. So I will send the new version later :) Best regards, Yangbo Lu > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Tuesday, August 02, 2016 3:13 PM > To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini > Cc: Pantelis Antoniou >

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Yangbo Lu
Hi Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Thursday, July 28, 2016 4:40 PM > To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini > Cc: Pantelis Antoniou > Subject: Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC >

[U-Boot] [PATCH 7/7] net/ethoc: implement MDIO bus and support phylib

2016-08-02 Thread Max Filippov
Implement MDIO bus read/write functions, initialize the bus and scan for the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps. Cc: Michal Simek Signed-off-by: Max Filippov --- drivers/net/ethoc.c | 152

[U-Boot] [PATCH 1/7] net/ethoc: add Kconfig entry for the driver

2016-08-02 Thread Max Filippov
Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the only board configuration that uses it and put it into that board's defconfig. Cc: Stefan Kristiansson Signed-off-by: Max Filippov --- configs/openrisc-generic_defconfig

[U-Boot] [PATCH 5/7] net/ethoc: don't mix virtual and physical addresses

2016-08-02 Thread Max Filippov
Addresses used in buffer descriptors and passed in platform data or device tree are physical. Addresses used by CPU to access packet data and registers are virtual. Don't mix these addresses and use virt_to_phys for translation. Signed-off-by: Max Filippov ---

[U-Boot] [PATCH 6/7] net/ethoc: support private memory configurations

2016-08-02 Thread Max Filippov
The ethoc device can be configured to have a private memory region instead of having access to the main memory. In that case egress packets must be copied into that memory for transmission and pointers to that memory need to be passed to net_process_received_packet or returned from the recv

[U-Boot] [PATCH 4/7] net/ethoc: support device tree

2016-08-02 Thread Max Filippov
Add .of_match table and .ofdata_to_platdata callback to allow for ethoc device configuration from the device tree. Signed-off-by: Max Filippov --- drivers/net/ethoc.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/ethoc.c

[U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-02 Thread Max Filippov
Extract reusable parts from ethoc_init, ethoc_set_mac_address, ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. Add U_BOOT_DRIVER, eth_ops structure and implement required methods. Signed-off-by: Max Filippov --- drivers/net/ethoc.c |

[U-Boot] [PATCH 0/7] net/ethoc improvements

2016-08-02 Thread Max Filippov
Hello, this series does the following improvements to the OpenCores 10/100 Mbps driver: - add Kconfig symbol for the driver; - add DM_ETH support; - add device tree support; - add optional phylib support; - add support for configurations with private packet memory; - clean up virtual/physical

[U-Boot] [PATCH 2/7] net/ethoc: use priv instead of dev internally

2016-08-02 Thread Max Filippov
Don't use physical base address of registers directly, ioremap it first. Save pointer in private struct ethoc and use that struct in all internal functions. Signed-off-by: Max Filippov --- drivers/net/ethoc.c | 111 ++-- 1 file

[U-Boot] [PATCHv2 3/5] fsl: csu: add an API to set individual device access permission

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Add this API to make the individual device is able to be set to the specified permission. Signed-off-by: Hou Zhiqiang --- V2 - no change board/freescale/common/ns_access.c | 34 --

[U-Boot] [PATCH 4/5] fsl: csu: add an API to set R/W permission to PCIe

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- V2 - mv disable_pcie_ns_access() to set_pcie_ns_access(). .../include/asm/arch-fsl-layerscape/ns_access.h| 1 + board/freescale/common/ns_access.c | 28 ++

[U-Boot] [PATCHv2 4/5] fsl: csu: add an API to set R/W permission to PCIe

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- .../include/asm/arch-fsl-layerscape/ns_access.h| 1 + board/freescale/common/ns_access.c | 28 ++ include/fsl_csu.h | 1 + 3

[U-Boot] [PATCHv2 5/5] fsl-layerscape: Add workaround for PCIe erratum A010315

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang As the access to serders protocol unselected PCIe controller will hang. So disable the R/W permission to unselected PCIe controller including its CCSR, IO space and memory space according to the serders protocol field of RCW. Signed-off-by: Hou Zhiqiang

[U-Boot] [PATCHv2 1/5] fsl: serdes: ensure accessing the initialized maps of serdes protocol

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Up to now, the function is_serdes_configed() doesn't check if the map of serdes protocol is initialized before accessing it. The function is_serdes_configed() will get wrong result when it was called before the serdes protocol maps initialized. As the

[U-Boot] [PATCHv2 2/5] arm: fsl-layerscape: move forward the non-secure access permission setup

2016-08-02 Thread Zhiqiang Hou
From: Hou Zhiqiang Move forward the basic non-secure access enable operation, so the subsequent individual device access permission can override it. And collect the dispersed callers in board level, and then move them to SoC level. Signed-off-by: Hou Zhiqiang

[U-Boot] [PATCH] configs: Fix mmc rescan misuses

2016-08-02 Thread Karl Beldan
This follows 9fd383724cf4 ("mmc: don't allow extra cmdline arguments"), and affects omapl138_lcdk and omap3_evm_quick_mmc. Signed-off-by: Karl Beldan --- include/configs/omap3_evm_quick_mmc.h | 2 +- include/configs/omapl138_lcdk.h | 2 +- 2 files changed, 2

[U-Boot] [PATCH] mkimage: Fix argument parsing with signature comment

2016-08-02 Thread Karl Beldan
From: Karl Beldan Signed-off-by: Karl Beldan --- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index d993958..3c594a0 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c

[U-Boot] [PATCH] mkimage: Fix argument parsing with signature comment

2016-08-02 Thread Karl Beldan
Signed-off-by: Karl Beldan --- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index d993958..3c594a0 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -140,7 +140,7 @@ static void process_args(int

[U-Boot] Regarding source code of u-boot

2016-08-02 Thread kirti kumbhar
Sir, I have download the source of u-boot,but there is one problem when I installing cross complier there are many dependency of assembly code I try to remove it but not working correctly so,sir please send some command or source code. Thanks & Regards Kirti D Kumbhar.

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-08-02 Thread Marek Vasut
On 07/28/2016 06:01 PM, york sun wrote: > On 07/28/2016 04:34 AM, Marek Vasut wrote: >> On 07/27/2016 08:00 PM, york sun wrote: >>> On 07/21/2016 04:45 AM, Marek Vasut wrote: On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: > Hi All, > > Any Comments? York, please check

Re: [U-Boot] [PATCH v2 0/3] usb: arrange Kconfig entries for USB host support

2016-08-02 Thread Marek Vasut
On 07/31/2016 05:16 PM, Masahiro Yamada wrote: > We have CONFIG_USB_GADGET, while we do not have an option to > turn on/off USB host support. > > In Linux, CONFIG_USB is used to enable the USB host support, > but it is used in U-Boot to enable the whole USB sub-system. > So, as an alternative,

Re: [U-Boot] [PATCH 2/3] arm/PSCI: Fixed the backward compatiblity issue

2016-08-02 Thread Zhiqiang Hou
Hi York, Thanks for your comments! > -Original Message- > From: york sun > Sent: 2016年8月2日 0:10 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; hdego...@redhat.com; w...@csie.org; Hongbo > Zhang ; b.galv...@gmail.com >

[U-Boot] [v2, 5/5] arch/arm, arch/powerpc: enable workaround for eSDHC erratum A009620

2016-08-02 Thread Yangbo Lu
This patch is to enable workaround for eSDHC erratum A009620. All the affected platforms include PowerPC(P1010/P2020/P5020/P5040/T1024/T1040/ T2080/T4240) and ARM(LS1021A/LS1043A/LS2080A). Signed-off-by: Yangbo Lu --- Changes for v2: - Added this patch - Moved

[U-Boot] [v2, 2/5] mmc: send STOP command when the READ/WRITE commands fail

2016-08-02 Thread Yangbo Lu
The STOP command should be sent to stop data transfer when the READ/WRITE commands fail. Otherwise, any subsequent command will fail to be sent. Signed-off-by: Yangbo Lu --- Changes for v2: - None --- drivers/mmc/mmc.c | 28 +++-

[U-Boot] [v2, 4/5] mmc: add workaround for eSDHC erratum A009620

2016-08-02 Thread Yangbo Lu
Erratum Title: Data timeout error not getting set in case of command with busy response (R1b) as well as for busy period after last write block transfer. Description: In the event that a busy timeout occurs for a command with a busy response (e.g. R1b response) as well as busy period after the

Re: [U-Boot] [PATCH] arm: cache: always flush cache line size for page table

2016-08-02 Thread Marek Vasut
On 08/02/2016 09:07 AM, Stefan Agner wrote: > From: Stefan Agner > > The page table is maintained by the CPU, hence it is safe to always > align cache flush to a whole cache line size. This allows to use > mmu_page_table_flush for a single page table, e.g. when

[U-Boot] [v2, 3/5] mmc: fsl_esdhc: add error recovery for data transfer with Auto CMD12

2016-08-02 Thread Yangbo Lu
For data transfer with Auto CMD12, the host will not send an Auto CMD12 to stop when the transfer fails. So this patch adds a flag to indicate the READ/WRITE command error, and makes the driver continue to send a CMD12 manually. Signed-off-by: Yangbo Lu --- Changes for v2:

[U-Boot] [v2, 1/5] mmc: fsl_esdhc: don't set XFERTYP_RSPTYP_48_BUSY for CMD with busy response

2016-08-02 Thread Yangbo Lu
For CMD with busy response, the eSDHC driver would poll DAT0 until CMD completion rather than polling IRQSTAT. So, don't set XFERTYP_RSPTYP_48_BUSY to avoid interrupts (DTOE or TC) in IRQSTAT. Signed-off-by: Yangbo Lu --- Changes for v2: - None ---

[U-Boot] [v2] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Yangbo Lu
When the MMC framework was added in u-boot, the mmc_go_idle was added before mmc_send_op_cond_iter in function mmc_send_op_cond annotating that some cards seemed to need this. Actually, we still need to do this in function mmc_complete_op_cond for those cards. This has been verified on Micron

[U-Boot] [PATCH] imx_watchdog: Do not assert WDOG_B on watchdog init

2016-08-02 Thread Ross Parker
Currently the driver asserts WDOG_B by clearing WCR_WDA bit when enabling the watchdog. Do not clear WCR_WDA. Signed-off-by: Ross Parker Cc: Stefano Babic --- drivers/watchdog/imx_watchdog.c | 2 +- include/fsl_wdog.h | 1 + 2 files changed,

Re: [U-Boot] Disable command at runtime

2016-08-02 Thread Petr Kubizňák
Dear Wolfgang, On 08/01/2016 10:05 PM, Wolfgang Denk wrote: How could that ever be "safe" - in the sense of protecting against an attacker? How could you perform such a "switch" between modes? By setting some bit somewhere. And it has to be in some persistent storage. And the source code of

Re: [U-Boot] Disable command at runtime

2016-08-02 Thread Petr Kubizňák
Dear ladis, Thanks for your comment, I didn't really know about the standalone applications mechanism, it might surely be useful. Best Regards, Petr On 08/01/2016 10:38 PM, Ladislav Michl wrote: You can still download U-Boot standalone application implementing whatever you need to do in

Re: [U-Boot] [PATCH v2 0/4] Add support for TI PCF8575 I2C GPIO expander

2016-08-02 Thread Vignesh R
On Friday 29 July 2016 04:50 PM, Vignesh R wrote: > This series adds support for TI's PCF8575 I2C GPIO expander[1] based on > Linux Kernel driver for the same. Also adds support for ethernet to use > new PCF8575 driver to select appropriate cpsw slaves on dra72. > > Depends on I2C DM support

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix cache alignment for cache lines >32

2016-08-02 Thread Stefano Babic
Hi Stefan, On 02/08/2016 08:55, Stefan Agner wrote: > From: Stefan Agner > > Currently the command buffer gets allocated with a size of 32 bytes. > This causes warning messages on systems with cache lines bigger than > 32 bytes: > CACHE: Misaligned operation at range

[U-Boot] [PATCH v4] nitrogen6x : Use generic distro configuration

2016-08-02 Thread Fabien Lahoudere
In order to simplify the use of various images on various media for nitrogen6x, the configuration of the board must follow the generic distro configuration (doc/README.distro). In order to boot your old rootfs, move your kernel and your device tree in /boot/. Then create

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Yangbo Lu
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Tuesday, August 02, 2016 3:18 PM > To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini > Cc: Pantelis Antoniou > Subject: Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC > cards > > On

[U-Boot] [PATCH] cmd: net: flush cache cacheline aligned

2016-08-02 Thread Stefan Agner
From: Stefan Agner Flush loaded data cacheline aligned. This avoids warnings such as CACHE: Misaligned operation at range [8100, 816d0fa8] Signed-off-by: Stefan Agner --- Why do we actually have to flush caches after load? It seems to

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Jaehoon Chung
On 08/02/2016 04:13 PM, Jaehoon Chung wrote: > On 08/02/2016 04:03 PM, Yangbo Lu wrote: >> Hi Jaehoon, >> >> >>> -Original Message- >>> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] >>> Sent: Thursday, July 28, 2016 4:40 PM >>> To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-02 Thread Jaehoon Chung
On 08/02/2016 04:03 PM, Yangbo Lu wrote: > Hi Jaehoon, > > >> -Original Message- >> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] >> Sent: Thursday, July 28, 2016 4:40 PM >> To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini >> Cc: Pantelis Antoniou >> Subject: Re: [U-Boot]

  1   2   >