[U-Boot] [PATCH v9 0/5] usb: add Faraday EHCI & Gadget support

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch adds support to both Faraday FUSBH200 and FOTG210, the differences between Faraday EHCI and standard EHCI are listed bellow: 1. The PORTSC starts at 0x30 instead of 0x44. 2. The CONFIGFLAG(0x40) is not only un-implemented, and also has its address removed. 3. Fara

[U-Boot] [PATCH v9 1/5] usb: ehci: prevent bad PORTSC register access

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su 1. The 'index' of ehci_submit_root() is not always > 0. e.g. While it gets invoked from usb_get_descriptor(), the 'index' is always a '0'. (See ch.9 of USB2.0) 2. The PORTSC register is not always required, and thus it should only report a port error when necessary

[U-Boot] [PATCH v9 2/5] usb: ehci: add weak-aliased function for PORTSC

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su There is at least one non-EHCI compliant controller (i.e. Faraday EHCI) not only leave RESERVED and CONFIGFLAG registers un-implemented but also has their address spaces removed. As an result, the PORTSC register of Faraday EHCI always starts from 0x30 instead of 0x44 in standa

[U-Boot] [PATCH v9 4/5] usb: ehci: add Faraday USB 2.0 EHCI support

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch adds support to both Faraday FUSBH200 and FOTG210, the differences between Faraday EHCI and standard EHCI are listed bellow: 1. The PORTSC starts at 0x30 instead of 0x44. 2. The CONFIGFLAG(0x40) is not only un-implemented, and also has its address space removed. 3

[U-Boot] [PATCH v9 3/5] usb: hub: make minimum power-on delay configurable

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch makes the minimum power-on delay for USB HUB become configurable. The original design waits at least 100 msec here, but some EHCI controlers(e.g. Faraday EHCI) are known to require much longer delay interval. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- Changes f

[U-Boot] [PATCH v9 5/5] usb: gadget: add Faraday FOTG210 USB gadget support

2013-05-15 Thread Kuo-Jung Su
From: Kuo-Jung Su The Faraday FOTG210 is an OTG chip which could operate as either an EHCI Host or a USB Device at a time. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- Changes for v9: - Nothing updates Changes for v8: - Nothing updates Changes for v7: - Nothing updates Changes fo

Re: [U-Boot] [PATCH v2 4/4] arm: factorize relocate_code routine

2013-05-15 Thread Albert ARIBAUD
Hi Benoît, (I had indeed missed remarks in your reply; apologies for this) On Tue, 14 May 2013 18:01:50 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > +/* > > + * These are defined in the board-specific linker script. > > + * Subtracting _start from them lets the linker put their > >

Re: [U-Boot] [PATCH 5/5] arm: optimize relocate_code routine

2013-05-15 Thread Albert ARIBAUD
Hi Benoît, On Wed, 15 May 2013 01:54:11 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Tuesday, May 14, 2013 10:03:00 PM, Albert ARIBAUD wrote: > > Use section symbols directly > > Drop support for R_ARM_ABS32 record types > > Eliminate unneeded intermediate registers > > Optimize r

Re: [U-Boot] Wrong RAM Size on Devkit8000

2013-05-15 Thread Andreas Bießmann
Dear Maxime Ripard, (CCing Board Maintainer) On 05/14/2013 04:25 PM, Maxime Ripard wrote: > Hi, > > I'm currently testing u-boot 2013.04 with SPL on a Devkit8000 with 256MB > of RAM. > > Trouble is, it only detects 128MB of RAM. The x-loader found on the NAND > detects 256MB and works perfectly

[U-Boot] [PATCH] Add the symbol for the minimal SPL used to eliminate unused code

2013-05-15 Thread ying.zhang
From: Ying Zhang Add the symbol CONFIG_SPL_BUILD_MINIMAL for the minimal SPL. It used to eliminate code unused in the minimal SPL but used in the SPL. This patch is on top of the following patch: 1. common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL. 2. powerpc/mpc85xx

Re: [U-Boot] [PATCH 4/5] arm: ensure u-boot only uses relative relocations

2013-05-15 Thread Albert ARIBAUD
Hi Benoît, On Wed, 15 May 2013 00:12:24 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > --- a/Makefile > > +++ b/Makefile > > @@ -746,6 +746,13 @@ tools: $(VERSION_FILE) $(TIMESTAMP_FILE) > > $(MAKE) -C $@ all > > endif # config.mk > > > > +# ARM relocations should all be R_

Re: [U-Boot] [PATCH 0/5] Optimize ARM relocation

2013-05-15 Thread Albert ARIBAUD
Hi Benoît, On Wed, 15 May 2013 01:58:23 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Tuesday, May 14, 2013 10:16:01 PM, Albert ARIBAUD wrote: > > On Tue, 14 May 2013 22:02:55 +0200, Albert ARIBAUD > > wrote: > > > > > *** NOTE: this series applies over the 'Factorize > > > ARM r

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, On 15/05/13 08:11, Sricharan R wrote: > Hi, > On Tuesday 14 May 2013 10:11 PM, Tom Rini wrote: >> On Tue, May 14, 2013 at 07:09:33PM +0300, Lubomir Popov wrote: >>> Hi Tom, >>> >>> On 14/05/13 17:52, Tom Rini wrote: On Tue, May 14, 2013 at 01:24:41PM +0300, Lubomir Popov wrote:

[U-Boot] [PATCH] ARM: arm720t: Add missing CONFIG_SKIP_LOWLEVEL_INIT guard for cpu_init_crit

2013-05-15 Thread Axel Lin
cpu_init_crit() can be skipped, but the code is still enabled requiring a platform to supply lowlevel_init(). Signed-off-by: Axel Lin --- arch/arm/cpu/arm720t/start.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S index 9facc7e..

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-15 Thread Wang Huan-B18965
> -Original Message- > From: Shawn Guo [mailto:shawn@linaro.org] > Sent: Wednesday, May 15, 2013 12:15 PM > To: Wang Huan-B18965 > Cc: sba...@denx.de; u-boot@lists.denx.de; TsiChung Liew; Jin Zhengxiong- > R64188; Estevam Fabio-R49496 > Subject: Re: [U-Boot] [PATCH v2 6/6] arm: mvf600

Re: [U-Boot] [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Stefano Babic
On 14/05/2013 11:51, Alison Wang wrote: > This patch adds generic codes to support Freescale's Vybrid MVF600 CPU. > > It aligns Vybrid MVF600 platform with i.MX platform. As there are > some differences between MVF600 and i.MX platforms, the specific > codes are in the arch/arm/cpu/armv7/mvf600 di

Re: [U-Boot] [PATCH v2 3/6] arm: mvf600: Add FEC support for Vybrid MVF600

2013-05-15 Thread Stefano Babic
On 14/05/2013 11:51, Alison Wang wrote: > This patch adds FEC support for Vybrid MVF600 platform. > Add code to use RMII for MVF600. > > Signed-off-by: Alison Wang > --- > Changes in v2: > - Use common FEC driver fec_mxc.c > > drivers/net/fec_mxc.c | 6 +- > 1 file changed, 5 insertions(+),

Re: [U-Boot] [PATCH v2 2/6] arm: mvf600: Add IOMUX support for Vybrid MVF600

2013-05-15 Thread Stefano Babic
On 14/05/2013 11:51, Alison Wang wrote: > This patch adds the IOMUX support for Vybrid MVF600 platform. > > There is a little difference for IOMUXC module between MVF600 and i.MX > platform, the muxmode and pad configuration share one 32bit register on > MVF600, but they are two independent regist

Re: [U-Boot] [PATCH v2 4/4] arm: factorize relocate_code routine

2013-05-15 Thread Albert ARIBAUD
On Wed, 15 May 2013 09:31:37 +0200, Albert ARIBAUD wrote: > Then I should add =relocate_code to r3, not =_start, and also -- as r9 > is not the right offset here -- compute r7 as the delta between the > link-time =_start and the run-time relocate_code (r7 becomes useless > once R10, r2 and r3 are

[U-Boot] [PATCH v3] cosmetic: arm: fix comments in arch/arm/lib/crt0.S

2013-05-15 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2: - Fix one more comment Changes for v3: - Fix the commit log to indicate * this patch is entirely cosmetic * which part was changed at a glance arch/arm/lib/crt0.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

Re: [U-Boot] [PATCH v2] arm: fix a comment

2013-05-15 Thread Masahiro Yamada
Hello Albert, Thanks for your advice. > So... how about a V3 with a commit summary of "cosmetic: arm: fix > comments in arch/arm/lib/crt0.S" ? People reading the summary for no I posted a v3 patch as suggested. Best Regard, Masahiro Yamada ___ U-Boot

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-15 Thread Stefano Babic
On 14/05/2013 11:51, Alison Wang wrote: > MVF600TWR is a board based on Vybrid MVF600 SoC. > > This patch adds basic support for Vybrid MVF600TWR board. > > Signed-off-by: Alison Wang > Signed-off-by: Jason Jin > Signed-off-by: TsiChung Liew > --- Hi Alison, > diff --git a/board/freescale/mv

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Sricharan R
Hi, On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote: > Hi Sricharan, > > On 15/05/13 08:11, Sricharan R wrote: >> Hi, >> On Tuesday 14 May 2013 10:11 PM, Tom Rini wrote: >>> On Tue, May 14, 2013 at 07:09:33PM +0300, Lubomir Popov wrote: Hi Tom, On 14/05/13 17:52, Tom Rini wro

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-15 Thread Dirk Eibach
Hello Wolfgang, sorry for the delay, I had to clean some other things on my ToDoList. I cleaned up my patchseries and wanted to start implementing your proposal. And ran into a problem. Remember, the basic reason for the the generic FPGA accessors was, that we have a certain amount of basicall

Re: [U-Boot] [PATCH 4/5] arm: ensure u-boot only uses relative relocations

2013-05-15 Thread Albert ARIBAUD
Hi again Benoît, On Wed, 15 May 2013 09:46:17 +0200, Albert ARIBAUD wrote: > Hi Benoît, > > On Wed, 15 May 2013 00:12:24 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > --- a/Makefile > > > +++ b/Makefile > > > @@ -746,6 +746,13 @@ tools: $(VERSION_FILE) $(TIMESTAMP_FILE) >

[U-Boot] mx23-olinuxino: occasional memory errors

2013-05-15 Thread Kiril Zyapkov
Hi all, I was told I should report this. The tests are performed on two imx233-olinuxino boards: maxi and mini. I've removed R17 (120 ohms between CLK and CLKN) from the mini board as advised in #olimex and the Olimex forum board, but kept it on the maxi board. I am testing U-Boot 2013-04 with a

[U-Boot] [PATCH] powerpc/p1022ds: boot from SD Card with SPL

2013-05-15 Thread ying.zhang
From: Ying Zhang This patch introduces SPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution. The SPL's size is sizeable, the maximum size must not exceed the

Re: [U-Boot] [PATCH 1/2] mx6qsabreauto: Add i2c to mx6qsabreauto board

2013-05-15 Thread Stefano Babic
On 14/05/2013 06:01, Renato Frias wrote: > Add i2c2 and 3 to mx6qsabreauto board, i2c3 is multiplexed > use gpio to set steering. > > Signed-off-by: Renato Frias > --- > board/freescale/mx6qsabreauto/mx6qsabreauto.c | 50 > + > include/configs/mx6qsabreauto.h

Re: [U-Boot] [PATCH 2/2] mx6qsabreauto: Add Port Expander reset

2013-05-15 Thread Stefano Babic
On 14/05/2013 06:01, Renato Frias wrote: > There are 3 IO expanders on the mx6qsabreauto all reset by the > same GPIO, just set it to high to use the IO. > > Signed-off-by: Renato Frias > --- > board/freescale/mx6qsabreauto/mx6qsabreauto.c |7 +++ > 1 file changed, 7 insertions(+) > > d

[U-Boot] env-variable setting in u-boot-function

2013-05-15 Thread Altunbas Sabri (DC-IA/EAH2)
Hi, i want tos et an env. variable in a u-boot-function like this fs/fs.c: int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], int fstype, int cmdline_base) { .. .. setenv("filesize", buf); .. .. } I tried it like following Arch/x86/

[U-Boot] Limitations/Considerations when programming U-Boot

2013-05-15 Thread Oliver Stäbler
Hi all, I'm currently investigating the possibility of using a cryptographic library in U-Boot to verify signatures during a fatload (or similar). So my question is, what has to be considered when choosing a crypto library? As far as I understood so far, U-Boot only implements a part of the C

Re: [U-Boot] 2013 Plumber's CFP: Fastboot

2013-05-15 Thread Jeremiah Foster
On Tue, May 14, 2013 at 1:51 AM, Mehaffey, John wrote: > Hello All, > Hey John! > I am proposing a microconference on fastboot at the Linux Plumber's > conference 2013 in New Orleans. The goal is to get to sub 1S boot times for > a large (IVI) system using NAND flash. This pushes the state of t

[U-Boot] Unable to understand flow of U-Boot Code.

2013-05-15 Thread Rajdeep Vaghasia
Hello, I am trying to understand the flow of U-boot code, but unable to get the complete link. I can not understand how the flow goes. In which sequence the code executes. So, please give me some reference, which can explain the complete flow of execution of U-Boot code.

[U-Boot] [PATCH v5 2/7] cros: add I2C support for cros_ec

2013-05-15 Thread Hung-ying Tyan
This patch adds I2C support for carrying out the cros_ec protocol. Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Hung-ying Tyan --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fixed warnings of exceeding 80 chars in a line. - Added C

[U-Boot] [PATCH v5 0/7] Add cros-ec protocol driver and enable it in smdk5250

2013-05-15 Thread Hung-ying Tyan
This patch series adds the drivers for the cros-ec protocol that is used to communicate with the Chrome OS Embedded Controller (EC). The series also enables its use in Google Snow which is based on smdk5250. The last patch in this series depends on the patch in the MMC series that brings in exynos

[U-Boot] [PATCH v5 5/7] cros: adds cros_ec keyboard driver

2013-05-15 Thread Hung-ying Tyan
This patch adds the driver for keyboard that's controlled by ChromeOS EC. Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Vincent Palatin Signed-off-by: Hung-ying Tyan --- Changes in v5: None Changes in v4: - Added cros-ec-keyb.txt. Changes in v3: - Rearranged #incl

[U-Boot] [PATCH v5 4/7] cros: add LPC support for cros_ec

2013-05-15 Thread Hung-ying Tyan
This patch adds LPC support for carrying out the cros_ec protocol. Signed-off-by: Randall Spangler Signed-off-by: Simon Glass Signed-off-by: Hung-ying Tyan --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fixed warnings of exceeding 80 chars in a line. - Added c

[U-Boot] [PATCH v5 3/7] cros: exynos: add SPI support for cros_ec

2013-05-15 Thread Hung-ying Tyan
This patch adds SPI support for carrying out the cros_ec protocol. Signed-off-by: Hung-ying Tyan Signed-off-by: Randall Spangler Signed-off-by: Simon Glass --- Changes in v5: - Add exynos: tag as the patch includes changes in exynos_spi.c. Changes in v4: - Removed old code and comment. Chang

[U-Boot] [PATCH v5 6/7] cros: exynos: add cros-ec device nodes to exynos5250-snow.dts

2013-05-15 Thread Hung-ying Tyan
This patch adds cros-ec related device nodes to exynos5250-snow.dts. It also adds a gpio node to exynos5250.dtsi. Signed-off-by: Hung-ying Tyan --- Changes in v5: - Change ec-interrupt gpio pin from 174 to 782. This has to be changed again after the GPIO pin numbering patches (http://patchwo

[U-Boot] [PATCH v5 7/7] cros: exynos: enable cros-ec for smdk5250

2013-05-15 Thread Hung-ying Tyan
This patch initiates cros-ec in board_init() to enable it for smdk5250. This patch depends on the patch in the MMC series that brings in exynos5-dt.c. Refer to http://patchwork.ozlabs.org/patch/240084. Signed-off-by: Simon Glass Signed-off-by: Vincent Palatin Signed-off-by: Hung-ying Tyan ---

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, On 15/05/13 12:04, Sricharan R wrote: > Hi, > > On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote: >> Hi Sricharan, >> >> On 15/05/13 08:11, Sricharan R wrote: >>> Hi, >>> On Tuesday 14 May 2013 10:11 PM, Tom Rini wrote: On Tue, May 14, 2013 at 07:09:33PM +0300, Lubomir Po

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Sricharan R
On Wednesday 15 May 2013 04:16 PM, Lubomir Popov wrote: > Hi Sricharan, > > On 15/05/13 12:04, Sricharan R wrote: >> Hi, >> >> On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote: >>> Hi Sricharan, >>> >>> On 15/05/13 08:11, Sricharan R wrote: Hi, On Tuesday 14 May 2013 10:11 PM, Tom R

Re: [U-Boot] [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Albert ARIBAUD
Hi Stefano, On Wed, 15 May 2013 10:13:36 +0200, Stefano Babic wrote: > On 14/05/2013 11:51, Alison Wang wrote: > > This patch adds generic codes to support Freescale's Vybrid MVF600 CPU. > > > > It aligns Vybrid MVF600 platform with i.MX platform. As there are > > some differences between MVF60

Re: [U-Boot] [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Stefano Babic
On 15/05/2013 14:09, Albert ARIBAUD wrote: >> >> Albert, what do you think about ? Should these files be moved away from >> armv7 ? > > If the SoC is ARMv5, then yes, its arch/arm/cpu files should not go in > armv7 -- and then, we may have to discuss whether, and how, to factorize > ISA-level code

Re: [U-Boot] [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Albert ARIBAUD
Hi Stefano, On Wed, 15 May 2013 14:24:33 +0200, Stefano Babic wrote: > On 15/05/2013 14:09, Albert ARIBAUD wrote: > >> > >> Albert, what do you think about ? Should these files be moved away from > >> armv7 ? > > > > If the SoC is ARMv5, then yes, its arch/arm/cpu files should not go in > > arm

Re: [U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-15 Thread Andrii Tseglytskyi
Hi, Tom, Nishant, could you please review this series ? Thank you in advance. Regards, Andrii On 05/13/2013 05:15 PM, Andrii Tseglytskyi wrote: Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ld

Re: [U-Boot] [PATCH 0/2] Power: remove support for Freescale MPC8220

2013-05-15 Thread Tom Rini
On Sat, May 11, 2013 at 03:00:48PM +0200, Wolfgang Denk wrote: > The Freescale MPC8220 Power Architecture processors have long reached > EOL; Freescale does not even list these any more on their web site. > > Remove the code to avoid wasting maitaining efforts on dead stuff. > > Wolfgang Denk (2

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

2013-05-15 Thread Tom Rini
On Tue, May 14, 2013 at 05:26:23PM -0500, Andy Fleming wrote: > The following changes since commit a661b99dbc35e725f229a7b8e189ca21304ba026: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2013-05-13 18:17:39 > -0400) > > are available in the git repository at: > > > git://www.

Re: [U-Boot] OMAP5: Enable USB Ethernet support with LAN9730

2013-05-15 Thread Tom Rini
On Mon, Apr 01, 2013 at 04:50:55AM -, Lubomir Popov wrote: > Added the LAN9730 to list of supported devices. This chip is used > in the sEVM, uEVM and som5_evb. Tested on the som5_evb with dhcp > and ping. > > Signed-off-by: Lubomir Popov Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] [PATCH v4 0/19] Allow images to work on sandbox

2013-05-15 Thread Tom Rini
On Tue, May 07, 2013 at 09:11:44AM -0700, Simon Glass wrote: > This series adjusts the image code to work with sandbox and prepares it for > verified boot to come later. > > The primary goal here is to get image loading to work on sandbox, which is > mostly a set of fairly minor changes such as u

Re: [U-Boot] u-boot UBI support

2013-05-15 Thread Tom Rini
On Wed, May 08, 2013 at 05:08:10PM -, Paul B. Henson wrote: > On Tue, May 07, 2013 at 11:01:35PM -0400, Tom Rini wrote: > > > All changes do, but you can just reply to this thread. > > Ok, here it is again, with the tag. > > > >From 532cc340712c0542526be601c3f9f886e7054e5c Mon Sep 17 00:00

Re: [U-Boot] [U-Boot, v3, 01/12] mkimage: Put FIT loading in function and tidy error handling

2013-05-15 Thread Tom Rini
On Wed, May 08, 2013 at 08:05:57AM -, Simon Glass wrote: > The fit_handle_file() function is quite long - split out the part that > loads and checks a FIT into its own function. We will use this > function for storing public keys into a destination FDT file. > > The error handling is currentl

Re: [U-Boot] smc911x: fix the timeout detection

2013-05-15 Thread Tom Rini
On Wed, May 08, 2013 at 09:42:44PM -, Masahiro Yamada wrote: > If timeout is occurred at the while loop above, > the value of 'timeout' is -1, not 0. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] drivers/mmc: move spl_mmc.c to common/spl

2013-05-15 Thread Tom Rini
On Thu, May 09, 2013 at 11:00:36PM -, ying.zh...@freescale.com wrote: > From: Ying Zhang > > The mpc85xx repuires a special layout on the memory device that is > connected to the eSDHC controller interface. But the file spl_mmc.c > didn't handle this specfic case, there needs a special treat

Re: [U-Boot] [systemd-devel] 2013 Plumber's CFP: Fastboot

2013-05-15 Thread Lennart Poettering
On Wed, 15.05.13 11:43, Jeremiah Foster (jeremiah.fos...@pelagicore.com) wrote: > On Tue, May 14, 2013 at 1:51 AM, Mehaffey, John > wrote: > > > Hello All, > > > > Hey John! > > > > I am proposing a microconference on fastboot at the Linux Plumber's > > conference 2013 in New Orleans. The goa

Re: [U-Boot] [PATCH] ARM: arm720t: Add missing CONFIG_SKIP_LOWLEVEL_INIT guard for cpu_init_crit

2013-05-15 Thread Albert ARIBAUD
Hi Marek, On Wed, 15 May 2013 05:36:14 +0200, Marek Vasut wrote: > Dear Axel Lin, > > > cpu_init_crit() can be skipped, but the code is still enabled requiring a > > platform to supply lowlevel_init(). > > > > Signed-off-by: Axel Lin > > Nice CC list, it'd be the best if you CCed the ARM mai

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, Tom, On 15/05/13 14:25, Sricharan R wrote: > On Wednesday 15 May 2013 04:16 PM, Lubomir Popov wrote: >> Hi Sricharan, >> >> On 15/05/13 12:04, Sricharan R wrote: >>> Hi, >>> >>> On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote: Hi Sricharan, On 15/05/13 08:11, Sr

[U-Boot] Samsung patches pending

2013-05-15 Thread Simon Glass
Hi Minkyu, I have collected a list of patches from the mailing list related to exynos and tested them on snow. This is not a complete list - there is still the GPIO patches to come, plus 'EXYNOS: Move files from board/samsung to arch/arm' but these will need to be rebased. I have pushed the patch

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

2013-05-15 Thread Simon Glass
Hi Rajeswari, On Sun, May 12, 2013 at 8:40 PM, Rajeshwari Birje wrote: > Hi Simon, > > Thank you for reviewing the patch set. > You need to apply the following patches for it to compile and work fine. > > EXYNOS: Add API for power reset and exit wakeup > EXYNOS: LDS file move to common > EXYNOS42

Re: [U-Boot] [PATCH 1/4 v2] PMIC: max77686: add pmic_set_voltage api for max77686

2013-05-15 Thread Simon Glass
On Sun, May 12, 2013 at 10:19 PM, Akshay Saraswat wrote: > This patch adds pmic_set_voltage api in max77686. > As the name suggests, this api is required for switching > voltage from one level to another. Unit for the new > voltage value should be microvolts. > > Signed-off-by: Akshay Saraswat A

Re: [U-Boot] [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Stefano Babic
On 15/05/2013 14:39, Albert ARIBAUD wrote: > Hi Stefano, > Hi Albert, hi Alison, >> Agree. I think adding armv{4,5,6,7...} is the most clean solution. > > This is a clean solution, but do we have the problem? IOW, do we have a > substantial quantity of code that is common to a given ISA but nei

Re: [U-Boot] [PATCH 1/2] lcd: add functions to setup up simplefb device tree

2013-05-15 Thread Simon Glass
Hi Stephen, On Fri, May 10, 2013 at 9:35 PM, Stephen Warren wrote: > On 05/08/2013 09:33 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, May 7, 2013 at 10:21 PM, Stephen Warren >> wrote: >>> simple-framebuffer is a new device tree binding that describes a pre- >>> configured frame-buffer me

Re: [U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-05-15 Thread Simon Glass
Hi Minkyu, On Sun, May 12, 2013 at 9:07 PM, Rajeshwari Birje wrote: > Hi Simon, > > I applied the V5 patches on the latest u-boot-samsung tree and need > seem to compile fine. > Yes I will need to rebase them once the MMC patches get in, but will > wait for comments from Minkyu Kang as well > so

[U-Boot] [PATCH v3] Add support for Congatec Conga-QEVAl board

2013-05-15 Thread SARTRE Leo
Add minimal support (only boot from mmc device) for the Congatec Conga-QEVAl Evaluation Carrier Board with conga-Qmx6q (i.MX6 Quad processor) module. Signed-off-by: Leo Sartre --- Changes in v3: -Files where moved to cgtqmx6eval. -MX6Q macro is passed in config as

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Tom Rini
On Wed, May 15, 2013 at 04:10:46PM +0300, Lubomir Popov wrote: > Hi Sricharan, Tom, [snip] > Now on USB in general: u-boot-ti master lags behind mainline master in > respect to > drivers/usb/host/ehci-hcd.c (the other TI-specific files are OK). My old > .../patch/232742 applies to u-boot-ti correc

Re: [U-Boot] [PATCH v3] Add support for Congatec Conga-QEVAl board

2013-05-15 Thread Otavio Salvador
On Wed, May 15, 2013 at 10:36 AM, SARTRE Leo wrote: > Add minimal support (only boot from mmc device) for the Congatec > Conga-QEVAl Evaluation Carrier Board with conga-Qmx6q (i.MX6 Quad > processor) module. > > Signed-off-by: Leo Sartre > --- > > Changes in v3: > -Files where mov

Re: [U-Boot] [PATCH 4/5] arm: ensure u-boot only uses relative relocations

2013-05-15 Thread Benoît Thébaudeau
Hi Albert, On Wednesday, May 15, 2013 11:38:37 AM, Albert ARIBAUD wrote: > Hi again Benoît, > > On Wed, 15 May 2013 09:46:17 +0200, Albert ARIBAUD > wrote: > > > Hi Benoît, > > > > On Wed, 15 May 2013 00:12:24 +0200 (CEST), Benoît Thébaudeau > > wrote: > > > > > Hi Albert, > > > > > > --- a

Re: [U-Boot] [PATCH v2 2/6] arm: mvf600: Add IOMUX support for Vybrid MVF600

2013-05-15 Thread Benoît Thébaudeau
Hi Stefano, Alison, On Wednesday, May 15, 2013 10:16:40 AM, Stefano Babic wrote: > On 14/05/2013 11:51, Alison Wang wrote: > > This patch adds the IOMUX support for Vybrid MVF600 platform. > > > > There is a little difference for IOMUXC module between MVF600 and i.MX > > platform, the muxmode and

[U-Boot] [PATCH 1/1] TPM: STMicroelectronics u-boot driver I2C

2013-05-15 Thread Mathias leblanc
From: Mathias Leblanc * STMicroelectronics version 1.2.0, Copyright (C) 2013 * This is free software, and you are welcome to redistribute it. This is the u-boot driver for TPM chip from ST Microelectronics. If you have a TPM security chip from STMicroelectronics working with an I2C, read the

Re: [U-Boot] [PATCH v3] Add support for Congatec Conga-QEVAl board

2013-05-15 Thread SARTRE Leo
Le Wednesday 15 May 2013 15:46:49, Otavio Salvador a écrit : > On Wed, May 15, 2013 at 10:36 AM, SARTRE Leo > > wrote: > > Add minimal support (only boot from mmc device) for the Congatec > > Conga-QEVAl Evaluation Carrier Board with conga-Qmx6q (i.MX6 Quad > > processor) module. > > > > Signed-

Re: [U-Boot] [PATCH v3] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-05-15 Thread Tom Rini
On Wed, May 15, 2013 at 10:15:28AM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There will need the environment in SPL for reasons other than network > support (in particular, hwconfig contains info for how to set up DDR). > > Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace

Re: [U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-15 Thread Tom Rini
On Wed, May 15, 2013 at 03:42:45PM +0300, Andrii Tseglytskyi wrote: > Hi, > > Tom, Nishant, could you please review this series ? Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [systemd-devel] 2013 Plumber's CFP: Fastboot

2013-05-15 Thread Lucas De Marchi
On Wed, May 15, 2013 at 9:50 AM, Lennart Poettering wrote: > On Wed, 15.05.13 11:43, Jeremiah Foster (jeremiah.fos...@pelagicore.com) > wrote: > >> On Tue, May 14, 2013 at 1:51 AM, Mehaffey, John >> wrote: >> >> > Hello All, >> > >> >> Hey John! >> >> >> > I am proposing a microconference on fas

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

2013-05-15 Thread Simon Glass
Hi Tom, On Tue, May 14, 2013 at 3:28 PM, Tom Rini wrote: > On Tue, May 14, 2013 at 03:22:04PM -0700, Vadim Bendebury wrote: >> On Tue, May 14, 2013 at 3:15 PM, Tom Rini wrote: >> > On Tue, May 14, 2013 at 02:27:32PM -0700, Simon Glass wrote: >> >> Hi Tom, >> >> >> >> On Tue, May 14, 2013 at 2:21

Re: [U-Boot] 答复: [PATCH v2 1/6] arm: mvf600: Add Vybrid MVF600 CPU support

2013-05-15 Thread Stefano Babic
On 15/05/2013 15:55, Wang Huan-B18965 wrote: > > Hi, Stefano, > > Vybrid MVF600 is a dual-core eMPU combining the ARM Cortex A5 and > Cortex M4 cores. > Cortex A5 is a processor core designed by implementing the ARM v7 instruction > set architecture. > So I put the codes in the armv7 d

[U-Boot] [PATCH] mmc and fat bug fixes

2013-05-15 Thread Ruud Commandeur
This patch fixes a number of mmc and fat-related bugs: > Added a check for blkcnt > 0 in mmc_write_blocks (drivers/mmc.c) to prevent a > hangup for further mmc commands. > Solved a checksum issue in fs/fat/fat.c. The mkcksum has const char arguments > with a size specifier, like "const char nam

Re: [U-Boot] [PATCH v2 3/6] arm: mvf600: Add FEC support for Vybrid MVF600

2013-05-15 Thread Benoît Thébaudeau
Hi Stefano, Alison, On Wednesday, May 15, 2013 10:15:35 AM, Stefano Babic wrote: > On 14/05/2013 11:51, Alison Wang wrote: > > This patch adds FEC support for Vybrid MVF600 platform. > > Add code to use RMII for MVF600. > > > > Signed-off-by: Alison Wang > > --- > > Changes in v2: > > - Use comm

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
OK, thanks. On 15/05/13 16:43, Tom Rini wrote: > On Wed, May 15, 2013 at 04:10:46PM +0300, Lubomir Popov wrote: >> Hi Sricharan, Tom, > [snip] >> Now on USB in general: u-boot-ti master lags behind mainline master in >> respect to >> drivers/usb/host/ehci-hcd.c (the other TI-specific files are OK

Re: [U-Boot] [PATCH] ARM: arm720t: Add missing CONFIG_SKIP_LOWLEVEL_INIT guard for cpu_init_crit

2013-05-15 Thread Stephen Warren
On 05/14/2013 09:04 PM, Axel Lin wrote: > cpu_init_crit() can be skipped, but the code is still enabled requiring a > platform to supply lowlevel_init(). > diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S > +#ifndef CONFIG_SKIP_LOWLEVEL_INIT > cpu_init_crit: > > #if !d

[U-Boot] [PATCH] OMAP5: Enable access to auxclk registers

2013-05-15 Thread Lubomir Popov
auxclk0 and auxclk1 are utilized on some OMAP5 boards. Define the infrastructure needed for accessing them without using magic numbers. Also remove unrelated TPS62361 defines from clocks.h Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/prcm-regs.c |8 arch/arm/includ

[U-Boot] [PATCH V2] OMAP5: Power: Add more functionality to Palmas driver

2013-05-15 Thread Lubomir Popov
Add some useful functions, and the corresponding definitions. Signed-off-by: Lubomir Popov --- V2 aligns to changed PMIC name (and file names accordingly) from twl6035 to Palmas and is based on current u-boot-ti master. drivers/power/palmas.c | 108 ++---

Re: [U-Boot] [PATCH 4/5] arm: ensure u-boot only uses relative relocations

2013-05-15 Thread Albert ARIBAUD
Hi Benoît, On Wed, 15 May 2013 15:49:10 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Wednesday, May 15, 2013 11:38:37 AM, Albert ARIBAUD wrote: > > Hi again Benoît, > > > > On Wed, 15 May 2013 09:46:17 +0200, Albert ARIBAUD > > wrote: > > > > > Hi Benoît, > > > > > > On Wed, 1

Re: [U-Boot] [systemd-devel] 2013 Plumber's CFP: Fastboot

2013-05-15 Thread Mehaffey, John
> From: Lucas De Marchi [lucas.de.mar...@gmail.com] > Sent: Wednesday, May 15, 2013 7:04 AM > > On Wed, May 15, 2013 at 9:50 AM, Lennart Poettering > wrote: > > On Wed, 15.05.13 11:43, Jeremiah Foster (jeremiah.fos...@pelagicore.com) > > wrote: > > > >> On Tue, May 14, 2013 at 1:51 AM, Mehaffey

Re: [U-Boot] ARM v7: Flush icache when executing a program with go

2013-05-15 Thread Albert ARIBAUD
Hi Henrik, On Tue, 14 May 2013 16:16:02 +0200, Henrik Nordström wrote: > Tom Rini wanted me to post this again. There is no change from previous > version. > > I do agree with Wolfgang Denk that this really SHOULD NOT be arch > specific. The only reason why I made this ARMv7 specific is because

Re: [U-Boot] mx23-olinuxino: occasional memory errors

2013-05-15 Thread Otavio Salvador
On Wed, May 15, 2013 at 6:49 AM, Kiril Zyapkov wrote: ... > The mini board, despite having R17 removed, shows occasional memory > errors, here are some: ... What about including R17 and giving it a go? -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br h

Re: [U-Boot] [PATCH] mmc and fat bug fixes

2013-05-15 Thread Benoît Thébaudeau
Hi Ruud, On Wednesday, May 15, 2013 4:23:51 PM, Ruud Commandeur wrote: > This patch fixes a number of mmc and fat-related bugs: There should be only one logical change per patch. > > > Added a check for blkcnt > 0 in mmc_write_blocks (drivers/mmc.c) to prevent > > a hangup for further mmc comma

[U-Boot] [PATCH RFC] OMAP5: uEVM: Enable USB EHCI functionality (preliminary, not tested)

2013-05-15 Thread Lubomir Popov
Prerequisites: appropriate patches to the USB EHCI and Eth drivers, and to the OMAP5 clock register definitions. Signed-off-by: Lubomir Popov --- Assumption is that this code shall run on TI 750-2628-21X hardware (also known as OMAP5432 ES2.0 PandaBoard5) - the GPIOs that I used used for HSIC re

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-15 Thread Vadim Bendebury
On Tue, Apr 30, 2013 at 2:14 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/30/2013 04:49 PM, Doug Anderson wrote: >> Tom, >> >> On Tue, Apr 30, 2013 at 1:35 PM, Tom Rini wrote: >>> And I guess having this knowledge correct for the kernel is >>> useful in other co

Re: [U-Boot] [PATCH RFC] OMAP5: uEVM: Enable USB EHCI functionality (preliminary, not tested)

2013-05-15 Thread Nishanth Menon
On 18:55-20130515, Lubomir Popov wrote: > Prerequisites: appropriate patches to the USB EHCI and Eth > drivers, and to the OMAP5 clock register definitions. proper commit message is needed before this goes from RFC to patch. > > Signed-off-by: Lubomir Popov > --- > Assumption

[U-Boot] [PATCH v4 1/9] at91: Correct CONFIG_AUTOBOOT_PROMPT definition for pm9263

2013-05-15 Thread Simon Glass
This is not currently used, since autoboot is not enabled for this board, but the string is missing a parameter. Add it. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None include/configs/pm9263.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/c

[U-Boot] [PATCH v4 2/9] net: Add prototype for update_tftp

2013-05-15 Thread Simon Glass
This function should be declared in net.h. Signed-off-by: Simon Glass --- Changes in v4: - Removed autoconf() code for now Changes in v3: None common/cmd_fitupd.c | 3 +-- common/main.c | 4 include/net.h | 3 +++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/

[U-Boot] [PATCH v4 3/9] main: Separate out the two abortboot() functions

2013-05-15 Thread Simon Glass
There are two implementations of abortboot(). Turn these into two separate functions, and create a single abortboot() which calls either one or the other. Also it seems that nothing uses abortboot() outside main, so make it static. At this point there is no further use of CONFIG_MENU in main.c.

[U-Boot] [PATCH v4 5/9] main: Use get/setenv_ulong()

2013-05-15 Thread Simon Glass
These functions are now available, so use them to avoid extra code here. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- Changes in v4: None Changes in v3: None common/main.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/common/main.c b/common/main.c i

[U-Boot] [PATCH v4 8/9] main: Add debug_parser() to avoid #ifdefs

2013-05-15 Thread Simon Glass
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- Changes in v4: None Changes in v3: None common/main.c | 58 +++--- 1 file changed, 23

[U-Boot] [PATCH v4 6/9] main: Fix typos and checkpatch warnings in command line reading

2013-05-15 Thread Simon Glass
There are a few over-long lines and other checkpatch problems in this area of the code. Prepare the ground for the next patch by tidying these up. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- Changes in v4: None Changes in v3: - Separate out checkpatch fixes in command line readin

[U-Boot] [PATCH v4 9/9] main: Add debug_bootkeys to avoid #ifdefs

2013-05-15 Thread Simon Glass
Define a simple debug condition at the top of the file, to avoid using lots of #ifdefs later on. Signed-off-by: Simon Glass Reviewed-by: Joe Hershberger --- Changes in v4: None Changes in v3: None common/main.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) d

[U-Boot] [PATCH v4 7/9] main: Correct header order

2013-05-15 Thread Simon Glass
The headers are a bit out of order, so fix them. Signed-off-by: Simon Glass --- Changes in v4: - Rebase without autoconf changes Changes in v3: None common/main.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/common/main.c b/common/main.c index 1adfea

[U-Boot] [PATCH v4 4/9] main: Move boot_delay code into its own function

2013-05-15 Thread Simon Glass
Move this code into its own function, since it clutters up main_loop(). Signed-off-by: Simon Glass --- Changes in v4: - Make change without using autoconf Changes in v3: None common/main.c | 137 ++ 1 file changed, 70 insertions(+), 67 de

Re: [U-Boot] ARM v7: Flush icache when executing a program with go

2013-05-15 Thread Henrik Nordström
ons 2013-05-15 klockan 17:11 +0200 skrev Albert ARIBAUD: > What is the rationale behind putting it in arch/ rather than in common/ > by adding this to the existing common/cmd_boot.c file under ARMv7 > conditionals? Only because of what I said earlier: blindly calling invalidate_icache_all() from

Re: [U-Boot] [PATCH v4 2/9] net: Add prototype for update_tftp

2013-05-15 Thread Joe Hershberger
On Wed, May 15, 2013 at 11:23 AM, Simon Glass wrote: > This function should be declared in net.h. > > Signed-off-by: Simon Glass > --- > Changes in v4: > - Removed autoconf() code for now > > Changes in v3: None > > common/cmd_fitupd.c | 3 +-- > common/main.c | 4 > include/net.h

  1   2   >