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

2016-10-07 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 Signed-off-by: Alison Wang Si

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

2016-10-07 Thread Alison Wang
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: Alison Wang > > --- > > arch/arm/cpu/armv7/ls1

Re: [U-Boot] [PATCH v2 02/12] x86: Add an accelerated memmove() function

2016-10-07 Thread Bin Meng
Hi Simon, On Sat, Oct 8, 2016 at 10:25 AM, Bin Meng wrote: > Hi Simon, > > On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: >> Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the >> display. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: >> - Move the co

[U-Boot] [PATCH v3 2/2] rockchip: doc: add GPT partition layout

2016-10-07 Thread Jacob Chen
A simple introduction. Signed-off-by: Jacob Chen Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None doc/README.rockchip | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 69b926c..06ec80e 100644 --- a/

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

2016-10-07 Thread Jacob Chen
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 spl, or android loader then we can support dual boot)

Re: [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning

2016-10-07 Thread Masahiro Yamada
If nobody is opposed, I want to include this patch in my series. Without this, my reset controller driver would spit a warning. 2016-10-08 13:25 GMT+09:00 Masahiro Yamada : > The of_xlate() callback needs to know fdtdec_phandle_args is struct. > > Otherwise, the following warning is displayed.

[U-Boot] [PATCH 9/9] reset: uniphier: add reset controller driver for UniPhier SoCs

2016-10-07 Thread Masahiro Yamada
This is the initial commit for UniPhier reset controller driver. Most code was ported from Linux. Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + drivers/reset/Kconfig | 9 + drivers/reset/Makefile | 1 + drivers/reset/reset-uniphier.c | 376 +

[U-Boot] [PATCH 6/9] ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD

2016-10-07 Thread Masahiro Yamada
This is an on-board Ethernet device. It has no point if the Micro Support Card is not available. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphie

[U-Boot] [PATCH 1/9] ARM: uniphier: enable SSC for DPLL (DRAM PLL) on LD11 SoC

2016-10-07 Thread Masahiro Yamada
For Electro-Magnetic Compatibility test. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/pll-ld11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-uniphier/clk/pll-ld11.c b/arch/arm/mach-uniphier/clk/pll-ld11.c index 8a4a748..7746deb 100644 --- a/arch/arm/mach-

[U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning

2016-10-07 Thread Masahiro Yamada
The of_xlate() callback needs to know fdtdec_phandle_args is struct. Otherwise, the following warning is displayed. include/reset-uclass.h:40:11: warning: 'struct fdtdec_phandle_args' declared inside parameter list struct fdtdec_phandle_args *args); ^ include/reset-uclass.h:40:11:

[U-Boot] [PATCH 7/9] ARM: uniphier: insert udelay() just before support_card_reset_deassert()

2016-10-07 Thread Masahiro Yamada
As for LD11/LD20, we can no longer rely on the udelay() in the PLL init functions. udelay(200) is needed here to keep the ethernet device in the reset state for enough time. Anyway, 200 usec is quite short for humans, so nobody cares it. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphi

[U-Boot] [PATCH 5/9] ARM: uniphier: enable CONFIG_SYS_NO_FLASH if no CONFIG_MICRO_SUPPORT_CARD

2016-10-07 Thread Masahiro Yamada
NOR flash devices are seldom used on UniPhier platforms these days. The only use case I see is the Micro Support Card is connected. Otherwise, define CONFIG_SYS_NO_FLASH to disable NOR FLASH. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 7 +++ 1 file changed, 3 insertions

[U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2

2016-10-07 Thread Masahiro Yamada
- Various SoC specpfic updates (DRAM, PLL, errata) - Minor cleanups - Add UniPhier reset controller driver Masahiro Yamada (9): ARM: uniphier: enable SSC for DPLL (DRAM PLL) on LD11 SoC ARM: uniphier: update DRAM init code for LD20 SoC (2nd) ARM: uniphier: add work-around for VBO noise

[U-Boot] [PATCH 2/9] ARM: uniphier: update DRAM init code for LD20 SoC (2nd)

2016-10-07 Thread Masahiro Yamada
- Do not reference CONFIG_DDR_FREQ; now the DDR frequency is passed from the uniphier_board_data structure - Constify parameter arrays - Tidy up cluttered macros - Lots of code cleanups - Lots of coding style fixes Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/dram/ddr

[U-Boot] [PATCH 4/9] ARM: uniphier: fix typos in a comment block

2016-10-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 29be00a..bb873a4 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -54,7 +54,7

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

2016-10-07 Thread Z.Q. Hou
Hi York, Sorry for my delay response since the National Day holidays. > -Original Message- > From: york sun > Sent: 2016年10月6日 0:20 > To: Z.Q. Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; Mingkai Hu ; Prabhakar > Kushwaha ; Calvin Johnson > > Subject: Re: [PATCHv2 2/2] armv8

[U-Boot] [PATCH 3/9] ARM: uniphier: add work-around for VBO noise problem

2016-10-07 Thread Masahiro Yamada
Raise the VDD09 voltage line to 1.0V to suppress VBO noise. This errata work-around code is needed only for ES1. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach

Re: [U-Boot] [PATCH v2 09/12] dm: video: Add driver-model support to vesa graphics

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > Provide a function to run the Vesa BIOS for a given PCI device and obtain > the resulting configuration (e.g. display size) for use by the video > uclass. This makes it easier to write a video driver that uses vesa and > supports driver model.

Re: [U-Boot] [PATCH v2 12/12] dm: x86: Move link to use driver model for video

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > Update the configuration to use the new driver. Drop the existing plumbing > code and unused header files. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile

Re: [U-Boot] [PATCH v2 10/12] x86: Adjust config to support DM_VIDEO

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > Update the common configuration so that it works correctly when > CONFIG_DM_VIDEO is enabled. This involves dropping the legacy CONFIG_VIDEO > option and changing the stdio device from "vga" to "vidconsole". > > Signed-off-by: Simon Glass > Re

Re: [U-Boot] [PATCH v2 11/12] dm: x86: Move samus to use new driver model support

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > Update the samus driver to avoid the direct call to the video BIOS setup. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/broadwell/sdram.c | 1 - > drivers/video/broadwell_igd.c | 39 +

Re: [U-Boot] [PATCH v2 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-07 Thread Bin Meng
On Sat, Oct 8, 2016 at 10:33 AM, Bin Meng wrote: > On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: >> At present we use the legacy vesa driver for graphics. Add a driver which >> supports driver model. This can be probed only when needed, removing the >> need to start up the display if it is

Re: [U-Boot] [PATCH v2 03/12] Fix return value in trailing_strtoln()

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > This function should return -1 if there is no trailing integer in the > string. Instead it returns 0. Fix it by checking for this condition at the > start. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None >

Re: [U-Boot] [PATCH v2 04/12] list: Add list_last_entry() to find the last entry

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > We have list_first_entry() but in some cases it is useful to find the last > item added to the list. Add a macro for this. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > include/linux/list.h | 11 +++

Re: [U-Boot] [PATCH v2 08/12] dm: stdio: Allow lazy probing of video devices

2016-10-07 Thread Bin Meng
On Sat, Oct 8, 2016 at 10:32 AM, Bin Meng wrote: > On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: >> At present all video devices are probed on start-up. It would be better to >> probe a device only when it is needed. This can happen if it is referenced >> in the stdout environment variable,

Re: [U-Boot] [PATCH v2 06/12] x86: video: Fix typo in broadwell Kconfig

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > 'enabled' should be 'enables'. Fix it. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > drivers/video/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > applied to u-boot-x86, thanks! _

Re: [U-Boot] [PATCH v2 05/12] dm: core: Add a function to get a uclass name

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > It is useful in debug() statements to display the name of the uclass for a > device. Add a simple function to provide this. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: > - Fix typo drive -> driver > > driv

Re: [U-Boot] [PATCH v2 02/12] x86: Add an accelerated memmove() function

2016-10-07 Thread Bin Meng
On Sat, Oct 8, 2016 at 10:25 AM, Bin Meng wrote: > Hi Simon, > > On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: >> Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the >> display. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: >> - Move the code into str

Re: [U-Boot] [PATCH v2 01/12] Revert "x86: broadwell: gpio: Remove the codes to set up pin control"

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > This makes the assumption that setting up pinctrl in cpu_init_r() is safe. > On samus we need GPIOs before relocation in order to support power control. > This commit fixes the following message on boot: > >initcall sequence ffe5c6f4 failed

[U-Boot] [PATCH v3] Add nand bootupdate command for i.MX6 and similar platforms

2016-10-07 Thread Sergey Kubushyn
This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot imx image to where they belong so system would be able to boot off of raw NAND. As of now the only way to do it is by using user-space kobs

[U-Boot] [PATCH v3] Add nand bootupdate command for i.MX6 and similar platforms

2016-10-07 Thread Sergey Kubushyn
This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot imx image to where they belong so system would be able to boot off of raw NAND. As of now the only way to do it is by using user-space kobs

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

2016-10-07 Thread Kever Yang
Hi Jacob, On 10/07/2016 02:06 PM, Jacob Chen wrote: Unify the partitions of each chip then it will be more easy for us to write scripts, tools or guides no more than 75 for one line in commit message. for rockchip chips. Those extra partitions mostly are used to be compatible with our in

[U-Boot] [PATCH v2] fs:When 'go' run the program by 'fatload', added the cache flush to prevent cache mismatch.

2016-10-07 Thread yoko
Signed-off-by: yoko --- Changes for v2: - The commit message is changed. fs/fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index 595ff1f..7607230 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -417,6 +417,8 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int a

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

2016-10-07 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.Q. Hou > Sent: Saturday, October 08, 2016 8:23 AM > To: york sun ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; Mingkai Hu ; Prabhakar > Kushwaha ; Calvin Johnson > > Subject: RE: [PATCHv2 2/2] armv8/fsl-lsch3: consolidate the clock system > initializa

Re: [U-Boot] [PATCH v2 3/3] rockchip: rk3288: Move rockchip_get_cru() out of the driver

2016-10-07 Thread Kever Yang
Hi Simon, On 10/02/2016 10:04 AM, Simon Glass wrote: This function is called from outside the driver. It should be placed into common SoC code. Move it. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to mainline and fix resulting build error - Add a similar change for rk3036 and rk339

Re: [U-Boot] [PATCH v2 2/3] rockchip: rk3399: Move rockchip_get_cru() out of the driver

2016-10-07 Thread Kever Yang
Hi Simon, On 10/02/2016 10:04 AM, Simon Glass wrote: This function is called from outside the driver. It should be placed into common SoC code. Move it. Also rename the driver symbol to be more consistent with the other rockchip clock drivers. Signed-off-by: Simon Glass --- Changes in v2: No

Re: [U-Boot] [PATCH v2 1/3] rockchip: rk3036: Move rockchip_get_cru() out of the driver

2016-10-07 Thread Kever Yang
Hi Simon, On 10/02/2016 10:04 AM, Simon Glass wrote: This function is called from outside the driver. It should be placed into common SoC code. Move it. Also rename the driver symbol to be more consistent with the other rockchip clock drivers. Signed-off-by: Simon Glass --- Changes in v2: No

Re: [U-Boot] [PATCH v2 07/12] dm: x86: video: Add a driver-model driver for ivybridge graphics

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > At present we use the legacy vesa driver for graphics. Add a driver which > supports driver model. This can be probed only when needed, removing the > need to start up the display if it is not used. > > Signed-off-by: Simon Glass > --- > > Cha

Re: [U-Boot] [PATCH v2 08/12] dm: stdio: Allow lazy probing of video devices

2016-10-07 Thread Bin Meng
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > At present all video devices are probed on start-up. It would be better to > probe a device only when it is needed. This can happen if it is referenced > in the stdout environment variable, for example. > > Add support for this by searching for

Re: [U-Boot] [PATCH v2 02/12] x86: Add an accelerated memmove() function

2016-10-07 Thread Bin Meng
Hi Simon, On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass wrote: > Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the > display. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move the code into string.c > - Fix multi-line comments that should not be > > arch/

Re: [U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Sergey Kubushyn
On Fri, 7 Oct 2016, Fabio Estevam wrote: On Fri, Oct 7, 2016 at 10:36 PM, Sergey Kubushyn wrote: OK, it is done against the latest u-boot master as it is stated in that manual on U-Boot patches. I don't know why it fails on u-boot-imx tree. U-Boot master has been pulled 2 hours ago so it is t

Re: [U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Fabio Estevam
On Fri, Oct 7, 2016 at 10:36 PM, Sergey Kubushyn wrote: > OK, it is done against the latest u-boot master as it is stated in that > manual on U-Boot patches. I don't know why it fails on u-boot-imx tree. > U-Boot master has been pulled 2 hours ago so it is the most recent one. If I try to apply

Re: [U-Boot] [PATCH] dm: ehci-mx6: support driver model

2016-10-07 Thread Peng Fan
Hi Jagan, On Thu, Sep 29, 2016 at 05:38:32PM +0530, Jagan Teki wrote: >Hi Peng, > >On Mon, Jun 20, 2016 at 7:15 AM, Peng Fan wrote: >> Hi Simon, >> >> On Fri, Jun 17, 2016 at 04:59:49PM -0600, Simon Glass wrote: >>>Hi Peng, >>> >>>On 17 June 2016 at 00:19, Peng Fan wrote: Support driver mode

Re: [U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Sergey Kubushyn
On Fri, 7 Oct 2016, Fabio Estevam wrote: On Fri, Oct 7, 2016 at 8:30 PM, Sergey Kubushyn wrote: This is my FOURTH attempt to get it into the main U-Boot tree. I do really hope it would get applied before I retire. No need for such comment in the commit log. Tried to apply it against u-boot

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

2016-10-07 Thread Peng Fan
Hi Stefano, On Tue, Oct 04, 2016 at 07:54:17PM +0200, Stefano Babic wrote: >Hi Peng, > >On 27/09/2016 11:23, Peng Fan wrote: >> Add plugin support for imximage. >> >> Define CONFIG_USE_IMXIMG_PLUGIN in defconfig to enable using plugin. >> >> Signed-off-by: Peng Fan >> Cc: Stefano Babic >> Cc: E

Re: [U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Fabio Estevam
On Fri, Oct 7, 2016 at 8:52 PM, Fabio Estevam wrote: > Tried to apply it against u-boot-imx tree: > > patch -p1 --dry-run < nand.patch > checking file arch/arm/include/asm/imx-common/mxs_nand.h > checking file cmd/Kconfig > Hunk #1 FAILED at 571. > 1 out of 1 hunk FAILED > checking file cmd/nand.

Re: [U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Fabio Estevam
On Fri, Oct 7, 2016 at 8:30 PM, Sergey Kubushyn wrote: > This is my FOURTH attempt to get it into the main U-Boot tree. I do > really hope it would get applied before I retire. No need for such comment in the commit log. Tried to apply it against u-boot-imx tree: patch -p1 --dry-run < nand.pat

Re: [U-Boot] STM32F7 Discovery hangs on master

2016-10-07 Thread Vikas MANOCHA
Hi Nicolae, > -Original Message- > From: Nicolae Rosia [mailto:nicolae.rosia@gmail.com] > Sent: Tuesday, October 04, 2016 11:18 AM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA ; Toshifumi NISHINAGA > ; Ștefan Golinschi > ; Ciprian Vasile > Subject: STM32F7 Discovery hangs on master

[U-Boot] [PATCH v2] Added nand bootupdate command for i.MX6 and similar systems

2016-10-07 Thread Sergey Kubushyn
This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot imx image to where they belong so system would be able to boot off of raw NAND. As of now the only way to do it is by using user-space kob

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Sergey Kubushyn
On Fri, 7 Oct 2016, Scott Wood wrote: On Wed, 2016-10-05 at 12:57 -0700, Sergey Kubushyn wrote: This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot mx image to where they belong so system

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Scott Wood
On Wed, 2016-10-05 at 12:57 -0700, Sergey Kubushyn wrote: > This one adds nand_bootupdate command for i.MX6 and similar MCUs. It > generates proper NAND boot structures (FCB, DBBT, etc) and writes those > along with U-Boot mx image to where they belong so system would be able > to boot off of raw N

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-07 Thread Stefan Bruens
On Freitag, 7. Oktober 2016 16:42:40 CEST Tom Rini wrote: > On Thu, Oct 06, 2016 at 09:42:52PM -0700, Eric Anholt wrote: > > Stefan Bruens writes: > > > On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: > > >> Alexander Graf writes: > > >> >> Am 05.10.2016 um 18:48 schrieb Fabian Vo

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-07 Thread Tom Rini
On Thu, Oct 06, 2016 at 09:42:52PM -0700, Eric Anholt wrote: > Stefan Bruens writes: > > > On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: > >> Alexander Graf writes: > >> >> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : > >> >> > >> >> Hi, > >> >> > >> >> Am Mittwoch, 5. Oktobe

Re: [U-Boot] [PATCH 05/16] README: Drop unused CONFIG_SYS_LS_MC_FW_... options

2016-10-07 Thread Tom Rini
On Fri, Oct 07, 2016 at 01:30:31PM -0600, Simon Glass wrote: > Hi Bin, > > On 5 October 2016 at 00:11, Bin Meng wrote: > > > > Hi Simon, > > > > On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > > > Drop a few that are not used in U-Boot. > > > > > > Signed-off-by: Simon Glass > > > --- > >

Re: [U-Boot] [PATCH 05/16] README: Drop unused CONFIG_SYS_LS_MC_FW_... options

2016-10-07 Thread Simon Glass
Hi Bin, On 5 October 2016 at 00:11, Bin Meng wrote: > > Hi Simon, > > On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass wrote: > > Drop a few that are not used in U-Boot. > > > > Signed-off-by: Simon Glass > > --- > > > > README | 20 > > include/configs/

Re: [U-Boot] [PATCH 1/1]: nand bootupdate for i.MX6 -- REBASED

2016-10-07 Thread Jagan Teki
On Fri, Oct 7, 2016 at 10:55 PM, Sergey Kubushyn wrote: > Here it is agains your latest u-boot-imx master. > > Won't post that description again to lower the noise level, just a diff > itself. I do understand it's nice feature, but don't understand what kind of a patch it is, we're not here to se

[U-Boot] [PATCH 1/1]: nand bootupdate for i.MX6 -- REBASED

2016-10-07 Thread Sergey Kubushyn
Here it is agains your latest u-boot-imx master. Won't post that description again to lower the noise level, just a diff itself. Signed-off-by: Sergey Kubushyn --- arch/arm/include/asm/imx-common/mxs_nand.h | 37 ++ cmd/Kconfig| 10 + cmd/nand.c

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Jagan Teki
+ Scott On Thu, Oct 6, 2016 at 1:27 AM, Sergey Kubushyn wrote: > This one adds nand_bootupdate command for i.MX6 and similar MCUs. It > generates proper NAND boot structures (FCB, DBBT, etc) and writes those > along with U-Boot mx image to where they belong so system would be able > to boot off o

Re: [U-Boot] [PATCH] ARM: uniphier: do not setup pins for System Bus on NAND boot mode

2016-10-07 Thread Masahiro Yamada
2016-09-26 13:13 GMT+09:00 Masahiro Yamada : > For LD11 and LD20 SoCs, the System Bus and NAND are multiplexed > in the same I/O pins. When booting from a NAND device, pin-mux > for the System Bus must not be set-up because they are exclusive > with each other. > > Signed-off-by: Masahiro Yamada

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

2016-10-07 Thread Stefano Babic
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 at: git://www.denx.de/git/u-boot-imx.git master for you to fetch changes up to 3d

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

2016-10-07 Thread Stefano Babic
On 07/10/2016 16:59, Jagan Teki wrote: > Hi Stefano, > > On Wed, Oct 5, 2016 at 2:17 AM, Jagan Teki wrote: >> 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 bo

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Sergey Kubushyn
On Fri, 7 Oct 2016, Stefano Babic wrote: Hi Sergey, On 07/10/2016 17:04, Sergey Kubushyn wrote: Can you please check this (before you retire, of course !) ? What should I use a base? I did my patches against whatever is the main U-Boot git tree (doing git pull befofe generating patches) I

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Stefano Babic
Hi Sergey, On 07/10/2016 17:04, Sergey Kubushyn wrote: >> >> Can you please check this (before you retire, of course !) ? > > What should I use a base? I did my patches against whatever is the main > U-Boot git tree (doing git pull befofe generating patches) I tried on top of v2016.11-rc1, but i

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Fabio Estevam
On Fri, Oct 7, 2016 at 12:04 PM, Sergey Kubushyn wrote: > What should I use a base? I did my patches against whatever is the main > U-Boot git tree (doing git pull befofe generating patches) but it is a > moving target so there is absolutely no guarantee it will work if I pull > again and redo th

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Sergey Kubushyn
On Fri, 7 Oct 2016, Stefano Babic wrote: Hi Sergey, On 05/10/2016 21:57, Sergey Kubushyn wrote: This one adds nand_bootupdate command for i.MX6 and similar MCUs. It generates proper NAND boot structures (FCB, DBBT, etc) and writes those along with U-Boot mx image to where they belong so system

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

2016-10-07 Thread Jagan Teki
Hi Stefano, On Wed, Oct 5, 2016 at 2:17 AM, Jagan Teki wrote: > 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 v6: > - Rebase to u-boo

Re: [U-Boot] [PATCH] board: ge: bx50v3: Pass video bootargs for b850v3

2016-10-07 Thread Stefano Babic
On 07/10/2016 16:30, Akshay Bhat wrote: > Hi Stefano > > On Fri, Oct 7, 2016 at 6:25 AM, Stefano Babic wrote: >> >> But not pushed: in fact, this canoot be built anymore. You add a new >> CONFIG_ (but do you really need it ?), and this is not allowed anymore. >> It generates a build error because

Re: [U-Boot] [PATCH] board: ge: bx50v3: Pass video bootargs for b850v3

2016-10-07 Thread Akshay Bhat
Hi Stefano On Fri, Oct 7, 2016 at 6:25 AM, Stefano Babic wrote: > > But not pushed: in fact, this canoot be built anymore. You add a new > CONFIG_ (but do you really need it ?), and this is not allowed anymore. > It generates a build error because all CONFIG_ should be set via Kconfig. > >

Re: [U-Boot] [PATCH 1/1]: add nand_bootupdate for i.MX6 and likes

2016-10-07 Thread Stefano Babic
Hi Sergey, On 05/10/2016 21:57, Sergey Kubushyn wrote: > This one adds nand_bootupdate command for i.MX6 and similar MCUs. It > generates proper NAND boot structures (FCB, DBBT, etc) and writes those > along with U-Boot mx image to where they belong so system would be able > to boot off of raw NAN

[U-Boot] [PATCH v2] board: ge: bx50v3: Pass video bootargs for b850v3

2016-10-07 Thread Akshay Bhat
From: Ken Lin Due to clock source restrictions on i.MX6, certain pixel clock rates can not be supported. Hence default the resolution/frame rate during boot to a supported value by passing video bootargs 1024x768@60 for HDMI (Display Port1) and LVDS (Display Port2) on B850v3. Signed-off-by: Ken

Re: [U-Boot] [PATCH v2] ARM: vf610: use strcpy for soc environment variable

2016-10-07 Thread Stefano Babic
On 28/09/2016 11:29, Marcel Ziswiler wrote: > From: Stefan Agner > > To create the soc environment variable we concatenate two strings > on the stack. So far, strcat has been used for the first string as > well as for the second string. Since the variable on the stack is > not initialized, the fi

Re: [U-Boot] [U-Boot, RFC] ARM: create .secure_stack section only for PSCI

2016-10-07 Thread Tom Rini
On Mon, Sep 26, 2016 at 02:21:30PM +0900, Masahiro Yamada wrote: > Jon Master reports that QEMU refuses to load a U-Boot image built > with CONFIG_ARMV7_NONSEC, but without CONFIG_ARMV7_PSCI since > commit 5a3aae68c74e ("ARM: armv7: guard memory reserve for PSCI > with #ifdef CONFIG_ARMV7_PSCI").

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

2016-10-07 Thread Pratiyush Srivastava
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 York's comments - Removed hwconfig variable Changes for v2 : - Removed "initrd_high=0x\0" - R

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

2016-10-07 Thread Pratiyush Srivastava
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 --- Changes for v4: Incorporated York's Comments - Removed hwconfig variable Changes for v3: - Re

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

2016-10-07 Thread Stefano Babic
Hi Patrick, I see a couple of small issues by merging this: On 28/09/2016 17:46, linux-kernel-...@beckhoff.com wrote: > 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 devic

Re: [U-Boot] [PATCH] board: ge: bx50v3: Pass video bootargs for b850v3

2016-10-07 Thread Stefano Babic
Hi Akshay, On 06/10/2016 09:37, Stefano Babic wrote: > On 22/09/2016 20:55, Akshay Bhat wrote: >> From: Ken Lin >> >> Due to clock source restrictions on i.MX6, certain pixel clock rates can >> not be supported. Hence default the resolution/frame rate during boot to a >> supported value by passin

[U-Boot] [PATCH v3 1/3] rk3288: config change for enable dram capacity auto-detect.

2016-10-07 Thread Kever Yang
Enable ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT to save memory in order to enable add source code for dram capacity auto-detect. Signed-off-by: Kever Yang --- Changes in v3: - move the config into defconfig file Changes in v2: None configs/evb-rk3288_defconfig | 1 +

[U-Boot] [PATCH v3 3/3] dts: rk3288: remove node in dmc which not need anymore

2016-10-07 Thread Kever Yang
Since we implement the dram capacity auto detect, we don't need to set the channel number and sdram-channel in dts. Signed-off-by: Kever Yang Acked-by: Simon Glass Tested-by: Simon Glass Tested-by: Vagrant Cascadian --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3288-evb.dts

[U-Boot] [PATCH v3 2/3] rk3288: sdram: auto-detect the capacity

2016-10-07 Thread Kever Yang
Add support for rk3288 dram capacity auto detect, support DDR3 and LPDDR3, DDR2 is not supported. The program will automatically detect: - channel number - rank number - column address number - row address number The dts file do not need to describe those info after apply this patch. Signed-off-b

[U-Boot] [PATCH v3 0/3] Add sdram capacity auto detect for rk3288

2016-10-07 Thread Kever Yang
The rk3288 spl size is very close to 32KB while the rk3288 bootrom has the limitation of maximum size of SPL is 32KB. After apply this patch, the SPL size will exceed 32KB if we do not enable macro CONFIG_ROCKCHIP_SPL_BACK_TO_BROM and disable CONFIG_SPL_MMC_SUPPORT. This patch has test with 2GB D

Re: [U-Boot] [PATCH] test: add NFS download test

2016-10-07 Thread Guillaume Gardet
Le 23/09/2016 à 22:52, Joe Hershberger a écrit : On Wed, Sep 14, 2016 at 3:29 AM, Guillaume GARDET wrote: Add a NFS download test, based on TFTP test. Tested on i.MX6 SabreLite board. Signed-off-by: Guillaume GARDET Cc: Tom Rini Cc: Joe Hershberger Cc: Stephen Warren Cc: Simon Glass A

[U-Boot] [PATCH] mmc: rockchip_sdhci: add clock init for mmc

2016-10-07 Thread Kever Yang
Init the clock rate to CONFIG_ROCKCHIP_SDHCI_MAX_FREQ with clock driver api. Signed-off-by: Kever Yang --- drivers/mmc/rockchip_sdhci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c index c56e1a3..e787343 100644 --- a/drivers

Re: [U-Boot] [PATCH v2 2/3] rk3288: sdram: auto-detect the capacity

2016-10-07 Thread Kever Yang
Hi Simon, On 09/23/2016 10:53 AM, Simon Glass wrote: Hi Kever, On 19 September 2016 at 21:28, Kever Yang wrote: Add support for rk3288 dram capacity auto detect, support DDR3 and LPDDR3, DDR2 is not supported. The program will automatically detect: - channel number - rank number - column addr

[U-Boot] [PATCH v2 0/3] Enable DM support for USB in LS2080

2016-10-07 Thread Sriram Dash
Add the device tree support for LS2080RDB nand boot. Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS2080. Sriram Dash (3): armv8: LS2080A: Add device tree support for nand boot armv8: ls2080: Enable CONFIG_DM_USB in defconfigs armv8: ls2080: Add USB node in dts for

[U-Boot] [PATCH v2 1/3] armv8: LS2080A: Add device tree support for nand boot

2016-10-07 Thread Sriram Dash
Add device tree support for LS2080ARDB nand boot. Signed-off-by: Sriram Dash --- configs/ls2080ardb_nand_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ls2080ardb_nand_defconfig b/configs/ls2080ardb_nand_defconfig index 551f158..7183d76 100644 --- a/configs/ls2080ardb_n

Re: [U-Boot] [PATCH v2 0/9] sunxi: sun5/7i: add the psci suspend function

2016-10-07 Thread Hans de Goede
Hi Antoine, On 06-10-16 16:33, Antoine Tenart wrote: Hi all, This series adds an implementation of the psci suspend function for both sun5i and sun7i. This was tested on Nextthing's CHIP and on a A20, using cpuidle in Linux. My tests showed a power consumption reduced by a factor 2 on the CHIP

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-07 Thread Alexandr Bochkarev
Hi! Very appreciate your help! Hope we will fix it, because my board will be garbage without emmc ( So, my steps: git clone git://git.denx.de/u-boot.git --depth 1; cd u-boot; make CROSS_COMPILE=arm-linux-gnueabihf- A20-OLinuXino-Lime_defconfig make CROSS_COMPILE=arm-linux-gnueabihf- Also turn on

[U-Boot] [PATCH v2 3/3] armv8: ls2080: Add USB node in dts for ls2080

2016-10-07 Thread Sriram Dash
Add the USB node for LS2080 in dts. Signed-off-by: Sriram Dash --- Changes in v2 - No change arch/arm/dts/fsl-ls2080a.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b308c8b..f76e981 100644 --- a/ar

[U-Boot] [PATCH v2 2/3] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-07 Thread Sriram Dash
Enables driver model flag CONFIG_DM_USB for LS2080A platform defconfigs. Signed-off-by: Sriram Dash --- Changes in v2 - Rebase configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig| 1 + configs/ls2080aqds_

[U-Boot] [PATCH] evb-rk3399: config: set emmc as default boot dev

2016-10-07 Thread Kever Yang
rk3399 has two mmc dev controller: mmc 0: SD card; mmc 1: EMMC U-Boot will scan the mmc boot device configured by CONFIG_SYS_MMC_ENV_DEV, since evb has emmc on board, let's set the EMMC as default. Signed-off-by: Kever Yang --- include/configs/evb_rk3399.h | 2 +- 1 file changed, 1 insertion(+

[U-Boot] [PATCH] rk3288: fix reg address for GRF_SOC_CON2

2016-10-07 Thread Kever Yang
The GRF base address is missing, fix it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288/rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/rk3288/rk3288.c b/arch/arm/mach-rockchip/rk3288/rk3288.c index 92f34bb..acc3b79 100644 --- a/

[U-Boot] [PATCH] rk3399: disable the clock multiplier support when SoC init

2016-10-07 Thread Kever Yang
The Clock Multiplier in rk3399 EMMC programmable clock generator is broken, we can remove its support from SoC GRF register. Without this patch, rk3399 emmc driver is not work after below patch applied: 6dffdbc mmc: sdhci: Add the programmable clock mode support Signed-off-by: Kever Yang --- a

Re: [U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-10-07 Thread Kever Yang
Hi Jaehoon, On 09/30/2016 06:48 PM, Jaehoon Chung wrote: Hi Kever, On 09/30/2016 07:05 PM, Kever Yang wrote: Hi Wenyou, I can not enable my emmc device on my evb-rk3399 with this patch, could you help to fix it? Here is the debug info may help: mmc->cfg->f_max is 2; [with th

Re: [U-Boot] [PATCH] fastboot: add support for writing raw MMC

2016-10-07 Thread Petr Kulhavy
On 07/10/16 01:57, Jaehoon Chung wrote: On 10/05/2016 10:38 PM, Petr Kulhavy wrote: The current fastboot implementation is only able to flash partition images. However sometimes it is needed to write the raw MMC, e.g. when storing the U-boot environment image or SPL. This patch adds the possi