Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-08 Thread Eric Nelson
Hi Peng, I'm sorry for taking so long to go though this. On 10/08/2016 08:58 AM, Peng Fan wrote: > Add plugin support for imximage. > This CONFIG setting doesn't actually affect mkimage or imximage: > Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. > > Signed-off-by:

Re: [U-Boot] Various, accumulated typos collected from around the tree.

2016-10-08 Thread Tom Rini
On Wed, Sep 07, 2016 at 02:27:59PM -0400, Robert P. J. Day wrote: > Fix various misspellings of: > > * deprecated > * partition > * preceding,preceded > * preparation > * its versus it's > * export > * existing > * scenario > * redundant > * remaining > * value > * architecture > >

Re: [U-Boot] Suspected Spam: Do not open attachements![PATCH 4/6] tools/env: flash_write_buf: enforce offset to be start of environment

2016-10-08 Thread Tom Rini
On Mon, Aug 29, 2016 at 11:17:00PM +0200, Andreas Fenkart wrote: > This allows to take advantage of the environment being block aligned. > This is not a new constraint. Writes always start at the begin of the > environment, since the header with CRC/length as there. > Every environment

Re: [U-Boot] ARM: Respect CONFIG_SPL_STACK define in lowlevel_init.S

2016-10-08 Thread Tom Rini
On Mon, Sep 05, 2016 at 06:36:10AM +0300, Siarhei Siamashka wrote: > The SPL and U-Boot proper may use different initial stack > locations, which are configured via CONFIG_SPL_STACK and > CONFIG_SYS_INIT_SP_ADDR defines. The lowlevel_init.S > code needs to handle this in the same way as crt0.S >

Re: [U-Boot] ARMv8/sec-firmware: fix a compile error

2016-10-08 Thread Tom Rini
On Tue, Sep 06, 2016 at 02:23:07PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > When enabled sec firmware framework, but lack of definition of > the marco SEC_FIRMWARE_FIT_IMAGE, SEC_FIRMEWARE_FIT_CNF_NAME > and SEC_FIRMWARE_TARGET_EL, there will be some build

Re: [U-Boot] cmd/onenand.c: block align warning

2016-10-08 Thread Tom Rini
On Tue, Sep 13, 2016 at 07:40:00AM +0200, Ladislav Michl wrote: > An attempt to write non block aligned data fails silently, add warning and > set result. > > Signed-off-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] PWM: Correct misspellings of "module" in context of PWM

2016-10-08 Thread Tom Rini
On Tue, Sep 13, 2016 at 08:35:18AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day > Acked-by: Heiko Schocher > > diff --git a/README b/README > index f41a6af..30076bc 100644 Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/6] omap: Remove hardcoding of mmu section shift to 20

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:28AM +0530, Keerthy wrote: > As of now the mmu section shift is hardcoded to 20 but with LPAE > coming into picture this can be different. Hence replacing 20 with > MMU_SECTION_SHIFT macro. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, v2] ARM64: Add support for some of atomic64 operations

2016-10-08 Thread Tom Rini
On Tue, Sep 13, 2016 at 08:40:58AM +0200, Adam Oleksy wrote: > These functions are needed in UBI/UBIFS on ZynqMP platform (ARM64). > > Signed-off-by: Adam Oleksy > Cc: Albert Aribaud Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] search.h: Numerous grammatical fixes, comment updates

2016-10-08 Thread Tom Rini
On Fri, Sep 09, 2016 at 06:22:10AM -0400, Robert P. J. Day wrote: > Tweaks (no functional changes) to include/search.h, including: > > * use standard multiple inclusion check > * fix spelling mistakes > * have comments match actual names in function prototypes > * remove obsolete reference

[U-Boot] [PATCH V3 2/8] imx: mx6: Add plugin support

2016-10-08 Thread Peng Fan
Add mx6_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Peng Fan Signed-off-by: Ye Li Signed-off-by: Utkarsh Gupta Reviewed-by: Tom Rini Acked-by:

Re: [U-Boot] [U-Boot, 2/6] tools/env: pass bad block offset by value

2016-10-08 Thread Tom Rini
On Mon, Aug 29, 2016 at 11:16:58PM +0200, Andreas Fenkart wrote: > the offset is not modified by linux ioctl call > see mtd_ioctl{drivers/mtd/mtdchar.c} > Makes the interface less ambiguous, since the caller can > now exclude a modification of blockstart > > Signed-off-by: Andreas Fenkart

Re: [U-Boot] [U-Boot, 1/6] tools/env: factor out environment_end function

2016-10-08 Thread Tom Rini
On Mon, Aug 29, 2016 at 11:16:57PM +0200, Andreas Fenkart wrote: > instead of adhoc computation of the environment end, > use a function with a proper name > > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 3/6] tools/env: lookup dev_type directly from flash_read_buf/flash_write_buf

2016-10-08 Thread Tom Rini
On Mon, Aug 29, 2016 at 11:16:59PM +0200, Andreas Fenkart wrote: > flash_write_buf already looks up size/offset/#sector from struct > envdev_s. It can look up mtd_type as well. Same applies to > flash_read_buf. Makes the interface simpler > > Signed-off-by: Andreas Fenkart

Re: [U-Boot] gunzip: cache-align write buffer memory

2016-10-08 Thread Tom Rini
On Mon, Aug 29, 2016 at 05:10:36PM +0200, Clemens Gruber wrote: > When using gzwrite to eMMC on an i.MX6Q board, the following warning > occurs repeatedly: > CACHE: Misaligned operation at range [4fd63318, 4fe63318] > > This patch cache-aligns the memory allocation for the gzwrite writebuf, >

Re: [U-Boot] [U-Boot, 4/6] configs: dra7xx_evm_defconfig: Enable LPAE mode

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:31AM +0530, Keerthy wrote: > Enable Linear Physical Address Extension mode which is a > prerequisite for hypervisor mode. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 6/6] ARM: OMAP5+: Override switch_to_hypervisor function

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:33AM +0530, Keerthy wrote: > Override the switch_to_hypervisor function to switch cpu to hypervisor > mode using the available ROM code hook early in the boot phase before > the boot loader checks for HYP mode. > > Based on the work done by Jonathan Bergsagel

Re: [U-Boot] cmd: Make CMD_USB_MASS_STORAGE visible only with USB_GADGET and default y

2016-10-08 Thread Tom Rini
On Mon, Sep 19, 2016 at 12:40:12PM -0400, Tom Rini wrote: > In order for CMD_USB_MASS_STORAGE to be useful we must have USB_GADGET > enabled, so only show this option when USB_GADGET is set. In addition, > expand the help text so it's clearer what this does and given the > overall utility of

Re: [U-Boot] [U-Boot, 2/6] omap: Set appropriate cache configuration for LPAE and non-LAPE cases

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:29AM +0530, Keerthy wrote: > Cache configuration methods is different for LPAE and non-LPAE cases. > Hence the bits and the interpretaion is different for two cases. > In case of non-LPAE mode short descriptor format is used and we need > to set Cache and Buffer

Re: [U-Boot] [U-Boot, 3/6] configs: am57xx_evm_defconfig: Enable LPAE mode

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:30AM +0530, Keerthy wrote: > Enable Linear Physical Address Extension mode which is a > prerequisite for hypervisor mode. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 5/6] ARM: Introduce function to switch to hypervisor mode

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 10:43:32AM +0530, Keerthy wrote: > On some of the SoCs one cannot enable hypervisor mode directly from the > u-boot because the ROM code puts the chip to supervisor mode after it > jumps to boot loader. Hence introduce a weak function which can be > overridden based on the

Re: [U-Boot] [U-Boot, PATCHv2] scripts: Add script to extract default environment

2016-10-08 Thread Tom Rini
On Sat, Sep 17, 2016 at 06:57:39AM +0200, Lukasz Majewski wrote: > This script looks for env_common.o object file and extracts from it default > u-boot environment, which is afterwards printed on standard output. > > Usage example: > get_default_envs.sh > u-boot-env-default.txt > > The

Re: [U-Boot] ARM: Add register defines for am33xx ePWM registers

2016-10-08 Thread Tom Rini
On Fri, Sep 16, 2016 at 10:21:39AM +, tomas.me...@vaisala.com wrote: > Register definitions needed for configuring the > ePWM module. > > Signed-off-by: Tomas Melin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] doc: typo fix addess -> address

2016-10-08 Thread Tom Rini
On Wed, Sep 14, 2016 at 09:54:53PM +0200, Jelle van der Waa wrote: > Signed-off-by: Jelle van der Waa Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 4/5] kbuild: generate u-boot.cfg as a byproduct of include/autoconf.mk

2016-10-08 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:05:01PM +0900, Masahiro Yamada wrote: > Our build system still parses ad-hoc CONFIG options in header files > and generates include/autoconf.mk so that Makefiles can reference > them. This gimmick was introduced in the pre-Kconfig days and will > be kept until Kconfig

Re: [U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-08 Thread Tom Rini
On Wed, Oct 05, 2016 at 01:28:07PM -0700, Sergey Kubushyn wrote: > This allows to place U-Boot environment into eMMC boot partition thus > saving space on user partition for the OS (or whatever.) When booting > off of eMMC many (all?) MCUs can use dedicated boot0/boot1 partitions > to boot so

Re: [U-Boot] [U-Boot, 3/5] kbuild: make dependencies in scripts/Makefile.autoconf more readable

2016-10-08 Thread Tom Rini
On Mon, Sep 26, 2016 at 01:05:00PM +0900, Masahiro Yamada wrote: > I do not remember why I wrote the code like this, but let's make it > a bit more readable. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot,v3,1/3] ARM: AM437X: Add Silicon ID support

2016-10-08 Thread Tom Rini
On Tue, Oct 04, 2016 at 09:34:50AM +0530, Lokesh Vutla wrote: > Add silicon ID code for AM437x silicon. This can be used to print > the cpu info using CONFIG_DISPLAY_CPUINFO. > Also printing "CPU :" along with cpu name in order to be consistent > with other OMAP platforms. > > Reviewed-by: Tom

Re: [U-Boot] [U-Boot,1/2] ARM: dts: dra72: add rev C evm support

2016-10-08 Thread Tom Rini
On Tue, Sep 27, 2016 at 01:01:41PM +0530, Mugunthan V N wrote: > Add DTS support for dra72 evm Rev C which has the following > changes > * Two ethernet ports now instead of the single one in rev B. > * DP83867 ethernet phy instead of DP838865. > > Cc: Vignesh R > Signed-off-by:

Re: [U-Boot] [PATCH] armv7: LS1021a: enable i-cache in start.S

2016-10-08 Thread york sun
On 09/13/2016 08:48 PM, Xiaoliang Yang wrote: > Delete CONFIG_SKIP_LOWLEVEL_INIT define in ls1021atwr.h and > ls1021aqds.h can let it run cpu_init_cp15 to enable i-cache. First > stage of u-boot can run faster after that. There is a description > about skip lowlevel init in

Re: [U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-08 Thread Tom Rini
On Sat, Oct 08, 2016 at 03:41:50PM -0700, Sergey Kubushyn wrote: > On Sat, 8 Oct 2016, Tom Rini wrote: > > >On Wed, Oct 05, 2016 at 01:28:07PM -0700, Sergey Kubushyn wrote: > > > >>This allows to place U-Boot environment into eMMC boot partition thus > >>saving space on user partition for the OS

Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-08 Thread Tom Rini
On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: > This adds "file exists" commands to generic FS as well as to FAT, EXT4, > and UBIFS. Also adds "file size" command to UBIFS. > > The return value for "file exists" commands is REVERSED i.e. they > return 1 if file exists and 0

Re: [U-Boot] [U-Boot, RFC, v1] common/console.c: ensure GD_FLG_SILENT is set or cleared

2016-10-08 Thread Tom Rini
On Fri, Sep 23, 2016 at 03:59:43PM +1200, Chris Packham wrote: > When CONFIG_SILENT_CONSOLE is defined and the default environment has > silent=1 it is not possible for a user to make the console un-silent if > the environment is not available when console_init_f() is called (for > example

Re: [U-Boot] [U-Boot, v2] vexpress: disable cci ace slave ports when booting in non-sec/hyp mode

2016-10-08 Thread Tom Rini
On Fri, Sep 23, 2016 at 05:38:39PM +0100, Sudeep Holla wrote: > Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting > to nonsec booting") added support to check if the firmware on TC2 is > configured appropriately before booting in nonsec/hyp mode. > > However when

Re: [U-Boot] [PATCH V3 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-10-08 Thread Eric Nelson
Hi Peng, Note the typo in the subject header. On 10/08/2016 08:58 AM, Peng Fan wrote: > Introduce USE_IMXIMG_PLUGIN Kconfig > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Reviewed-by: Tom Rini > --- > > V3: > None > > V2: > New >

Re: [U-Boot] arm: dra7xx: Move fastboot options to defconfig

2016-10-08 Thread Tom Rini
On Thu, Sep 22, 2016 at 09:52:07PM +0300, Semen Protsenko wrote: > Now that fastboot options are available in Kconfig, we can migrate them > from DRA7 header to corresponding DRA7 defconfigs. > > Signed-off-by: Sam Protsenko > Reviewed-by: Lokesh Vutla

[U-Boot] [PATCH v2] Add support for eMMC environment in boot partition

2016-10-08 Thread Sergey Kubushyn
This allows to place U-Boot environment into eMMC boot partition thus saving space on user partition for the OS (or whatever.) When booting off of eMMC many (all?) MCUs can use dedicated boot0/boot1 partitions to boot so U-Boot (or SPL) is written to one (or both) such partitions. When such boot

Re: [U-Boot] [PATCH v2] spi: fsl_qspi: Preserve endianness of QSPI MCR

2016-10-08 Thread york sun
On 10/06/2016 02:38 PM, York Sun wrote: > The endianness can be changed by RCW + PBI sequence. It may have > other than power on reset value. > > Signed-off-by: York Sun > CC: Yuan Yao > CC: Peng Fan > CC: Alison Wang >

Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-08 Thread Peng Fan
On Sat, Oct 08, 2016 at 05:26:18PM +0200, Eric Nelson wrote: >Hi Peng, > >I'm sorry for taking so long to go though this. > >On 10/08/2016 08:58 AM, Peng Fan wrote: >> Add plugin support for imximage. >> > >This CONFIG setting doesn't actually affect mkimage or imximage: Yeah. The host tool

Re: [U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-08 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 01:28:07PM -0700, Sergey Kubushyn wrote: This allows to place U-Boot environment into eMMC boot partition thus saving space on user partition for the OS (or whatever.) When booting off of eMMC many (all?) MCUs can use dedicated

Re: [U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-08 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Tom Rini wrote: On Sat, Oct 08, 2016 at 03:41:50PM -0700, Sergey Kubushyn wrote: On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 01:28:07PM -0700, Sergey Kubushyn wrote: This allows to place U-Boot environment into eMMC boot partition thus saving space on

Re: [U-Boot] [PATCH 1/1]: filesystems : add "file exists" cmd

2016-10-08 Thread Sergey Kubushyn
On Sat, 8 Oct 2016, Tom Rini wrote: On Wed, Oct 05, 2016 at 12:38:01PM -0700, Sergey Kubushyn wrote: This adds "file exists" commands to generic FS as well as to FAT, EXT4, and UBIFS. Also adds "file size" command to UBIFS. The return value for "file exists" commands is REVERSED i.e. they

[U-Boot] [PATCH V3 8/8] imx: mx6ull_14x14_evk: add plugin defconfig

2016-10-08 Thread Peng Fan
Add defconfig file to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V3: None V2: New configs/mx6ull_14x14_evk_plugin_defconfig | 31 +++ 1 file changed, 31 insertions(+) create mode 100644

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix "cpu status" command

2016-10-08 Thread york sun
On 09/13/2016 12:40 PM, york sun wrote: > The core position is not continuous for some SoCs. For example, > valid cores may present at position 0, 1, 4, 5, 8, 9, etc. Some > registers (including boot release register) only count existing > cores. Current implementation of cpu_mask() complies with

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: Implement workaround for PIN MUX erratum A010539

2016-10-08 Thread york sun
On 09/28/2016 09:55 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Pin mux logic has 2 options in priority order, one is through RCW_SRC > and then through RCW_Fields. In case of QSPI booting, RCW_SRC logic takes > the priority for SPI pads and do not allow RCW_BASE and

Re: [U-Boot] [PATCH] arm: ls102xa: Remove reduplicate definition for Generic Timer frequency

2016-10-08 Thread york sun
On 10/07/2016 07:21 PM, Alison Wang wrote: > Hi, York, > >> On 09/23/2016 01:15 AM, Alison Wang wrote: >>> GENERIC_TIMER_CLK and CONFIG_TIMER_CLK_FREQ are both used to define >>> Generic Timer frequency. It is reduplicate. This patch will remove >>> GENERIC_TIMER_CLK macro. >>> >>> Signed-off-by:

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

2016-10-08 Thread Tom Rini
On Fri, Oct 07, 2016 at 05:38:01PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 53fec162061811a73c7dab3207f8fdb2343ae289: > > Prepare v2016.11-rc1 (2016-10-03 09:28:13 -0400) > > are available in the git repository

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

2016-10-08 Thread york sun
On 10/07/2016 05:00 AM, Pratiyush Srivastava wrote: > LS1012AFRDM has 512MB of DDR. > So update Kernel load address as 0x9600 instead of default > 0xa000. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava

Re: [U-Boot] [PATCH][v3] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-10-08 Thread york sun
On 10/07/2016 04:59 AM, Pratiyush Srivastava wrote: > Remove ramdisk_addr, ramdisk_size and update UART baud-rate. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava > --- > Changes for v3 :Incorporated

[U-Boot] [PATCH V3 4/8] imx-common: inctroude USE_IMXIMG_PLUGIN Kconfig

2016-10-08 Thread Peng Fan
Introduce USE_IMXIMG_PLUGIN Kconfig Signed-off-by: Peng Fan Cc: Stefano Babic Reviewed-by: Tom Rini --- V3: None V2: New arch/arm/imx-common/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [U-Boot] [PATCH 1/1]: environment in eMMC boot partition

2016-10-08 Thread Tom Rini
On Sat, Oct 08, 2016 at 03:41:50PM -0700, Sergey Kubushyn wrote: > Did you get that nand-bootupdate patch I re-sent yesterday with git > send-email? Did it work if you got it? It's been done against u-boot-imx. Yes, but I've not had a chance to look at it (and none of my imx boards have NAND,

Re: [U-Boot] [PATCH V3 1/8] tools: imximage: add plugin support

2016-10-08 Thread Eric Nelson
Hi Peng, On 10/09/2016 04:20 AM, Peng Fan wrote: > On Sat, Oct 08, 2016 at 05:26:18PM +0200, Eric Nelson wrote: >> On 10/08/2016 08:58 AM, Peng Fan wrote: >> >>From what I can tell, there's no reason that you can't have multiple >> plugins, and the use of these variables isn't really needed. >

[U-Boot] [PATCH V3 7/8] imx: mx6ullevk: correct boot device macro

2016-10-08 Thread Peng Fan
Correct boot device macro according to kconfig entry in common/Kconfig Signed-off-by: Peng Fan Cc: Stefano Babic --- V3: None V2: None board/freescale/mx6ullevk/imximage.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v7 2/2] armv8: fsl-layerscape: SMP support for loading 32-bit OS

2016-10-08 Thread Alison Wang
Spin-table method is used for secondary cores to load 32-bit OS. The architecture information will be got through checking FIT image and saved in the os_arch element of spin-table, then the secondary cores will check os_arch and jump to 32-bit OS or 64-bit OS automatically. Signed-off-by: Alison

[U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-08 Thread Alison Wang
To support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Signed-off-by: Ebony Zhu

Re: [U-Boot] [PATCH v6 0/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-08 Thread Alison Wang
> -邮件原件- > 发件人: york sun [mailto:york@nxp.com] > 发送时间: Thursday, October 06, 2016 3:00 AM > 收件人: Alison Wang ; ag...@suse.de; Scott Wood > ; Stuart Yoder ; Leo Li > ; feng...@phytium.com.cn;

[U-Boot] [PATCH v7 0/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-10-08 Thread Alison Wang
This series is to support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Spin-table method is used for secondary

[U-Boot] [PATCH] rk3288: kconfig: remove duplicate definition of SPL_MMC_SUPPORT

2016-10-08 Thread Kever Yang
SPL_MMC_SUPPORT defined in rockchip top level Kconfig instead of inside rk3288 and default to disable if ROCKCHIP_SPL_BACK_TO_BROM defined. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 1/2] rockchip: use rockchip linux partitions layout

2016-10-08 Thread Kever Yang
Hi Jacob, On 10/08/2016 01:47 PM, Jacob Chen wrote: Unify the partitions of each chip then it will be more easy for us to write scripts, tools or guides for rockchip chips. Those extra partitions mostly are used to be compatible with our internal loaders (such as miniloader which was same as

Re: [U-Boot] [PATCH] rockchip: enable SPL_OF_PLATDATA for rk3288 board

2016-10-08 Thread 陈豪
In patch "rk3288: config change for enable dram capacity auto-detect", Kever have use CONFIG_ROCKCHIP_SPL_BACK_TO_BROM to reduce spl size, so this patch is no longer needed. 2016-09-28 23:46 GMT+08:00 Simon Glass : > On 28 September 2016 at 00:35, Jacob Chen

[U-Boot] [PATCH] imx: mx6ull: update the REFTOP_VBGADJ setting

2016-10-08 Thread Peng Fan
According to design team, we need to set REFTOP_VBGADJ in PMU MISC0 according to the REFTOP_TRIM[2:0] fuse. the actually table is as below: '000" - set REFTOP_VBGADJ[2:0] to 3'b000 '001" - set REFTOP_VBGADJ[2:0] to 3'b001 '010" - set REFTOP_VBGADJ[2:0] to 3'b010 '011" - set

Re: [U-Boot] Unable to boot from QSPI (u-boot 2016.11-rc1)

2016-10-08 Thread Jagan Teki
On Fri, Oct 7, 2016 at 6:42 AM, Teoh Choon Zone wrote: > Hi, > > Can you elaborate more on which file or function to look at? I am quite new > to u-boot. Try to boot with other boot sources(mmc or other) and 'sf probe' the flash on u-boot. this make sure no issue on

[U-Boot] [PATCH v7 06/21] imx6: icorem6: Add ENET support

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add enet support for engicam icorem6 qdl starter kit. - Add pinmux settings - Add board_eth_init TFTP log: Net: FEC [PRIME] Hit any key to stop autoboot: 0 icorem6qdl> tftpboot {fdt_addr} imx6dl-icore.dtb Using FEC device TFTP from server

[U-Boot] [PATCH v7 03/21] config: Move CONFIG_DEFAULT_FDT_FILE to defconfigs

2016-10-08 Thread Jagan Teki
From: Jagan Teki - Add DEFAULT_FDT_FILE kconfig entry - Move CONFIG_DEFAULT_FDT_FILE from include/configs to defconfigs Cc: Tom Rini Cc: Simon Glass Cc: Michael Trimarchi Signed-off-by: Jagan

[U-Boot] [PATCH v7 05/21] net: Kconfig: Add FEC_MXC entry

2016-10-08 Thread Jagan Teki
From: Jagan Teki Added kconfig for FEC_MXC driver. Cc: Joe Hershberger Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi

[U-Boot] [PATCH v7 00/21] imx6: Add Engicam i.CoreM6 QDL support

2016-10-08 Thread Jagan Teki
From: Jagan Teki This series supports Engicam i.CoreM6 QDL modules on top of u-boot-imx/master and test on the respective starter kits as well. Tested both MMC and NAND boot. Changes for v7: - Add patch to CONFIG_DEFAULT_FDT_FILE to defconfigs -

[U-Boot] [PATCH v7 02/21] thermal: Kconfig: Add IMX_THERMAL entry

2016-10-08 Thread Jagan Teki
From: Jagan Teki Added kconfig for IMX_THERMAL driver. Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH v7 01/21] serial: Kconfig: Add MXC_UART entry

2016-10-08 Thread Jagan Teki
From: Jagan Teki Added kconfig for MXC_UART driver. Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH v7 10/21] arm: dts: imx6dl: Add pinctrl defines

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add imx6dl pinctrl defines support from Linux. Here is the last commit: "ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ" (sha1: d8c765e0d1ddbd5032c2491c82cc9660c2f0e7f2) Cc: Peng Fan Cc: Stefano Babic Cc:

[U-Boot] [PATCH v7 11/21] dt-bindings: clock: imx6qdl: Add clock defines

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add imx6qdl clock header defines support from Linux. "clk: imx: Add clock support for imx6qp" (sha1: ee36027427c769b0b9e5e205fe43aced93d6aa66) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam

[U-Boot] [PATCH v7 04/21] arm: imx: Add Engicam i.CoreM6 QDL Starter Kit initial support

2016-10-08 Thread Jagan Teki
From: Jagan Teki Boot Log for i.CoreM6 DualLite/Solo Starter Kit: --- U-Boot SPL 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46) Trying to boot from MMC1 U-Boot 2016.09-rc2-30739-gd1fa290 (Sep 17 2016 - 00:37:46 +0530)

[U-Boot] [PATCH v7 08/21] arm: dts: Add devicetree for i.MX6DL

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add i.MX6DL dtsi support from Linux. Here is the last commit: "ARM: dts: add gpio-ranges property to iMX GPIO controllers" (sha1: bb728d662bed0fe91b152550e640cb3f6caa972c) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio

[U-Boot] [PATCH v7 09/21] arm: dts: Add devicetree for i.MX6DQL

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add i.MX6DQL dtsi support from Linux. Here is the last commit: "ARM: dts: imx6qdl: Fix SPDIF regression" (sha1: f065e9e4addd75c21bb976bb2558648bf4f61de6) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam

[U-Boot] [PATCH v7 12/21] arm: imx6q: Add devicetree support for Engicam i.CoreM6 DualLite/Solo

2016-10-08 Thread Jagan Teki
From: Jagan Teki i.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX

[U-Boot] [PATCH v7 07/21] imx: s/docs\/README.imximage/doc\/README.imximage/g

2016-10-08 Thread Jagan Teki
From: Jagan Teki Fixed typo for doc/README.imximage on respective imximage.cfg files. Cc: Tom Rini Cc: Stefano Babic Cc: Fabio Estevam Acked-by: Peng Fan Signed-off-by: Jagan Teki

[U-Boot] [PATCH V3 3/8] imx: mx7: Add plugin support

2016-10-08 Thread Peng Fan
Add mx7_plugin.S which calls boot rom setup function, generate the second ivt, and jump back to boot rom. Signed-off-by: Peng Fan Signed-off-by: Ye Li Cc: Stefano Babic Reviewed-by: Tom Rini --- V3: None V2: None

[U-Boot] [PATCH v7 15/21] arm: dts: Add devicetree for i.MX6Q

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add i.MX6Q dtsi support from Linux. Here is the last commit: "ARM: dts: add gpio-ranges property to iMX GPIO controllers" (sha1: bb728d662bed0fe91b152550e640cb3f6caa972c) Cc: Peng Fan Cc: Stefano Babic Cc: Fabio

[U-Boot] [PATCH v7 16/21] arm: dts: imx6q: Add pinctrl defines

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add imx6q pinctrl defines support from Linux. Here is the last commit: "ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ" (sha1: d8c765e0d1ddbd5032c2491c82cc9660c2f0e7f2) Cc: Peng Fan Cc: Stefano Babic Cc:

[U-Boot] [PATCH v7 14/21] engicam: icorem6: Add DM_GPIO, DM_MMC support

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add DM_GPIO, DM_MMC support for u-boot and disable for SPL. Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH v7 21/21] imx6: icorem6: Add default mtd nand partition table

2016-10-08 Thread Jagan Teki
From: Jagan Teki icorem6qdl> mtdparts device nand0 , # parts = 6 0: spl 0x0020 0x 0 1: uboot 0x0020 0x0020 0 2: env 0x0010 0x0040 0 3: kernel

[U-Boot] [PATCH v7 17/21] arm: imx6q: Add devicetree support for Engicam i.CoreM6 Quad/Dual

2016-10-08 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD

[U-Boot] [PATCH v7 18/21] mtd: nand: Kconfig: Add NAND_MXS entry

2016-10-08 Thread Jagan Teki
From: Jagan Teki Added kconfig for NAND_MXS driver. Cc: Scott Wood Cc: Simon Glass Cc: Fabio Estevam Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi

[U-Boot] [PATCH v7 19/21] imx6: icorem6: Add NAND support

2016-10-08 Thread Jagan Teki
From: Jagan Teki Add NAND support for Engicam i.CoreM6 qdl board. Boot Log: U-Boot SPL 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43) Trying to boot from NAND NAND : 512 MiB U-Boot 2016.09-rc2-30755-gd3dc581-dirty (Sep 28 2016 - 23:00:43 +0530)

[U-Boot] [PATCH v7 20/21] imx6: icorem6: Enable MTD device support

2016-10-08 Thread Jagan Teki
From: Jagan Teki Enable MTD device, partition and command support. Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v7 13/21] imx6q: icorem6: Enable pinctrl driver

2016-10-08 Thread Jagan Teki
From: Jagan Teki Enable imx6 pinctrl driver support for i.CoreM6. Cc: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Matteo Lisi Cc: Michael Trimarchi

[U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-08 Thread Chenhui Zhao
Save and restore core registers from r4 to r12 so that PSCI code won't break their value. Signed-off-by: Chenhui Zhao Signed-off-by: Alison Wang Signed-off-by: Abhimanyu Saini --- arch/arm/cpu/armv7/psci.S | 4 ++-- 1 file

[U-Boot] Bug: Support for EON NOR SPI is broken

2016-10-08 Thread Champ, Andy
... or at least I'm pretty sure it is. I'm raising a bug, not fixing it, because I don't have an Eon device; I was only looking into this trying to understand how the code works. JEDEC publication #106 contains the manufacturer IDs for JEDEC registered devices. They are coded a bit like UTF-8

[U-Boot] [PATCH v2] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC

2016-10-08 Thread linux-kernel-dev
From: Patrick Bruenn Add CX9020 board based on mx53loco. Add simplified imx53 base device tree from kernel v4.8-rc8, to reuse serial_mxc with DTE and prepare for device tree migration of other functions and imx53 devices. The CX9020 differs from i.MX53 Quick Start Board

Re: [U-Boot] [PATCH 0/6] Add support for the BK4R1 variant of PCM052

2016-10-08 Thread Stefano Babic
Hi Albert, On 06/10/2016 15:43, Albert ARIBAUD wrote: > > Hmm... What U-Boot commit do you apply above? It was on top of v2016.11-rc1, and then I have already applied several patches for i.MX. I am very sorry for that: generally, I check the patches in a separate local branch, but it seemed I

Re: [U-Boot] [PATCH v3 00/10] mx7: add dt support for Colibri iMX7S/iMX7D

2016-10-08 Thread Stefano Babic
On 06/10/2016 00:27, Stefan Agner wrote: > From: Stefan Agner > > This patchset adds device tree support for Colibri iMX7S/iMX7D. > It is the first device tree enabled board for any i.MX 7 SoC > hence the patchset adds some common infrastructure: > - Add device tree

[U-Boot] [PATCH] cosmetic: Fix indentation in README

2016-10-08 Thread Alexander von Gernler
Signed-off-by: Alexander von Gernler --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 3682e8c..3d90e3d 100644 --- a/README +++ b/README @@ -1659,7 +1659,7 @@ The following options need to be configured:

[U-Boot] [PATCH V3 6/8] imx: mx6ullevk: support plugin

2016-10-08 Thread Peng Fan
Add plugin code for mx6ullevk. Define CONFIG_USE_IMXIMG_PLUGIN in defconfig file to use plugin code. Signed-off-by: Peng Fan Cc: Stefano Babic --- V3: Update commit log V2: None board/freescale/mx6ullevk/imximage.cfg | 2 +-

[U-Boot] [PATCH] imx: mx6sx: Disable ENET clock before switching clock parent

2016-10-08 Thread Peng Fan
From: "Ye.Li" Need to gate ENET clock when switching to a new clock parent, because the mux is not glitchless. Signed-off-by: Peng Fan Signed-off-by: Ye.Li Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/clock.c | 5 + 1 file

[U-Boot] [PATCH] mmc: introduce mmc_power_init

2016-10-08 Thread Peng Fan
In device tree, there is vmmc-supply property for SD/MMC. Introduce mmc_power_init function to handle vmmc-supply. mmc_power_init will first invoke board_mmc_power_init to avoid break boards which already implement board_mmc_power_init. If DM_MMC and DM_REGULATOR is defined, the regulator will

Re: [U-Boot] [PATCHv2 2/2] armv8/fsl-lsch3: consolidate the clock system initialization

2016-10-08 Thread Z.Q. Hou
Hi Prabhakar, > -Original Message- > From: Prabhakar Kushwaha > Sent: 2016年10月8日 11:18 > To: Z.Q. Hou ; york sun ; > u-boot@lists.denx.de; albert.u.b...@aribaud.net; Mingkai Hu > ; Calvin Johnson >

Re: [U-Boot] [PATCH v1 0/2] spl: move SPL_OS_BOOT and SYS_OS_BASE to Kconfig

2016-10-08 Thread Heiko Schocher
Hello Andrew, Am 06.10.2016 um 18:29 schrieb Andrew F. Davis: On 10/06/2016 12:55 AM, Heiko Schocher wrote: This 2 patches move SPL_OS_BOOT and SYS_OS_BASE to Kconfig. Checked with tbot testcase: https://github.com/hsdenx/tbot/blob/master/src/tc/uboot/tc_uboot_check_kconfig.py result: Boards

Re: [U-Boot] Unable to boot from QSPI (u-boot 2016.11-rc1)

2016-10-08 Thread Teoh Choon Zone
On Fri, Oct 7, 2016 at 2:11 PM, Anatolij Gustschin wrote: > Hi, > > On Tue, 4 Oct 2016 15:40:08 +0800 > Teoh Choon Zone choon-zone.t...@vie.com.my wrote: > .. > > u-boot from Altera working fine, but I plan to use the mainline u-boot. > > Any idea why it does not work? > > Can you

[U-Boot] [RFC PATCH] bootm: fix ramdisk relocation

2016-10-08 Thread Cédric Le Goater
We are working on bringing to mainline a set of changes adding support for the Aspeed SoC and we have a couple of work around we are trying to elimitate first. This is one of them. The ramdisk is not relocated and Linux fails to boot. The current port does not use a device tree (yet) so that might

[U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-08 Thread Chenhui Zhao
Save and restore core registers from r4 to r12 so that PSCI code won't break their value. Signed-off-by: Chenhui Zhao Signed-off-by: Alison Wang Signed-off-by: Abhimanyu Saini --- arch/arm/cpu/armv7/psci.S | 4 ++-- 1 file

[U-Boot] [PATCH V3 5/8] imx-common: compile plugin code

2016-10-08 Thread Peng Fan
If CONFIG_USE_IMXIMG_PLUGIN is selected, plugin.bin will be generated under board/$(BOARDDIR)/. Signed-off-by: Peng Fan Cc: Stefano Babic Reviewed-by: Tom Rini --- V3: None V2: New. Make this common to all i.MX6/7, but not duplicated

  1   2   >