[U-Boot] [PATCH 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position

2014-11-10 Thread Ye . Li
Set the CONFIG_ENV_OFFSET from 384KB to 512KB offset, so we will have larger space for u-boot image. When enabling NAND flash support feature, the u-boot image size has exceeded the 384KB, which causes overlay to the environment variables storage. Signed-off-by: Ye.Li b37...@freescale.com ---

[U-Boot] [PATCH 2/2] imx: mx6q/dlsabreauto: And NAND flash support

2014-11-10 Thread Ye . Li
The i.MX6Q/DL sabreauto board has one NAND socket, set the CONFIG_NAND_MXS and relevant NAND configurations to enable the MXS NAND flash driver. Add board level codes to set IOMUX and clock for GPMI-NAND and BCH module. Signed-off-by: Ye.Li b37...@freescale.com ---

Re: [U-Boot] [PATCH] powerpc: remove orphaned boards mcc200 and prs200

2014-11-10 Thread Masahiro Yamada
Hi Nikita, Thanks for cleaning up! On Fri, 7 Nov 2014 14:17:18 +0200 Nikita Kiryanov nik...@compulab.co.il wrote: diff --git a/doc/README.scrapyard b/doc/README.scrapyard index bd4dd3c..bfaabeb 100644 --- a/doc/README.scrapyard +++ b/doc/README.scrapyard @@ -15,6 +15,8 @@ Board

Re: [U-Boot] [PATCH 2/4 v4] arm: socfpga: dts: Add Cadence QSPI DT node to socfpga.dtsi

2014-11-10 Thread Pavel Machek
On Fri 2014-11-07 18:26:05, Stefan Roese wrote: Hi Simon, On 07.11.2014 18:21, Simon Glass wrote: + qspi: spi@ff705000 { + compatible = cadence,qspi; + #address-cells = 1; + #size-cells = 0; +

[U-Boot] [PATCH v7] net/phy: Add support for CS4315/CS4340 PHY

2014-11-10 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware from NOR/NAND/SPI/SD device to initialize Cortina PHY. - Cortina PHY has non-standard offset of PHY ID registers, thus we define own get_phy_id() to override default get_phy_id(). - To define macro

Re: [U-Boot] [PATCH v7] net/phy: Add support for CS4315/CS4340 PHY

2014-11-10 Thread shengzhou....@freescale.com
-Original Message- From: Shengzhou Liu [mailto:shengzhou@freescale.com] Sent: Monday, November 10, 2014 6:32 PM To: u-boot@lists.denx.de; Sun York-R58495; joe.hershber...@gmail.com Cc: Liu Shengzhou-B36685 Subject: [PATCH v7] net/phy: Add support for CS4315/CS4340 PHY The link

Re: [U-Boot] [PATCH 2/2] imx: mx6q/dlsabreauto: And NAND flash support

2014-11-10 Thread Fabio Estevam
On Mon, Nov 10, 2014 at 6:29 AM, Ye.Li b37...@freescale.com wrote: +#ifdef CONFIG_NAND_MXS +iomux_v3_cfg_t gpmi_pads[] = { This can be made 'static'. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-10 Thread bomellberg
Upon further investigation, it seems like the board DOES receive the 0x01 START_CHAR. An RS232 sniffer shows that the 0x01 is being sent, and the board answers 'S'. It does not show on the console though. I will need to go deeper into the code to see why it fails. Both CKermit and TeraTerm makes

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-10 Thread Wolfgang Denk
Dear bomellberg, In message 1415622808801-195379.p...@n7.nabble.com you wrote: Upon further investigation, it seems like the board DOES receive the 0x01 START_CHAR. An RS232 sniffer shows that the 0x01 is being sent, and the board answers 'S'. It does not show on the console though. I will

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-10 Thread bomellberg
Dear Wolfgang, Which sort of hardware are you using? I am using an NXP LPC4337 cpu with external SDRAM and SPIFI flash. No ethernet. My config files are based upon code for the Embedded Artists LPC4357 demo board (ea-lpc4357.h) See my first post. Thanks, /Bo -- View this message in

[U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2014-11-10 Thread Hans de Goede
From: Oliver Schinagl oli...@schinagl.nl The A31 uses the AXP221 pmic for various voltages. Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego...@redhat.com -- Changes in v2: -Rebase Changes in v3: -Add support for all dldo and aldo-s -Add Kconfig option to

Re: [U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread Marc Zyngier
On 10/11/14 12:51, Jan Kiszka wrote: Hi Marc, what is the motivation to expose a PSCI 0.1 interface in U-boot, instead of 0.2? Support for preexisting users of 0.1? The kernel seems to be happy with both, and I'm now wondering if we should actually add the legacy version to Jailhouse as

Re: [U-Boot] ARM: flush_dcache_all for PSCI

2014-11-10 Thread Marc Zyngier
On 10/11/14 12:57, Jan Kiszka wrote: Hi all, I'm trying to get Marc's CPU hotplug-anabling patch [1] for sunxi working on a B-Pi. After the first discussion it became clear that we need something like flush_dcache_all in the PSCI monitor (I don't think we need an icache flush, do we?). Does

Re: [U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2014-11-10 Thread Ian Campbell
On Mon, 2014-11-10 at 14:11 +0100, Hans de Goede wrote: From: Oliver Schinagl oli...@schinagl.nl The A31 uses the AXP221 pmic for various voltages. Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell

[U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread Jan Kiszka
Hi Marc, what is the motivation to expose a PSCI 0.1 interface in U-boot, instead of 0.2? Support for preexisting users of 0.1? The kernel seems to be happy with both, and I'm now wondering if we should actually add the legacy version to Jailhouse as well (I hope we can avoid this). Still

[U-Boot] ARM: flush_dcache_all for PSCI

2014-11-10 Thread Jan Kiszka
Hi all, I'm trying to get Marc's CPU hotplug-anabling patch [1] for sunxi working on a B-Pi. After the first discussion it became clear that we need something like flush_dcache_all in the PSCI monitor (I don't think we need an icache flush, do we?). Does anyone have a clever suggestion how to

Re: [U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread Jan Kiszka
On 2014-11-10 14:08, Marc Zyngier wrote: On 10/11/14 12:51, Jan Kiszka wrote: Hi Marc, what is the motivation to expose a PSCI 0.1 interface in U-boot, instead of 0.2? Support for preexisting users of 0.1? The kernel seems to be happy with both, and I'm now wondering if we should actually

Re: [U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2014-11-10 Thread Hans de Goede
Hi, On 11/10/2014 02:20 PM, Ian Campbell wrote: On Mon, 2014-11-10 at 14:11 +0100, Hans de Goede wrote: From: Oliver Schinagl oli...@schinagl.nl The A31 uses the AXP221 pmic for various voltages. Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede

[U-Boot] [PATCH 3/3] ot1200: rework card detect for eMMC

2014-11-10 Thread Christian Gmeiner
Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- board/bachmann/ot1200/ot1200.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/board/bachmann/ot1200/ot1200.c b/board/bachmann/ot1200/ot1200.c index 45d761f..2ed8cf7 100644 ---

Re: [U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread Jan Kiszka
On 2014-11-10 14:29, bhupesh.sha...@freescale.com wrote: Hi, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jan Kiszka Sent: Monday, November 10, 2014 6:56 PM To: Marc Zyngier Cc: u-boot@lists.denx.de Subject: Re:

[U-Boot] [PATCH] ot1200: add support for EHCI

2014-11-10 Thread Christian Gmeiner
U-Boot 2014.10-17457-g0b23780-dirty (Nov 10 2014 - 11:41:04) CPU: Freescale i.MX6D rev1.2 at 792 MHz Reset cause: WDOG Board: ot1200 I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected M25P16 with page size 256 Bytes, erase size 64 KiB, total 2 MiB In:serial Out: serial

Re: [U-Boot] [PATCH 3/3] ot1200: rework card detect for eMMC

2014-11-10 Thread Christian Gmeiner
ignore... -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner 2014-11-10 14:34 GMT+01:00 Christian Gmeiner christian.gmei...@gmail.com: Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- board/bachmann/ot1200/ot1200.c | 7 --- 1 file changed, 4

Re: [U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread Marc Zyngier
On 10/11/14 13:25, Jan Kiszka wrote: On 2014-11-10 14:08, Marc Zyngier wrote: On 10/11/14 12:51, Jan Kiszka wrote: Hi Marc, what is the motivation to expose a PSCI 0.1 interface in U-boot, instead of 0.2? Support for preexisting users of 0.1? The kernel seems to be happy with both, and I'm

Re: [U-Boot] ARM: PSCI 0.1 vs 0.2

2014-11-10 Thread bhupesh.sha...@freescale.com
Hi, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Jan Kiszka Sent: Monday, November 10, 2014 6:56 PM To: Marc Zyngier Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] ARM: PSCI 0.1 vs 0.2 On 2014-11-10 14:08, Marc Zyngier

Re: [U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2014-11-10 Thread Ian Campbell
On Mon, 2014-11-10 at 14:33 +0100, Hans de Goede wrote: Hi, On 11/10/2014 02:20 PM, Ian Campbell wrote: On Mon, 2014-11-10 at 14:11 +0100, Hans de Goede wrote: From: Oliver Schinagl oli...@schinagl.nl The A31 uses the AXP221 pmic for various voltages. Signed-off-by: Oliver Schinagl

Re: [U-Boot] [PATCH 1/2] imx: mx6q/dl sabre_common: Move MMC ENV offset to 512KB position

2014-11-10 Thread Fabio Estevam
On Mon, Nov 10, 2014 at 6:29 AM, Ye.Li b37...@freescale.com wrote: Set the CONFIG_ENV_OFFSET from 384KB to 512KB offset, so we will have larger space for u-boot image. When enabling NAND flash support feature, the u-boot image size has exceeded the 384KB, which causes overlay to the

Re: [U-Boot] [PATCH v4] sun6i: Add basic axp221 driver

2014-11-10 Thread Hans de Goede
Hi, On 11/10/2014 03:13 PM, Ian Campbell wrote: On Mon, 2014-11-10 at 14:33 +0100, Hans de Goede wrote: Hi, On 11/10/2014 02:20 PM, Ian Campbell wrote: On Mon, 2014-11-10 at 14:11 +0100, Hans de Goede wrote: From: Oliver Schinagl oli...@schinagl.nl The A31 uses the AXP221 pmic for various

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread DaveKucharczyk
Hi again. I just have a few things left to complete the port and hoping someone can help me out. 1. How come setenv is not working in the board file? I tried setenv in different locations of board_early_init_f(), board_init(), board_late_init() and checkboard(), but it's not working. Did

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread Fabio Estevam
On Mon, Nov 10, 2014 at 1:14 PM, DaveKucharczyk david.kucharc...@gmail.com wrote: Hi again. I just have a few things left to complete the port and hoping someone can help me out. 1. How come setenv is not working in the board file? I tried setenv in different locations of

Re: [U-Boot] [PATCH v3 3/3] exynos: Increase command line buffer size (CONFIG_SYS_CBSIZE)

2014-11-10 Thread Simon Glass
On 9 November 2014 03:44, Ian Campbell i...@hellion.org.uk wrote: From: Ian Campbell ian.campb...@citrix.com I was running into this limit with a not overly long PXE append line. Since the PXE code wants to print the resulting command line increase CONFIG_SYS_PBSIZE too. Signed-off-by: Ian

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread Wolfgang Denk
Dear Fabio Estevam, In message CAOMZO5AiJtDt_CZrO6gzU=jipp_2-etpigfck7zhfhnnzxp...@mail.gmail.com you wrote: 1. How come setenv is not working in the board file? I tried setenv in different locations of board_early_init_f(), board_init(), board_late_init() and checkboard(), but it's not

Re: [U-Boot] [PATCH v3 3/3] exynos: Increase command line buffer size (CONFIG_SYS_CBSIZE)

2014-11-10 Thread Fabio Estevam
On Sun, Nov 9, 2014 at 8:44 AM, Ian Campbell i...@hellion.org.uk wrote: /* Miscellaneous configurable options */ -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -#define CONFIG_SYS_PBSIZE 384 /* Print Buffer Size */ +#define CONFIG_SYS_CBSIZE

Re: [U-Boot] [PATCH 2/4 v4] arm: socfpga: dts: Add Cadence QSPI DT node to socfpga.dtsi

2014-11-10 Thread Dinh Nguyen
+CC: Graham Moore On 11/10/2014 04:47 AM, Pavel Machek wrote: On Fri 2014-11-07 18:26:05, Stefan Roese wrote: Hi Simon, On 07.11.2014 18:21, Simon Glass wrote: + qspi: spi@ff705000 { + compatible = cadence,qspi; + #address-cells =

Re: [U-Boot] verified boot of beaglebone black

2014-11-10 Thread Simon Glass
Hi, On 9 November 2014 17:13, Srinivasan S srinivasa...@tataelxsi.co.in wrote: Hi Simon, Hi Simon, As you suggested earlier am using u-boot-2014.07 Am using ~/ti-sdk-am335x-evm-07.00.00.00/bin/create-sdcard.sh for creating the partitions, After creating the partitions I tried

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread Fabio Estevam
On Mon, Nov 10, 2014 at 1:47 PM, Wolfgang Denk w...@denx.de wrote: Dear Fabio Estevam, In message CAOMZO5AiJtDt_CZrO6gzU=jipp_2-etpigfck7zhfhnnzxp...@mail.gmail.com you wrote: 1. How come setenv is not working in the board file? I tried setenv in different locations of

[U-Boot] [PATCH] mx28evk: README: Revision C is also supported

2014-11-10 Thread Fabio Estevam
Adjust the text to mention that rev C of the board is also supported. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx28evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx28evk/README b/board/freescale/mx28evk/README

[U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Enable 8-bit eMMC access on the dra7xx_evm

2014-11-10 Thread Lubomir Popov
Tested on a Vayu EVM Rev.E2 with DRA752 ES1.1 Signed-off-by: Lubomir Popov l-po...@ti.com --- include/configs/dra7xx_evm.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 2eaabde..174a711 100644 ---

Re: [U-Boot] [PATCH] powerpc: remove orphaned boards mcc200 and prs200

2014-11-10 Thread Nikita Kiryanov
Hi Masahiro, On 11/10/2014 10:33 AM, Masahiro Yamada wrote: Hi Nikita, Thanks for cleaning up! On Fri, 7 Nov 2014 14:17:18 +0200 Nikita Kiryanov nik...@compulab.co.il wrote: diff --git a/doc/README.scrapyard b/doc/README.scrapyard index bd4dd3c..bfaabeb 100644 --- a/doc/README.scrapyard

[U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Fix misleading comments in mux_data.h

2014-11-10 Thread Lubomir Popov
The comments on the QSPI pad assignments erronously swapped the qspi1_d0 and qspi1_d1 functionality and could cause confusion. QSPI1_D[0] is in fact muxed on pad U1 (gpmc_a16), and QSPI1_D[1] - on pad P3 (gpmc_a17). Fixing comments. Signed-off-by: Lubomir Popov l-po...@ti.com ---

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread Nikolay Dimitrov
Hi gents, On 11/10/2014 06:04 PM, Fabio Estevam wrote: On Mon, Nov 10, 2014 at 1:47 PM, Wolfgang Denk w...@denx.de wrote: Dear Fabio Estevam, In message CAOMZO5AiJtDt_CZrO6gzU=jipp_2-etpigfck7zhfhnnzxp...@mail.gmail.com you wrote: 1. How come setenv is not working in the board file? I

[U-Boot] [PATCH v3] mpc85xx: inhibit bman portals by default

2014-11-10 Thread Jeffrey Ladouceur
Not all portals might be managed and therefore visible. Set the isdr register so that the corresponding isr register won't be set. This is needed for deepsleep. Signed-off-by: Jeffrey Ladouceur jeffrey.ladouc...@freescale.com --- The following dependent patches should be applied first:

Re: [U-Boot] [PATCH] powerpc: remove orphaned boards mcc200 and prs200

2014-11-10 Thread Masahiro YAMADA
Hello Nikita, 2014-11-11 1:24 GMT+09:00 Nikita Kiryanov nik...@compulab.co.il: I think we are supposed to fill blank fields that have been added by former commits (in this case, Commit/Removed fields of TOP*) git log on the scrapyard file shows me that the commit IDs were always filled

Re: [U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Fix misleading comments in mux_data.h

2014-11-10 Thread Tom Rini
On Mon, Nov 10, 2014 at 06:34:10PM +0200, Lubomir Popov wrote: The comments on the QSPI pad assignments erronously swapped the qspi1_d0 and qspi1_d1 functionality and could cause confusion. QSPI1_D[0] is in fact muxed on pad U1 (gpmc_a16), and QSPI1_D[1] - on pad P3 (gpmc_a17). Fixing

Re: [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 11:19:23PM +0100, Albert ARIBAUD wrote: Hello Paul, On Sat, 8 Nov 2014 23:14:54 +0100, Paul Kocialkowski cont...@paulk.fr wrote: This is a first attempt at adding support for U-Boot image load from raw partitions. It does not support OS boot as I cannot test it on

Re: [U-Boot] [PATCH 1/2] MMC SD fs boot partition config coding style and proper description

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 11:14:55PM +0100, Paul Kocialkowski wrote: CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION ought to be called CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to keep it consistent with other config options such as: CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR. In addition, it is not related to

Re: [U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Enable 8-bit eMMC access on the dra7xx_evm

2014-11-10 Thread Tom Rini
On Mon, Nov 10, 2014 at 06:14:18PM +0200, Lubomir Popov wrote: Tested on a Vayu EVM Rev.E2 with DRA752 ES1.1 Signed-off-by: Lubomir Popov l-po...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 2/2] spl: MMC U-Boot image load from raw partition

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 11:14:56PM +0100, Paul Kocialkowski wrote: Raw images of U-Boot can be stored inside MMC partitions, so it makes sense to read the partition table, looking for a partition number instead of using a fixed sector address. Signed-off-by: Paul Kocialkowski

Re: [U-Boot] [PATCH v4 2/3] twl4030: device-index-specific MMC power initializations, common ramp-up delay

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 08:55:46PM +0100, Paul Kocialkowski wrote: Not every device has multiple MMC slots available, so it makes sense to enable only the required LDOs for the available slots. Generic code in omap_hsmmc will enable both VMMC1 and VMMC2, in doubt. Signed-off-by: Paul

Re: [U-Boot] [PATCH v4 3/3] omap_hsmmc: Board-specific TWL4030 MMC power initializations

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 08:55:47PM +0100, Paul Kocialkowski wrote: Boards using the TWL4030 regulator may not all use the LDOs the same way (e.g. MMC2 power can be controlled by another LDO than VMMC2). This delegates TWL4030 MMC power initializations to board-specific functions, that may

Re: [U-Boot] [PATCH v4 3/3] omap_hsmmc: Board-specific TWL4030 MMC power initializations

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 10:29:24PM +0100, Paul Kocialkowski wrote: Le samedi 08 novembre 2014 à 20:55 +0100, Paul Kocialkowski a écrit : Boards using the TWL4030 regulator may not all use the LDOs the same way (e.g. MMC2 power can be controlled by another LDO than VMMC2). This delegates

Re: [U-Boot] [PATCH v4 1/3] mmc: Board-specific MMC power initializations

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 08:55:45PM +0100, Paul Kocialkowski wrote: Some devices may use non-standard combinations of regulators to power MMC: this allows these devices to provide a board-specific MMC power init function to set everything up in their own way. Signed-off-by: Paul Kocialkowski

Re: [U-Boot] [PATCH 02/11] arm: omap5: tps659038: rename regulator defines

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:43AM -0600, Felipe Balbi wrote: Those regulators don't have any coupling with what they supply, so remove the suffixes in order to not confuse anybody. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc

Re: [U-Boot] [PATCH 01/11] arm: omap5: don't enable misc_init_r by default

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:42AM -0600, Felipe Balbi wrote: Out of all OMAP5-like boards, only one of them needs CONFIG_MISC_INIT_R, so it's best to enable that for that particular board only, instead of enabling for all boards unconditionally. Signed-off-by: Felipe Balbi ba...@ti.com

Re: [U-Boot] [PATCH] broadcom: add seven boards

2014-11-10 Thread Tom Rini
On Sat, Nov 08, 2014 at 09:25:06AM +0100, Albert ARIBAUD wrote: Hello Steve, On Fri, 7 Nov 2014 18:13:18 -0800, Steve Rae s...@broadcom.com wrote: - 5 based on cygnus, 2 based on 28155 - updates to support board families better - add functions so CONFIG_ARMV7_NONSEC can be enabled on

Re: [U-Boot] [PATCH 03/11] arm: dra7xx: prcm: add missing registers

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:44AM -0600, Felipe Balbi wrote: some boards might want to use USB1 for host, without fiddling those registers it'll be impossible. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 04/11] usb: phy: omap_usb_phy: fix build breakage

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:45AM -0600, Felipe Balbi wrote: there's no such function usb3_phy_power(), it's likely that author meant to call, usb_phy_power() instead, but that's already called properly from xhci-omap.c. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 05/11] arm: omap-common: emif: allow to map memory without interleaving

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:46AM -0600, Felipe Balbi wrote: If we want to have two sections, one on each EMIF, without interleaving, current code wouldn't enable emif2. Fix that problem. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc

Re: [U-Boot] [PATCH 07/11] arm: omap5: make hw_init_data weak

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:48AM -0600, Felipe Balbi wrote: this way we can let boards overwrite based on what they need. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 10/11] arm: omap: add support for am57xx devices

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:51AM -0600, Felipe Balbi wrote: just add a few ifdefs around because this device is very similar to dra7xxx. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 06/11] configs: omap5_common : Boot rootfs from sd card by default

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:47AM -0600, Felipe Balbi wrote: From: Franklin S Cooper Jr fcoo...@ti.com * Since the emmc isn't always programed trying to load the fs from the emmc causes boot failures/kernel panic. * The current bootcmd is set to: bootcmd=run findfdt; run

Re: [U-Boot] [PATCH 09/11] arm: omap_common: expose tps659038 and dra7xx_dplls

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:50AM -0600, Felipe Balbi wrote: expose those two definitions so they can be used by another board which we're adding in upcoming patches. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 08/11] arm: omap5: sdram: mark emif_get_ext_phy_ctrl_const_regs __weak

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:28:49AM -0600, Felipe Balbi wrote: this will allow for boards to overwrite those in case memory setup is different. Signed-off-by: Felipe Balbi ba...@ti.com Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 11/11] beagle_x15: add board support for Beagle x15

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 08:44:27AM -0600, Felipe Balbi wrote: BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated

Re: [U-Boot] [PATCH v2 1/4] x86: Do CPU identification in the early phase

2014-11-10 Thread Simon Glass
Hi Bin, On 9 November 2014 07:18, Bin Meng bmeng...@gmail.com wrote: The CPU identification happens in x86_cpu_init_f() and corresponding fields are saved in the global data for later use. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes for v2: - Update the patch per review

Re: [U-Boot] [PATCH v2 2/4] x86: Do TSC MSR calibration only for known/supported CPUs

2014-11-10 Thread Simon Glass
Hi Bin, On 9 November 2014 07:19, Bin Meng bmeng...@gmail.com wrote: Using MSR_PLATFORM_INFO (0xCE) to calibrate TSR will cause #GP on processors which do not have this MSR. Instead only doing the MSR calibration for known/supported CPUs. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by:

Re: [U-Boot] [PATCH v2 3/4] x86: Add quick TSC calibration via PIT

2014-11-10 Thread Simon Glass
On 9 November 2014 07:19, Bin Meng bmeng...@gmail.com wrote: Use the same way that Linux does for quick TSC calibration via PIT when calibration via MSR fails. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot-x86/master, thanks!

Re: [U-Boot] [PATCH v2 4/4] x86: Save TSC frequency in the global data

2014-11-10 Thread Simon Glass
On 9 November 2014 07:19, Bin Meng bmeng...@gmail.com wrote: Return the saved TSC frequency in get_tbclk_mhz(). Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org Applied to u-boot-x86/master, thanks!

Re: [U-Boot] [PATCH 14/39] x86: Use the standard arch_cpu_init() function

2014-11-10 Thread Simon Glass
Hi, On 8 November 2014 12:40, Simon Glass s...@chromium.org wrote: On 7 November 2014 02:49, Bin Meng bmeng...@gmail.com wrote: On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass s...@chromium.org wrote: Instead of an x86-specific cpu_init_f() function, use the normal U-Boot one for this purpose.

[U-Boot] [PATCH] mx53loco: Change 'fdt_file' dynamically

2014-11-10 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Since kernel 3.15 there are two dtb's for the imx53-qsb board: imx53-qsb.dtb - For the boards with DA9053 PMIC imx53-qsrb.dtb - For the boards with MC34708 PMIC Change the 'fdt_file' dynamically, so that the correct dtb can be used depending on

Re: [U-Boot] [PATCH v2 11/11] beagle_x15: add board support for Beagle x15

2014-11-10 Thread Felipe Balbi
Hi, On Mon, Nov 10, 2014 at 01:47:48PM -0500, Tom Rini wrote: On Thu, Nov 06, 2014 at 08:44:27AM -0600, Felipe Balbi wrote: BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features

Re: [U-Boot] [PATCH] mx53loco: Change 'fdt_file' dynamically

2014-11-10 Thread Otavio Salvador
On Mon, Nov 10, 2014 at 5:38 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Since kernel 3.15 there are two dtb's for the imx53-qsb board: imx53-qsb.dtb - For the boards with DA9053 PMIC imx53-qsrb.dtb - For the boards with MC34708 PMIC Change

[U-Boot] [PATCH v3 11/11] beagle_x15: add board support for Beagle x15

2014-11-10 Thread Felipe Balbi
BeagleBoard-X15 is the next generation Open Source Hardware BeagleBoard based on TI's AM5728 SoC featuring dual core 1.5GHZ A15 processor. The platform features 2GB DDR3L (w/dual 32bit busses), eSATA, 3 USB3.0 ports, integrated HDMI (1920x108@60), separate LCD port, video In port, 4GB eMMC, uSD,

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-10 Thread Marek Vasut
On Monday, November 10, 2014 at 02:01:50 AM, Peng Fan wrote: [...] + in usb_phy_mode, query a PHY for it's mode. And righter after usb_phy_enable in ehci-mx6.c. - type = usb_phy_enable(index, ehci) ? USB_INIT_DEVICE : USB_INIT_HOST; + usb_phy_enable(index, ehci); +

[U-Boot] [PATCH v7 1/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-10 Thread Suriyan Ramasami
Enable md5sum to check the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v7: * No changes

[U-Boot] [PATCH v7 2/6] fat: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal fat functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. common/cmd_fat.c | 9 ++-- common/env_fat.c | 4 +- fs/fat/fat.c | 133

[U-Boot] [PATCH v7 3/6] ext4: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal ext4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. common/cmd_ext4.c | 61 +++ fs/ext4/ext4_common.c | 24

[U-Boot] [PATCH v7 4/6] sandbox: prepare for API change for files greater than 2GB

2014-11-10 Thread Suriyan Ramasami
Change the internal ext4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Split it so that its bisectable. arch/sandbox/cpu/os.c| 13 arch/sandbox/cpu/state.c | 8 ++--- common/board_f.c | 8 ++---

[U-Boot] [PATCH v7 5/6] fs: API changes to enable extra parameter to return size of type loff_t

2014-11-10 Thread Suriyan Ramasami
The sandbox/ext4/fat/generic fs commands do not gracefully deal with file greater than 2GB. Negative values are returned in such cases. To handle this, the fs functions have been modified to take an additional parameter of type * loff_t which is then populated. The return value of the fs

[U-Boot] [PATCH v7 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-10 Thread Suriyan Ramasami
Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v7: * Simon - take care of fat/vfat in mkfs - fs/nonfs test code repeats, put it in function test/fs/fs-test.sh | 561

Re: [U-Boot] porting u-boot, few final questions

2014-11-10 Thread DaveKucharczyk
Update: my board_late_init() function wasn’t working because I defined BOARD_LATE_INIT instead of CONFIG_BOARD_LATE_INIT. Doh! Since arch/arm/lib/board.c file is being removed, and when CONFIG_SYS_GENERIC_BOARD is defined, we are now using… common/board_f.c (for pre-relocation init)

Re: [U-Boot] [U-Boot,2/6] sandbox: init cli for -c

2014-11-10 Thread Tom Rini
On Wed, Oct 29, 2014 at 11:21:38PM +0100, Rabin Vincent wrote: sandbox crashes if a variable is set in the -c command, because hush's top_vars is not allocated. Call cli_init() from sandbox to ensure this is done before we execute the -c command. $ ./u-boot -c 'a=1' ... Segmentation

Re: [U-Boot] power_spi.c: Rewrite pmic_reg function

2014-11-10 Thread Tom Rini
On Sat, Oct 25, 2014 at 07:38:31AM -0400, Tom Rini wrote: The pmic_spi_free function isn't ever used, and as the frameworks stand today, cannot be, so remove it. Integrate the probe function into pmic_reg as it's not really a probe today. Finally, add an err label for the common failure

Re: [U-Boot] image-fdt: boot_get_fdt() return value when no DTB exists

2014-11-10 Thread Tom Rini
On Wed, Oct 22, 2014 at 05:17:49PM +0300, Noam Camus wrote: From: Noam Camus no...@ezchip.com I believe that when no DTB is around we should return 1. This why I fixed such scenarious to not return zero anymore. Else kernel might get NULL pointer to DTB which doesn't exists.

Re: [U-Boot] [U-Boot, 3/6] hush: return consistent codes from run_command()

2014-11-10 Thread Tom Rini
On Wed, Oct 29, 2014 at 11:21:39PM +0100, Rabin Vincent wrote: Attempting to run: - an empty string - a string with just spaces returns different error codes, 1 for the empty string and 0 for the string with just spaces. Make both of them return 0 for consistency. Signed-off-by:

Re: [U-Boot] [U-Boot, 1/6] dlmalloc: ensure gd is set for early alloc

2014-11-10 Thread Tom Rini
On Wed, Oct 29, 2014 at 11:21:37PM +0100, Rabin Vincent wrote: Attempting to run the sandbox leads to a segfault, because some dynamic libraries (outside of u-boot) attempt to use malloc() to allocate memory before u-boot's gd variable is initialized. Check for gd not being NULL in the

Re: [U-Boot] [U-Boot, 2/6] kbuild: improve multi-objs dependency and cleanups

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 11:06:10AM +0900, Masahiro Yamada wrote: Since Linux 3.18-rc1, Kbuild is able to handle multi-objs dependency correctly, which also allows us futher cleanups of some makefiles. This commit imports those commits: [1] commit c8589d1e9e01 by Masahiro Yamada kbuild:

Re: [U-Boot] [U-Boot,4/6] hush: fix segfault on syntax error

2014-11-10 Thread Tom Rini
On Wed, Oct 29, 2014 at 11:21:40PM +0100, Rabin Vincent wrote: Hush segfaults if it sees a syntax error while attempting to parse a command: $ ./u-boot -c ' ... syntax error Segmentation fault (core dumped) This is due to a NULL pointer dereference of in_str-p in static_peek().

Re: [U-Boot] [U-Boot, 5/6] hush: make run_command() return an error on parsing failure

2014-11-10 Thread Tom Rini
On Wed, Oct 29, 2014 at 11:21:41PM +0100, Rabin Vincent wrote: run_command() returns success even if the command had a syntax error; correct this behaviour. Signed-off-by: Rabin Vincent ra...@rab.in Acked-by: Simon Glass s...@chromium.org) Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] kbuild: remove clobber target

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 10:58:32AM +0900, Masahiro Yamada wrote: Now we stick to Linux Kernel's build system, so squash clobber to clean target. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 1/6] kbuild: bug fixes and cleanups of Makefile.host

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 11:06:09AM +0900, Masahiro Yamada wrote: This commit imports updates of scripts/Makefile.host from Linux 3.18-rc1. Imported commits are: [1] commit d8d9efe22709 by Masahiro Yamada kbuild: fix a typo in scripts/Makefile.host [2] commit edb950c17de0 by Masahiro

Re: [U-Boot] tools/env: Fix environment size and CRC on 64-bit hosts

2014-11-10 Thread Tom Rini
On Wed, Nov 05, 2014 at 12:30:18AM +0100, Dominic Sacré wrote: On architectures where 'long' is 64 bit, the u-boot environment as seen by the fw_env tools was missing 4 bytes. This patch fixes getenvsize(), and thus also ensures that the environment's CRC32 checksum is calculated correctly.

Re: [U-Boot] [U-Boot, 4/6] kconfig: sync kconfig files with Linux 3.18-rc1

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 11:06:12AM +0900, Masahiro Yamada wrote: This commit imports Kconfig updates from Linux 3.18-rc1. 'kvmconfig' and 'tinyconfig' help message have been commented out since they are unavailable at least now; in the future perhaps we can implement 'tinyconfig' to

Re: [U-Boot] [U-Boot, v2] doc: fix documentation of out-of-tree build

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:39:05PM +0200, Timo Ketola wrote: Correct environment variable for output directory is KBUILD_OUTPUT. Signed-off-by: Timo Ketola t...@exertus.fi Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 5/6] kbuild: sync misc scripts with Linux 3.18-rc1

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 11:06:13AM +0900, Masahiro Yamada wrote: This commit imports some updates in misc scripts from Linux 3.18-rc1. [1] commit cbb4d3e6510b99522719c5ef0 by Horia Geanta scripts/kernel-doc: handle object-like macros [2] commit 164f0d2efaaef83 by Michal Marek kbuild: Fix

Re: [U-Boot] [U-Boot, 3/6] kbuild: sync top Makefile with Linux 3.18-rc1

2014-11-10 Thread Tom Rini
On Thu, Oct 30, 2014 at 11:06:11AM +0900, Masahiro Yamada wrote: Since Linux 3.15, relative path feature and related fixes, cleanups have been merged to the top Makefile. The relative path feature looks stable enough, so let's import it to U-Boot along with various cleanups. Commits

Re: [U-Boot] MAINTAINERS: CFI flash maintainership only includes the CFI related files

2014-11-10 Thread Tom Rini
On Fri, Oct 31, 2014 at 01:57:42PM +0100, Stefan Roese wrote: All the other files in drivers/mtd/* are not really CFI related. So lets only include the files that are CFI specific. Signed-off-by: Stefan Roese s...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Scott Wood

Re: [U-Boot] [U-Boot,1/9] cppcheck cleanup: fix nullPointer errors

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:02:57PM +0100, Wolfgang Denk wrote: There are a number of places where U-Boot intentionally and legally accesses physical address 0x, for example when installing exception vectors on systems where these are located in low memory. Add cppcheck-suppress

Re: [U-Boot] [U-Boot,4/9] drivers/net/uli526x.c: fix syntax error

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:03:00PM +0100, Wolfgang Denk wrote: Fix error detected by cppcheck: [drivers/net/uli526x.c:551]: (error) printf format string requires 3 parameters but only 2 are given. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Roy Zang tie-fei.z...@freescale.com Applied

Re: [U-Boot] [U-Boot, 9/9] board/esd/common/auto_update.c: fix Uninitialized variable

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:03:05PM +0100, Wolfgang Denk wrote: cppcheck reports: [board/esd/common/auto_update.c:458]: (error) Uninitialized variable: cnt The variable is not really used anywhere, so remove it. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Matthias Fuchs

Re: [U-Boot] [U-Boot,2/9] board/cogent/lcd.c: fix syntax error

2014-11-10 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:02:58PM +0100, Wolfgang Denk wrote: Fix error detected by cppcheck: [board/cogent/lcd.c:237]: (error) Invalid number of character (() when these macros are defined: 'CONFIG_SHOW_ACTIVITY;CONFIG_STATUS_LED'. Signed-off-by: Wolfgang Denk w...@denx.de Applied to

  1   2   >