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-

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

[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

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

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

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

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

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

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

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

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

[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 2/6] sandbox: spi: Adjust 'sf test' to work on sandbox

2013-06-24 Thread Simon Glass
Add map_sysmem() calls so that this test works correctly on sandbox. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to make 'sf test' work on sandbox Changes in v3: None Changes in v2: None common/cmd_sf.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) dif

[U-Boot] [PATCH v4 1/6] sandbox: Increase memory size to 32MB

2013-06-24 Thread Simon Glass
The current 4MB size is a little small for some tests, so increase it. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to increase sandbox memory size, so 'sf test' works Changes in v3: None Changes in v2: None include/configs/sandbox.h | 2 +- 1 file changed, 1 insertion(+), 1 d

[U-Boot] [PATCH v4 4/6] sandbox: spi: Add SPI emulation bus

2013-06-24 Thread Simon Glass
From: Mike Frysinger This adds a SPI framework for people to hook up simulated SPI clients. Signed-off-by: Mike Frysinger Signed-off-by: Simon Glass --- Changes in v4: - Add additional error checking - Fix new checkpatch warnings - Rebase on top of recent spi changes - Rename sb to sandbox - U

[U-Boot] [PATCH v4 3/6] sandbox: Rename sb_cmdline_option to sandbox_cmdline_option

2013-06-24 Thread Simon Glass
The new name is longer but more clearly related to sandbox. This is in a separate patch within the same series since some coments on the SPI series rely on it. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to rename to sandbox_cmdline_option Changes in v3: None Changes in v2: No

[U-Boot] [PATCH v4 0/6] sandbox: Add SPI and SPI flash emulation

2013-06-24 Thread Simon Glass
This series was written by Mike Frysinger some time ago. It was fully functional but had a few outstanding comments and the patches were never applied: http://patchwork.ozlabs.org/patch/146127/ http://patchwork.ozlabs.org/patch/146128/ http://patchwork.ozlabs.org/patch/146129/ I have picked these

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

2013-06-24 Thread Sascha Silbe
Frederic Leroy writes: > 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 partiti

[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] Fix block device accesses beyond 2TiB

2013-06-24 Thread Sascha Silbe
Frédéric Leroy writes: > Le 22/06/2013 17:31, Albert ARIBAUD a écrit : >> > However, the patch issues no warning at compile time and fixes the ide >> > block layer. >> >> OK -- anyone has any idea why Sasha's patch fixes reading from "far" >> blocks but does not fix ex2ls? Frankly, I'd prefer it

[U-Boot] [PATCH v2 3/5] Allow U-Boot scripts to be placed in a .env file

2013-06-24 Thread Simon Glass
At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if we could just type the script into a text file and ha

[U-Boot] [PATCH v2 5/5] RFC: tegra: Convert to using environment files

2013-06-24 Thread Simon Glass
This seems more intuitive that the current #define way of doing things. The resulting code is shorter, avoids the quoting and line continuation pain, and also improves the clumsy way that stdio variables are created: #ifdef CONFIG_VIDEO_TEGRA #define STDOUT_LCD ",lcd" #else #define STDOUT_LCD

[U-Boot] [PATCH v2 2/5] Make 'run' use run_command_list() instead of run_command()

2013-06-24 Thread Simon Glass
In the case where an environment variable spans multiple lines, we should use run_command_list() so that all lines are executed. This shold be backwards compatible with existing behaviour for existing scripts. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to adjust 'run' command t

[U-Boot] [PATCH v2 1/5] sandbox: Support 'env import' and 'env export'

2013-06-24 Thread Simon Glass
Adjust the code for these commands so that they work on sandbox. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to get 'env import/export' working on sandbox common/cmd_nvedit.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/

[U-Boot] [PATCH v2 4/5] env: Allow environment files to use the C preprocessor

2013-06-24 Thread Simon Glass
In many cases environment variables need access to the U-Boot CONFIG variables to select different options. Enable this so that the environment scripts can be as useful as the ones currently in the board config files. Signed-off-by: Simon Glass --- Changes in v2: - Add separate patch to enable C

[U-Boot] [PATCH v2 0/5] env: Add support for environment files

2013-06-24 Thread Simon Glass
At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if we could just type the script into a text file and ha

[U-Boot] PPC: MPC5xxx Pull request

2013-06-24 Thread Wolfgang Denk
Dear Tom, The following changes since commit e1208c2fe5e07f9a248cfbf9bbb212aa34ad2806: MIPS: asm/errno.h: switch to asm-generic/errno.h (2013-06-08 23:10:10 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc5xxx master for you to fetch changes up to 6c5001d5429bed5

Re: [U-Boot] [PATCH V2 0/9] rely on latest dtc, simplify

2013-06-24 Thread Tom Rini
On Mon, Jun 24, 2013 at 09:43:40AM -0600, Stephen Warren wrote: > From: Stephen Warren > > This is a series of patches which simplifies the rules to build *.dts in > U-Boot by relying on features in the latest dtc. The include rules are > made more consistent between cpp (when processing *.dts)

Re: [U-Boot] [PATCH] arm: omap5_uevm: Correct the console sys prompt for 5432

2013-06-24 Thread Tom Rini
On Sat, Jun 22, 2013 at 11:33:11AM +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Tue, 11 Jun 2013 11:53:42 -0400, Tom Rini wrote: > > > On Thu, Jun 06, 2013 at 04:30:38PM -0500, Dan Murphy wrote: > > > > > Correct the console sys prompt to display the correct processor > > > and the corrent boa

Re: [U-Boot] [PATCH v2 7/7] ac14xx: rephrase network boot config for development

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-8-git-send-email-...@denx.de> you wrote: > - remove the builtin 'rootpath' spec (according to U-Boot project > policy) and require user provided environments to contain these > - rephrase the evaluation of the 'muster_nr' approach which allows to

Re: [U-Boot] [PATCH v2 6/7] ac14xx: use the official product name everywhere

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-7-git-send-email-...@denx.de> you wrote: > remove remaining "k6" code names, switch to the official 'ac14xx' name > > Signed-off-by: Gerhard Sittig > --- > include/configs/ac14xx.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletion

Re: [U-Boot] [PATCH v2 5/7] ac14xx: remove obsolete board config items

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-6-git-send-email-...@denx.de> you wrote: > - use the default baudrate table for serial communication > - remove hostname/boofile/rootpath defines which were not referenced elsewhere > > Signed-off-by: Gerhard Sittig > --- > include/configs/ac14x

Re: [U-Boot] [PATCH v2 3/7] ac14xx: minor improvement in diagnostics

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-4-git-send-email-...@denx.de> you wrote: > - minor rewording of diagnostics output > - make diagnostics optional and off by default > > Signed-off-by: Gerhard Sittig > --- > board/ifm/ac14xx/ac14xx.c | 34 -- >

Re: [U-Boot] [PATCH v2 4/7] ac14xx: re-order the recovery condition checks

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-5-git-send-email-...@denx.de> you wrote: > re-order the conditions which make the recovery system startup: combine > those conditions which were explicitly initiated (key press, software > request) and those which post-process error conditions (ins

Re: [U-Boot] [PATCH v2 2/7] ac14xx: cleanup comments in the board support

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-3-git-send-email-...@denx.de> you wrote: > fix typos, minor rephrasing, remove obsolete notes and TODO items > > Signed-off-by: Gerhard Sittig > --- > board/ifm/ac14xx/ac14xx.c | 10 ++ > include/configs/ac14xx.h |5 ++--- > 2 fil

Re: [U-Boot] [PATCH v2 1/7] ac14xx: fix a potential NULL deref in diagnostics

2013-06-24 Thread Wolfgang Denk
Dear Gerhard Sittig, In message <1370436671-12422-2-git-send-email-...@denx.de> you wrote: > getenv() immediately after setenv() may perfectly legally return NULL, so > make sure to not deference an invalid pointer when creating diagnostic output > > Signed-off-by: Gerhard Sittig > --- > board/

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2013-06-24 Thread Tom Rini
On Fri, Jun 21, 2013 at 03:51:37PM -0500, Andy Fleming wrote: > The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172: > > NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 > -0400) > > are available in the git repository at: > > git://www.de

Re: [U-Boot] Pull request: u-boot-arm/master

2013-06-24 Thread Tom Rini
On Fri, Jun 21, 2013 at 11:52:51PM +0200, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 847e6693ccb529bf8346db62876f38f0c4e04ade: > > arm: pxa: config option for PXA270 turbo mode (2013-06-12 22:24:12 > +0200) > > are available in the git repository at: > >

Re: [U-Boot] [RFC] [UBOOT] [PATCH v2 2/4] USB: Adapt the usb-compat.h to uboot and fix compiler errors

2013-06-24 Thread Tom Rini
On Mon, Jun 24, 2013 at 11:43:53AM -0500, Dan Murphy wrote: > Adapt the usb-compat.h to uBoot. > > Use #ifndef __UBOOT__ for code that is not applicable to uBoot. > Use #ifdef __UBOOT__ to add code that is uBoot specific. > > Create linux-compat.h - Linux kernel compatibility definitions that do

[U-Boot] [PATCH] pxa: fix compiler warnings about unused variables

2013-06-24 Thread Mike Dunn
Newer gcc versions warn about unused variables. This patch corrects a few of those warnings that popped up in a pxa build. Signed-off-by: Mike Dunn --- drivers/mtd/nand/docg4_spl.c| 15 +++ drivers/usb/gadget/pxa27x_udc.c | 14 +- 2 files changed, 12 insertions(+), 1

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

2013-06-24 Thread Heiko Schocher
Hello Tom, Am 24.06.2013 21:31, schrieb Tom Rini: > On 06/24/2013 03:17 PM, Heiko Schocher wrote: >> Hello Lokesh, > [snip] >>> + /* Enable RTC32K clock */ + rtc32k_enable(); > >> I tried your patches on my three boards. The board with the >> rtc32k_enable() problem, did not work with them

Re: [U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-24 Thread Stephen Warren
On 06/21/2013 05:05 AM, Jim Lin wrote: > Add DT node for USB EHCI function. > Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. The series, Reviewed-by: Stephen Warren Also, on Beaver, Cardhu-A04, and Dalmore, I tested downloading/booting a kernel over a USB Ethernet dongle, so, Tes

[U-Boot] stb7100mboard

2013-06-24 Thread holovati
Hi Does anyone know where i can find u-boot source with pre-configured support for stb7100mboard, it used to be available on stlinux website, but can't seem to find it any longer. D -- View this message in context: http://u-boot.10912.n7.nabble.com/stb7100mboard-tp157738.html Sent from the U

Re: [U-Boot] [PATCH] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

2013-06-24 Thread Heiko Schocher
Hello Axel, Am 21.06.2013 12:54, schrieb Axel Lin: > The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs. > These SoCs have different gpio count but currently omap_gpio driver uses hard > coded 192 which is wrong. > > This patch fixes this issue by: > 1. Move define of OMAP_

Re: [U-Boot] [PATCH 4/4] musb: Disable extra prints

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: > There are many musb prints in SPL and U-Boot log. > These prints are required only during musb debug. > So replacing printk with pr_debug in musb_core. > > Signed-off-by: Lokesh Vutla > --- > drivers/usb/musb-new/musb_core.c | 18

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

2013-06-24 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/24/2013 03:17 PM, Heiko Schocher wrote: > Hello Lokesh, [snip] >> +/* Enable RTC32K clock */ + rtc32k_enable(); > > I tried your patches on my three boards. The board with the > rtc32k_enable() problem, did not work with them too :-( >

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

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: > From: Heiko Schocher > > s_init has the same outline for all the AM33xx based > board. So making it generic. > This also helps in addition of new Soc with minimal changes. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Heiko Schocher

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

2013-06-24 Thread Heiko Schocher
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 dpll data to that function. > > This is derived from OMAP4 bo

Re: [U-Boot] AM335x: enabling datacache in SPL slows down system?

2013-06-24 Thread Jeroen Hofstee
Hello Bas, On 06/24/2013 10:01 AM, Bas van den Berg wrote: After debugging a bit more, I found that in our code, we didn't set the RAM size correctly (so no real RAM section was setup for caching). Fixing this fixed our time to 2.4 seconds (U-boot still took 1.8 sec). Adding your SRAM patch (mo

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

2013-06-24 Thread Rai Harninder-B01044
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? Also, when touching on a board's code, you should Cc: the board'

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

2013-06-24 Thread Scott Wood
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: > On 06/21/2013 03:38:48 PM, Andy Fleming wr

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add TWR-P10xx board support

2013-06-24 Thread Scott Wood
On 06/24/2013 02:01:30 AM, Xie Xiaobo wrote: TWR-P1025 Specification: Please CC Andy Fleming on mpc85xx patches. + /* W**G* - Flash, localbus */ + /* This will be changed to *I*G* after relocation to RAM. */ + SET_TLB_ENTRY(1, CONFIG_SYS_SSD_BASE, CONFIG_SYS_SSD_BASE_PHYS, +

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-24 Thread Lokesh Vutla
Hi Heiko, On Monday 24 June 2013 09:46 PM, Heiko Schocher wrote: Hello Lokesh, Am 24.06.2013 06:01, schrieb Lokesh Vutla: Hi Heiko, On Thursday 20 June 2013 09:22 AM, Heiko Schocher wrote: Hello Tom, Am 14.06.2013 16:58, schrieb Tom Rini: On Fri, Jun 14, 2013 at 07:59:26AM +0200, Heiko Schoc

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

2013-06-24 Thread Albert ARIBAUD
Hi Rai, On Mon, 24 Jun 2013 09:28:26 +, 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 confi

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

2013-06-24 Thread Heiko Schocher
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 blocks on, for example another mtd partition, if the e

[U-Boot] [RFC] [UBOOT] [PATCH v2 2/4] USB: Adapt the usb-compat.h to uboot and fix compiler errors

2013-06-24 Thread Dan Murphy
Adapt the usb-compat.h to uBoot. Use #ifndef __UBOOT__ for code that is not applicable to uBoot. Use #ifdef __UBOOT__ to add code that is uBoot specific. Create linux-compat.h - Linux kernel compatibility definitions that do not exist in the uBoot. Moved the compatibility definitions from lin_g

[U-Boot] [RFC] [UBOOT] [PATCH v2 4/4] omap5: usb: Add usb otg clocks and enable

2013-06-24 Thread Dan Murphy
Add and enable the USB OTG clocks. Signed-off-by: Dan Murphy --- arch/arm/cpu/armv7/omap5/hw_data.c | 14 ++ arch/arm/cpu/armv7/omap5/prcm-regs.c|1 + arch/arm/include/asm/arch-omap5/clock.h |4 arch/arm/include/asm/omap_common.h |1 + common/cmd_usb.

[U-Boot] [RFC] [UBOOT] [PATCH v2 0/4] DWC back port from Linux kernel

2013-06-24 Thread Dan Murphy
This patch series has been generated in an effort to get comments on the implementation of the dwc code within the uBoot. V2 incorporates comments to first port the kernel header backward to uBoot and then produce the uBoot changes so the uBoot changes are easily distinguishable from the origina

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 06:01, schrieb Lokesh Vutla: > Hi Heiko, > On Thursday 20 June 2013 09:22 AM, Heiko Schocher wrote: >> Hello Tom, >> >> Am 14.06.2013 16:58, schrieb Tom Rini: >>> On Fri, Jun 14, 2013 at 07:59:26AM +0200, Heiko Schocher wrote: Hello Tom, Am 13.06.2013 17:

[U-Boot] [PATCH V2 7/9] config: don't define CONFIG_ARCH_DEVICE_TREE

2013-06-24 Thread Stephen Warren
From: Stephen Warren Now that nothing uses CONFIG_ARCH_DEVICE_TREE, stop defining it. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra114/config.mk | 19 --- arch/arm/cpu/armv7/tegra20/config.mk | 26 -- arch/arm/cpu/arm

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

2013-06-24 Thread Stephen Warren
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 the assumption that people have or will upgrade to a newer version o

[U-Boot] [PATCH V2 5/9] dt: don't use ARCH_CPU_DTS

2013-06-24 Thread Stephen Warren
From: Stephen Warren Now that we assume dtc supports the -i option, we don't need to use ARCH_CPU_DTS in *.dts{,i}; we simply specify the include filename directly, and dtc will find it. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- board/chromebook-x86/dts/link.dts | 2 +-

[U-Boot] [PATCH V2 6/9] dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS

2013-06-24 Thread Stephen Warren
From: Stephen Warren Now that nothing uses the defines ARCH_CPU_DTS, BOARD_DTS, stop defining them. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- dts/Makefile | 7 --- 1 file changed, 7 deletions(-) diff --git a/dts/Makefile b/dts/Makefile index ce774e0..42ba42f 100644 --- a/dt

[U-Boot] [PATCH V2 9/9] dts/Makefile: pass -undef -D__DTS__ to cpp

2013-06-24 Thread Stephen Warren
From: Stephen Warren This brings U-Boot's cpp invocation into line with the way the Linux kernel invokes cpp on device trees. Consistency will be useful to ensure *.dts is portable between the two. -undef also has the added advantage of not defining "linux", so DT property names such as "linux,k

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

2013-06-24 Thread Stephen Warren
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 patch. --- Makefile | 8 +++- config.mk| 1 + tools/dt

[U-Boot] [PATCH V2 8/9] dts/Makefile: don't use cpp -P

2013-06-24 Thread Stephen Warren
From: Stephen Warren Recent dtc supports #line directives in the input source code, and even uses them to generate useful line numbers in any messages it emits. Stop passing -P to cpp, since there's no need any more. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- dts/Makefile | 2 +-

[U-Boot] [PATCH V2 4/9] dts/Makefile: unify cpp/dtc include paths

2013-06-24 Thread Stephen Warren
From: Stephen Warren *.dts may use #include (via cpp) or /include/ (via dtc; assuming a newer dtc). The choice is up to the creator of the DT. Create a common variable DTC_INCDIRS that lists the paths searched by include statements, and update cpp and dtc invocation to use them. For cpp, also sp

[U-Boot] [PATCH V2 0/9] rely on latest dtc, simplify

2013-06-24 Thread Stephen Warren
From: Stephen Warren This is a series of patches which simplifies the rules to build *.dts in U-Boot by relying on features in the latest dtc. The include rules are made more consistent between cpp (when processing *.dts) and dtc. The cpp flags are made more consistent with the way the kernel pro

[U-Boot] [PATCH V2 2/9] xilinx: move microblaze-generic .dts to standard location

2013-06-24 Thread Stephen Warren
From: Stephen Warren Aside from microblaze, all other SoCs/boards/vendors store their DT files in board/$vendor/dts/$soc-$board.dts. Move microblaze-generic.dts to this location for consistency. Signed-off-by: Stephen Warren Acked-by: Simon Glass Acked-by: Michal Simek --- .../dts/microblaze

[U-Boot] [PATCH 4/4] arm:goni: Add support for USB mass storage

2013-06-24 Thread Lukasz Majewski
From: Arkadiusz Wlodarczyk This commit enables support for USB mass storage composite function. It defines platform code and enables it at config file. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by: Arkadiusz Wlodarczyk Cc: Minkyu Kang --- board/samsung/goni/gon

[U-Boot] [PATCH 1/4] arm:goni: Update configuration for goni target

2013-06-24 Thread Lukasz Majewski
From: Arkadiusz Wlodarczyk Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by: Arkadiusz Wlodarczyk Cc: Minkyu Kang

[U-Boot] [PATCH 0/4] arm:goni: Update GONI configuration

2013-06-24 Thread Lukasz Majewski
Samsung's GONI target has been updated to support: - New GPT partition layout - USB Mass Storage Gadget - DFU support - Loading uImage from eMMC not OneNAND Arkadiusz Wlodarczyk (4): arm:goni: Update configuration for goni target arm:goni:dfu Add support for DFU at GONI target arm:goni: Upda

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

2013-06-24 Thread Lukasz Majewski
From: Arkadiusz Wlodarczyk Proper adjustment for supporting DFU at GONI target has been made. The s5p_goni.h file has been updated. Moreover the code for low level USB initialization has been added to GONI board code. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by:

[U-Boot] [PATCH 3/4] arm:goni: Update of GONI partitioning scheme at eMMC

2013-06-24 Thread Lukasz Majewski
From: Arkadiusz Wlodarczyk New partitioning scheme has been defined at GONI target. It complies with new GPT partitioning introduced previously. Default partition layout has been defined at s5p_goni.h Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Tested-by: Arkadiusz Wlodar

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

2013-06-24 Thread Andreas Bießmann
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(-) > > diff --git a/drivers/net/macb.c b/drivers/net/macb.c > index

[U-Boot] [PATCH] dfu:ext4:fix Fix ext4{read|write} command formatting

2013-06-24 Thread Lukasz Majewski
In the following commit: "dfu: Support larger than memory transfers." SHA1: ea2453d56b8860dbd18a3c517531ffc8dcb5c839 The ext4{read|write} command formatting has been changed. It removed a mandatory [sizebytes] parameter. It prevented from ext4 update via dfu. This commit restored the previous beh

[U-Boot] [PATCH 2/4] ARM: AM33xx: Cleanup clocks layer

2013-06-24 Thread Lokesh Vutla
Cleaning up the clocks layer. This helps in addition of new Soc with minimal changes. This is derived from OMAP4 boards. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/board.c |6 - arch/arm/cpu/armv7/am33xx/clock.c | 62 +- arch/arm/cpu/armv7/am33xx/cloc

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

2013-06-24 Thread Lokesh Vutla
From: Heiko Schocher s_init has the same outline for all the AM33xx based board. So making it generic. This also helps in addition of new Soc with minimal changes. Signed-off-by: Lokesh Vutla Signed-off-by: Heiko Schocher Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c

[U-Boot] [PATCH 0/4] ARM: AM33xx: Cleanup clocks and hwinit

2013-06-24 Thread Lokesh Vutla
This series tries to cleanup code for AM33xx, inorder to ensure code reusabilty by moving the duplicated code to common place. This also helps in addition of new Soc with minimal changes. Testing: Boot tested on BeagleBone White/Black, AM35xx EVM, TI814x. Verified MAKEALL for armv7 and am33xx boar

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

2013-06-24 Thread 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 dpll data to that function. This is derived from OMAP4 boards. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/Mak

[U-Boot] [PATCH 4/4] musb: Disable extra prints

2013-06-24 Thread Lokesh Vutla
There are many musb prints in SPL and U-Boot log. These prints are required only during musb debug. So replacing printk with pr_debug in musb_core. Signed-off-by: Lokesh Vutla --- drivers/usb/musb-new/musb_core.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff -

Re: [U-Boot] [RFC] interrupt handling

2013-06-24 Thread Lukasz Majewski
Hi Stefan, > Hi Albert, > > On 22.06.2013 11:58, Albert ARIBAUD wrote: > > From time to time there is discussion about the need for proper > > interrupt support in U-Boot. > > > > Right now, the only thing left in the source code which remotely > > looks like interrupt support is a few code sect

Re: [U-Boot] [RFC] [UBOOT] [PATCH 2/4] USB: dwc3: Initial back port of dwc3 code

2013-06-24 Thread Dan Murphy
Ludasz On 06/24/2013 06:24 AM, Lukasz Majewski wrote: > Hi Dan, > >> drivers/usb/dwc3/ep0.c| 1085 >> drivers/usb/dwc3/gadget.c | 2806 >> + >> drivers/usb/dwc3/gadget.h | 196 +++ > How does this code map to the one already a

  1   2   >