Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-09 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 09:55:51PM +0200, Albert ARIBAUD wrote: snip Invalidating the cache in addition to flushing it would not prevent further writes from dirtying the cache lines if they happen before the cache is disabled. I have a doubt on this. The arm926ejs uses a

[U-Boot] Implement AUART for i.MX28

2013-07-09 Thread Andreas Wass
I have tried to implement an AUART driver for i.MX28. However for it to work I must print 1 character to the debug UART via the serial_pl01x driver. If I do this the AUART will start working. If I don't nothing will be printed to the AUART. Anybody can see any obvious errors? Signed-off-by:

[U-Boot] [PATCH v2] arm: exynos: fix clock calculation

2013-07-09 Thread Minkyu Kang
There are differnce with clock calcuation by cpu variations. This patch will fix it according to user manual. Signed-off-by: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes for v2: - remove hard-coded constants.

[U-Boot] [PATCH] ARM: omap3: Implement dpll5 (HSUSB clk) workaround for OMAP36xx/AM/DM37xx according to errata sprz318e.

2013-07-09 Thread Andreas Naumann
In chapter 'Advisory 2.1 USB Host Clock Drift Causes USB Spec Non-compliance in Certain Configurations' of the TI Errata it is recommended to use certain div/mult values for the DPLL5 clock setup. So far u-boot used the old 34xx values, so I added the errata recommended values specificly for

Re: [U-Boot] Regression due to 020bbcb usb: hub: Power-cycle on root-hub ports

2013-07-09 Thread Vivek Gautam
On Tue, Jul 9, 2013 at 1:23 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 07/08/2013 01:50 PM, Marek Vasut wrote: Dear Stephen Warren, [...] I had already tested the commit in your tree right before the reverts (a36466c50b1b3614c3cfdae194227f7dd8e2c592); that's how I noticed that the

Re: [U-Boot] [PATCH v2] arm: exynos: fix clock calculation

2013-07-09 Thread Rajeshwari Birje
Looks fine to me. Acked-by: Rajeshwari Shinderajeshwar...@samsung.com On Tue, Jul 9, 2013 at 1:07 PM, Minkyu Kang mk7.k...@samsung.com wrote: There are differnce with clock calcuation by cpu variations. This patch will fix it according to user manual. Signed-off-by: Minkyu Kang

[U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Andreas Naumann
Hi, It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the AM/DM37xx chips. Other people have noticed this: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/254742.aspx When still applying them (especcially

Re: [U-Boot] please pull u-boot-samsung master

2013-07-09 Thread Minkyu Kang
Dear Amar, On 07/07/13 14:43, Minkyu Kang wrote: Dear Amar, On 6 July 2013 04:12, Albert ARIBAUD albert.u.b...@aribaud.net mailto:albert.u.b...@aribaud.net wrote: Hi Minkyu, This breaks build of VCMA9: s3c24x0_i2c.c: In function 'board_i2c_init':

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-09 Thread Albert ARIBAUD
Hi Sughosh, On Tue, 9 Jul 2013 11:41:34 +0530, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Albert, On Mon Jul 08, 2013 at 09:55:51PM +0200, Albert ARIBAUD wrote: snip Invalidating the cache in addition to flushing it would not prevent further writes from dirtying the cache

Re: [U-Boot] [PATCH v2 5/5] am335x_evm: Add basic README

2013-07-09 Thread Lukasz Majewski
On Mon, 08 Jul 2013 12:15:18 -0400, Tom Rini wrote: Add a README for the family of boards the am335x_evm covers, and include instructions on preparing and using falcon mode, for various media. Signed-off-by: Tom Rini tr...@ti.com --- board/ti/am335x/README | 113

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-09 Thread Albert ARIBAUD
Hi Pavel, On Tue, 9 Jul 2013 01:22:01 +0200, Pavel Machek pa...@denx.de wrote: Hi! From: Dinh Nguyen dingu...@altera.com Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to be more

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Albert ARIBAUD
Hi Andreas, On Tue, 09 Jul 2013 10:08:10 +0200, Andreas Naumann d...@andin.de wrote: Hi, It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the AM/DM37xx chips. Other people have noticed this:

Re: [U-Boot] [PATCH 06/10 v5] spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import

2013-07-09 Thread Zhang Ying-B40530
Excuse me, this patch has not been merged? Thanks. -Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Tom Rini Sent: Friday, June 28, 2013 5:57 AM To: Wood Scott-B07421 Cc: u-boot@lists.denx.de; Wood Scott-B07421; aflem...@gmail.com; Zhang Ying-B40530 Subject: Re:

Re: [U-Boot] [PATCH 2/3] usb: omap5-evm: Add ethernet support to the uevm

2013-07-09 Thread Roger Quadros
Hi Dan, On 07/08/2013 11:59 PM, Dan Murphy wrote: Add code to configure the USB EHCI host controller. This enumerates an ethernet controller through USB3 using the HSIC lines. Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c | 15 +++

Re: [U-Boot] [PATCH 3/3] HACK: ehci-omap: do gpio toggle after port power is set

2013-07-09 Thread Roger Quadros
On 07/08/2013 11:59 PM, Dan Murphy wrote: Need to check why gpio toggling in ehci-omap is not working and works only from ehci-hcd. do you mean HSIC detection is not working? GPIO toggling has to work from anywhere. Signed-off-by: Dan Murphy dmur...@ti.com ---

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Andreas Bießmann
Hi Andreas, On 07/09/2013 11:10 AM, Albert ARIBAUD wrote: Hi Andreas, On Tue, 09 Jul 2013 10:08:10 +0200, Andreas Naumann d...@andin.de wrote: Hi, It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Albert ARIBAUD
Hi Andreas, On Tue, 09 Jul 2013 12:42:27 +0200, Andreas Bießmann andreas.de...@googlemail.com wrote: Another solution could be to read the silicon revision and enable erratum workarounds on that information. It would be a step towards single binary. Seconded. Best regards Andreas

[U-Boot] Separately compile Master boot loader

2013-07-09 Thread Rajdeep Vaghasia
Hi I am working on one board with an arm11 based cpu, NOR flash and DDR2 SDRAM. When I compile u-boot source code, I get u-boot.bin image generated. This image has primary(second stage) and secondary(third stage) bootloader combined. I have following queries: 1) The question that still eats me

[U-Boot] [PATCH 1/7 v7] powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com 1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it. 2. Some functions were unused in the minimal SPL, but it is useful in the common SPL. So, enabled some functionality for common SPL. Signed-off-by: Ying Zhang b40...@freescale.com --- Change

[U-Boot] [PATCH 4/7 v7] powerpc : spi flash : Support to start from eSPI with SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com This patch introduces SPL to enable a loader stub that being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution. The SPL's size is sizeable, the maximum size must not exceed the size

[U-Boot] [PATCH 6/7 v7] NAND: TPL : introduce the TPL based on the SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Due to the nand SPL on some board(e.g. P1022DS)has a size limit, it can not be more than 4K. So, the SPL cannot initialize the DDR with the SPD code. This patch introduces TPL to enable a loader stub that is loaded by the code from the SPL. It initializes the

[U-Boot] [PATCH 2/7 v7] powerpc: mpc85xx: Support booting from SD Card with SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com This patch introduces SPL to enable a loader stub that being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution. The SPL's size is sizeable, the maximum size must not exceed the size

[U-Boot] [PATCH 5/7 v7] powerpc : p1022ds : enable p1022ds to start from eSPI with SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Enable p1022ds to start from eSPI with SPL. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v6: - No longer changes the header file included by the file - board/freescale/p1022ds/spl.c Change from v5: - Split from powerpc/p1022ds: boot from

[U-Boot] [PATCH 3/7 v7] powerpc: p1022ds: Enable P1022DS to boot from SD Card with SPL

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Enable p1022ds to start from eSDHC with SPL. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v6: - Split from the patch powerpc/p1022ds: boot from SD Card with SPL, - this patch only enables p1022ds to boot from SD Card with SPL. Change from

[U-Boot] [PATCH 7/7 v7] powerpc: p1022ds: add TPL for p1022ds nand boot

2013-07-09 Thread ying.zhang
From: Ying Zhang b40...@freescale.com TPL is introduced in the patch NAND: TPL : introduce the TPL based on the SPL, here enable TPL for p1022ds nand boot. Signed-off-by: Ying Zhang b40...@freescale.com --- Change from v6: - Delete the file board/freescale/p1022ds/tpl.c. - Reuse the file

Re: [U-Boot] Separately compile Master boot loader

2013-07-09 Thread Albert ARIBAUD
Hi Rajdeep, On Tue, 9 Jul 2013 16:12:14 +0530, Rajdeep Vaghasia rajdeep.vagha...@gmail.com wrote: Hi I am working on one board with an arm11 based cpu, NOR flash and DDR2 SDRAM. When I compile u-boot source code, I get u-boot.bin image generated. This image has primary(second stage) and

[U-Boot] [PATCH V0 1/1] Resolve i2c compilation error for non-FDT case

2013-07-09 Thread amar_g
This patch resolves the below mentiond compilation error of i2c driver for non-FDT case. Compilation error: s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use in this function) s3c24x0_i2c.c:544:18: note: each undeclared

Re: [U-Boot] [PATCH 1/2] Revert usb: hub: Parallelize power-cycling of root-hub ports

2013-07-09 Thread Marek Vasut
Hi, This reverts commit 0bf796f7ae22086f0504f3297e9fb4e96aa04161. This commit causes breakage of the EHCI, where on Tegra it is not possible to run usb reset twice as it results in the board hang. Signed-off-by: Marek Vasut ma...@denx.de Cc: Vivek Gautam gautamvivek1...@gmail.com Cc:

Re: [U-Boot] [PATCH V0 1/1] Resolve i2c compilation error for non-FDT case

2013-07-09 Thread Minkyu Kang
Dear amar_g On 09/07/13 21:44, amar_g wrote: Please add prefix at title. This patch resolves the below mentiond compilation error of i2c driver typo. - mentiond for non-FDT case. Compilation error: s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error:

Re: [U-Boot] [PATCH V0 1/1] Resolve i2c compilation error for non-FDT case

2013-07-09 Thread Amarendra Reddy
Dear Minkyu, Please find my responses below. Thanks Regards Amarendra Reddy On 9 July 2013 18:50, Minkyu Kang mk7.k...@samsung.com wrote: Dear amar_g On 09/07/13 21:44, amar_g wrote: Please add prefix at title. OK shall add aprefix 'EXYNOS' at title in the next patch. This patch

[U-Boot] [PATCH V1 1/1] EXYNOS: Resolve the i2c compilation error for

2013-07-09 Thread amar_g
This patch resolves the below mentiond compilation error of i2c driver for non-FDT case Compilation error: s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use in this function) s3c24x0_i2c.c:544:18: note: each undeclared identifier

[U-Boot] multi image kernel+ramdisk

2013-07-09 Thread daniel formolo
Hi, I am trying to boot with a multi image file that was generated with mkimage. The uboot decompress the file and find the kernel, but is not find the filesystem. How can I fix the ramdisk address in ram to call bootm in right way? - command line used to mkimage: mkimage -A arm -T multi -C

Re: [U-Boot] [PATCH V1 1/1] EXYNOS: Resolve the i2c compilation error for

2013-07-09 Thread Albert ARIBAUD
Hi amar_g, On Tue, 09 Jul 2013 19:35:40 +0530, amar_g amarendra...@samsung.com wrote: This patch resolves the below mentiond compilation error of i2c driver for non-FDT case Compilation error: ---8--- s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error:

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Andreas Naumann
Hi, It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the AM/DM37xx chips. Other people have noticed this: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/254742.aspx When still applying them (especcially

[U-Boot] multi image kernel+ramdisk

2013-07-09 Thread daniel formolo
Hi, I am trying to boot with a multi image file that was generated with mkimage. The uboot decompress the file and find the kernel, but is not find the filesystem. How can I fix the ramdisk address in ram to call bootm in right way? - command line used to mkimage: mkimage -A arm -T multi -C

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Andreas Bießmann
Hi Andreas, On 07/09/2013 05:01 PM, Andreas Naumann wrote: It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the AM/DM37xx chips. Other people have noticed this:

Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Peter Meerwald
Hello, It seems that all three ARM errata workarounds done in omap3 board-init (#454179 #430973 #621766) are solved/not longer needed e.g. in the AM/DM37xx chips. Other people have noticed this: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/254742.aspx When still applying them

Re: [U-Boot] [PATCH 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-09 Thread Dan Murphy
Nishanth Thanks for the feedback On 07/08/2013 04:27 PM, Nishanth Menon wrote: On 07/08/2013 03:53 PM, Dan Murphy wrote: Add the tca642x gpio expander driver http://www.ti.com/sitesearch/docs/universalsearch.tsp?searchTerm=tca642linkId=1 I think there are just TCA6424 ? giving a link to the

Re: [U-Boot] [PATCH 2/2] omap5: Configure the tca6424 gpio expander

2013-07-09 Thread Dan Murphy
On 07/08/2013 04:19 PM, Nishanth Menon wrote: $subject Don't know where it went it was in my patch set I submitted. omap5: uevm On 07/08/2013 03:54 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. As well as HDMI PEO signal. we use

Re: [U-Boot] [PATCH 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-09 Thread Nishanth Menon
On 07/09/2013 11:17 AM, Dan Murphy wrote: On 07/08/2013 04:27 PM, Nishanth Menon wrote: On 07/08/2013 03:53 PM, Dan Murphy wrote: [...] +/* tca642x register address definitions */ +struct tca642x_bank_info tca642x_banks[] = { +{0x00, 0x04, 0x08, 0x0c}, +{0x01, 0x05, 0x09, 0x0d}, +

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Tom Rini
On Mon, Jul 08, 2013 at 10:22:13AM -0400, Tom Rini wrote: On Mon, Jul 08, 2013 at 09:17:10AM -0500, Robert Nelson wrote: On Mon, Jul 8, 2013 at 9:13 AM, Tom Rini tr...@ti.com wrote: On Thu, Jul 04, 2013 at 01:26:11PM -0700, Simon Glass wrote: In the recent bootm refactor, the PREP stage

[U-Boot] [UBOOT] [PATCH V2 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-09 Thread Dan Murphy
Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Updated per comments- http://patchwork.ozlabs.org/patch/257603 board/ti/omap5_uevm/evm.c | 21 + board/ti/omap5_uevm/mux_data.h |

[U-Boot] [UBOOT] [PATCH V2 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-09 Thread Dan Murphy
Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Updated per comments- http://patchwork.ozlabs.org/patch/257602/ drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c | 321

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Tom Rini
On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 10:01 AM, Tom Rini tr...@ti.com wrote: On Mon, Jul 08, 2013 at 10:22:13AM -0400, Tom Rini wrote: On Mon, Jul 08, 2013 at 09:17:10AM -0500, Robert Nelson wrote: On Mon, Jul 8, 2013 at 9:13

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Robert Nelson
On Tue, Jul 9, 2013 at 2:00 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Tue, Jul 9, 2013 at 10:01 AM, Tom Rini tr...@ti.com wrote: On Mon, Jul 08, 2013 at 10:22:13AM -0400, Tom Rini wrote: On Mon, Jul 08, 2013 at 09:17:10AM -0500, Robert Nelson wrote: On Mon, Jul 8, 2013 at

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Simon Glass
Hi Tom, On Tue, Jul 9, 2013 at 10:01 AM, Tom Rini tr...@ti.com wrote: On Mon, Jul 08, 2013 at 10:22:13AM -0400, Tom Rini wrote: On Mon, Jul 08, 2013 at 09:17:10AM -0500, Robert Nelson wrote: On Mon, Jul 8, 2013 at 9:13 AM, Tom Rini tr...@ti.com wrote: On Thu, Jul 04, 2013 at

[U-Boot] [PATCH 2/5] am335x_evm: Add am335x_boneblack variant

2013-07-09 Thread Justin Waters
The BeagleBone Black differs from the other AM335x boards in a few significant ways, so it makes sense to create a custom configuration for it. In particular, it uses eMMC instead of NAND flash. We can use the eMMC boot partition to store the environment, since it isn't used for anything else.

[U-Boot] [PATCH 1/5] am335x_evm: Make NAND support modular

2013-07-09 Thread Justin Waters
Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by: Justin Waters justin.wat...@timesys.com --- include/configs/am335x_evm.h | 55 -- 1 file

[U-Boot] [PATCH 4/5] am335x_evm: Rework bootcmd to handle two MMC devs

2013-07-09 Thread Justin Waters
The BeagleBone Black can boot from either the MMC card or eMMC chip on board. We should try both interfaces. This modification also allows a graceful fallback if a device exists but boot images are not present on it. Signed-off-by: Justin Waters justin.wat...@timesys.com ---

[U-Boot] [PATCH 0/5] Enhance support for BeagleBone Black

2013-07-09 Thread Justin Waters
There are a number of differences between the BeagleBone Black and other AM335x boards that require some modification of the default AM335x EVM configuration. In particular, it lacks NAND flash, has multiple MMC interfaces, and can store its environment in an unused eMMC partition. The following

[U-Boot] [PATCH 3/5] am335x_evm: Add command line editing

2013-07-09 Thread Justin Waters
Many modern U-Boot ports enable command line editing and a history buffer. The am335x_evm configuration is fairly comprehensive as it is, so a few extra kb should not be noticable, and it adds a very convenient feature. Signed-off-by: Justin Waters justin.wat...@timesys.com ---

[U-Boot] [PATCH 5/5] Add additional MLO images to .gitignore

2013-07-09 Thread Justin Waters
This rule catches images such as MLO.byteswap Signed-off-by: Justin Waters justin.wat...@timesys.com --- .gitignore |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 771b860..d1282e7 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ #

[U-Boot] [PATCH 1/2] cmd_bootm.c: Make bootz consume 'bootz' from argv, decrement argc

2013-07-09 Thread Tom Rini
Like 'bootm', 'bootz' needs to consume 'bootz' so that the rest of the state functions will work. Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_bootm.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index

[U-Boot] [PATCH 2/2] cmd_bootm.c: Make bootz handle BOOTM_STATE_FINDOTHER itself

2013-07-09 Thread Tom Rini
As a zImage does not have a U-Boot header, we cannot really do what BOOTM_STATE_FINDOTHER does, exactly. Break the ramdisk/fdt portions of bootm_find_other into bootm_find_ramdisk/fdt which can be called in both cases. Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_bootm.c | 56

Re: [U-Boot] [PATCH 1/5] am335x_evm: Make NAND support modular

2013-07-09 Thread Tom Rini
On Tue, Jul 09, 2013 at 03:00:06PM -0400, Justin Waters wrote: Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by: Justin Waters justin.wat...@timesys.com Just make boards.cfg set

[U-Boot] twister: usb host support

2013-07-09 Thread Jeroen Hofstee
Hello Stefano, The twister always had a fragile usb support in u-boot in the past. Since some floating patches mentioned alternating success after usb hub resets, I had a look if these patches fixed the twister as well, they don't. Some fiddling around [1] makes the usb work however, by not

Re: [U-Boot] [PATCH 0/5] Enhance support for BeagleBone Black

2013-07-09 Thread Tom Rini
On Tue, Jul 09, 2013 at 03:00:05PM -0400, Justin Waters wrote: There are a number of differences between the BeagleBone Black and other AM335x boards that require some modification of the default AM335x EVM configuration. In particular, it lacks NAND flash, has multiple MMC interfaces, and

Re: [U-Boot] [PATCH 1/5] am335x_evm: Make NAND support modular

2013-07-09 Thread Justin Waters
Tom, On Tue, 2013-07-09 at 15:44 -0400, Tom Rini wrote: On Tue, Jul 09, 2013 at 03:00:06PM -0400, Justin Waters wrote: Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by:

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Simon Glass
Hi Tom, On Tue, Jul 9, 2013 at 12:05 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 10:01 AM, Tom Rini tr...@ti.com wrote: On Mon, Jul 08, 2013 at 10:22:13AM -0400, Tom Rini wrote: On Mon, Jul 08, 2013

Re: [U-Boot] [PATCH 0/5] Enhance support for BeagleBone Black

2013-07-09 Thread Justin Waters
Tom, On Tue, 2013-07-09 at 15:47 -0400, Tom Rini wrote: On Tue, Jul 09, 2013 at 03:00:05PM -0400, Justin Waters wrote: There are a number of differences between the BeagleBone Black and other AM335x boards that require some modification of the default AM335x EVM configuration. In

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Tom Rini
On Tue, Jul 09, 2013 at 01:04:58PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 12:05 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 10:01 AM, Tom Rini tr...@ti.com wrote: On Mon, Jul

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Robert Nelson
On Tue, Jul 9, 2013 at 4:19 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 01:04:58PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 12:05 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Robert Nelson
Important, but I really want to see real-world booting in a case or two. Unfortunately I don't have any ARM boards that work out of the box with NetBSD. There 'seems' to be a pre-built freebsd arm port... https://wiki.freebsd.org/FreeBSD/arm/BeagleBone NM.. they are using the 'bootelf'

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-09 Thread Simon Glass
Hi Tom, On Tue, Jul 9, 2013 at 2:19 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 01:04:58PM -0700, Simon Glass wrote: Hi Tom, On Tue, Jul 9, 2013 at 12:05 PM, Tom Rini tr...@ti.com wrote: On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: Hi Tom, On

Re: [U-Boot] Implement AUART for i.MX28

2013-07-09 Thread Marek Vasut
Hi Andreas, I have tried to implement an AUART driver for i.MX28. However for it to work I must print 1 character to the debug UART via the serial_pl01x driver. If I do this the AUART will start working. If I don't nothing will be printed to the AUART. Anybody can see any obvious errors?

[U-Boot] [PATCH v3 6/7] ARM: extend non-secure switch to also go into HYP mode

2013-07-09 Thread Andre Przywara
For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure state, HYP mode switching is within short reach. While doing the non-secure switch, we have to enable the HVC instruction and setup the HYP mode HVBAR (while still secure).

[U-Boot] [PATCH v3 2/7] ARM: add secure monitor handler to switch to non-secure state

2013-07-09 Thread Andre Przywara
A prerequisite for using virtualization is to be in HYP mode, which requires the CPU to be in non-secure state first. Add new file in arch/arm/cpu/armv7 to hold a monitor handler routine which switches the CPU to non-secure state by setting the NS and associated bits. According to the ARM

[U-Boot] [PATCH v3 5/7] ARM: add SMP support for non-secure switch

2013-07-09 Thread Andre Przywara
Currently the non-secure switch is only done for the boot processor. To enable full SMP support, we have to switch all secondary cores into non-secure state also. So we add an entry point for secondary CPUs coming out of low-power state and make sure we put them into WFI again after having

[U-Boot] [PATCH v3 4/7] ARM: switch to non-secure state during bootm execution

2013-07-09 Thread Andre Przywara
To actually trigger the non-secure switch we just implemented, call the switching routine from within the bootm command implementation. This way we automatically enable this feature without further user intervention. The core specific part of the work is done in the assembly routine in

[U-Boot] [PATCH v3 1/7] ARM: prepare armv7.h to be included from assembly source

2013-07-09 Thread Andre Przywara
armv7.h contains some useful constants, but also C prototypes. To include it also in assembly files, protect the non-assembly part appropriately. Signed-off-by: Andre Przywara andre.przyw...@linaro.org --- arch/arm/include/asm/armv7.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v3 3/7] ARM: add assembly routine to switch to non-secure state

2013-07-09 Thread Andre Przywara
While actually switching to non-secure state is one thing, another part of this process is to make sure that we still have full access to the interrupt controller (GIC). The GIC is fully aware of secure vs. non-secure state, some registers are banked, others may be configured to be accessible from

[U-Boot] [PATCH v3 0/7] ARMv7: Add HYP mode switching support

2013-07-09 Thread Andre Przywara
(for GIT URL and Changelog see below) ARM CPUs with the virtualization extension have a new mode called HYP mode, which allows hypervisors to safely control and monitor guests. The current hypervisor implementations (KVM and Xen) require the kernel to be entered in that HYP mode. This patch

[U-Boot] [PATCH v3 7/7] ARM: VExpress: enable ARMv7 virt support for VExpress A15

2013-07-09 Thread Andre Przywara
To enable hypervisors utilizing the ARMv7 virtualization extension on the Versatile Express board with the A15 core tile, we add the respective configuration variable. Signed-off-by: Andre Przywara andre.przyw...@linaro.org --- include/configs/vexpress_ca15_tc2.h | 2 ++ 1 file changed, 2

[U-Boot] [RFC][PATCH] arm: Fix flush_dcache_range() on arm926

2013-07-09 Thread Marek Vasut
The flush_dcache_range() on arm926 did not work as expected on i.MX28. This can be observed during the operation of the FEC ethernet driver where the driver did occasionally fail with timeout trying to transmit a frame. The FEC ethernet driver uses DMA for transmitting the frame in the following

[U-Boot] [PATCH] video: Allocate the MXSFB framebuffer aligned

2013-07-09 Thread Marek Vasut
Allocate the framebuffer aligned so it can be flushed and the flush_dcache_range() function won't complain. Signed-off-by: Marek Vasut ma...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic

[U-Boot] [PATCH 06/17] usb: mv_udc: Make use of struct ehci_ctrl

2013-07-09 Thread Marek Vasut
The usb_lowlevel_init() call already fills and passes back struct ehci_ctrl , which readily contains correctly determined address of the port register block address computed from values from controller configuration registers. Leverage this and make use of this value as this makes the code mode

[U-Boot] [PATCH 07/17] usb: mv_udc: Clean up the initial variable check

2013-07-09 Thread Marek Vasut
Clean up the code that checks the validity of a USB gadget driver in usb_gadget_register_driver(). Moreover, limit the speed of the driver to either FULL or HIGH, this is more precise and once we have xHCI support, also more correct. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam

[U-Boot] [PATCH 00/17] usb: mv_udc: Cleanup and cache ops

2013-07-09 Thread Marek Vasut
This series cleans up the mv_udc / chipidea UDC driver and adds support for handling caches. Marek Vasut (17): usb: mv_udc: Unbreak the mv_udc driver usb: mv_udc: Clean up mv_udc.h usb: mv_udc: Move endpoint array into driver data usb: mv_udc: Clean up the EP initialization usb: ehci:

[U-Boot] [PATCH 01/17] usb: mv_udc: Unbreak the mv_udc driver

2013-07-09 Thread Marek Vasut
The mv_udc driver is broken for a while and doesn't even compile. This patch fixes the issues and gets the driver into working state again. This driver was tested on Freescale i.MX233/i.MX28 . Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen

[U-Boot] [PATCH 08/17] usb: mv_udc: Remove QH_MAXNUM macro

2013-07-09 Thread Marek Vasut
The QH_MAXNUM is used in absolutelly incorrect manner and is not even needed. Remove it and correctly replace it's occurance with 2 * NUM_ENDPOINTS . Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador

[U-Boot] [PATCH 11/17] usb: mv_udc: Properly align the endpoint QH and qTD list

2013-07-09 Thread Marek Vasut
The endpoint QH list has to be aligned to 10-bit boundary. We also have to make sure the list is aligned on a cacheline boundary. Make sure it is. Furthermore, check if the memory allocation for the QH list didn't fail. Moveover, improve the comment about the QH list structure. Finally, the qTD

[U-Boot] [PATCH 02/17] usb: mv_udc: Clean up mv_udc.h

2013-07-09 Thread Marek Vasut
Do a coding-style cleanup of this file and throw away useless defined values. These values were likely a result of a copy-paste job. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador ota...@ossystems.com.br

[U-Boot] [PATCH 04/17] usb: mv_udc: Clean up the EP initialization

2013-07-09 Thread Marek Vasut
Move the constant values that are programmed into mv_ep.ep into separate static const structure so they can be memcpy()'d when the initialization happens. Moveover, we only every init NUM_ENDPOINTS, not 2 * NUM_ENDPOINTS, so fix this bug as well. Signed-off-by: Marek Vasut ma...@denx.de Cc:

[U-Boot] [PATCH 03/17] usb: mv_udc: Move endpoint array into driver data

2013-07-09 Thread Marek Vasut
The endpoints are operated on a per-controller basis, move the endpoint array into controller's private data. Also shuffle the struct mv_ep structure definition just above the definition of the struct mv_drv so they're well grouped together. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio

[U-Boot] [PATCH 16/17] usb: mv_udc: Add proper cache management

2013-07-09 Thread Marek Vasut
Implement functions to flush/invalidate dcache over QH and qTDs and make use of them where appropriate. Also use them to replace the old incorrect cache management attempt. This is the first step towards making this driver work with data cache enabled. Signed-off-by: Marek Vasut ma...@denx.de Cc:

[U-Boot] [PATCH 05/17] usb: ehci: Split out struct ehci_ctrl definition

2013-07-09 Thread Marek Vasut
Move the struct ehci_ctrl defition from ehci-hcd.c into ehci.h so it can be re-used by drivers. In particular, the mv_udc driver can benefit from this move. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador

[U-Boot] [PATCH 12/17] usb: mv_udc: Add cacheline length check

2013-07-09 Thread Marek Vasut
Check the length of system cacheline at compile-time and fail if the system uses too long cachelines. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de

[U-Boot] [PATCH 15/17] usb: mv_udc: Implement better qTD item accessor

2013-07-09 Thread Marek Vasut
The code for retrieving qTD item for particular endpoint is hard to understand, moreover it's duplicated all over the driver. Move the code into single nice and documented function. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen

[U-Boot] [PATCH 13/17] usb: mv_udc: Implement better QH accessor

2013-07-09 Thread Marek Vasut
The code for retrieving QH for particular endpoint is hard to understand, moreover it's duplicated all over the driver. Move the code into single nice and documented function. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc:

[U-Boot] [PATCH 09/17] usb: mv_udc: Init mv_drv.gadget.ops statically

2013-07-09 Thread Marek Vasut
There is no need to init this field at runtime, so init it statically. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de ---

[U-Boot] [PATCH 10/17] usb: mv_udc: Move QH and qTD into mv_drv

2013-07-09 Thread Marek Vasut
Both the endpoint queue head and the endpoint item list is a controller specific thing. Move them both into controller private data. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador ota...@ossystems.com.br

[U-Boot] [PATCH 14/17] usb: mv_udc: Improve allocation of qTD items

2013-07-09 Thread Marek Vasut
Allocate the qTD items all at once instead of allocating them separately. Moreover, make sure each qTD is properly aligned to 32-bytes boundary and that cache can be safely flushed over each qTD touple. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei

[U-Boot] [PATCH 17/17] usb: mv_udc: Add bounce buffer

2013-07-09 Thread Marek Vasut
The requests sent to the controller are not properly cache aligned most of the time, thus implement a simple bounce buffer to avoid problem with cache. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Lei Wen lei...@marvell.com Cc: Otavio Salvador

[U-Boot] [PATCH v2 0/3] net: ftmac110: cosmetics and cleanup

2013-07-09 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com 1. Update license statement 2. struct ftmac110_regs __iomem *regs - struct ftmac110_regs *regs. 3. Reformat hardware tx/rx descriptor as an uniform one, and replace uint32_t[2] with uint64_t for descriptor control. Changes for v2: - Re-send these

[U-Boot] [PATCH v2 1/3] net: ftmac110: Update license statement

2013-07-09 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Joe Hershberger joe.hershber...@gmail.com --- drivers/net/ftmac110.c | 17 ++--- drivers/net/ftmac110.h | 17 ++--- 2 files changed, 28 insertions(+), 6 deletions(-)

[U-Boot] [PATCH v2 3/3] net: ftmac110: Update tx/rx descriptor format

2013-07-09 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com 1. Reformat tx/rx descriptor as an uniform struct. 2. Replace uint32_t[2] with uint64_t for descriptor control. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Joe Hershberger joe.hershber...@gmail.com --- drivers/net/ftmac110.c | 86

[U-Boot] [PATCH v2 2/3] net: ftmac110: struct ftmac110_regs __iomem * - struct ftmac110_regs *

2013-07-09 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Joe Hershberger joe.hershber...@gmail.com --- drivers/net/ftmac110.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c

Re: [U-Boot] [PATCH V1 1/1] EXYNOS: Resolve the i2c compilation error for

2013-07-09 Thread Minkyu Kang
On 09/07/13 23:05, amar_g wrote: This patch resolves the below mentiond compilation error of i2c driver typo.. maybe mentiond will be mentioned? for non-FDT case Compilation error: s3c24x0_i2c.c: In function 'board_i2c_init': s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-09 Thread Jim Lin
On Tue, 2013-07-09 at 06:17 +0800, Joe Hershberger wrote: Hi Jim and Stephen, On Wed, Jul 3, 2013 at 11:01 PM, Jim Lin ji...@nvidia.com wrote: TFTP booting is slow when a USB keyboard is installed and CONFIG_USB_KEYBOARD is defined. This fix is to change Ctrl-C polling to every second

[U-Boot] [PATCH]mx6qsabresd: Add splash screen support via HDMI

2013-07-09 Thread Pardeep Kumar Singla
Signed-off-by: Pardeep Kumar Singla b45...@freescale.com --- board/freescale/mx6qsabresd/mx6qsabresd.c | 92 - include/configs/mx6qsabre_common.h|3 +- include/configs/mx6qsabresd.h | 13 3 files changed, 106 insertions(+), 2

  1   2   >