Re: [U-Boot] [PATCH V2 7/8] arm/davinci: spl - boot device selection

2012-07-09 Thread Prabhakar Lad
Hi Mikhail, On Mon, Jul 9, 2012 at 9:01 AM, Mikhail Kshevetskiy mikhail.kshevets...@gmail.com wrote: This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of

Re: [U-Boot] [STATUS] ARM - many build problems

2012-07-09 Thread Thierry Reding
On Mon, Jul 09, 2012 at 12:25:27AM +0200, Wolfgang Denk wrote: Hi all, after merging the latest ARM pull request, a large number of boards is broken: - SUMMARY Boards compiled: 302 Boards with errors: 6 ( harmony seaboard ventana whistler

Re: [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel

2012-07-09 Thread Tetsuyuki Kobayashi
Hi, Iwamatsu-san I found another bug and fixed it right now. I will add another patch in this patch series. I will post v3 soon. Please wait to apply v2. (2012/07/07 20:23), Tetsuyuki Kobayashi wrote: Hi, Iwamatsu-san I made v2 patch set for kzm9g. Please revert my previous 3 patches and

Re: [U-Boot] [STATUS] ARM - many build problems

2012-07-09 Thread Wolfgang Denk
Dear Thierry Reding, In message 20120709061003.ga10...@avionic-0098.mockup.avionic-design.de you wrote: These have been fixed in tegra/master by the following commit: commit 329b71b234fd2dcc60a1369d411e4b55a8117df9 Author: Stephen Warren swar...@nvidia.com Date: Fri

Re: [U-Boot] [PATCH] fdt: send all dtc output to stderr

2012-07-09 Thread Wolfgang Denk
Dear Stephen Warren, In message 1339194497-24208-1-git-send-email-swar...@wwwdotorg.org you wrote: From: Stephen Warren swar...@nvidia.com Commit 896bbb5 fdt: avoid bad MAKEALL status added logic to capture the result code from dtc by echoing $? to stdout and capturing it using $().

Re: [U-Boot] [PATCH V2 7/8] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
On Mon, 9 Jul 2012 11:39:14 +0530 Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Mikhail, On Mon, Jul 9, 2012 at 9:01 AM, Mikhail Kshevetskiy mikhail.kshevets...@gmail.com wrote: This patch allow us to have a universal spl that detects a boot device and select a corresponding boot

Re: [U-Boot] [PATCH 1/1] igep0020: set OMAP MUX mcspi1_cs2 pin to GPIO 176 mode

2012-07-09 Thread Enric Balletbò i Serra
Hi Javier, 2012/7/3 Javier Martinez Canillas jav...@dowhile0.org According to the IGEPv2 Rev.C data-sheet the LAN9221i pin 14 (IRQ) is connected to the OMAP3730 mcspi1_cs2 pin. Since this omap mux pin acts as an IRQ line, it has to be configured as an input GPIO. IGEPv2 platform code sets

Re: [U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion

2012-07-09 Thread Michal Simek
On 07/04/2012 10:25 PM, Stephan Linz wrote: Some architectures, for example Microblaze, doesn't need a splitted device tree because every Microblaze hw design is different. The individuell Microblaze device tree will be auto generated by FPGA design tools and could be used directly with dtc.

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-09 Thread Michal Simek
On 07/04/2012 10:27 PM, Stephan Linz wrote: Am Mittwoch, den 04.07.2012, 08:24 +0200 schrieb Michal Simek: On 07/03/2012 10:22 PM, Stephan Linz wrote: Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: Hi, On Sun, Jul 1, 2012 at 10:43 PM, Michal Simekmon...@monstr.eu wrote:

Re: [U-Boot] ARM CONFIG_OF_CONTROL status

2012-07-09 Thread Michal Simek
On 07/05/2012 05:34 PM, Stephen Warren wrote: On 07/04/2012 12:02 AM, Michal Simek wrote: ... What is the problem to add the latest dtc? To really make use of device tree you need a recent dtc, but we've had pushback requiring a recent dtc because people may not have it installed. I asked

Re: [U-Boot] [PATCH V2 7/8] arm/davinci: spl - boot device selection

2012-07-09 Thread Prabhakar Lad
Hi Mikhail, On Mon, Jul 9, 2012 at 12:34 PM, Mikhail Kshevetskiy mikhail.kshevets...@gmail.com wrote: On Mon, 9 Jul 2012 11:39:14 +0530 Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Mikhail, On Mon, Jul 9, 2012 at 9:01 AM, Mikhail Kshevetskiy mikhail.kshevets...@gmail.com wrote:

Re: [U-Boot] [PATCH v2 0/4] Board support and feature for LaCie devices

2012-07-09 Thread Simon Guinot
On Wed, Jun 06, 2012 at 01:16:49AM +0200, Simon Guinot wrote: Changes for v2: - Move board support and feature into a separate patch set. - Move mach-types update into a separate patch. Simon Guinot (4): lacie_kw: add support for EFI partitions ARM: add netspace_mini_v2 to

Re: [U-Boot] [PATCH 1/5] microblaze: Add gpio.h

2012-07-09 Thread Michal Simek
2012/6/29 Michal Simek mon...@monstr.eu: Gpio support is not implemented yet. Adding it because of fdtdec. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/include/asm/gpio.h | 41 1 files changed, 41 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 2/5] microblaze: Move individual board linker scripts to common script in cpu tree.

2012-07-09 Thread Michal Simek
2012/6/29 Michal Simek mon...@monstr.eu: Unification for all microblaze boards. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/config.mk |2 + arch/microblaze/cpu/u-boot.lds | 71

Re: [U-Boot] [PATCH 3/5] microblaze: Add support for device tree driven board configuration

2012-07-09 Thread Michal Simek
2012/6/29 Michal Simek mon...@monstr.eu: This is minimum code required to be able to use device-tree for u-boot initialization. Currently only for device driver initialization. Linker script change ensures DTB to be aligned for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.

Re: [U-Boot] [PATCH 1/1] igep0020: set OMAP MUX mcspi1_cs2 pin to GPIO 176 mode

2012-07-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/2012 12:32 AM, Enric Balletbò i Serra wrote: Hi Javier, 2012/7/3 Javier Martinez Canillas jav...@dowhile0.org mailto:jav...@dowhile0.org According to the IGEPv2 Rev.C data-sheet the LAN9221i pin 14 (IRQ) is connected to the OMAP3730

Re: [U-Boot] [PATCH v5] arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0

2012-07-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/07/2012 12:14 AM, Tetsuyuki Kobayashi wrote: save_boot_params_default() in cpu.c accesses uninitialized stack area when it compiled with -O0 (not optimized). This patch removes save_boot_params_default() and put the equivalent in start.S

Re: [U-Boot] USB detection

2012-07-09 Thread Manukumar
hello I checked with the hardware spec in that P1020RDB: having connection like P1012processor - PHY - HUB - ports whereas in custom board P1012processor - phy - port(single usb port) In uboot source code initializing sequence of u-boot is below: 1.usb_init() 2.usb_scan_devices()

Re: [U-Boot] [PATCH V2 7/8] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/08/2012 08:31 PM, Mikhail Kshevetskiy wrote: This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of

[U-Boot] [PATCH 01/12] microblaze: board: Remove compilation warning

2012-07-09 Thread Michal Simek
Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used. Warning log: board.c: In function 'board_init': board.c:101: warning: unused variable 's' Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/lib/board.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 03/12] microblaze: intc: Clear interrupt code

2012-07-09 Thread Michal Simek
Clear and prepare for device-tree driven configuration. Remove CONFIG_SYS_INTC_0 definition Use dynamic allocation instead of static. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/interrupts.c | 88 ++--- arch/microblaze/cpu/start.S

[U-Boot] [PATCH 04/12] microblaze: intc: Registering interrupt should return value

2012-07-09 Thread Michal Simek
Return value to find out if un/registration was succesful. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/interrupts.c | 15 +-- arch/microblaze/include/asm/microblaze_intc.h |2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 05/12] microblaze: intc: Coding style cleanup

2012-07-09 Thread Michal Simek
Just coding style cleanup. Remove unneeded externs. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/interrupts.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/microblaze/cpu/interrupts.c

[U-Boot] [PATCH 06/12] microblaze: intc: Add device-tree driver configuration

2012-07-09 Thread Michal Simek
Read configuration from DTB. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/interrupts.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c index 79ee96a..98c9110

[U-Boot] [PATCH 07/12] microblaze: Move __udelay implementation

2012-07-09 Thread Michal Simek
Move __udelay to the timer code because of unification. And clean coding style because of checkpatch.pl. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/timer.c | 19 +++ arch/microblaze/lib/Makefile |1 - arch/microblaze/lib/time.c | 42

[U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Michal Simek
microblaze: Fix CONFIG_SYS_HZ usage in board config Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to single block. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/timer.c| 69 ---

[U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-09 Thread Michal Simek
Read configuration from DTB. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/timer.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/cpu/timer.c b/arch/microblaze/cpu/timer.c index dfaaaf5..91ca42b 100644 ---

[U-Boot] [PATCH 10/12] microblaze: Call serial multi initialization

2012-07-09 Thread Michal Simek
Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/lib/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index ddbc862..37ec665 100644 --- a/arch/microblaze/lib/board.c +++

[U-Boot] [PATCH 11/12] microblaze: Clean microblaze initialization

2012-07-09 Thread Michal Simek
Move board specific function to board_init function in board/ folder Remove externs from generic board.c Use board_init_f function in board.c file. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/start.S|2 +- arch/microblaze/lib/board.c

[U-Boot] [PATCH 12/12] microblaze: board: Use bi_flashstart instead of CONFIG_SYS_FLASH_BASE

2012-07-09 Thread Michal Simek
Prepare for device-tree driven configuration. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/lib/board.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index 1dee830..03ebc97 100644 ---

[U-Boot] [PATCH 02/12] microblaze: Remove extern from board.c

2012-07-09 Thread Michal Simek
eth_init() is defined at include/net.h. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/lib/board.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index 4146f5c..1cf895b 100644 ---

Re: [U-Boot] [PATCH 1/3] MX28: SPI: Refactor spi_xfer a bit

2012-07-09 Thread Stefano Babic
On 09/07/2012 03:33, Marek Vasut wrote: This makes it easier to adapt for addition of DMA support. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de

Re: [U-Boot] [PATCH 1/3] MX28: SPI: Refactor spi_xfer a bit

2012-07-09 Thread Marek Vasut
Dear Stefano Babic, On 09/07/2012 03:33, Marek Vasut wrote: This makes it easier to adapt for addition of DMA support. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de Cc:

[U-Boot] [PATCH 1/3 V2] MX28: SPI: Refactor spi_xfer a bit

2012-07-09 Thread Marek Vasut
This makes it easier to adapt for addition of DMA support. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de --- drivers/spi/mxs_spi.c | 32

[U-Boot] [PATCH 2/3 RESEND] MX28: SPI: Pull out the PIO transfer function

2012-07-09 Thread Marek Vasut
Pull out all the PIO transfer logic into separate function, so DMA can be added. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de --- drivers/spi/mxs_spi.c |

[U-Boot] [PATCH 3/3 V2] MX28: SPI: Add DMA transfer support

2012-07-09 Thread Marek Vasut
The DMA transfers happen only if the transfered data are larger than 512 bytes. Otherwise PIO is used. This is a small speed optimization. The DMA transfer doesn't work if unaligned transfer is requested due to the limitation of the DMA controller. This has to be fixed by introducing generic

[U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org --- Changes for v2: - No change. Just rebased. Changes for v3: - No change.

[U-Boot] [PATCH v3 0/6] arm: rmobile: kzm9g: enable booting Linux kernel

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Hi, Iwamatsu-san This is v3 patch set for kzm9g. I add a patch for modifying bus controller setting for CS4. After this patch set, LTSI kernel can boot on KZM-A9-GT board. It seems stable as before. Tetsuyuki Kobayashi (6): arm: rmobile: kzm9g:

[U-Boot] [PATCH v3 4/6] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- Changes for v2: - New Changes for v3: - No change

[U-Boot] [PATCH v3 3/6] arm: rmobile: kzm9g: change prompt to board specific

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. include/configs/kzm9g.h

[U-Boot] [PATCH v3 2/6] arm: rmobile: kzm9g: Adjust low level hardware setting

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Adjust low level hardware setting in s_init. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org --- Changes for v2: - No change. Just rebased. Changes for v3: - No change.

[U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Problem: Linux kernel hangs up when it write a file to NFS mounted directory. Solution: Modify bus controller setting for CS4, which connected smsc9221 ethernet controller. Detail: Modify CS4BCR bit[29:28] (IWW[1:0]) from 00 to 11. It inserts 4 idle

[U-Boot] [PATCH v3 5/6] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g

2012-07-09 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Add Tetsuyuki Kobayshi for kzm9g in MAINTAINERS file. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- Changes for v2: - New Changes for v3: - No change MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS

Re: [U-Boot] [V3] arm: Fix to mistake clean the memory space

2012-07-09 Thread Andreas Bießmann
Dear Zhong Hongbo, On 07.07.2012 15:19, Zhong Hongbo wrote: On 07/07/2012 05:58 PM, Albert ARIBAUD wrote: Hi Zhong Hongbo, On Sat, 7 Jul 2012 17:47:16 +0800, Zhong Hongbo bocui...@gmail.com wrote: From: Zhong Hongbo bocui...@gmail.com Almost there... The PATCH part is missing, i.e. you

Re: [U-Boot] [PATCH 1/2] at91sam9263ek: enable useful commands

2012-07-09 Thread Andreas Bießmann
On 28.06.2012 14:32, Andreas Bießmann wrote: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com cc: Stelian Pop stel...@popies.net --- include/configs/at91sam9263ek.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/at91sam9263ek.h

Re: [U-Boot] [V4] arm: Fix to mistake clean the memory space

2012-07-09 Thread Andreas Bießmann
On 07.07.2012 15:24, Zhong Hongbo wrote: From: Zhong Hongbo bocui...@gmail.com In currently, when __bss_start is equal to __bss_end__, The bss loop will clear all the things in memory space. But just only when __bss_end__ greater than __bss_start__, we do the clear bss section operation.

Re: [U-Boot] [PATCH v2 0/7] dfu:usb: Composite USB download gadget with DFU function

2012-07-09 Thread Lukasz Majewski
Hi Marek, Those patches add support for composite USB download gadget. This gadget (at least for now) is equipped with DFU download function. A separate DFU back-end and front-end have been added. Back-end is placed at ./drivers/dfu directory. The front-end is implemented as USB function.

Re: [U-Boot] [PATCH v2 0/7] dfu:usb: Composite USB download gadget with DFU function

2012-07-09 Thread Tom Rini
On Mon, Jul 09, 2012 at 01:28:27PM +0200, Lukasz Majewski wrote: Hi Marek, Those patches add support for composite USB download gadget. This gadget (at least for now) is equipped with DFU download function. A separate DFU back-end and front-end have been added. Back-end is placed

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi, On 07/04/2012 11:20 AM, Prafulla Wadaskar wrote: Sure it would be great if we had the time and resources to contribute a generic driver for these switches. Unfortunately it is not the case and we have only developed a simple driver with limited features that suits our current needs.

Re: [U-Boot] USB detection

2012-07-09 Thread Albert ARIBAUD
Hi Manukumar, On Mon, 09 Jul 2012 14:17:49 +0530, Manukumar manuku...@signal-networks.com wrote: hello I checked with the hardware spec in that P1020RDB: having connection like P1012processor - PHY - HUB - ports whereas in custom board P1012processor - phy - port(single usb port) In

Re: [U-Boot] [PATCH 04/12] ARM: rpi_b: include config_cmd_default.h

2012-07-09 Thread Tom Rini
On Tue, Jul 03, 2012 at 08:02:47PM -0600, Stephen Warren wrote: This enables a more typical default set of commands. Remove explicit enables for commands already in the default list. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- include/configs/rpi_b.h |8 ++-- 1 file

Re: [U-Boot] [PATCH 05/12] ARM: rpi_b: enable CONFIG_OF_LIBFDT

2012-07-09 Thread Tom Rini
On Tue, Jul 03, 2012 at 08:02:48PM -0600, Stephen Warren wrote: This allows bootm/bootz to pass a device tree to the kernel. Signed-off-by: Stephen Warren swar...@wwwdotorg.org FWIW, I would combine this, 6 and 7 into a single commit and say Enable booting the Linux Kernel and in the body

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Holger, In message 4ffac8c9.1020...@keymile.com you wrote: Anyways peripheral driver should go in drivers/ yes there are maybe drivers which proof your concept, but there are many others in the board related code which do the opposite. Yes, but bad examples are not a good reason

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Wolfgang, [...] Sorry, but I disagree. How many board directories are there in U-Boot? Several hundreds... How many board directories did you check to make sure none of them contains any driver that is similar to what you implement here? If we place the driver in your board diretory,

Re: [U-Boot] [PATCH] davinci: reduce pimux_config size by storing register id instead of address

2012-07-09 Thread Tom Rini
On Sun, Apr 08, 2012 at 05:02:03PM -0400, Jérôme Carretero wrote: This patch does nothing except saving a few bytes (makes a difference SPL) Signed-off-by: Jérôme Carretero c...@zougloub.eu CC: Manjunathappa, Prakash prakash...@ti.com --- arch/arm/cpu/arm926ejs/davinci/pinmux.c |

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Wolfgang, [...] If we place the driver in your board diretory, the chances are huge it will simply sit there and rot, and the next one who needs something similar will reinvent the wheel because he did not find your copy. I agree that even very simple and uncomplete implementations can

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-09 Thread Hornung, Michael
On Thu, Jul 5, 2012 at 6:09 AM, Estevam, wrote: Hi Michael, Hi Fabio, Thank you very much for your support, I'm getting closer. The best way to generate 'u-boot.imx' is to simply do 'make u-boot.imx' and then you don't need to pass the above line manually. In internal mode you should do:

[U-Boot] [PATCH v2] Add support for Bluegiga APX4 Development Kit

2012-07-09 Thread Veli-Pekka Peltola
This adds support for Bluegiga APX4 Development Kit. It is built around Freescale i.MX28. Currently supported features are: ethernet, I2C, MMC, RTC and USB. APX4 has only one ethernet port. Signed-off-by: Veli-Pekka Peltola veli-pekka.pelt...@bluegiga.com Signed-off-by: Lauri Hintsala

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Richard Retanubun
On 05/07/12 05:59 AM, Albert ARIBAUD wrote: Hi Albert, Thanks for responding, I realize most people are probably away on summer holiday. Can't speak for Wolfgang of course, but my main question would be why would U-Boot need to identify users when its payload OS can do this with much more

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Albert ARIBAUD
Hi Richard, On Mon, 9 Jul 2012 09:50:05 -0400, Richard Retanubun richardretanu...@ruggedcom.com wrote: On 05/07/12 05:59 AM, Albert ARIBAUD wrote: Hi Albert, Thanks for responding, I realize most people are probably away on summer holiday. Actually some of them are at a U-Boot developer's

Re: [U-Boot] [V3] arm: Fix to mistake clean the memory space

2012-07-09 Thread Albert ARIBAUD
Hi Andreas, On Mon, 09 Jul 2012 13:21:12 +0200, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Zhong Hongbo, On 07.07.2012 15:19, Zhong Hongbo wrote: On 07/07/2012 05:58 PM, Albert ARIBAUD wrote: Hi Zhong Hongbo, On Sat, 7 Jul 2012 17:47:16 +0800, Zhong Hongbo

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Detlev Zundel
Hi Prafulla, [...] Hi Detlev Clear NAK for this patch Do you mean clear NAK for the patch or for the location of the files? Let's put it in drivers/net/phy/ FYI: there are several drivers used by just one board, [prafulla@pe-dt061 u-boot-marvell.git (master)]$ vim

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Valentin Longchamp
Hi Detlev, On 07/09/2012 04:31 PM, Detlev Zundel wrote: Hi Prafulla, [...] Hi Detlev Clear NAK for this patch Do you mean clear NAK for the patch or for the location of the files? Let's put it in drivers/net/phy/ FYI: there are several drivers used by just one board,

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi Detlev, On 07/09/2012 03:06 PM, Detlev Zundel wrote: If we place the driver in your board diretory, the chances are huge it will simply sit there and rot, and the next one who needs something similar will reinvent the wheel because he did not find your copy. I agree that even very simple

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Richard Retanubun
Thanks for responding, I realize most people are probably away on summer holiday. Actually some of them are at a U-Boot developer's meeting in Geneva. Uh-oh... Is it safe to place such a high concentration of hacker brains so close to CERN? :) The primary concern here is the power of u-boot

[U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Albert ARIBAUD
Hi all, With the latest commits on u-boot/master, two obnoxious attention messages were removed from ARM builds, but one still remains: attention : -fstack-usage not supported for this target [enabled by default] This is with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5).

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Albert ARIBAUD
Hi Richard, On Mon, 9 Jul 2012 10:55:18 -0400, Richard Retanubun richardretanu...@ruggedcom.com wrote: Thanks for responding, I realize most people are probably away on summer holiday. Actually some of them are at a U-Boot developer's meeting in Geneva. Uh-oh... Is it safe to place

Re: [U-Boot] [PATCH v2 0/7] dfu:usb: Composite USB download gadget with DFU function

2012-07-09 Thread Marek Vasut
Dear Tom Rini, On Mon, Jul 09, 2012 at 01:28:27PM +0200, Lukasz Majewski wrote: Hi Marek, Those patches add support for composite USB download gadget. This gadget (at least for now) is equipped with DFU download function. A separate DFU back-end and front-end have been added.

Re: [U-Boot] [PATCH 2/2] [v2] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Stephan Linz
Hi Timur, Am Freitag, den 06.07.2012, 13:35 -0500 schrieb Timur Tabi: Now that phy_startup() can return an actual error code, check for that error code and abort network initialization if the PHY fails. Signed-off-by: Timur Tabi ti...@freescale.com --- drivers/net/fec_mxc.c |

Re: [U-Boot] [PATCH v2 1/7] dfu:usb: Support for g_dnl composite download gadget.

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, Composite USB download gadget support (g_dnl) for download functions. This code works on top of composite gadget. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de --- Changes

Re: [U-Boot] [PATCH v2 2/7] dfu:usb: DFU USB function (f_dfu) support for g_dnl composite gadget

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, Support for f_dfu USB function. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de [...] +static void handle_getstatus(struct usb_request *req) +{ + struct dfu_status

Re: [U-Boot] [PATCH v2 3/7] dfu: DFU backend implementation

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, New, separate driver at ./drivers/dfu has been added. It allows platform and storage independent operation of DFU. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de [...]

Re: [U-Boot] [PATCH v2 4/7] dfu: MMC specific routines for DFU operation

2012-07-09 Thread Marek Vasut
Dear Lukasz Majewski, Support for MMC storage devices to work with DFU framework. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Marek Vasut ma...@denx.de This one opens some questions. [...] +int

Re: [U-Boot] [PATCH 2/2] [v2] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Marek Vasut
Dear Timur Tabi, Now that phy_startup() can return an actual error code, check for that error code and abort network initialization if the PHY fails. Signed-off-by: Timur Tabi ti...@freescale.com --- drivers/net/fec_mxc.c |7 ++- drivers/net/fm/eth.c |9

[U-Boot] [PULL] u-boot-usb/master

2012-07-09 Thread Marek Vasut
Hello, This has been in the usb tree for a while, but I'm hesitant to ask you for scheduling it into current release. On the other hand, I don't think this will cause any breakage. The following changes since commit 58e22f8a15adec39d24d060180d76a4cbe86a04b: fdt: send all dtc output to

[U-Boot] pull request for u-boot-tegra/master

2012-07-09 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM master. Thanks! The following changes since commit 58e22f8a15adec39d24d060180d76a4cbe86a04b: Stephen Warren (1): fdt: send all dtc output to stderr are available in the git repository at: git://git.denx.de/u-boot-tegra master Jim

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: Read configuration from DTB. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/cpu/timer.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
Hi Michal, Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: microblaze: Fix CONFIG_SYS_HZ usage in board config Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to single block. Signed-off-by: Michal Simek mon...@monstr.eu ---

Re: [U-Boot] [PATCH] smsc95xx: align buffers to cache line size

2012-07-09 Thread Ilya Yanok
Dear Marek, On Mon, Jul 9, 2012 at 4:45 AM, Marek Vasut marek.va...@gmail.com wrote: But in practice it works without any alignment... ok, you made me read the spec ;) page 55: For the page 0 current offset interpretation, this field is the byte offset into the current page See the

Re: [U-Boot] [PATCH 2/2] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-09 Thread Ilya Yanok
Hi Marek, On Sun, Jul 8, 2012 at 7:08 AM, Marek Vasut ma...@denx.de wrote: - /* Invalidate the memory area occupied by buffer */ - invalidate_dcache_range(((uint32_t)buffer ~31), - ((uint32_t)buffer ~31) + roundup(length, 32)); + /* +* Invalidate

[U-Boot] Please pull u-boot-ti/master

2012-07-09 Thread Tom Rini
Hello, The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti master for you to fetch changes up to

[U-Boot] Please pull u-boot-ti/next

2012-07-09 Thread Tom Rini
Hello, The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6: ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti next for you to fetch changes up to

[U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-09 Thread Timur Tabi
Now that phy_startup() can return an actual error code, check for that error code and abort network initialization if the PHY fails. Signed-off-by: Timur Tabi ti...@freescale.com Acked-by: Nobuhiro Iwamamatsu nobuhiro.iwamatsu...@renesas.com (sh_eth part) Acked-by: Stephan Linz l...@li-pro.net

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-09 Thread Stephan Linz
Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: microblaze: Fix CONFIG_SYS_HZ usage in board config Do not use hardcoded value. Use CONFIG_SYS_HZ instead. Separate static configuration to single block. Signed-off-by: Michal Simek mon...@monstr.eu ---

[U-Boot] [PATCH V3 1/3] arm/davinci: fix DDR2/mDDR memory controller initialization for Omap L138

2012-07-09 Thread Mikhail Kshevetskiy
follow section 15.2.13.1 (Initializing Following Device Power Up or Reset) of OMAP-L138 DSP+ARM Processor Technical Reference Manual Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com Acked-by: Christian Riesch christian.rie...@omicron.at Tested-by: Christian Riesch

[U-Boot] [PATCH V3 2/3] arm/davinci/da850: add uart0 pinmux

2012-07-09 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com --- Change for v3: * split DDR and UART bugfixes to separate patch series (series 1/3) Change for v2: * fix checkpatch warnings --- arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c |5 +

[U-Boot] [PATCH V3 3/3] serial/ns16550: ns16550 has a different register layout on SOC_DA8XX

2012-07-09 Thread Mikhail Kshevetskiy
also fix NS16550_init() as we need 16x divider Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com Acked-by: Christian Riesch christian.rie...@omicron.at Tested-by: Christian Riesch christian.rie...@omicron.at --- Change for v3: * split DDR and UART bugfixes to separate patch series

[U-Boot] [PATCH V3 1/2] mtd/spi/spi_flash: support CMD_READ_ID=0x90 case

2012-07-09 Thread Mikhail Kshevetskiy
current code does not support spi flashes that have 0x90 read_id command, so fix this Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com --- Change for v3: * split SPI flash fixes to separate patch series (series 2/3) Change for v2: * fix checkpatch warnings ---

[U-Boot] [PATCH V3 2/2] mtd/spi: add sst25l driver

2012-07-09 Thread Mikhail Kshevetskiy
Current SST driver does not support well this types of flash, so introduce a new one. This code is a combination of sst.c driver from u-boot and sst25l.c driver from linux-3.3 release. I try to make a code as close to linux driver as it was possible. Signed-off-by: Mikhail Kshevetskiy

[U-Boot] [PATCH V3 1/3] MMC: u-boot-spl may be compiled without partition support

2012-07-09 Thread Mikhail Kshevetskiy
Signed-off-by: Mikhail Kshevetskiy mikhail.kshevets...@gmail.com --- Change for v3: * split MMC+SPL+no partition table support bugfix to separate patch series (series 3/3) Change for v2: * fix checkpatch warnings --- drivers/mmc/mmc.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Mikhail Kshevetskiy
This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and drivers/mtd/spi/spi_spl_load.c for the following reasons: * avoid jump to

[U-Boot] [PATCH V3 3/3] arm/davinci: spl - add compressed u-boot image support

2012-07-09 Thread Mikhail Kshevetskiy
Motivation: * we have a board with 128 Kb spi flash, so normal u-boot.ais does not fit on it. This patch add support of compressed 2-nd u-boot stage. To create a compressed ais image its required: * define CONFIG_SPL_GUNZIP_SUPPORT --- enable compressed ais image supports * define

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Detlev, In message m27gudp08t@lamuella.denx.de you wrote: I agree that even very simple and uncomplete implementations can co in should read: ...can go in... if the fulfil some purpose, and can form a basis for future extensions. To make sure everybody sees such code, we

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Detlev, In message m2zk79nkx6@lamuella.denx.de you wrote: I just read through our documentation on the Wiki and found nothing relavant to such a topic. If we make this a requirement, we should add it so people know about it beforehand. You know all too well that our wiki suffers

Re: [U-Boot] sha256_crypt for uboot

2012-07-09 Thread Wolfgang Denk
Dear Richard Retanubun, In message 4ffae18d.3080...@ruggedcom.com you wrote: Thus, we aim to add the ability uboot to identify users, much like the payload OS does before granting access to its CLI (if the user interrupts the boot process). You are opening a can of worms here, and I bet you

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-09 Thread Tom Rini
On 07/09/2012 11:53 AM, Mikhail Kshevetskiy wrote: This patch allow us to have a universal spl that detects a boot device and select a corresponding boot algorithm for main u-boot part (SOC_DA8XX only) This patch create copy copy of drivers/mtd/nand/nand_spl_load.c and

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Wolfgang Denk
Dear Holger, In message 4ffaee4f.3090...@keymile.com you wrote: shouldn't be there an exception for strictly board specific peripheral drivers like an custom-made FPGA? I see two situations: 1) We are talking about code to load a bitstream into the FPGA, i. e. to program it. Such code

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-09 Thread Fabio Estevam
Hi Michael, On Mon, Jul 9, 2012 at 9:57 AM, Hornung, Michael mhorn...@init-ka.de wrote: +++ b/board/freescale/mx35pdk/imximage.cfg +BOOT_FROM spi Please see the Freescale U-boot, you missed the initialization of the CS5: //WEIM config-CS5 init DCDGEN(1, 4, 0xB8002050, 0xd843)

Re: [U-Boot] [ARM] one warning left for all ARM boards

2012-07-09 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 20120709174210.0bc0cef5@aari01-12 you wrote: With the latest commits on u-boot/master, two obnoxious attention messages were removed from ARM builds, but one still remains: attention : -fstack-usage not supported for this target [enabled by default] As

Re: [U-Boot] random errors in kernel or rootfs;u-boot check sum

2012-07-09 Thread Wolfgang Denk
Dear Anthony Garland, In message CACYg8QPf-d=_GrBpqRm9gC1GsANZ7A2D2w=redcsbov5n_k...@mail.gmail.com you wrote: I'm working on a recovery tool for an overo COM where I can boot all the way into into Linux over USB. This is similar to the beagle-board recovery tools. I have a host computer

  1   2   >