[U-Boot] udc usb driver in imx-uboot

2012-02-24 Thread alex
Hi all: I know that imx udc USB driver in fsl uboot git server, but I can't find this in u-boot/u-boot-imx.git. Why? Best Regards, Alex ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Mohamed HAMZAOUI
Hi, I want to use Buildroot for CraneBoard... My problem is with configuration files : MLO, u-boot.bin and uImage. I installed the last RC buildroot and after I started to configure the build by selecting the desired setting because i dont found a defconfig file for Kernel with buildroot ...

Re: [U-Boot] fsl_esdhc.c: eMMC 4.4 support?

2012-02-24 Thread stefano babic
Am 24/02/2012 08:20, schrieb Dirk Behme: On 23.02.2012 22:45, Andy Fleming wrote: Yes, that's very annoying. Of course, Freescale *does* use fsl_esdhc, but for Power Architecture. I know that changes were submitted to support i.MX on fsl_esdhc, too, so I don't know why they've opted to use

Re: [U-Boot] [PATCH v3 1/6] arm: adapt asm/linkage.h from Linux

2012-02-24 Thread Aneesh V
On Friday 24 February 2012 05:22 AM, Mike Frysinger wrote: On Thursday 23 February 2012 12:40:54 Aneesh V wrote: On Thursday 23 February 2012 08:29 PM, Mike Frysinger wrote: On Thursday 23 February 2012 09:06:01 Aneesh V wrote: --- /dev/null +++ b/arch/arm/include/asm/linkage.h @@ -0,0 +1,11

Re: [U-Boot] [PATCH 1/2] usb: align buffers at cacheline

2012-02-24 Thread puneets
Hi Mike, On Thursday 23 February 2012 11:45 PM, Mike Frysinger wrote: * PGP Signed by an unknown key On Thursday 23 February 2012 09:25:25 Puneet Saxena wrote: --- a/common/usb_storage.c +++ b/common/usb_storage.c -static unsigned char usb_stor_buf[512]; -static ccb usb_ccb; +#ifdef

Re: [U-Boot] [PATCH 0/4] USB: Add support for designware UDC

2012-02-24 Thread Amit Virdi
Hello Remy, On Thu, Feb 16, 2012 at 5:33 PM, Amit Virdi amit.vi...@st.com wrote: Support for designware USB device controller (UDC) exists in the u-boot for SPEAr platform. This patchset makes the driver more generic so that it can be used across multiple platforms. Shiraz Hashim (1):  

[U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-24 Thread Amit Virdi
From: Vipin Kumar vipin.ku...@st.com Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. Reverting the structures to non-packed Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com ---

[U-Boot] [PATCH] usbtty: adapt buffers for large packet support

2012-02-24 Thread Amit Virdi
From: Shiraz Hashim shiraz.has...@st.com Increase buffer sizes at driver and tty level to accommodate kermit large packet support. Signed-off-by: Shiraz Hashim shiraz.has...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com --- drivers/serial/usbtty.c |2 +- include/usbdevice.h |4

[U-Boot] [PATCH 00/11] mtd/SMI: Add support for ST SMI controller

2012-02-24 Thread Amit Virdi
In the current u-boot, a driver exists for ST's SMI controller. However, the driver is SPEAr specific. This patchset makes the driver more generic so that it can be used across multiple platforms. In the first commit, the driver is renamed to st_smi. In subsequent patches, changes are introduced

[U-Boot] [PATCH 01/11] st_smi: Add support for SPEAr SMI driver

2012-02-24 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com SMI is the serial memory interface controller provided by ST. Earlier, a driver exists in the u-boot source code for the SMI IP. However, it was specific to spear platforms. This commit converts the same driver to a more generic driver. As a result, the

[U-Boot] [PATCH 02/11] st_smi: Remove compilation warning

2012-02-24 Thread Amit Virdi
Signed-off-by: Amit Virdi amit.vi...@st.com --- drivers/mtd/st_smi.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index b514046..82f1fe1 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/mtd/st_smi.c @@ -323,24 +323,19 @@

[U-Boot] [PATCH 03/11] st_smi: Return error in case TFF is not set

2012-02-24 Thread Amit Virdi
Curently the code makes wrong assumption that the Transfer finished flag shall be set within the stipulated time. However, there may occur a scenario in which the TFF flag is not set. Return error in that case. Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by: Amit Virdi

[U-Boot] [PATCH 04/11] st_smi: Change SMI timeout values

2012-02-24 Thread Amit Virdi
Signed-off-by: Amit Virdi amit.vi...@st.com --- include/linux/mtd/st_smi.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mtd/st_smi.h b/include/linux/mtd/st_smi.h index b7a78ac..04f81ea 100644 --- a/include/linux/mtd/st_smi.h +++

[U-Boot] [PATCH 05/11] st_smi: Enhance the error handling

2012-02-24 Thread Amit Virdi
This commit does the following: - Reports error if SNOR flash is not found on the board - Changes smi_read_sr to return error using which a retry mechanism is implemented for reading flash status Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com ---

[U-Boot] [PATCH 06/11] st_smi: Read status until timeout happens

2012-02-24 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com SMI driver read status fails because the control register could not be overwritten. Instead, the read status should be tried until timeout. Signed-off-by: Vipin Kumar vipin.ku...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com --- drivers/mtd/st_smi.c |

[U-Boot] [PATCH 07/11] st_smi: Move status register read before modifying ctrl register

2012-02-24 Thread Amit Virdi
From: Shiraz Hashim shiraz.has...@st.com Signed-off-by: Shiraz Hashim shiraz.has...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com --- drivers/mtd/st_smi.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index

[U-Boot] [PATCH 09/11] st_smi: Removed no needed dependency on ST_M25Pxx_ID

2012-02-24 Thread Amit Virdi
From: Armando Visconti armando.visco...@st.com Since the smi erase code is very generic and works for any kind of flash, there is no need to test for ST_M25Pxx_ID flash types like m25p40 flashes). Signed-off-by: Armando Visconti armando.visco...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com

[U-Boot] [PATCH 08/11] st_smi: Fix smi read status

2012-02-24 Thread Amit Virdi
From: Vipin Kumar vipin.ku...@st.com smi_read_sr fails sometimes because of TFF not getting set within assumed time. This condition may arise because of, for example, smi memory being in a erase mode. This fix is to enable reading the status register until timeout. Signed-off-by: Vipin Kumar

[U-Boot] [PATCH 10/11] st_smi: Change the flash probing method

2012-02-24 Thread Amit Virdi
From: Armando Visconti armando.visco...@st.com THis patch introduces a new methodology for flash probing in which flash_devices[] table, looked-up thru the dev_id, is used to locate the flash geometry and information. Signed-off-by: Armando Visconti armando.visco...@st.com Signed-off-by: Amit

[U-Boot] [PATCH 11/11] st_smi: Fix bug in flash_print_info()

2012-02-24 Thread Amit Virdi
From: Armando Visconti armando.visco...@st.com If the flash size was smaller than 1MB then flash_print_info() was erroneously reporting 0 MB. Signed-off-by: Armando Visconti armando.visco...@st.com Signed-off-by: Amit Virdi amit.vi...@st.com --- drivers/mtd/st_smi.c |9 +++-- 1 files

Re: [U-Boot] [PATCH 1/2] usb: align buffers at cacheline

2012-02-24 Thread Simon Glass
Hi, On Thu, Feb 23, 2012 at 6:25 AM, Puneet Saxena pune...@nvidia.com wrote: As DMA expects the buffers to be equal and larger then cache lines, This aligns buffers at cacheline. Signed-off-by: Puneet Saxena pune...@nvidia.com Signed-off-by: Jim Lin ji...@nvidia.com --- Changes for v2:  

Re: [U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Tom Rini
On Fri, Feb 24, 2012 at 10:25:21AM +0100, Mohamed HAMZAOUI wrote: Hi, I want to use Buildroot for CraneBoard... My problem is with configuration files : MLO, u-boot.bin and uImage. I installed the last RC buildroot and after I started to configure the build by selecting the desired

[U-Boot] [PATCH] microblaze: Enable phylib and mii support

2012-02-24 Thread Stephan Linz
Enable phylib and mii support for AXI EMAC ethernet drivers on Microblaze systems. Signed-off-by: Stephan Linz l...@li-pro.net Reported-by: Michal Simek mon...@monstr.eu --- include/configs/microblaze-generic.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff

Re: [U-Boot] [PATCH v2] arm: Tegra2: Fix ELDK42 gcc failure with inline asm stack pointer load

2012-02-24 Thread Simon Glass
On Thu, Feb 23, 2012 at 1:25 PM, Tom Warren twarren.nvi...@gmail.com wrote: On Fri, Feb 17, 2012 at 9:01 AM, Tom Warren twarren.nvi...@gmail.com wrote: The 4.2.2 gcc in the ELDK42 release doesn't like the direct SP load using a constant in tegra2_start. Change it to use a load thru another reg

[U-Boot] exports.h and the GPL

2012-02-24 Thread Michael Walle
Hi, As far as i know applications can use functions defined in exports.h without being licensed under the GPL. Who is responsible to define which functions are exported? Are the currently exported functions the only ones available to closed source applications or is it possible to add

Re: [U-Boot] u-boot for SPEAr1310

2012-02-24 Thread Pavel Machek
Hi! On Thu 2012-02-23 15:49:02, Marek Vasut wrote: On Thursday 23 February 2012 15:17:19 Pavel Machek wrote: My experience is mostly SPEAr600 only right now. Not sure if there are bigger differences between those SoC's in the BootROM. I believe the spear600 is totally different from

Re: [U-Boot] u-boot for SPEAr1310

2012-02-24 Thread Stefan Roese
Hi Pavel, On Friday 24 February 2012 19:16:46 Pavel Machek wrote: I have a problem here: reset halt does not reset the board; probably some kind of BDI problem. I tried playing with BDI config, but was not successful. I tried to load u-boot from u-boot using: u-boot tftp 0x0070

Re: [U-Boot] u-boot for SPEAr1310

2012-02-24 Thread Marek Vasut
Hi! On Thu 2012-02-23 15:49:02, Marek Vasut wrote: On Thursday 23 February 2012 15:17:19 Pavel Machek wrote: My experience is mostly SPEAr600 only right now. Not sure if there are bigger differences between those SoC's in the BootROM. I believe the spear600 is totally

Re: [U-Boot] u-boot for SPEAr1310

2012-02-24 Thread Stefan Roese
On Friday 24 February 2012 19:37:45 Marek Vasut wrote: ...it started something. According to gdb it looks like new u-boot executes briefly, but fails in C code while processing intialization, and it seems that old u-boot takes over. (Some kind of failure and board resets itself?). Well

Re: [U-Boot] exports.h and the GPL

2012-02-24 Thread Mike Frysinger
On Friday 24 February 2012 13:10:36 Michael Walle wrote: As far as i know applications can use functions defined in exports.h without being licensed under the GPL. correct, that is what the COPYING file states Who is responsible to define which functions are exported? Are the currently

Re: [U-Boot] [PATCH] USB:host: Attribute packed removed from usb structures

2012-02-24 Thread Mike Frysinger
On Friday 24 February 2012 06:58:40 Amit Virdi wrote: Packed attribute is forcing a bytewise write on device registers, there by, resulting in a misbehavior on gcc-4.4.1. so use a compiler that isn't broken ? -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] exports.h and the GPL

2012-02-24 Thread Michael Walle
Am Freitag 24 Februar 2012, 20:17:19 schrieb Mike Frysinger: On Friday 24 February 2012 13:10:36 Michael Walle wrote: As far as i know applications can use functions defined in exports.h without being licensed under the GPL. correct, that is what the COPYING file states Who is

[U-Boot] [PATCH] ARM:OMAP+:MMC: Add parameters to MMC init

2012-02-24 Thread Jonathan Solnit
Add parameters to the OMAP MMC initialization function so the board can mask host capabilities and set the maximum clock frequency. While the OMAP supports a certain set of MMC host capabilities, individual boards may be more restricted and the OMAP may need to be configured to match the board.

Re: [U-Boot] [PATCH] ARM:OMAP+:MMC: Add parameters to MMC init

2012-02-24 Thread Tom Rini
On Fri, Feb 24, 2012 at 12:58 PM, Jonathan Solnit jsol...@gmail.com wrote: Add parameters to the OMAP MMC initialization function so the board can mask host capabilities and set the maximum clock frequency.  While the OMAP supports a certain set of MMC host capabilities, individual boards may

Re: [U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Mohamed HAMZAOUI
Thank you for your help, but i use the 2012.12RC version and in the bootloader menu i select the u-boot version 2011.12 and in the uboot binary format i only have u-boot.bin, u-boot-nand.bin, u-boot.kwb ! How to build u-boot.img ? when i used a u-boot.bin for my Craneboard i can't boot because it

Re: [U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Tom Rini
On Fri, Feb 24, 2012 at 1:08 PM, Mohamed HAMZAOUI requin...@gmail.com wrote: Thank you for your help, but i use the 2012.12RC version and in the bootloader menu i select the u-boot version 2011.12 and in the uboot binary format i only have u-boot.bin, u-boot-nand.bin, u-boot.kwb ! How to build

Re: [U-Boot] [PATCH] ARM:OMAP+:MMC: Add parameters to MMC init

2012-02-24 Thread Jonathan Solnit
Just the commit comment. The part about needing this for rail-to-rail swing was inaccurate. On Fri, Feb 24, 2012 at 12:03 PM, Tom Rini tr...@ti.com wrote: On Fri, Feb 24, 2012 at 12:58 PM, Jonathan Solnit jsol...@gmail.com wrote: Add parameters to the OMAP MMC initialization function so the

[U-Boot] [PATCH v2] ARM:OMAP+:MMC: Add parameters to MMC init

2012-02-24 Thread Jonathan Solnit
Add parameters to the OMAP MMC initialization function so the board can mask host capabilities and set the maximum clock frequency. While the OMAP supports a certain set of MMC host capabilities, individual boards may be more restricted and the OMAP may need to be configured to match the board.

Re: [U-Boot] [PATCH] ARM:OMAP+:MMC: Add parameters to MMC init

2012-02-24 Thread Jonathan Solnit
I just tried to re-submit a v2 following the patch update guidelines and may or may not have made a mess of things. Let me know if you need me to do anything. On Fri, Feb 24, 2012 at 12:41 PM, Jonathan Solnit jsol...@gmail.com wrote: Just the commit comment. The part about needing this for

Re: [U-Boot] exports.h and the GPL

2012-02-24 Thread Mike Frysinger
On Friday 24 February 2012 14:48:51 Michael Walle wrote: Am Freitag 24 Februar 2012, 20:17:19 schrieb Mike Frysinger: On Friday 24 February 2012 13:10:36 Michael Walle wrote: Who is responsible to define which functions are exported? Are the currently exported functions the only ones

Re: [U-Boot] exports.h and the GPL

2012-02-24 Thread Wolfgang Denk
Dear Michael Walle, In message 201202242048.51624.mich...@walle.cc you wrote: which is why the exported funcs are high level and not ones that get into low level stuff that would necessitate passing structs. the other problem with struct passing is that they tend to break the ABI layer.

Re: [U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Mohamed HAMZAOUI
I tried following your instruction and i have been found the file MLO and u-boot.img in the build/uboot directory but when i use them with the generated rootfs th craneboard boot from the nand and not from my SD although it's configured to booting from SD card and i tested it whith a openembedded

Re: [U-Boot] Craneboard with Uboot and xloader

2012-02-24 Thread Tom Rini
On Fri, Feb 24, 2012 at 5:01 PM, Mohamed HAMZAOUI requin...@gmail.com wrote: I tried following your instruction and i have been found the file MLO and u-boot.img in the build/uboot directory but when i use them with the generated rootfs th craneboard boot from the nand and not from my SD

Re: [U-Boot] Unable to run scripts with autoscr command

2012-02-24 Thread Graeme Russ
Hi Asif, On 02/24/2012 04:43 PM, Asif Sulikeri wrote: Thanks Graeme, replies in-line, Appreciated (after all, that is ML etiquette) On Fri, Feb 24, 2012 at 11:01 AM, Graeme Russ graeme.r...@gmail.com mailto:graeme.r...@gmail.com wrote: Hi Asif, On Fri, Feb 24, 2012 at 4:25