Re: [U-Boot] [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework

2016-07-19 Thread Sumit Garg
> -Original Message- > From: york sun > Sent: Wednesday, July 20, 2016 3:08 AM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; tr...@konsulko.com; > teddy.r...@gmail.com;

Re: [U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2016-07-19 Thread york sun
On 01/05/2016 01:57 PM, york@nxp.com wrote: > On 01/05/2016 01:38 PM, York Sun wrote: >> >> >> On 01/05/2016 10:40 AM, Bryan Hundven wrote: >>> On Tue, Jan 05, 2016 at 09:01:17AM -0800, York Sun wrote: On 12/23/2015 07:40 AM, Bryan Hundven wrote: > York, > > Just

Re: [U-Boot] [PATCH] configs: rockchip: remove CONFIG_ROCKCHIP_COMMON

2016-07-19 Thread Ziyuan Xu
Hi kever, If you intend to remove CONFIG_ROCKCHIP_COMMON, please also remove it in Kconfig.(arch/arm/mach-rockchip/rk3036/Kconfig) And CONFIG_SPL_ROCKCHIP_COMMON? On 2016年07月20日 11:31, Kever Yang wrote: The CONFIG_ROCKCHIP_COMMON is no use now, remove it. Signed-off-by: Kever Yang

[U-Boot] [PATCH] configs: rockchip: remove CONFIG_ROCKCHIP_COMMON

2016-07-19 Thread Kever Yang
The CONFIG_ROCKCHIP_COMMON is no use now, remove it. Signed-off-by: Kever Yang --- include/configs/rk3036_common.h | 2 -- include/configs/rk3288_common.h | 1 - 2 files changed, 3 deletions(-) diff --git a/include/configs/rk3036_common.h

Re: [U-Boot] [PATCH] powerpc/85xx: Increase fdt address

2016-07-19 Thread Paul Gortmaker
[[PATCH] powerpc/85xx: Increase fdt address] On 19/07/2016 (Tue 17:52) Scott Wood wrote: > Loading the fdt at 0xc0 fails if the uncompressed kernel image is > greater than 12 MiB, which is quite common with modern kernels and > multiplatform defconfigs. Move fdtaddr to 0x1e0 which is

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

2016-07-19 Thread Tom Rini
On Tue, Jul 19, 2016 at 08:29:53PM +, york sun wrote: > Tom, > > The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897: > >Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14 > 17:36:18 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH] spl: fit: Fix the number of bytes read in raw mode

2016-07-19 Thread Tom Rini
On Tue, Jul 19, 2016 at 02:56:14PM +0530, Lokesh Vutla wrote: > In raw mode a full sector is to be read even if image covers part of > a sector. Number of sectors are calculated as ROUND_UP(size)/sec_size by FIT > framework. This calculation assumes that image is at the 0th offset of a > sector,

Re: [U-Boot] [PATCH 1/2] ARM: Add save_boot_params for ARMv8

2016-07-19 Thread Tom Rini
On Mon, Jul 18, 2016 at 05:01:50PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Implement a hook to allow boards to save boot-time CPU state for later > use. When U-Boot is chain-loaded by another bootloader, CPU registers may > contain useful information such as

Re: [U-Boot] [PATCH] usb: Kconfig: Add Kconfigs entry USB_EHCI_ZYNQ

2016-07-19 Thread Marek Vasut
On 07/19/2016 07:11 AM, Siva Durga Prasad Paladugu wrote: > Add Kconfig entry config option for USB_EHCI_ZYNQ > and update the same to enable for all zynq boards > which supports USB > > Signed-off-by: Siva Durga Prasad Paladugu Looks ok, except for a bit below. Michal,

Re: [U-Boot] [PATCH] Revert "T2080QDS/PCIe: Soft Reset PCIe on T2080QDS for down-training issue"

2016-07-19 Thread york sun
On 04/20/2016 06:12 PM, York Sun wrote: > +Roy to comment on iNIC. > > On 04/20/2016 06:05 PM, Qiang Zhao wrote: >> On 04/21/2016 12:58 AM, York Sun wrote: >>> -Original Message- >>> From: York Sun [mailto:york@nxp.com] >>> Sent: Thursday, April 21, 2016 12:58 AM >>> To: Qiang Zhao

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

2016-07-19 Thread york sun
On 07/11/2016 08:00 PM, Yunhui Cui wrote: > 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 > --- >

Re: [U-Boot] [PATCH v5 0/8] ARMv7: PSCI: add PSCI v1.0 support

2016-07-19 Thread york sun
On 07/04/2016 07:26 PM, Hongbo Zhang wrote: > On Mon, Jul 4, 2016 at 9:11 PM, Hans de Goede wrote: >> Hi, >> >> On 04-07-16 09:20, Hongbo Zhang wrote: >>> >>> I said I would send a new iteration of this series, but there are code >>> dependencies/conflicts with Chenyu's work,

[U-Boot] [PATCH] powerpc/85xx: Increase fdt address

2016-07-19 Thread Scott Wood
Loading the fdt at 0xc0 fails if the uncompressed kernel image is greater than 12 MiB, which is quite common with modern kernels and multiplatform defconfigs. Move fdtaddr to 0x1e0 which is just under the ramdiskaddr on most targets. Signed-off-by: Scott Wood Cc:

[U-Boot] [PATCH] powerpc/86xx: Increase boot map size to 256 MiB

2016-07-19 Thread Scott Wood
This is what Linux maps on classic PPC during boot, and modern kernel images don't fit within the current 8 MiB uncompressed limit. Adjust image load addresses to be above this limit to avoid conflicts. Signed-off-by: Scott Wood --- include/configs/MPC8610HPCD.h | 13

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-07-19 Thread york sun
On 04/06/2016 10:46 PM, Wenbin Song wrote: > Hi: York > > Please see my inline comments. > > Best Regards > Wenbin Song > >> -Original Message- >> From: York Sun [mailto:york@nxp.com] >> Sent: Thursday, April 07, 2016 1:18 AM >> To: Wenbin Song ; Mingkai Hu >>

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-07-19 Thread york sun
On 03/30/2016 07:39 PM, Scott Wood wrote: > On Wed, 2016-03-30 at 06:20 +, Qianyu Gong wrote: >> >> Because this muxing can't be changed at runtime. >> Two ways so far to configure it: >> 1. SW6[1-4] switches on ls1043aqds board. >> 2. Modify QIXIS board config registers and reset the

Re: [U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2016-07-19 Thread Bryan Hundven
On Tue, Jul 19, 2016 at 2:50 PM, york sun wrote: > On 01/05/2016 01:57 PM, york@nxp.com wrote: >> On 01/05/2016 01:38 PM, York Sun wrote: >>> >>> >>> On 01/05/2016 10:40 AM, Bryan Hundven wrote: On Tue, Jan 05, 2016 at 09:01:17AM -0800, York Sun wrote: > > >

Re: [U-Boot] [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework

2016-07-19 Thread york sun
On 06/14/2016 04:36 AM, Sumit Garg wrote: > Override jump_to_image_no_args function to include validation of > u-boot image using spl_validate_uboot before jumping to u-boot image. > Also define macros in SPL framework to enable crypto operations. > > Reviewed-by: Aneesh Bansal

[U-Boot] [PATCH] powerpc/86xx: Pass -mcpu=7400 to GCC

2016-07-19 Thread Scott Wood
Without this, GCC uses the toolchain default, which may be incompatible with -maltivec. Signed-off-by: Scott Wood --- arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc86xx/config.mk

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

2016-07-19 Thread york sun
Tom, The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897: Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14 17:36:18 -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] [PATCHv7 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-07-19 Thread york sun
On 06/28/2016 05:29 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > This function assume that the d-cache and MMU has been enabled earlier, > so it just created MMU table in main memory. But the assumption is not > always correct, for example, the early setup is done in

Re: [U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-19 Thread Tom Rini
On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > > kind of a style question but what is the preferred way to define a > board in the sense of what belongs in the defconfig file and what > belongs in the header file? The header files will eventually go away. Most of the

[U-Boot] [Patch v2 6/6] armv8: layerscape: Convert to use common MMU framework

2016-07-19 Thread York Sun
Drop platform code to create static MMU tables. Use common framework to create MMU tables on the run. Tested on LS2080ARDB with secure and non-secure ram scenarios. Signed-off-by: York Sun --- Change log v2: Drop two emails under signed-off line (mistakenly sent by patman)

[U-Boot] [PATCH v3] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-19 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the

Re: [U-Boot] [Resend: U-Boot PATCH v2] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-19 Thread Murali Karicheri
On 07/19/2016 02:35 PM, Murali Karicheri wrote: > commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid > left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. > This, in effect disabled DMA coherency for QM PDSP. > > Given that msmc_k2hkle_common_setup is valid for

[U-Boot] [Resend: U-Boot PATCH v2] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-19 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the

[U-Boot] [U-Boot PATCH v1] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-19 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Fabio Estevam
On Tue, Jul 19, 2016 at 2:58 PM, Adam Duskett wrote: > The original patch that I submitted just changed the dts files to the new > naming > scheme found in 4.1.15. Once I submitted that, And the naming scheme in 4.1.15 vendor kernel is the problem. Make it match the

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Tom Rini
On Tue, Jul 19, 2016 at 02:51:11PM -0300, Fabio Estevam wrote: > On Tue, Jul 19, 2016 at 2:43 PM, Tom Rini wrote: > > > But this does show that we need to step back and think about how to more > > easily do what this is trying to do. If $soc was set as in Stefan's > > patch

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Adam Duskett
> From: feste...@gmail.com > Date: Tue, 19 Jul 2016 14:51:11 -0300 > Subject: Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names. > To: tr...@konsulko.com > CC: adamdusk...@outlook.com; u-boot@lists.denx.de > > On Tue, Jul 19, 2016 at 2:43 PM, Tom Rini wrote: > > > But this

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Adam Duskett
> From: feste...@gmail.com> Date: Tue, 19 Jul 2016 14:46:38 -0300 > Subject: Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names. > To: adamdusk...@outlook.com > CC: u-boot@lists.denx.de; sba...@denx.de > > On Tue, Jul 19, 2016 at 2:40 PM, Adam Duskett wrote: > > >> I

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Tom Rini
On Tue, Jul 19, 2016 at 02:32:17PM -0300, Fabio Estevam wrote: > On Tue, Jul 19, 2016 at 2:23 PM, Adam Duskett wrote: > > With the previous suggestion from Wolfgang Denk, this patch removes > > the findfdt function from wandboard.h and instead replaces it with > > some

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Fabio Estevam
On Tue, Jul 19, 2016 at 2:43 PM, Tom Rini wrote: > But this does show that we need to step back and think about how to more > easily do what this is trying to do. If $soc was set as in Stefan's > patch for example, we would just need board_name to be being set in > lowercase

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Wolfgang Denk
Dear Adam, In message you wrote: > > + int length = strlen(getenv("board_rev")) + strlen("-wandboard-rev") + > + strlen(getenv("board_name")) + strlen(".dtb") + 1; > + fdtfile = malloc(length); Don't you think you should

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Fabio Estevam
On Tue, Jul 19, 2016 at 2:40 PM, Adam Duskett wrote: >> I prefer to keep the current code as is. > If it is left as is, then the previous version of the patch needs to be > applied > because the new dtb file names in kernel 4.1.15 are different. Then please change the

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Adam Duskett
> From: feste...@gmail.com > Date: Tue, 19 Jul 2016 14:32:17 -0300 > Subject: Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names. > To: adamdusk...@outlook.com > CC: u-boot@lists.denx.de; sba...@denx.de > > On Tue, Jul 19, 2016 at 2:23 PM, Adam Duskett wrote: > > With

Re: [U-Boot] [PATCH v2 0/9] mx7: add Colibri iMX7S/iMX7D support

2016-07-19 Thread Stefan Agner
On 2016-07-19 07:18, stefano wrote: > Hi Stefan, > > On 18/07/2016 22:59, Stefan Agner wrote: >> On 2016-07-13 00:25, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> This patchset adds support for the Toradex i.MX 7Solo and 7Dual >>> based computer on modules Colibri

Re: [U-Boot] [PATCH v2 0/9] mx7: add Colibri iMX7S/iMX7D support

2016-07-19 Thread Stefano Babic
Hi Stefan, On 19/07/2016 18:09, Stefan Agner wrote: > On 2016-07-19 07:18, stefano wrote: >> Hi Stefan, >> >> On 18/07/2016 22:59, Stefan Agner wrote: >>> On 2016-07-13 00:25, Stefan Agner wrote: From: Stefan Agner This patchset adds support for the

[U-Boot] [PATCH] fixing typo error in README file. CPU15 -> CP15

2016-07-19 Thread yeongjun Kim
Signed-off-by: yeongjun Kim --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 3c3b699..8887cf5 100644 --- a/README +++ b/README @@ -4806,7 +4806,7 @@ Low Level (hardware related) configuration options: -

Re: [U-Boot] [PATCH v2 0/9] mx7: add Colibri iMX7S/iMX7D support

2016-07-19 Thread stefano
Hi Stefan, On 18/07/2016 22:59, Stefan Agner wrote: > On 2016-07-13 00:25, Stefan Agner wrote: >> From: Stefan Agner >> >> This patchset adds support for the Toradex i.MX 7Solo and 7Dual >> based computer on modules Colibri iMX7S/iMX7D. >> >> It also brings several

Re: [U-Boot] [PATCH v1 0/6] Convert FSL LayerScape ARMv8 SoCs to use common MMU code

2016-07-19 Thread Alexander Graf
On 25.06.16 01:46, York Sun wrote: > To use common MMU code, non-identical mapping needs to be supported. > Minior change in the MMU framework is required to support splitting > blocks. With these changes, using common code is straight forward. > Attention is needed where the tables are for

Re: [U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Fabio Estevam
On Tue, Jul 19, 2016 at 2:23 PM, Adam Duskett wrote: > With the previous suggestion from Wolfgang Denk, this patch removes > the findfdt function from wandboard.h and instead replaces it with > some simple logic in wandboard.c. > > The new function "set_fdtfile" is called

[U-Boot] [v2 1/1] wandboard: fix dtb file names.

2016-07-19 Thread Adam Duskett
With the previous suggestion from Wolfgang Denk, this patch removes the findfdt function from wandboard.h and instead replaces it with some simple logic in wandboard.c. The new function "set_fdtfile" is called in board_late_init. This function simply finds the length of the dtb file name,

Re: [U-Boot] u-boot: x86: interrupt mapping

2016-07-19 Thread Jian Luo
Hi Christian, I took some time to recall what I did by patching FSP: - search in every PE32 and TE image section for binary sequence 81c900018908c6460e01 and change to 81c9000102008908c6460e00 - then replace them in-place The difference can be better understand if disassemblies are

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

2016-07-19 Thread york sun
On 07/03/2016 11:39 PM, Zhiqiang Hou wrote: > 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 >

Re: [U-Boot] [PATCH v1 6/6] armv8: layerscape: Convert to use common MMU framework

2016-07-19 Thread york sun
On 07/18/2016 11:44 PM, Alexander Graf wrote: > > > On 25.06.16 01:46, York Sun wrote: >> Drop platform code to create static MMU tables. Use common framework >> to create MMU tables on the run. Tested on LS2080ARDB with secure and >> non-secure ram scenarios. >> >> Signed-off-by: York Sun

Re: [U-Boot] [PATCH v2 9/9] colibri_imx7: add Colibri iMX7S/iMX7D module support

2016-07-19 Thread Stefano Babic
Hi Stefan, On 19/07/2016 18:05, Stefan Agner wrote: >> I wonder we never add imximage.cfg into the MAINTAINERS. Boards with SPL >> have a central and empty imximage.cfg, for the other ones we should add >> it to the list. (Note: I have currently seen that no board having its >> own imximage.cfg

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

2016-07-19 Thread Stephen Warren
On 07/18/2016 09:53 PM, Tien Fong Chee wrote: On Fri, 2016-07-15 at 01:37 +0200, Benoît Thébaudeau wrote: Dear Tien Fong, On Thu, Jul 14, 2016 at 12:48 PM, Tien Fong Chee wrote: Dear Benoît, On Wed, 2016-07-13 at 12:56 +0200, Benoît Thébaudeau wrote: Dear Tien Fong Chee,

Re: [U-Boot] [PATCH v2 9/9] colibri_imx7: add Colibri iMX7S/iMX7D module support

2016-07-19 Thread Stefan Agner
On 2016-07-19 07:14, Stefano Babic wrote: > Hi Stefan, > > > just a couple of minor things: > > > On 13/07/2016 09:25, Stefan Agner wrote: >> From: Stefan Agner >> >> This commit adds support for the Toradex Computer on Modules >> Colibri iMX7S/iMX7D. The two

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

2016-07-19 Thread york sun
On 07/03/2016 11:39 PM, Zhiqiang Hou wrote: > 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

Re: [U-Boot] u-boot: x86: interrupt mapping

2016-07-19 Thread Christian Gmeiner
Hi Jian, > > For the moment I have no answer to this question. I need to dive into > the vxworks code, which > is not what I like to do now (but needs to be done)- > > Yes, please do track it down. The interrupt line register configured > by U-Boot should be enough for VxWorks to function under

Re: [U-Boot] [PATCH v2 9/9] colibri_imx7: add Colibri iMX7S/iMX7D module support

2016-07-19 Thread Stefano Babic
Hi Stefan, just a couple of minor things: On 13/07/2016 09:25, Stefan Agner wrote: > From: Stefan Agner > > This commit adds support for the Toradex Computer on Modules > Colibri iMX7S/iMX7D. The two modules/SoC's are very similar hence > can be easily supported by

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-19 Thread Stefano Babic
Hi Fabio, On 19/07/2016 16:06, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Jul 19, 2016 at 10:59 AM, Stefano Babic wrote: > >> We have already a global code, rather there are some boards (cubox, but >> also cgtqmx6eval) with own function. >> >> All is_mx6X() macros /

[U-Boot] [PATCH] cmd: misc: Add support for fractions in sleep

2016-07-19 Thread Mario Six
A feasible way to communicate certain errors for devices that have no other way of signalling besides LEDs is to flash these LEDs. For errors in U-Boot, a script that utilizes the led and sleep commands would be a practicable way, but currently the sleep command can only delay for an integral

[U-Boot] [tiU16.05 PATCH v1] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-19 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs, the #ifdef should been removed in the

[U-Boot] [PATCH v2] mmc: display mmc list information like mmc_legacy type

2016-07-19 Thread Ziyuan Xu
From: Xu Ziyuan It's nicer to see this: => mmc list dwmmc@ff0c: 0 dwmmc@ff0f: 1 (eMMC) than this: => mmc list dwmmc@ff0c: 0dwmmc@ff0f: 1 (eMMC) With the latter, it's much clearer which mmc devices are on. Signed-off-by: Ziyuan Xu

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-19 Thread Fabio Estevam
Hi Stefano, On Tue, Jul 19, 2016 at 10:59 AM, Stefano Babic wrote: > We have already a global code, rather there are some boards (cubox, but > also cgtqmx6eval) with own function. > > All is_mx6X() macros / functions are in > arch/arm/include/asm/imx-common/sys_proto.h. The

[U-Boot] UBIFS broken on Microblaze architecture and possibly on other architectrures as well

2016-07-19 Thread Hoefle Marco
Hallo, for ubifs on a spi flash I needed to add dummy functions and at atomic.h to the microblaze port in order to get it compile and work. code base is v2016.07 Marco patch_ubifs Description: patch_ubifs ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-19 Thread Stefano Babic
Hi Tom, On 19/07/2016 02:36, Tom Rini wrote: > On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: >> On 2016-07-18 15:19, Fabio Estevam wrote: >>> On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: From: Stefan Agner This

Re: [U-Boot] [PATCH] mmc: fix the output format

2016-07-19 Thread Ziyuan Xu
Hi Jaehoon, On 2016年07月19日 18:35, Jaehoon Chung wrote: Hi Ziyuan, On 07/19/2016 07:14 PM, Ziyuan Xu wrote: It's nicer to see this: => mmc list dwmmc@ff0c: 0 dwmmc@ff0f: 1 (eMMC) than this: => mmc list dwmmc@ff0c: 0dwmmc@ff0f: 1 (eMMC) With the latter, it's much clearer

Re: [U-Boot] [PATCH v2] pico-imx6ul: Add PMIC support

2016-07-19 Thread Stefano Babic
Hi Vanessa, On 13/07/2016 19:27, Vanessa Maegima wrote: > Add PMIC support. Tested by command "pmic PFUZE3000 dump". > > Signed-off-by: Vanessa Maegima > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

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

2016-07-19 Thread Zhiqiang Hou
Hi All, Any comments? > -Original Message- > From: Zhiqiang Hou [mailto:zhiqiang@nxp.com] > Sent: 2016年7月4日 14:28 > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; york sun > ; w...@denx.de; Prabhakar Kushwaha > ;

[U-Boot] [PATCH v3] mmc-uclass: correct the device number

2016-07-19 Thread Kever Yang
Not like the mmc-legacy which the devnum starts from 1, it starts from 0 in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). Signed-off-by: Kever Yang --- Changes in v3: - apply comments from Jaehoon Chung Changes in v2: - add comment for

[U-Boot] [PATCH v5 4/4] ARM64: evb-rk3399: add a README for this board setup

2016-07-19 Thread Kever Yang
Add a README to guide people flash the ATF and U-Boot with Rockchip tools to bring up to board. Signed-off-by: Kever Yang --- Changes in v5: - fix for comments from Simon, correct some typo; Changes in v4: None Changes in v3: None Changes in v2: - fix a binary path

[U-Boot] [PATCH v5 1/4] dts: add support for Rockchip rk3399 soc

2016-07-19 Thread Kever Yang
These files are from kernel upstream: "649a371 Add linux-next specific files for 20160616" with some modification need by U-Boot: - chosen with stdout-path to uart2. - add clock-frequency for uart2 Signed-off-by: Kever Yang Acked-by: Simon Glass ---

[U-Boot] [PATCH v5 2/4] ARM64: rockchip: add support for rk3399 SoC based evb

2016-07-19 Thread Kever Yang
RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and quad-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very much like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-128MB range. Signed-off-by: Kever

[U-Boot] [PATCH v5 3/4] config: add config file for evb-rk3399

2016-07-19 Thread Kever Yang
This patch add basic config option for evb-rk3399 board. Signed-off-by: Kever Yang --- Changes in v5: None Changes in v4: - move config CONFIG_SYS_NS16550 from chip common to defconfig Changes in v3: None Changes in v2: None configs/evb-rk3399_defconfig | 33

[U-Boot] [PATCH v5 0/4] add support for rk3399 soc and evb

2016-07-19 Thread Kever Yang
Hi Simon, Sorry for didn't apply all the changes for comments from Andreas in V4, I rebase this patchset on u-boot-rockchip.git master branch and reset to below commit: f278234 rockchip: update fastboot usage Please help to rebase my patches, you should be able to apply these patches directly.

Re: [U-Boot] [PATCH v4 2/4] ARM64: rockchip: add support for rk3399 SoC based evb

2016-07-19 Thread Kever Yang
Hi Andreas, On 07/18/2016 09:34 PM, Andreas Färber wrote: Am 18.07.2016 um 10:46 schrieb Kever Yang: RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and quad-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very much like RK3288,

Re: [U-Boot] [PATCH v3 2/5] ARM64: rockchip: add support for rk3399 SoC based evb-board

2016-07-19 Thread Kever Yang
Hi Andreas, On 07/18/2016 10:13 PM, Andreas Färber wrote: Hi Kever, Am 18.07.2016 um 06:54 schrieb Kever Yang: Hi Andreas, Thanks for you comments, I will apply them one by one except some confuse below. On 07/18/2016 07:26 AM, Andreas Färber wrote: Hi, Isn't evb short for evaluation

[U-Boot] [PATCH v2] ARM: uniphier: use (devm_)ioremap() instead of map_sysmem()

2016-07-19 Thread Masahiro Yamada
This does not have much impact on behavior, but makes code look more more like Linux. The use of devm_ioremap() often helps to delete .remove callbacks entirely. Signed-off-by: Masahiro Yamada --- Changes in v2: - Replace more

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-19 Thread Tom Rini
On Mon, Jul 18, 2016 at 07:19:05PM -0700, Stefan Agner wrote: > On 2016-07-18 17:36, Tom Rini wrote: > > On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: > >> On 2016-07-18 15:19, Fabio Estevam wrote: > >> > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: > >>

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

2016-07-19 Thread Prabhakar Kushwaha
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: Calvin Johnson Signed-off-by:

Re: [U-Boot] [PATCH] mmc: fix the output format

2016-07-19 Thread Jaehoon Chung
Hi Ziyuan, On 07/19/2016 07:14 PM, Ziyuan Xu wrote: > It's nicer to see this: > > => mmc list > dwmmc@ff0c: 0 > dwmmc@ff0f: 1 (eMMC) > > than this: > > => mmc list > dwmmc@ff0c: 0dwmmc@ff0f: 1 (eMMC) > > With the latter, it's much clearer which mmc devices are on. You're

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

2016-07-19 Thread Prabhakar Kushwaha
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 Kushwaha ---

[U-Boot] [PATCH v2 7/9] spi: spi_flash: Correct bank select incase of dual stacked

2016-07-19 Thread Siva Durga Prasad Paladugu
Correct the bank selection issue incase of Dual stacked mode. This fix corrects the wrong bank selection if banks are accessed as below. 1. Access the bank2 in upper flash. 2. Access the bank1 in lower flash. 3. Now access the bank1 in upper flash. But here in the step3, the present code was

[U-Boot] [PATCH v2 8/9] spi: spi_flash: Fix Bank selection calculation for Dual parallel

2016-07-19 Thread Siva Durga Prasad Paladugu
In Dual parallel connection the bank selection calculation should be performed using offset and not the calculated address Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mtd/spi/spi_flash.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-)

[U-Boot] [PATCH v2 9/9] spi: spi_flash: Set Quad enable bit of upper flash

2016-07-19 Thread Siva Durga Prasad Paladugu
Set quad enable for upper flash incase of Dual stacked mode. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mtd/spi/spi_flash.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index

[U-Boot] [PATCH v2 6/9] spi: spi_flash: Correct flash size calculation

2016-07-19 Thread Siva Durga Prasad Paladugu
Dont need to double the size while calculating the flash size as the sector size calculation already takes care of doubling the size incase of dual modes Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mtd/spi/spi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2 5/9] defconfig: zc706: Add dual modes support for zc706

2016-07-19 Thread Siva Durga Prasad Paladugu
Add QSPI dual mode support for zc706 by enabling the config option SF_DUAL_FLASH Signed-off-by: Siva Durga Prasad Paladugu --- configs/zynq_zc706_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig index

[U-Boot] [PATCH v2 3/9] sf: Kconfig: Add SF_DUAL_FLASH config entry

2016-07-19 Thread Siva Durga Prasad Paladugu
Add SF_DUAL_FLASH config entry with help description This is needed to support dual parallel and stacked modes. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/mtd/spi/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/spi/Kconfig

[U-Boot] [PATCH v2 2/9] spi: zynq_qspi: Add support of Dual parallel and Dual stacked modes

2016-07-19 Thread Siva Durga Prasad Paladugu
Add Dual parallel and dual stacked supports for zynq qspi driver. The is-dual property defines the dual parallel mode and num-cs, numbere of chip selects defines dual stacked mode if its value is 2 Signed-off-by: Siva Durga Prasad Paladugu --- drivers/spi/zynq_qspi.c | 47

[U-Boot] [PATCH v2 1/9] spi: zynq_qspi: Add quad support for zynq qspi

2016-07-19 Thread Siva Durga Prasad Paladugu
Add quad commands supports for zynq qspi driver Signed-off-by: Siva Durga Prasad Paladugu --- drivers/spi/zynq_qspi.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c index b98663c..e636244 100644 ---

[U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-19 Thread Siva Durga Prasad Paladugu
This series enables the Quad and dual modes support for zynq. It also contains fixes for issues found during testing of dual parallel and stacked modes. Siva Durga Prasad Paladugu (9): spi: zynq_qspi: Add quad support for zynq qspi spi: zynq_qspi: Add support of Dual parallel and Dual stacked

[U-Boot] [PATCH v2 4/9] dts: zynq_zc706: update qspi node with is-dual and num-cs

2016-07-19 Thread Siva Durga Prasad Paladugu
Update qspi node with properties is-dual and num-cs QSPI flash devices on zc706 connected in dual paralle mode hence is-dual is 1 and num-cs is 1. The property is-dual expalins the dual parallel connection mode The property num-cs defines number of chip selects whose value is 1 incase of dual

[U-Boot] [PATCH] mmc: fix the output format

2016-07-19 Thread Ziyuan Xu
It's nicer to see this: => mmc list dwmmc@ff0c: 0 dwmmc@ff0f: 1 (eMMC) than this: => mmc list dwmmc@ff0c: 0dwmmc@ff0f: 1 (eMMC) With the latter, it's much clearer which mmc devices are on. Signed-off-by: Ziyuan Xu --- drivers/mmc/mmc-uclass.c | 2 +-

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

2016-07-19 Thread Prabhakar Kushwaha
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 --- include/configs/ls1012aqds.h

Re: [U-Boot] [PATCH v2] mmc-uclass: correct the device number

2016-07-19 Thread Jaehoon Chung
On 07/19/2016 06:28 PM, Kever Yang wrote: > Not like the mmc-legacy which the devnum starts from 1, it starts from 0 > in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add comment

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

2016-07-19 Thread Ziyuan Xu
Fennec is a RK3288-based development board with 2 USB ports, HDMI, micro-SD card, audio and WiFi and Gigabit Ethernet. It also includes on-board 8GB eMMC and 2GB of SDRAM. Expansion connectors provides access to display pins, I2C, SPI, UART and GPIOs. Signed-off-by: Ziyuan Xu

[U-Boot] [PATCH v2] mmc-uclass: correct the device number

2016-07-19 Thread Kever Yang
Not like the mmc-legacy which the devnum starts from 1, it starts from 0 in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). Signed-off-by: Kever Yang --- Changes in v2: - add comment for get_mmc_num() in mmc.h - update mmc_get_next_devnum()

[U-Boot] [PATCH] spl: fit: Fix the number of bytes read in raw mode

2016-07-19 Thread Lokesh Vutla
In raw mode a full sector is to be read even if image covers part of a sector. Number of sectors are calculated as ROUND_UP(size)/sec_size by FIT framework. This calculation assumes that image is at the 0th offset of a sector, which is not true always in FIT case. So, include the image offset

Re: [U-Boot] [PATCH] mmc-uclass: correct the device number

2016-07-19 Thread Kever Yang
Hi Simon, On 07/18/2016 07:55 PM, Simon Glass wrote: Hi Kever, On 18 July 2016 at 03:52, Kever Yang wrote: The devnum in is start from 0, so the device number should be (devnum+1). Signed-off-by: Kever Yang ---

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

2016-07-19 Thread Stefano Babic
On 18/07/2016 15:28, Fabio Estevam wrote: > Hi Stefano, > > 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 with >> U-Boot

[U-Boot] [PATCH v3 3/3] spi: zynqmp_qspi: Add qspi driver support for ZynqMP boards

2016-07-19 Thread Siva Durga Prasad Paladugu
Added the qspi driver support for respective ZynqMP boards ZCU102, ZCU102 RevB and DC1 boards. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v3: - None Changes for v2: - None --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 4

[U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-19 Thread Siva Durga Prasad Paladugu
Dont set quad enable for micron devices in all cases Setting the quad enable bit in micron expects all other commands like register reads on quad lines which may not be supported by some controllers. Hence, dont set the quad enable if controller driver sets the no_all_quad. Signed-off-by: Siva

[U-Boot] [PATCH v3 2/3] spi: zynqmp_qspi: Add QSPI driver support for ZynqMP

2016-07-19 Thread Siva Durga Prasad Paladugu
This adds QSPI driver support for ZynqMP platform This driver supports all spi flash commands in qspi single mode. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v3: - None Changes for v2: - set no_all_quad as zynqmp qspi controller doesnt support it ---

[U-Boot] [PATCH v3 0/3]spi: Add ZynqMP QSPI driver support

2016-07-19 Thread Siva Durga Prasad Paladugu
This series adds the qspi driver support for zynqmp Also sent a patch for not setting quad enable bit in the series as zynqmp qspi series wont work for micron devices with out that patch. Siva Durga Prasad Paladugu (3): spi: spi_flash: Dont set quad enable for micron in all cases spi:

[U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-07-19 Thread Prabhakar Kushwaha
LS1012AFRDM has 512MB of DDR. So update Kernel load address as 0x9600 instead of default 0xa000. Signed-off-by: Prabhakar Kushwaha --- include/configs/ls1012afrdm.h | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH 0/2] Fix signing problems with large keys

2016-07-19 Thread Mario Six
This patch series fixes a problem that occurs when signing FIT images with large keys (e.g. RSA with 4096 bits). Signing sometimes fails because of unexpected return values from fit_add_file_data() and the functions called by it. Some error messages are also removed, since we tolerate failure of

[U-Boot] [PATCH 1/2] tools: Fix return code of fit_image_process_sig()

2016-07-19 Thread Mario Six
When signing images, we repeatedly call fit_add_file_data() with successively increasing size values to include the keys in the DTB. Unfortunately, if large keys are used (such as 4096 bit RSA keys), this process fails sometimes, and mkimage needs to be called repeatedly to integrate the keys

  1   2   >