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 > wrote: > > Hi Asif, > > On Fri, Feb 24, 2012 at 4:25 PM, Asif S

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 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 > although it's configu

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 d

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 AB

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 o

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 wrote: > Just the commit comment. The part about needing this for rail-to-rail > swin

[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. T

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 wrote: > On Fri, Feb 24, 2012 at 12:58 PM, Jonathan Solnit > wrote: > > Add parameters to the OMAP MMC initialization function so the board can > > mask host c

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 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 u-boot.img ? >

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 n

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 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 be more restri

[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. T

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

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 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 ex

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?

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

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 0x00700

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 f

[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 further

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 wrote: > On Fri, Feb 17, 2012 at 9:01 AM, Tom Warren 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 using mov sp, %0 : : "r"(CONST). >> >> Te

[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 Reported-by: Michal Simek --- include/configs/microblaze-generic.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/include/configs/microbl

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

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 wrote: > As DMA expects the buffers to be equal and larger then > cache lines, This aligns buffers at cacheline. > > Signed-off-by: Puneet Saxena > Signed-off-by: Jim Lin > --- > Changes for v2: >   - Split the commit in to 2 commits >   - "ARC

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

2012-02-24 Thread Amit Virdi
From: Armando Visconti If the flash size was smaller than 1MB then flash_print_info() was erroneously reporting 0 MB. Signed-off-by: Armando Visconti Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mtd

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

2012-02-24 Thread Amit Virdi
From: Armando Visconti 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 Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 92 +

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

2012-02-24 Thread Amit Virdi
From: Vipin Kumar 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 Signed-off-by: Amit

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

2012-02-24 Thread Amit Virdi
From: Armando Visconti 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 Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 50 ++

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

2012-02-24 Thread Amit Virdi
From: Shiraz Hashim Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi --- 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 7b4c6f3..eb902b2 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/m

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

2012-02-24 Thread Amit Virdi
From: Vipin KUMAR 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 Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(

[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 Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 34 +

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

2012-02-24 Thread Amit Virdi
Signed-off-by: Amit Virdi --- 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 +++ b/include/linux/mtd/st_smi.h @@ -109,8 +1

[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 Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 22

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

2012-02-24 Thread Amit Virdi
Signed-off-by: Amit Virdi --- 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 @@ static int smi_writ

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

2012-02-24 Thread Amit Virdi
From: Vipin KUMAR 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 driver files are renamed

[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 s

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

2012-02-24 Thread Amit Virdi
From: Shiraz Hashim Increase buffer sizes at driver and tty level to accommodate kermit large packet support. Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi --- drivers/serial/usbtty.c |2 +- include/usbdevice.h |4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) di

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

2012-02-24 Thread Amit Virdi
From: Vipin Kumar 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 Signed-off-by: Amit Virdi --- drivers/usb/host/ehci.h |4 ++-- 1 files changed, 2 insert

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 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): >  USB:gadget:desig

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 ARCH_DMA_M

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] 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 >

[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 ... In

[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