Re: [U-Boot] imx: Kernel not booting with fdt

2013-07-02 Thread Matthias Weißer
Am 03.07.2013 03:16, schrieb Fabio Estevam: On Tue, Jul 2, 2013 at 12:26 PM, Matthias Weißer wrote: Hi I try to boot a current 3.11 kernel on a custom iMX25 board using DT. u-boot starts the kernel but it stops working just after the first eralyprintk lines are out. The u-boot/kernel output:

[U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-07-02 Thread Axel Lin
Use ARRAY_SIZE instead of having similar implementation in each drivers. The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used at all, so this patch removes it instead of converting it to use ARRAY_SIZE. Signed-off-by: Axel Lin Cc: Albert Aribaud Cc: Ben Warren Cc: Jean-Chri

[U-Boot] [U-boot] monitor length question

2013-07-02 Thread TigerLiu
Hi, experts: I am studying u-boot latest code now. I have a question about monitor length. 1. in board_init_f() function in arch\arm\lib\board.c Gd->mon_len = _bss_end_ofs; 2. in board_init_r() function in arch\arm\lib\board.c   Monitor_flash_len = _end_ofs; Because _end_ofs < _bss_end_ofs, so

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

2013-07-02 Thread Josh Wu
1. if CONFIG_SYS_NAND_ONFI_DETECTION is defined, driver will check NAND flash's ecc minimum requirement in ONFI parameter. a) if CONFIG_PMECC_CAP, CONFIG_PMECC_SECTOR_SIZE are defined. then use it. Driver will display a WARNING if the values are different from ONFI parameters. b)

[U-Boot] [PATCH v3 4/5] mtd: atmel_nand: alloc memory instead of use static array for pmecc data

2013-07-02 Thread Josh Wu
In this way, the pmecc corraction capbility can change in run time. Signed-off-by: Josh Wu --- v2 --> v3: use dev_err(host->dev) instead of using dev_err(NULL). v1 --> v2: replace printk with dev_err. fix coding style. free memory before return ENOMEM. drivers/mtd/nand/atmel_nand.c |

[U-Boot] [PATCH v3 3/5] linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h

2013-07-02 Thread Josh Wu
Since kernel code current use many dev_xxx() instead of using printk. To compatible, move those dev_xxx from usb driver to linux/compat.h. Then all driver code can use dev_err, dev_info and dev_vdbg. This patch also removed duplicated macro definitions in usb driver. Signed-off-by: Josh Wu ---

[U-Boot] [PATCH v3 2/5] ARM: at91: sama5d3: remove unused definition about PMECC alpha table offset

2013-07-02 Thread Josh Wu
Signed-off-by: Josh Wu --- arch/arm/include/asm/arch-at91/sama5d3.h |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h index 883b932..aff12a6 100644 --- a/arch/arm/include/asm/arch-at91/sama5d3.h +++ b/arch/

[U-Boot] [PATCH v3 1/5] ARM: at91: atmel_nand: pmecc driver will select the galois table by sector size

2013-07-02 Thread Josh Wu
Define the galois index table offset in chip head file. So user do not need to set by himself. Driver will set it correctly according to sector_size. Signed-off-by: Josh Wu --- arch/arm/include/asm/arch-at91/at91sam9x5.h |6 ++ doc/README.atmel_pmecc | 14 -

[U-Boot] [PATCH v3 0/5] ARM: at91: atmel_nand: check ONFI ecc minimum requirement

2013-07-02 Thread Josh Wu
In this patch series, first we make the nand driver can dynamic change sector size and ecc correct bits. Then we enable ONFI ecc parameters check. v2 --> v3: use dev_err/info(host->dev) instead of dev_err/info(NULL). use MTDDEBUG instead of pr_debug(). v1 --> v2: Fixes according to Sco

Re: [U-Boot] imx: Kernel not booting with fdt

2013-07-02 Thread Fabio Estevam
On Tue, Jul 2, 2013 at 12:26 PM, Matthias Weißer wrote: > Hi > > I try to boot a current 3.11 kernel on a custom iMX25 board using DT. u-boot > starts the kernel but it stops working just after the first eralyprintk > lines are out. The u-boot/kernel output: > > bootm 0x8100 - 0x8080 > ##

[U-Boot] [PATCH V2] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Marek Vasut
The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() because the ecc.strength was not set in NAND_ECC_HW_SYNDROME ECC mode. Signed-off-by: Marek Vasut Cc: Benoit Thebaudeau Cc: Fabio Estevam Cc: Scott Wood Cc: Stefano Babic --- drivers/mtd/nand/mxc_nand.c | 10 -- 1 fi

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-02 Thread Graeme Russ
Hi Mike, On Wed, Jul 3, 2013 at 5:40 AM, Mike Dunn wrote: > On 07/01/2013 12:51 PM, Wolfgang Denk wrote: > > Dear Mike Dunn, > > > > In message <51d1c455.9010...@newsguy.com> you wrote: > >> > >> But there's a good motivation for wanting to turn off optimization. > > > > I disagree here. If you

[U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-02 Thread dinguyen
From: Dinh Nguyen Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to be more generic. Signed-off-by: Dinh Nguyen Reviewed-by: Pavel Machek Cc: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Tom Rini

Re: [U-Boot] Backport of DWC3 and xHCI stack from Linux kernel to uBoot

2013-07-02 Thread Marek Vasut
Hello Wolfgang, > Dear Dan Murphy, > > In message <1372778113-26053-1-git-send-email-dmur...@ti.com> you wrote: > > This patch series has been generated in an effort to get comments on > > the implementation of the dwc and xHCI code within the uBoot. > > This patch series generates a number of c

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-02 Thread Wolfgang Denk
Dear dingu...@altera.com, In message <1372796330-23254-1-git-send-email-dingu...@altera.com> you wrote: > From: Dinh Nguyen > > Because the SOCFPGA platform will include support for Cyclone V and > Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to > be more generic. > > Signed-

Re: [U-Boot] [RFC] Supporting multiple variants of an SoC

2013-07-02 Thread Wolfgang Denk
Dear Stephen Warren, In message <51d314db.2010...@wwwdotorg.org> you wrote: > > Can there be a single generic binary, which is configured at run-time > by device-tree? Tegra and at least some Samsung Exynos boards (snow I > guess) seem headed that way, although the conversion is nowhere near > com

Re: [U-Boot] [RFC] Supporting multiple variants of an SoC

2013-07-02 Thread Wolfgang Denk
Dear Tom Rini, In message <20130702162829.GG16630@bill-the-cat> you wrote: > > That said, when others have suggested something like this before, > Wolfgang has pointed out and NAK'd the idea of adding N different > configuration as that adds (potentially) a lot of build time for > custodians/etc

Re: [U-Boot] Backport of DWC3 and xHCI stack from Linux kernel to uBoot

2013-07-02 Thread Wolfgang Denk
Dear Dan Murphy, In message <1372778113-26053-1-git-send-email-dmur...@ti.com> you wrote: > This patch series has been generated in an effort to get comments on > the implementation of the dwc and xHCI code within the uBoot. This patch series generates a number of checkpatch errors / warnings. O

Re: [U-Boot] [PATCH v5 1/3] Prepare for TI816X : reuse existing code from TI814X

2013-07-02 Thread Wolfgang Denk
Dear "TENART Antoine", In message <3465d313fdfb824f9a9c8cd24fa4f6bc0112a...@frontmail.adetel.com> you wrote: > Dear Wolfgang, > > > Hmmm... should not any boards that used to set CONFIG_TI814X in their > > board config files (ti814x_evm) now also set CONFIG_TI81XX ? > > ti814x_evm already has i

Re: [U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-02 Thread Marek Vasut
Dear Dan Murphy, > Vivek > > On 07/02/2013 07:59 AM, Vivek Gautam wrote: > > This change adds necessary xHCI host controller stack layer. > > This stack will eventually interact with SoC specific USB 3.0 > > controller drivers to enable USB 3.0 support on different boards. > > > > Based on 'mast

[U-Boot] Marvell SheevaPlug v2013.04 Refresh (ask for review)

2013-07-02 Thread DrEagle
Hi, I have started to rework all the MVSDIO driver, and some more enhancements, to make a cool updated and workable SheevaPlug. I have take the v2013.04 denx uBoot to base my patchs. If you can take a look inside and give me needed feedback. I want to precise that I do not easily practice GIT f

Re: [U-Boot] [PATCH] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Marek Vasut
Dear Scott Wood, > On 07/02/2013 03:57:58 PM, Marek Vasut wrote: > > Dear Scott Wood, > > > > > On 07/02/2013 10:11:55 AM, Marek Vasut wrote: > > > > The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() > > > > because the ecc.strength was incorrectly set in case of > > > > NAND_ECC

Re: [U-Boot] Run a standalone application on a core other than 0

2013-07-02 Thread Scott Wood
On 07/02/2013 07:02:21 AM, João Fernandes wrote: As the subject says, I'm trying to run the "Hello world" standalone application example on a core other than 0, on a Freescale QorIQ P4080. I tried through the shell and programmatically by exporting cpu_release function... nothing. My first

Re: [U-Boot] [PATCH] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Scott Wood
On 07/02/2013 03:57:58 PM, Marek Vasut wrote: Dear Scott Wood, > On 07/02/2013 10:11:55 AM, Marek Vasut wrote: > > The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() > > because the ecc.strength was incorrectly set in case of NAND_ECC_HW > > instead of NAND_ECC_HW_SYNDROME ECC

Re: [U-Boot] [PATCH] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Marek Vasut
Dear Scott Wood, > On 07/02/2013 10:11:55 AM, Marek Vasut wrote: > > The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() > > because the ecc.strength was incorrectly set in case of NAND_ECC_HW > > instead of NAND_ECC_HW_SYNDROME ECC mode. > > > > Signed-off-by: Marek Vasut > > Cc:

Re: [U-Boot] [PATCH v6 1/3] Prepare for TI816X : reuse existing code from TI814X

2013-07-02 Thread Tom Rini
On Tue, Jul 02, 2013 at 12:05:58PM +0200, TENART Antoine wrote: > Rename some CONFIG_TI814X to a more generic CONFIG_TI81XX > > Signed-off-by: Antoine Tenart > --- > Makefile|2 +- > arch/arm/cpu/armv7/Makefile |2 +- > arch/arm/cpu/armv7/omap

Re: [U-Boot] [RFC] Supporting multiple variants of an SoC

2013-07-02 Thread Tom Rini
On Tue, Jul 02, 2013 at 11:58:51AM -0600, Stephen Warren wrote: > On 07/02/2013 10:28 AM, Tom Rini wrote: > > Hey guys, > > > > I'm wondering about something and looking for input. As has come > > up a few times now, we have the ability for a single binary to run > > on a few systems (there's bot

[U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-02 Thread dinguyen
From: Dinh Nguyen Because the SOCFPGA platform will include support for Cyclone V and Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to be more generic. Signed-off-by: Dinh Nguyen Reviewed-by: Pavel Machek Cc: Chin Liang See Cc: Wolfgang Denk CC: Pavel Machek Cc: Tom Rini

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

2013-07-02 Thread Tom Rini
On Tue, Jul 02, 2013 at 04:47:41PM +0200, Lukasz Majewski wrote: > On Tue, 02 Jul 2013 16:04:59 +0200, Marek Vasut wrote: > > > > > >

Re: [U-Boot] ARM: OMAP4+: Fix MA detection during SDRAM_AUTO_DETECTION

2013-07-02 Thread Tom Rini
On Wed, Jun 19, 2013 at 10:50:45AM +0530, Lokesh Vutla wrote: > During SDRAM_AUTO_DETECTION MA is not configured. > For Soc's > OMAP4460 MA is present. So populating > MA for the same. > > Tested on OMAP4430 PANDA, OMAP4460 PANDA. > > Reported-by: Dan Murphy > Signed-off-by: Lokesh Vutla Appl

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

2013-07-02 Thread Tom Rini
On Fri, Jun 21, 2013 at 06:54:25PM +0800, Axel Lin wrote: > 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 o

Re: [U-Boot] [U-Boot, v4] usb: omap: ulpi: fix ulpi transceiver access

2013-07-02 Thread Tom Rini
On Mon, Jun 10, 2013 at 06:18:04PM +0200, Michael Trimarchi wrote: > This patch fix the omap access to the transceiver > configuration registers using the ulpi bus. As reported by > the documentation the bit31 is used only to check if the > transaction is done or still running and the reading and

Re: [U-Boot] am33xx: fix the ddr_cmdtctrl structure

2013-07-02 Thread Tom Rini
On Mon, Jun 17, 2013 at 04:59:27PM +0300, Ilya Ledvich wrote: > Fix the wrong mapping between the DDR I/O control registers on AM33XX > SoCs and the software representation in the SPL code. > The most recent public TRM defines the following DDR I/O control registers > offsets: > * ddr_cmd0_ioctrl

Re: [U-Boot] usb: omap: ulpi: fix ulpi reading/writing functions

2013-07-02 Thread Tom Rini
On Mon, Jun 10, 2013 at 04:23:33PM +0200, Michael Trimarchi wrote: > Fix ulpi reading and writing function. > * Both functions need to have the bit31 setted. > * Right now uboot use 0 to enumerate port 1 and 1 to >enumerate port 2 and so on. Omap code use 1 for port 1 and 2 for port 2. >

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

2013-07-02 Thread Tom Rini
Hello, The following changes since commit e6c7f86f03b0ad25e9ef70df3ee1989b6b789d7c: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-06-28 17:51:13 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 87bd05d7

Re: [U-Boot] imx: Kernel not booting with fdt

2013-07-02 Thread Stefano Babic
Hi Matthias, Am 02/07/2013 17:26, schrieb Matthias Weißer: > Hi > > I try to boot a current 3.11 kernel on a custom iMX25 board using DT. > u-boot starts the kernel but it stops working just after the first > eralyprintk lines are out. The u-boot/kernel output: > > bootm 0x8100 - 0x8080

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-02 Thread Mike Dunn
On 07/01/2013 12:51 PM, Wolfgang Denk wrote: > Dear Mike Dunn, > > In message <51d1c455.9010...@newsguy.com> you wrote: >> >> But there's a good motivation for wanting to turn off optimization. > > I disagree here. If you are hunting down a problem, you want to be as > close at the original code

Re: [U-Boot] [PATCH] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Scott Wood
On 07/02/2013 10:11:55 AM, Marek Vasut wrote: The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() because the ecc.strength was incorrectly set in case of NAND_ECC_HW instead of NAND_ECC_HW_SYNDROME ECC mode. Signed-off-by: Marek Vasut Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc:

Re: [U-Boot] [PATCH v2 2/3] tools/proftool: remove REG_NOERROR

2013-07-02 Thread Jeroen Hofstee
Hello Andreas, On 07/02/2013 08:37 AM, Andreas Bießmann wrote: Remove non portable usage of REG_NOERROR. BSD (like OS X) variants of regex.h do not declare REG_NOERROR, even GNU regex(3) do mention REG_NOERROR, just remove it. ^ does _not_ Perhaps Tom can amend it while applying

Re: [U-Boot] [PATCH 2/2 v3] powerpc/c29xpcie: add support for C29XPCIE board

2013-07-02 Thread Scott Wood
On 07/02/2013 01:39:09 AM, Po Liu wrote: +int board_early_init_r(void) +{ + const unsigned long flashbase = CONFIG_SYS_FLASH_BASE; + const u8 flash_esel = find_tlb_idx((void *)flashbase, 1); + + /* +* Remap Boot flash region to caching-inhibited +* so that flash

Re: [U-Boot] [RFC] Supporting multiple variants of an SoC

2013-07-02 Thread Stephen Warren
On 07/02/2013 10:28 AM, Tom Rini wrote: > Hey guys, > > I'm wondering about something and looking for input. As has come > up a few times now, we have the ability for a single binary to run > on a few systems (there's both i.MX examples and AM335x examples), > but what we don't have is agreement

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-02 Thread Vivek Gautam
On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren wrote: > On 07/01/2013 07:49 AM, Vivek Gautam wrote: >> Hi Marek, >> >> >> On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: >>> Dear Stephen Warren, >>> (Sorry to those on to/cc; I'm resending this so it goes to the correct mailing lis

[U-Boot] [RFC] Supporting multiple variants of an SoC

2013-07-02 Thread Tom Rini
Hey guys, I'm wondering about something and looking for input. As has come up a few times now, we have the ability for a single binary to run on a few systems (there's both i.MX examples and AM335x examples), but what we don't have is agreement on the best way to handle things that must (today) b

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

2013-07-02 Thread Marek Vasut
Dear Lukasz Majewski, > On Tue, 02 Jul 2013 16:04:59 +0200, Marek Vasut wrote: > > > > Heiko Schocher > > (5): dfu: make data buffer size configurable > > > > usb, dfu gadget: switch to dfu mode in dfu_bind > > usb, g_dn

[U-Boot] imx: Kernel not booting with fdt

2013-07-02 Thread Matthias Weißer
Hi I try to boot a current 3.11 kernel on a custom iMX25 board using DT. u-boot starts the kernel but it stops working just after the first eralyprintk lines are out. The u-boot/kernel output: bootm 0x8100 - 0x8080 ## Booting kernel from Legacy Image at 8100 ... Image Name: L

Re: [U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-02 Thread Dan Murphy
Vivek On 07/02/2013 07:59 AM, Vivek Gautam wrote: > This change adds necessary xHCI host controller stack layer. > This stack will eventually interact with SoC specific USB 3.0 > controller drivers to enable USB 3.0 support on different boards. > > Based on 'master' branch of u-boot-usb tree. > >

Re: [U-Boot] [RFC] [UBOOT] [PATCH v3 1/7] USB: Backport kernel usb header file

2013-07-02 Thread Dan Murphy
On 07/02/2013 10:18 AM, Nishanth Menon wrote: > On 07/02/2013 10:15 AM, Dan Murphy wrote: >> Backport the kernel USB header file include/linux/usb.h >> that contains the structures and constants for the linux kernel drivers. >> Rename the usb.h to usb-compat.h so that it is not confused with the >>

Re: [U-Boot] [RFC] [UBOOT] [PATCH v3 1/7] USB: Backport kernel usb header file

2013-07-02 Thread Nishanth Menon
On 07/02/2013 10:15 AM, Dan Murphy wrote: Backport the kernel USB header file include/linux/usb.h that contains the structures and constants for the linux kernel drivers. Rename the usb.h to usb-compat.h so that it is not confused with the uBoot include usb.h file. Kernel base commit ID:aa4f6084

[U-Boot] [RFC] [UBOOT] [PATCH v3 7/7] USB: Modify the xHCI to adapt to the uBoot code base

2013-07-02 Thread Dan Murphy
Modify the xHCI Linux kernel code base with #ifdefs __UBOOT__ to adapt the xHCI to the uBoot code. DMA and Radix needs investigating. Signed-off-by: Dan Murphy --- common/usb.c |1 + common/usb_hub.c |1 + drivers/usb/host/Makefile |7 +

[U-Boot] [RFC] [UBOOT] [PATCH v3 4/7] USB: dwc3: dwc3 code adaption for uBoot

2013-07-02 Thread Dan Murphy
All code not applicable to uBoot is ifdef'd out with ifndef __UBOOT__ as it is done in the musb-new directory. This code has not been fully debuged or excersized. Signed-off-by: Dan Murphy --- Makefile |1 + drivers/usb/dwc3/Makefile | 53 ++ drivers/usb/dwc3

[U-Boot] Backport of DWC3 and xHCI stack from Linux kernel to uBoot

2013-07-02 Thread Dan Murphy
This patch series has been generated in an effort to get comments on the implementation of the dwc and xHCI code within the uBoot. v3 series adds the xHCI back port from the linux kernel The first patch is the one of major concern as this patch will make an attempt to commonize the usb headers s

[U-Boot] [RFC] [UBOOT] [PATCH v3 5/7] omap5: usb: Add usb otg clocks and enable

2013-07-02 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 v3 2/7] USB: Adapt the usb-compat.h to uboot and fix compiler errors

2013-07-02 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] [PATCH] mtd: mxc_nand: Fix crash after MTD resync

2013-07-02 Thread Marek Vasut
The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail() because the ecc.strength was incorrectly set in case of NAND_ECC_HW instead of NAND_ECC_HW_SYNDROME ECC mode. Signed-off-by: Marek Vasut Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc: Scott Wood --- drivers/mtd/nand/mxc_nand.c |

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

2013-07-02 Thread Lukasz Majewski
On Tue, 02 Jul 2013 16:04:59 +0200, Marek Vasut wrote: > > > > Heiko Schocher > (5): dfu: make data buffer size conf

Re: [U-Boot] UART output has problems with latest uboot source code on S5PC100 board

2013-07-02 Thread Lukasz Majewski
On Tue, 02 Jul 2013 17:21:28 +0800, tiger...@viatech.com.cn wrote: > Hi, Samsung Engineers: > I have a S5PC100 development board. > I tried to use latest uboot code to boot, and UART output has bugs. > It would lose many messages. > I use UART0 as the default com port. > > Have you ever tried late

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Simon Glass
Hi Robert, On Jul 2, 2013 8:41 PM, "Robert Nelson" wrote: > > On Tue, Jul 2, 2013 at 2:39 AM, Simon Glass wrote: > > Hi Robert, > > > > On Tue, Jul 2, 2013 at 5:44 AM, Robert Nelson > > wrote: > >> > >> On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > >> > Hey all, > >> > > >> > I've tagged

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

2013-07-02 Thread Marek Vasut
Some more fixes for RC2 The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master

Re: [U-Boot] [PATCH] avr32: fix do_bootm_linux

2013-07-02 Thread Andreas Bießmann
On 07/02/2013 03:03 PM, Tom Rini wrote: > On Tue, Jul 02, 2013 at 01:57:44PM +0200, Andreas Bießmann wrote: > >> Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It >> requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before >> calling it again with flag s

Re: [U-Boot] [PATCH v2] avr32: fix do_bootm_linux

2013-07-02 Thread Tom Rini
On Tue, Jul 02, 2013 at 09:17:04AM -0400, Tom Rini wrote: > From: Andreas Bie??mann OK, forgot to update the topline commit message to: avr32/m68k/microblaze/nds32/nios2/openrisc/sh/sparc: fix do_bootm_linux -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH v2] avr32: fix do_bootm_linux

2013-07-02 Thread Tom Rini
From: Andreas Bießmann Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however wil

[U-Boot] [PATCH 2/4 V3] EXYNOS: LDS file move to common

2013-07-02 Thread Rajeshwari Shinde
smdk5250-uboot-spl.lds is moved to common folder, so that it can be reused. It is renamed to exynos-uboot-spl.lds Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Tested-by: Simon Glass --- Changes in V2: - None Changes in V3: - None .../exynos-uboot-spl.lds}

[U-Boot] [PATCH 3/4 V3] EXYNOS4210: Configure GPIO for uart

2013-07-02 Thread Rajeshwari Shinde
This patch configures the gpio values for UART on Origen and SMDKV310 using pinmux Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - None arch/arm/cpu/armv7/exynos/pinmux.c | 40 +++ board/samsung/orig

[U-Boot] [PATCH 0/4 V3]EXYNOS: Convert Assembly code to c and make it common

2013-07-02 Thread Rajeshwari Shinde
Convert the assembly code in board/samsung to c and move the same to arch/arm. lds file made common across SMDKV310, Origen and SMDK5250. Add the power reset and exit wakeup api for exynos. Initialise GPIO for uart in Origen and SMDKV310 using pinmux. Changes in V2: - Rebased on latest u-b

[U-Boot] [PATCH 1/4 V3] EXYNOS: Add API for power reset and exit wakeup

2013-07-02 Thread Rajeshwari Shinde
This patch adds APIs to get power reset status and exit the wakeup condition for both exynos5 and exynos4 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Expanded the comments for get_reset_status function declaration. Changes in V3: - None arch/arm/cpu/armv7/exynos/power.c

Re: [U-Boot] [PATCH] avr32: fix do_bootm_linux

2013-07-02 Thread Tom Rini
On Tue, Jul 02, 2013 at 01:57:44PM +0200, Andreas Bie??mann wrote: > Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It > requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before > calling it again with flag set to BOOTM_STATE_OS_GO. > Fix this by allowin

Re: [U-Boot] [PATCH] cmd_bootm.c: Correct check/return for unsupported sub-command

2013-07-02 Thread Andreas Bießmann
On 07/01/2013 03:09 PM, Tom Rini wrote: > With the do_bootm_states re-organization, we have the call to any > potential sub-commands in a single spot. If one fails, we can then stop > right there and return to the caller. Prior to these calls we have > already ensured that ret is zero so we will

[U-Boot] [PATCH 7/7] temp: ARM: EXYNOS5: Enable xHCI support for Exynos5

2013-07-02 Thread Vivek Gautam
This enables support for xHCI host controller on Exynos5 and further disables EHCI support, to make sure only one host controller is enabled at a time. Signed-off-by: Vikas C Sajjan Signed-off-by: Vivek Gautam Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- include/configs/exynos5250-d

[U-Boot] [PATCH 5/7] exynos5: dts: Add COMPAT string data for USB 3.0 PHY and XHCI

2013-07-02 Thread Vivek Gautam
Adding required compatible string for xHCI host controller as well as USB 3.0 PHY to enable dt support for usb 3.0 on exynos5. Signed-off-by: Vivek Gautam Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- include/fdtdec.h |2 ++ lib/fdtdec.c |2 ++ 2 files changed, 4 insertion

[U-Boot] [PATCH 6/7] exynos5: dts: Add device node for XHCI

2013-07-02 Thread Vivek Gautam
Adding device node for xhci host controller to enable usb 3.0 on exynos5250. Signed-off-by: Vivek Gautam Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- arch/arm/dts/exynos5250.dtsi | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/exynos5

[U-Boot] [PATCH 4/7] arm: exynos: Add methods to control power to USB 3.0 PHY

2013-07-02 Thread Vivek Gautam
Adding methods to turn on/off power to USB3.0 type PHY as and when required by the controller. Signed-off-by: Vivek Gautam Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- arch/arm/cpu/armv7/exynos/power.c| 22 ++ arch/arm/include/asm/arch-exynos/power.h |

[U-Boot] [PATCH 3/7] USB: XHCI: Add xHCI host controller support for Exynos5

2013-07-02 Thread Vivek Gautam
This adds driver layer for xHCI controller in Samsung's exynos5 soc. This interacts with xHCI host controller stack. Signed-off-by: Vikas C Sajjan Signed-off-by: Vivek Gautam Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- arch/arm/include/asm/arch-exynos/cpu.h |8 + arch/a

[U-Boot] [PATCH 1/7] arm: exynos5250: Define CONFIG_SYS_CACHELINE_SIZE

2013-07-02 Thread Vivek Gautam
XHCI stack driver needs this to align buffers to CacheLine boundary. So define the same to be '64' Signed-off-by: Vivek Gautam Cc: Minkyu Kang Cc: Julius Werner Cc: Simon Glass Cc: Marek Vasut --- include/configs/exynos5250-dt.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) di

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-07-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/02/2013 08:58 AM, Andreas Bießmann wrote: > On 07/02/2013 02:35 PM, Tom Rini wrote: >> On 07/02/2013 06:49 AM, Andreas Bießmann wrote: >>> Hi all, >> >>> On 06/28/2013 11:41 PM, Simon Glass wrote: Hi Tom, On Fri, Jun 28, 2013 at

[U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-02 Thread Vivek Gautam
This change adds necessary xHCI host controller stack layer. This stack will eventually interact with SoC specific USB 3.0 controller drivers to enable USB 3.0 support on different boards. Based on 'master' branch of u-boot-usb tree. The series also includes patches to support xHCI on exynos5250,

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-07-02 Thread Andreas Bießmann
On 07/02/2013 02:35 PM, Tom Rini wrote: > On 07/02/2013 06:49 AM, Andreas Bießmann wrote: >> Hi all, > >> On 06/28/2013 11:41 PM, Simon Glass wrote: >>> Hi Tom, >>> >>> On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: > >> > @@ -660,34 +680,25 @@ static int do_bootm_states(cmd_tbl_t

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Andreas Bießmann
On 07/02/2013 02:34 PM, Tom Rini wrote: > On 07/02/2013 06:37 AM, Andreas Bießmann wrote: >> Hi, > >> On 07/01/2013 10:44 PM, Robert Nelson wrote: >>> On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: Hey all, I've tagged and pushed v2013.07-rc2. A bit more over the place than

[U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-02 Thread Bo Shen
flush cache before disable it Signed-off-by: Bo Shen --- arch/arm/cpu/arm926ejs/cpu.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/cpu.c b/arch/arm/cpu/arm926ejs/cpu.c index 626384c..10aa165 100644 --- a/arch/arm/cpu/arm926ejs/cpu.c +++ b/arc

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/02/2013 06:37 AM, Andreas Bießmann wrote: > Hi, > > On 07/01/2013 10:44 PM, Robert Nelson wrote: >> On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: >>> Hey all, >>> >>> I've tagged and pushed v2013.07-rc2. A bit more over the place >>> than

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-07-02 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/02/2013 06:49 AM, Andreas Bießmann wrote: > Hi all, > > On 06/28/2013 11:41 PM, Simon Glass wrote: >> Hi Tom, >> >> On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: > > > >>> @@ -660,34 +680,25 @@ static int do_bootm_states(cmd_tbl_t >>> *c

Re: [U-Boot] [PATCH 4/4 V2] EXYNOS: Move files from board/samsung to arch/arm.

2013-07-02 Thread Rajeshwari Birje
Hi Minkyu Kang, On Tue, Jul 2, 2013 at 11:25 AM, Minkyu Kang wrote: > Dear Rajeshwari, > > On 01/07/13 19:02, Rajeshwari Shinde wrote: >> This patch performs the following: >> >> 1) Convert the assembly code for memory and clock initialization to C code. >> 2) Move the memory and clock init codes

[U-Boot] Run a standalone application on a core other than 0

2013-07-02 Thread João Fernandes
As the subject says, I'm trying to run the "Hello world" standalone application example on a core other than 0, on a Freescale QorIQ P4080. I tried through the shell and programmatically by exporting cpu_release function... nothing. My first thought was that only core 0 has register r2 with the ad

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

2013-07-02 Thread Otavio Salvador
On Tue, Jul 2, 2013 at 3:00 AM, Anatolij Gustschin wrote: > On Mon, 1 Jul 2013 23:11:07 -0300 > Otavio Salvador wrote: > ... >> You didn' t put the splashpos fix. > > I would prefer to wait a few days, so other people will have a chance > to review and comment. Also I didn't test the splashpos fi

[U-Boot] [PATCH] avr32: fix do_bootm_linux

2013-07-02 Thread Andreas Bießmann
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before calling it again with flag set to BOOTM_STATE_OS_GO. Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will require a complete refa

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-07-02 Thread Pavel Machek
Hi! > > > > > @@ -21,6 +21,7 @@ > > > > > void reset_cpu(ulong addr); > > > > > void reset_deassert_peripherals_handoff(void); > > > > > > > > > > +#if defined(CONFIG_SOCFPGA_VIRTUAL_TARGET) > > > > > struct socfpga_reset_manager { > > > > > u32padding1; > > > > > u32ctrl; >

[U-Boot] [PATCH] powerpc/b4860: Disable unused devices using DEVDISR register

2013-07-02 Thread Sandeep Singh
Explicitly disabling unused IPs/blocks. This will lower power consumption. Signed-off-by: Sandeep Singh --- arch/powerpc/cpu/mpc85xx/Makefile|1 + arch/powerpc/cpu/mpc85xx/b4860_cpu.c | 130 ++ arch/powerpc/include/asm/processor.h |1 + board/freescal

Re: [U-Boot] [PATCH v4 1/1] socfpga: Adding configuration for development kit

2013-07-02 Thread Pavel Machek
On Mon 2013-07-01 16:05:20, Chin Liang See wrote: > socfpga: Separating the configuration file for Virtual > Target and real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See Looks good. Reviewed-by: Pavel Machek Thanks,

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Robert Nelson
On Tue, Jul 2, 2013 at 6:41 AM, Robert Nelson wrote: > On Tue, Jul 2, 2013 at 2:39 AM, Simon Glass wrote: >> Hi Robert, >> >> On Tue, Jul 2, 2013 at 5:44 AM, Robert Nelson >> wrote: >>> >>> On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: >>> > Hey all, >>> > >>> > I've tagged and pushed v2013.

Re: [U-Boot] [PATCH] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-02 Thread Pavel Machek
Hi! > From: Dinh Nguyen > > Because the SOCFPGA platform will include support for Cyclone V and > Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to > be more generic. > > Signed-off-by: Dinh Nguyen > Cc: Chin Liang See > Cc: Wolfgang Denk > CC: Pavel Machek Looks good to m

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Robert Nelson
On Tue, Jul 2, 2013 at 2:39 AM, Simon Glass wrote: > Hi Robert, > > On Tue, Jul 2, 2013 at 5:44 AM, Robert Nelson > wrote: >> >> On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: >> > Hey all, >> > >> > I've tagged and pushed v2013.07-rc2. A bit more over the place than I >> > should have gone,

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-02 Thread Dirk Eibach
Hi Andy, > If you've got changes outstanding still, please start gently poking > custodians with patchwork links. I've got a good bit of stuff I need to > deal with myself still, but please prod me all the same. my series "[PATCH v7 0/5] Add gdsys ControlCenter Digital board" is still missing.

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-07-02 Thread Pavel Machek
On Mon 2013-07-01 08:41:15, Chin Liang See wrote: > Hi Pavel, > > On Mon, 2013-07-01 at 12:42 +0200, ZY - pavel wrote: > > On Fri 2013-06-28 16:20:48, Chin Liang See wrote: > > > socfpga: Adding System Manager driver which will > > > configure the pin mux for real hardware Cyclone V > > > devel

Re: [U-Boot] [PATCH v6 0/3] Add TI816X EVM support

2013-07-02 Thread TENART Antoine
I forgot to add the description of this patchset. Sorry for the noise. This serie introduce the support of the TI816X EVM board. The serie fits into the existing AM33XX SoC support and reuse some definitions from the TI814X. Based on the implementation in the TI-PSP-04.00.02.14 vendor tree: htt

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2013-07-02 Thread Singh Sandeep-B37400
Sorry somehow I missed this earlier. Please find my reply inline. Regards, Sandeep > -Original Message- > From: Wood Scott-B07421 > Sent: 15 June 2013 01:09 > To: Singh Sandeep-B37400 > Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com > Subject: Re: [U-Boot] [PATCH] powerp

[U-Boot] [PATCH] board/freescale/common: IDT8T49N222A configuration code

2013-07-02 Thread Shaveta Leekha
Add code for configuring IDT8T49N222A device for various output refclks - The IDT8T49N222A is a low phase noise Frequency Translator / Synthesizer with alarm and monitoring functions suitable for networking and communications applications. It is able to generate wide range of outpu

Re: [U-Boot] [PATCH 1/2] powerpc/83xx/km: MV88e6122 errata fix for 1.9V

2013-07-02 Thread Holger Brunck
Hi Kim, On 05/22/2013 01:12 AM, Kim Phillips wrote: > On Mon, 6 May 2013 15:02:39 +0200 > Holger Brunck wrote: > >> Errata Fix: 1.9V Output from Internal 1.8V Regulator, acc. >> MV-S300889-00D.pdf , clause 4.5 >> >> Signed-off-by: Holger Brunck >> --- > > patches 1-2 applied to mpc83xx/next. >

[U-Boot] [PATCH] board/b4860qds: Add support for configuring SerDes1 Refclks

2013-07-02 Thread Shaveta Leekha
1) Add support in B4860 board files for using IDT driver where IDT8T49N222A is a low phase noise Frequency Translator / Synthesizer that generate different refclks for SerDes modules, used this driver for reconfiguring SerDes1 Refclks(based on SerDes1 protocols) for CPRI to work. CPRI w

[U-Boot] [PATCH] powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h

2013-07-02 Thread Shaveta Leekha
It allows files not in the same path to use this function as required by B4 board file Signed-off-by: Shaveta Leekha --- arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h |1 - arch/powerpc/include/asm/fsl_serdes.h |1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] powerpc/mpc85xx: Add defines for serdes RSTCTL register

2013-07-02 Thread Shaveta Leekha
Also change the define name SRDS_RSTCTL_SDPD to SRDS_RSTCTL_SDEN, which stands for SerDes enable as mentioned in SerDes module guide Signed-off-by: Shaveta Leekha --- arch/powerpc/include/asm/immap_85xx.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/in

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-07-02 Thread Andreas Bießmann
Hi all, On 06/28/2013 11:41 PM, Simon Glass wrote: > Hi Tom, > > On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: >> @@ -660,34 +680,25 @@ static int do_bootm_states(cmd_tbl_t *cmdtp, int >> flag, int argc, >> } >> #endif >> /* Now run the OS! We hope this doesn't return */ >

  1   2   >