[U-Boot] [PATCH] am335x_hs_evm: Trim options in SPL to reduce binary size

2017-12-16 Thread Tom Rini
The am335x_hs_evm runs into size constraint problems at times with various toolchains as changes come in due to the config have a large number of options in SPL (to showcase what is possible) while also having rather constrained binary limits. Gain some of this room back by lowering the loglevel,

[U-Boot] [PATCH 2/3] ARM: dts: omap3-evm: Enable DM and devicetree for TMDSEVM{3530, 3730}

2017-12-16 Thread Derald D. Woods
This commit updates the configuration files needed to support OF_CONTROL on the OMAP3 EVM baseboard. Additionally: - CONFIG_SYS_THUMB_BUILD is enabled - CONFIG_SPL_ENV_SUPPORT is enabled - CONFIG_SPL_EXT_SUPPORT is enabled Tested using GCC 7.2.0 [--with-float=hard --with-mode=thumb].

[U-Boot] OMAP34XX FDT, OF_CONTROL, and bootargs

2017-12-16 Thread Derald D. Woods
All, Are there users of OMAP34XX boards (i.e. OMAP35x Platform) that have U-Boot booting Linux without an appended devicetree? And with 'bootargs' being passed to the kernel command line? I have been working on OMAP3 EVM and would like to know if there are any known issues, that may not be

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-12-16 Thread Tom Rini
On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > Hi Tom, > > I dropped the translation patch until Tegra can be fixed to work with > it. This is storing up problems though, since in the meantime others > might rely on the current behaviour. > >

[U-Boot] [PATCH 3/3] ARM: omap3: evm: Refactor 'board_eth_init'

2017-12-16 Thread Derald D. Woods
This commit clears 'ethaddr' before calling 'smc911x_initialize' to allow the SROM MAC address to be assigned properly. Signed-off-by: Derald D. Woods --- board/ti/evm/evm.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git

[U-Boot] [PATCH 2/3] ARM: dts: omap3-evm: Enable DM and devicetree for TMDSEVM{3530, 3730}

2017-12-16 Thread Derald D. Woods
This commit updates the configuration files needed to support OF_CONTROL on the OMAP3 EVM baseboard. Tested using GCC 7.2.0 [--with-float=hard --with-mode=thumb]. Signed-off-by: Derald D. Woods --- arch/arm/mach-omap2/omap3/Kconfig | 4

[U-Boot] [PATCH 1/3] ARM: dts: omap3-evm: Add support for TMDSEVM{3530, 3730}

2017-12-16 Thread Derald D. Woods
This commit adds OMAP3 EVM devicetree files from Linux v4.15-rc3. Note that this is the first addition of OMAP34XX devicetree files. Signed-off-by: Derald D. Woods --- arch/arm/dts/Makefile | 4 + arch/arm/dts/omap-gpmc-smsc911x.dtsi

[U-Boot] [PATCH 0/3] ARM: omap3: evm: Add OF_CONTROL support

2017-12-16 Thread Derald D. Woods
This series adds OF_CONTROL support for TMDSEVM{3530,3730} and additionally updates ethaddr setup with smc911x initialization. Devicetree files are taken from Linux v4.15-rc3. Note that this is the first addition of OMAP34XX devicetree files. Tested using GCC 7.2.0 [--with-float=hard

Re: [U-Boot] [PATCH] arm: imx: cx9020: remove usage of mx53_dram_size

2017-12-16 Thread Fabio Estevam
Hi Patrick, On Fri, Dec 15, 2017 at 10:56 AM, wrote: > From: Patrick Bruenn > > Global variables are not available during board_init_f(). > 'static uint32_t mx53_dram_size[2];' was used in board specific > dram_init(), dram_init_banksize()

Re: [U-Boot] [PATCH] ARM SOCFPGA: add resetmgr command so reset can be deasserted in bootcmd (for example on peripheral dma interfaces after fpga has been programmed).

2017-12-16 Thread Marek Vasut
On 12/16/2017 06:03 PM, Frank Mori Hess wrote: > Marek Vasut wrote: >> Please always CC the list. Do NOT top-post. > > You do realize I was replying to an email you sent to my personal address and > you didn't even send to the list? The reply was To: to the u-boot ML, CC others, check the

Re: [U-Boot] [PATCH V2 22/23] imx: add i.MX8MQ EVK support

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy > firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to > DRAM. > > The boot log: > " > U-Boot SPL 2017.11-00062-gd4c7c3ebb3-dirty (Dec 01 2017 -

Re: [U-Boot] [PATCH V2 20/23] power: pmic/regulator allow dm be omitted by SPL

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Allow the dm driver be omitted by SPL. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass > Cc: Jaehoon Chung > Cc: Stefano Babic Reviewed-by:

Re: [U-Boot] [PATCH V2 21/23] imx: imx8mq: add dtsi file

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add dtsi file for i.MX8MQ. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2 19/23] net: fec: fix build warnings for 64bits support

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > When building for 64bits system, we get some warnings about type > cast between pointer and integer. This patch eliminates the warnings > by using ulong/long type which is 32bits on 32bits system or 64bits on > 64bits system. > >

Re: [U-Boot] [PATCH V2 18/23] net: fec: do not access reserved register for i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > The MIB RAM and FIFO receive start register does not exist on > i.MX8M. Accessing these register will cause system hang. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger Reviewed-by:

Re: [U-Boot] [PATCH V2 16/23] imx: lcdif: include i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Include i.MX8M in lcdif register layout map. > Also included i.MX7ULP in this patch, since share same with i.MX8M. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH V2 17/23] gpio: mxc: add i.MX8M support

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add i.MX8M GPIO support. > There are 4 GPIO banks on i.MX8M. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH V2 15/23] mmc: fsl_esdhc: support i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Support i.MX8M in fsl esdhc driver. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2 13/23] imx: makefile: compile files for i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Compile files for i.MX8M > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2 14/23] misc: ocotp: add i.MX8M support

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks > and each bank 4 words. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH V2 11/23] imx: add pad settings bit definition for i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add pad settings bit definition for i.MX8M. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH V2 08/23] imx: cpu: update cpu file to support i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Update get_reset_cause to reflect i.MX8M > Compile out get_ahb_clk and set_chipselect_size for i.MX8M > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH V2 10/23] imx: add i.MX8MQ SoC Revision and is_mx8m helper

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add i.MX8MQ SoC Revision > Add is_mx8m helper > The 7ULP is a dummy number, so use 0xEx. Typo: 0xE1 > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH V2 09/23] imx: spl: implement spl_boot_device for i.MX8M

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Implement spl_boot_device for i.MX8M. > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2 07/23] power: pmic.h: include dm/ofnode.h

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Include dm/ofnode.h. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass > Cc: Stefano Babic Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH V2 06/23] imx: boot_mode: add USB_BOOT entry

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add USB_BOOT entry. > > Signed-off-by: Peng Fan > Reviewed-by: Stefano Babic Reviewed-by: Fabio Estevam ___ U-Boot mailing

Re: [U-Boot] [PATCH V2 05/23] imx: add sip function

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add SiP (Silicon Provider) services function to issue > SMC call to Arm Trusted Firmware. > > More SiP information could be found in > https://github.com/ARM-software/arm-trusted-firmware/blob/master/ >

Re: [U-Boot] [PATCH V2 04/23] imx: mx8m: add clock driver

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > + switch (frac_pll) { > + case ARM_PLL_CLK: > + pll_cfg0 = readl(_pll->arm_pll_cfg0); > + pll_cfg1 = readl(_pll->arm_pll_cfg1); > + pllout_div_shift =

Re: [U-Boot] [PATCH V2 03/23] imx: mx8m: add pin header file

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add pin header file for i.MX8M > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2 02/23] imx: mx8m: add register definition header file

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add register definition header file for i.MX8M > > Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH V2 01/23] imx: add i.MX8M into Kconfig

2017-12-16 Thread Fabio Estevam
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan wrote: > Add i.MX8M into Kconfig, create a new folder mx8m > dedicated for i.MX8M. > > Signed-off-by: Peng Fan > --- > arch/arm/Kconfig | 8 > arch/arm/Makefile | 4 ++-- >

Re: [U-Boot] [PATCH] ARM SOCFPGA: add resetmgr command so reset can be deasserted in bootcmd (for example on peripheral dma interfaces after fpga has been programmed).

2017-12-16 Thread Frank Mori Hess
Marek Vasut wrote: > Please always CC the list. Do NOT top-post. You do realize I was replying to an email you sent to my personal address and you didn't even send to the list? > What is your goal here ? To put things in context, my larger goal is to update u-boot from the old version altera