[U-Boot] [PATCH v4 6/6] sandbox: spi: Enable new spi/sf layers

2013-06-24 Thread Simon Glass
From: Mike Frysinger We want to test SPI flash code in the sandbox, so enable the new drivers and the 'sf test' command. This command is used to validate the sandbox SPI / SPI flash implementation, so enable it. Signed-off-by: Mike Frysinger Signed-off-by: Simon Glass --- Changes in v4: - Ena

[U-Boot] [PATCH v4 5/6] sandbox: spi: Add new SPI flash driver

2013-06-24 Thread Simon Glass
From: Mike Frysinger This adds a SPI flash driver which simulates SPI flash clients. Currently supports the bare min that U-Boot requires: you can probe, read, erase, and write. Should be easy to extend to make it behave more exactly like a real SPI flash, but this is good enough to merge now.

Re: [U-Boot] [PATCH v4] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-24 Thread Scott Wood
On 06/24/2013 11:50:40 AM, Heiko Schocher wrote: before writing the received buffer to nand, erase the nand sectors. If not doing this, nand write fails. See for more info here: http://lists.denx.de/pipermail/u-boot/2013-June/156361.html Using the nand erase option "spread", maybe overwrite blo

Re: [U-Boot] [PATCH] board/bsc913x: Add config flag for bootdelay

2013-06-24 Thread Scott Wood
On 06/24/2013 04:28:26 AM, Rai Harninder-B01044 wrote: Hello Albert, Plase fix commit message: you're not simply adding a boot delay flag, you're in fact disabling autoboot, which is quite different. [Rai Harninder-B01044] "Disable autoboot through bootdelay config flag". Is this ok? But

Re: [U-Boot] [PATCH 1/3] net: macb: using AT91FAMILY replace #ifdeferry

2013-06-24 Thread Joe Hershberger
On Mon, Jun 24, 2013 at 9:57 AM, Andreas Bießmann wrote: > Hi Joe, > > On 04/24/2013 09:59 AM, Bo Shen wrote: >> Using CONFIG_AT91FAMILY replace #ifdeferry for atmel SoC >> >> Signed-off-by: Bo Shen >> --- >> drivers/net/macb.c | 10 ++ >> 1 file changed, 2 insertions(+), 8 deletions(-

[U-Boot] Pull request: u-boot-net.git master

2013-06-24 Thread Joe Hershberger
The following changes since commit 348e47f766ac228fb02d1af562b2e9a4c69355db: Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-06-22 07:38:12 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 433a2c5325b982b49b09

Re: [U-Boot] [PATCH V2 1/9] Validate dtc is new enough

2013-06-24 Thread Simon Glass
Hi Stephen, On Mon, Jun 24, 2013 at 8:43 AM, Stephen Warren wrote: > From: Stephen Warren > > Subsequent patches assume that dtc supports various recent features. > These are available in dtc 1.4.0. Validate that dtc is at least that > version. > > Signed-off-by: Stephen Warren > --- > v2: New

Re: [U-Boot] [PATCH V2 3/9] dts/Makefile: simplify dtc invocation

2013-06-24 Thread Simon Glass
On Mon, Jun 24, 2013 at 8:43 AM, Stephen Warren wrote: > From: Stephen Warren > The invocation of dtc is significantly more complex that it could be, > in order to work around an issue on old versions of dtc, which print > a message to stdout every time they run. > > Remove this workaround, on th

Re: [U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2013-06-24 Thread Simon Glass
Hi Albert, On Sun, Jun 23, 2013 at 12:29 AM, Albert ARIBAUD wrote: > Hi Simon, > > On Mon, 17 Jun 2013 07:44:52 -0700, Simon Glass > wrote: > > > Note that a config_drop.h file is added - this defines all the CONFIGs > > which are not used in any board config file. Without this, autoconf > canno

Re: [U-Boot] [PATCH] cmd_i2c: Use ARRAY_SIZE instead of reinventing it

2013-06-24 Thread Simon Glass
On Sat, Jun 22, 2013 at 6:56 AM, Axel Lin wrote: > Signed-off-by: Axel Lin > Missing commit message? Otherwise: Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATH v5 00/14] sf: Update sf framework to support all sizes of flashes

2013-06-24 Thread Simon Glass
Hi Jagan, On Sun, Jun 23, 2013 at 11:04 AM, Jagan Teki wrote: > On 21-06-2013 20:12, Jagannadha Sutradharudu Teki wrote: > >> This is a v5 patch series with some modifications on previous series >> with same head "sf: Update sf framework to support all sizes of flashes" >> >> The current impleme

Re: [U-Boot] [PATCH] cmd_i2c: Use ARRAY_SIZE instead of reinventing it

2013-06-24 Thread Axel Lin
2013/6/25 Simon Glass : > On Sat, Jun 22, 2013 at 6:56 AM, Axel Lin wrote: >> >> Signed-off-by: Axel Lin > > > Missing commit message? Because the subject line is already very clear. And tools/checkpatch.pl does not complaint. > > Otherwise: > > Acked-by: Simon Glass > > __

Re: [U-Boot] [PATCH] gpio: s5p_gpio: Call s5p_gpio_set_value() instead of open-code

2013-06-24 Thread Minkyu Kang
On 15/06/13 23:19, Axel Lin wrote: > Call s5p_gpio_set_value() to avoid code duplication. > > Signed-off-by: Axel Lin > --- > drivers/gpio/s5p_gpio.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c > index 656bf4

Re: [U-Boot] [PATCH] gpio: s3c2440_gpio: Fix wrong writel arguments

2013-06-24 Thread Minkyu Kang
On 15/06/13 18:56, Axel Lin wrote: > Current code had writel arguments the wrong way around, fix it. > > Signed-off-by: Axel Lin > --- > Hi, > I don't have this hardware to test, but current code looks obviously wrong. > I'd appreciate if someone can review and test this patch. > > Axel > drive

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-24 Thread Lokesh Vutla
Hi Heiko, On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: Locking sequence for all the dplls is same. In the current code same sequence is done repeatedly for each dpll. Instead have a generic function for locking dplls and pass d

Re: [U-Boot] [PATCH 2/4] usb:composite: use memcpy to avoid unaligned access

2013-06-24 Thread Heiko Schocher
Hello Prafulla, just saw, that the below patch is delegated to you: (added also Marek Vasut to cc, as he is the usb maintainer) Am 10.04.2013 14:07, schrieb Piotr Wilczek: > This patch memcpy is used instead of an assignment to > avoid unaligned access execption on some ARM platforms. > > Signed

Re: [U-Boot] [U-Boot, v2] powerpc/mpc85xx:Disable Debug TLB entry before init_tlbs

2013-06-24 Thread Prabhakar Kushwaha
On 06/24/2013 11:11 PM, Scott Wood wrote: On 06/24/2013 01:17:11 AM, Prabhakar Kushwaha wrote: On 06/24/2013 08:44 AM, Prabhakar Kushwaha wrote: On 06/22/2013 02:42 AM, Scott Wood wrote: On 06/21/2013 04:05:37 PM, Fleming Andy-AFLEMING wrote: On Jun 21, 2013, at 3:59 PM, Scott Wood wrote: >

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: > Hi Heiko, > On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: >> Hello Lokesh, >> >> Am 24.06.2013 15:15, schrieb Lokesh Vutla: >>> Locking sequence for all the dplls is same. >>> In the current code same sequence is done repeatedly

[U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-06-24 Thread Prabhakar Kushwaha
CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs. CONFIG_SPL_INIT_MINIMAL never creates any debug TLB entry, so no need of disable_tlb(). Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/cpu/mpc85xx/cpu_init_early.c |3 ++- 1 file changed, 2 insertions(+), 1 deleti

Re: [U-Boot] [PATCH 3/4] ARM: AM33xx: Move s_init to a common place

2013-06-24 Thread Sumit Gemini
Hi Heiko, I followed the same steps that you mentioned, but still i have same problem. During get uboot-spl.bin from uart, system become hanged and it is not ready to receive u-boot.img. Still compiling to uboot, i had to comment rtc32k_enable() function. then it is working fine.

Re: [U-Boot] [PATCH 3/4] ARM: AM33xx: Move s_init to a common place

2013-06-24 Thread Heiko Schocher
Hello Summit, Am 25.06.2013 07:09, schrieb Sumit Gemini: > Hi Heiko, > > I followed the same steps that you mentioned, but still i have same > problem. > During get uboot-spl.bin from uart, system become hanged and it is not > ready to receive u-boot.img. On which hardware? > S

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-24 Thread Sumit Gemini
Hi Lukasz, I put the dfu support into am335x board even i able to download all images from dfu-util, but when i trying to upload images, (from dfu devices to PC), my system failed. Could you tell me what is the problem and where should i look into? Thanks & Regards ~Sumit gemini On Mon

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-24 Thread Lokesh Vutla
Hi Heiko, On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: Locking sequence for all the dplls is same. In

[U-Boot] [PATCH 1/2] board/bsc9132qds: Add DSP side tlb and laws

2013-06-24 Thread Priyanka Jain
BSC9132QDS is a Freescale Reference Design Board for BSC9132 SoC which is a integrated device that contains two powerpc e500v2 cores and two DSP starcores. To support DSP starcore -Creating LAW and TLB for DSP-CCSR space. -Creating LAW for DSP-core subsystem M2 and M3 memory -Creating LAW for 1GB

[U-Boot] [PATCH 2/2] board/bsc9132qds: Configure DSP DDR controller

2013-06-24 Thread Priyanka Jain
BSC9132 SoC has two separate DDR controllers for PowerPC side and DSP side DDR. They are mapped to PowerPC and DSP CCSR space respectively. BSC9132QDS has two on-board MC34716EP DDR3 memory one connected to PowerPC and other to DSP side controller. Configure DSP DDR controller similar to PowerPC s

[U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-24 Thread Frederic Leroy
From: Frédéric Leroy With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives We now use lbaint_t for partition offset to reflect the lbaint_t cha

Re: [U-Boot] [PATCH v2 5/5] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-24 Thread Josh Wu
Hi, Dear Scott On 6/21/2013 4:57 AM, Scott Wood wrote: On 06/17/2013 05:51:21 AM, Josh Wu wrote: +static int pmecc_choose_ecc(struct atmel_nand_host *host, +struct nand_chip *chip, +int *cap, int *sector_size) +{ +/* Get ECC requirement from ONFI parameters */ +*cap = *s

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-24 Thread Lukasz Majewski
Hi Sumit, > Hi Lukasz, > > I put the dfu support into am335x board even i able to download > all images from dfu-util, but when i trying to upload images, (from > dfu devices to PC), my system failed. > > Could you tell me what is the problem and where should i look into? Indeed dfu uplo

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-24 Thread Sumit Gemini
Hi Lukasz, My dfu version is 1.0 and am using SPI flash NOR. downloading is fine but uploading failed. I am trying lot to upload binary from dfu-device to pc but not able to do that. I am facing following error :- when i apply dfu-util -v -a u-boot -U dfu-

<    1   2