Re: [U-Boot] u-boot build error [from v2013.01 onwards]

2013-01-26 Thread Jagan Teki
Hi Vikram, On Sun, Jan 27, 2013 at 9:24 AM, Vikram Narayanan wrote: > On 1/27/2013 7:10 AM, Jagan Teki wrote: >> This error occurred for all boards in the u-boot, I have used >> arm-none-linux-gnueabi- xtool for versatilepb board. >> I saw this issue specially from 2013.01 on-wards. > > Can you c

Re: [U-Boot] Possible MMC subsystem bug

2013-01-26 Thread Fleming Andy-AFLEMING
I'll need to double-check the spec, but I believe the BUSY bit has the opposite meaning of common sense. On Jan 26, 2013, at 22:32, "Marek Vasut" wrote: > Hi Andy, > > I was going through the MMC code, trying to get Phison 8007 SD-to-NAND bridge > working (don't ask please, this chip's sole e

Re: [U-Boot] Possible MMC subsystem bug

2013-01-26 Thread Marek Vasut
Dear Fleming Andy-AFLEMING, > I'll need to double-check the spec, but I believe the BUSY bit has the > opposite meaning of common sense. I tihnk my brain is maybe just giving up really ... I think the code is right after some quick poking through the spec. > On Jan 26, 2013, at 22:32, "Marek Va

[U-Boot] Possible MMC subsystem bug

2013-01-26 Thread Marek Vasut
Hi Andy, I was going through the MMC code, trying to get Phison 8007 SD-to-NAND bridge working (don't ask please, this chip's sole existence defies any logic). So, I found the following code and I was wondering if the following patch is not needed. Maybe my brain is just giving up though. Give

Re: [U-Boot] u-boot build error [from v2013.01 onwards]

2013-01-26 Thread Vikram Narayanan
On 1/27/2013 7:10 AM, Jagan Teki wrote: > This error occurred for all boards in the u-boot, I have used > arm-none-linux-gnueabi- xtool for versatilepb board. > I saw this issue specially from 2013.01 on-wards. Can you check your host setup once? Below is the output from my setup. I don't see any

Re: [U-Boot] u-boot build error [from v2013.01 onwards]

2013-01-26 Thread Jagan Teki
Hi Albert On Sat, Jan 26, 2013 at 9:40 PM, Albert ARIBAUD wrote: > Hi Jagan, > > On Sat, 26 Jan 2013 18:34:56 +0530, Jagan Teki > wrote: > >> Hi, >> >> I am getting below error while configuring any board in the u-boot. >> >> bash> make versatilepb_config >> Makefile:597: *** missing `endif'. S

Re: [U-Boot] [PATCH 2/3] mx23: Enable bit 24 of HW_DRAM_CTL08 as did in imx-bootlets

2013-01-26 Thread Marek Vasut
Dear Otavio Salvador, What does "bit 24" mean and what impact does it have? Commit message is missing. Also, I don't see patch 3/3 > Signed-off-by: Otavio Salvador > --- > arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/

Re: [U-Boot] [PATCH 1/3] mxs: Use SoC agnostic configuration option for power switch setting

2013-01-26 Thread Marek Vasut
Dear Otavio Salvador, > The power switch option is compatible with i.MX23 and i.MX28 so the > configration option needs to reflect it. We choose > 'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name. The Subject should be "Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT" or some

Re: [U-Boot] [PATCH V5 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-01-26 Thread Simon Glass
Hi Amar, On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch adds FDT and non-FDT support for I2C, and initialise > the I2C channels. > > Signed-off-by: Amar > --- > Changes since V4: > New patch. > > drivers/i2c/s3c24x0_i2c.c | 13 +++-- > 1 file changed, 11 insertions(+

Re: [U-Boot] [PATCH V5 09/10] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-01-26 Thread Simon Glass
Hi Amar, On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch adds commands to access(open/close) and resize boot partitions on > EMMC. Acked-by: Simon Glass (Minor nit below) > > Signed-off-by: Amar > --- > Changes since V1: > 1)Combined the common piece of code between 'open

Re: [U-Boot] [PATCH V5 08/10] SMDK5250: Enable EMMC booting

2013-01-26 Thread Simon Glass
On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch adds support for EMMC booting on SMDK5250. > > Signed-off-by: Amar Acked-by: Simon Glass > --- > Changes since V1: > 1)Updated spl_boot.c file to maintain irom pointer table > instead of using the #define values defined

Re: [U-Boot] [PATCH V5 07/10] MMC: APIs to support resize of EMMC boot partition

2013-01-26 Thread Simon Glass
Hi Amar, On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch adds APIs to access(open / close) and to resize boot partiton of > EMMC. > > Signed-off-by: Amar > --- > Changes since V1: > New patch. > > Changes since V2: > 1)Updation of commit message and resubmition of pro

Re: [U-Boot] [PATCH V5 06/10] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-01-26 Thread Simon Glass
Hi Amar, On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch enables and initialises DWMMC for SMDK5250. > Supports both FDT and non-FDT. This patch creates a new file > 'exynos5-dt.c' meant for FDT support. > exynos5-dt.c: This file shall contain all code which supports FDT. >

Re: [U-Boot] [PATCH V5 05/10] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-01-26 Thread Simon Glass
On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch initialises the local variable 'shift' to zero. > The uninitialised local variable 'shift' had garbage value and was > resulting in unwnated results in the functions exynos5_get_mmc_clk() > and exynos4_get_mmc_clk(). > > Signed-off-by: Ama

Re: [U-Boot] [PATCH V5 04/10] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-01-26 Thread Simon Glass
Hi, On Tue, Jan 22, 2013 at 12:43 AM, Amar wrote: > This patch adds FDT support for DWMMC, by reading the DWMMC node data > from the device tree and initialising DWMMC channels as per data > obtained from the node. > > Signed-off-by: Vivek Gautam > Signed-off-by: Amar Acked-by: Simon Glass S

Re: [U-Boot] [PATCH 3/3 V2] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-01-26 Thread Simon Glass
Hi Rajeshwari, On Wed, Jan 23, 2013 at 2:48 AM, Rajeshwari Shinde wrote: > This patch enables GPIO Command for EXYNOS5. > Function has been added to asm/gpio.h to decode the > input gpio name to gpio number. > example: gpio set gpa00 > GPIO_INPUT in cmd_gpio.c has been modified to > GPIO_DIRECTIO

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

2013-01-26 Thread Simon Glass
Hi, On Wed, Jan 23, 2013 at 2:48 AM, Rajeshwari Shinde wrote: > This patch adds support for gpio pin numbering support on EXYNOS5 > pinmux. > > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - none. > arch/arm/cpu/armv7/exynos/pinmux.c

Re: [U-Boot] [PATCH 1/3 V2] S5P: GPIO: Add generic pin numbering API's

2013-01-26 Thread Simon Glass
Hi Rajeshwari, On Wed, Jan 23, 2013 at 2:48 AM, Rajeshwari Shinde wrote: > This patch adds API's to set config, drive and pull factor in > gpio pin mumbering feature. nit: numbering > > Signed-off-by: Rajeshawari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - none. > drive

Re: [U-Boot] [PATCH 9/9 v6] EXYNOS5: FDT: Add a H/W-trip member to TMU node

2013-01-26 Thread Simon Glass
Hi Akshay, On Thu, Jan 24, 2013 at 4:24 AM, Akshay Saraswat wrote: > This adds a member to TMU FDT node for providing hardware > tripping temperature threshold. > > Signed-off-by: Akshay Saraswat > --- > Changes since v5: > - New patch. > > board/samsung/dts/exynos5250-smdk5250.dts |

Re: [U-Boot] [PATCH 8/9 v6] EXYNOS5: TMU: Add hardware tripping

2013-01-26 Thread Simon Glass
On Thu, Jan 24, 2013 at 4:24 AM, Akshay Saraswat wrote: > This adds hardware tripping at 110 degrees celsius which must enable > forced system shutdown in case TMU fails to poweroff. > > Signed-off-by: Akshay Saraswat Acked-by: Simon Glass ___ U-Boot

[U-Boot] [PATCH 3/3] mx23evk: Adjust DRAM control register to use full 128MB of RAM

2013-01-26 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- board/freescale/mx23evk/spl_boot.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/freescale/mx23evk/spl_boot.c b/board/freescale/mx23evk/spl_boot.c index 6007433..b6f4e7e 100644 --- a/board/freescale/mx23evk/spl_boot.c +++ b/board/freesca

[U-Boot] [PATCH 2/3] mx23: Enable bit 24 of HW_DRAM_CTL08 as did in imx-bootlets

2013-01-26 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c index 836e636..a9efd87 100644 --- a/arch/arm/cpu/arm926ejs/mxs/sp

[U-Boot] [PATCH 1/3] mxs: Use SoC agnostic configuration option for power switch setting

2013-01-26 Thread Otavio Salvador
The power switch option is compatible with i.MX23 and i.MX28 so the configration option needs to reflect it. We choose 'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name. Signed-off-by: Otavio Salvador --- arch/arm/cpu/arm926ejs/mxs/mxs_init.h | 2 +- arch/arm/cpu/arm926ejs/mxs/spl_power_in

Re: [U-Boot] [PATCH] mxs: mxsboot: Add support for SD card generation for i.MX23

2013-01-26 Thread Marek Vasut
Dear Otavio Salvador, > On Sat, Jan 26, 2013 at 3:03 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > > Putting Stefano on Cc, why is he omitted? > > > >> On Fri, Jan 25, 2013 at 10:40 AM, Marek Vasut wrote: > >> >> On Thu, Jan 24, 2013 at 4:31 PM, Otavio Salvador > >> >> > >> >> wrote

Re: [U-Boot] [PATCH] mxs: mxsboot: Add support for SD card generation for i.MX23

2013-01-26 Thread Otavio Salvador
On Sat, Jan 26, 2013 at 3:03 PM, Marek Vasut wrote: > Dear Otavio Salvador, > > Putting Stefano on Cc, why is he omitted? > >> On Fri, Jan 25, 2013 at 10:40 AM, Marek Vasut wrote: >> >> On Thu, Jan 24, 2013 at 4:31 PM, Otavio Salvador >> >> >> >> wrote: >> >> > I prefer to have this as is and sh

Re: [U-Boot] [PATCH 1/1 v3] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-26 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201301260417.54768.ma...@denx.de> you wrote: > > > Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if > > > CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in > > > configuration file and when tstc() function

Re: [U-Boot] [PATCH] mxs: mxsboot: Add support for SD card generation for i.MX23

2013-01-26 Thread Marek Vasut
Dear Otavio Salvador, Putting Stefano on Cc, why is he omitted? > On Fri, Jan 25, 2013 at 10:40 AM, Marek Vasut wrote: > >> On Thu, Jan 24, 2013 at 4:31 PM, Otavio Salvador > >> > >> wrote: > >> > I prefer to have this as is and share documentation with mx28. The > >> > NAND ought to be done p

Re: [U-Boot] [PATCH 02/10] lcd, tegra: remove unused cursor functions

2013-01-26 Thread Jeroen Hofstee
Hello Tom, On 01/25/2013 10:18 PM, Tom Warren wrote: Jeroen, How will this all go in? Do you expect Anatolij to take it in via the main repo (u-boot.git/master)? I am not sure I understand exactly what you mean, but yes there are some conflicts awaiting. 2 pending drivers and another lcd clea

Re: [U-Boot] u-boot build error [from v2013.01 onwards]

2013-01-26 Thread Albert ARIBAUD
Hi Jagan, On Sat, 26 Jan 2013 18:34:56 +0530, Jagan Teki wrote: > Hi, > > I am getting below error while configuring any board in the u-boot. > > bash> make versatilepb_config > Makefile:597: *** missing `endif'. Stop. > > Host setup: > > Processor: x86_64 > OS: Red Hat Ente

Re: [U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Albert ARIBAUD
Hi Robert, On Sat, 26 Jan 2013 07:37:45 -0500 (EST), "Robert P. J. Day" wrote: > On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > > > Hi Robert, > > > > On Sat, 26 Jan 2013 07:11:18 -0500 (EST), "Robert P. J. Day" > > wrote: > > > > > On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > > > > > > > Hi Rob

Re: [U-Boot] Want to study U-Boot code

2013-01-26 Thread Wolfgang Denk
Dear Javier Martinez Canillas, In message you wrote: > > There is no documentation that can replace the source code itself, remember > that a good documentation shouldn't say how thinks are made (for that > you have the code) > but why things were made in a certain way and the design decisions b

Re: [U-Boot] [PATCH] mxs: mxsboot: Add support for SD card generation for i.MX23

2013-01-26 Thread Otavio Salvador
On Fri, Jan 25, 2013 at 10:40 AM, Marek Vasut wrote: >> On Thu, Jan 24, 2013 at 4:31 PM, Otavio Salvador >> wrote: >> > I prefer to have this as is and share documentation with mx28. The >> > NAND ought to be done providing same interface so one doc for it all. >> > I think change it in next vers

Re: [U-Boot] [PATCH] net: nfs: add dynamic wait period

2013-01-26 Thread Matthias Brugger
2012/12/11 Matthias Brugger : > This patch tackles the time out problem which leads to break the > boot process, when loading file over nfs. The patch does two things. > > First of all, we just ignore messages that arrive with a rpc_id smaller > then the client id. We just interpret this messages a

Re: [U-Boot] Want to study U-Boot code

2013-01-26 Thread Javier Martinez Canillas
On Sat, Jan 26, 2013 at 2:07 PM, Woody Wu wrote: > 在 2013-1-26 AM5:27,"Robert P. J. Day" 写道: >> >> On Fri, 25 Jan 2013, Wolfgang Denk wrote: >> >> > Dear Woody Wu, >> > >> > In message c5y...@mail.gmail.com> you wrote: >> > > >> > > I want to firstly get a picture to basically understand how u-bo

Re: [U-Boot] [PATCH 1/1] OMAP3: igep00x0: fix a build warning on IGEP boards

2013-01-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/26/2013 07:18 AM, Javier Martinez Canillas wrote: > commit b689cd5 OMAP3: use a single board file for IGEP devices > > introduced the following build warning: > > igep00x0.h:168:24: warning: backslash-newline at end of file > [enabled by defau

Re: [U-Boot] [PATCH 2/5] lcd: add option for board specific splash screen preparation

2013-01-26 Thread Jeroen Hofstee
Hello Igor, On 01/25/2013 07:45 AM, Igor Grinberg wrote: On 01/25/13 00:34, Jeroen Hofstee wrote: Hello Igor, On 01/24/2013 09:35 AM, Igor Grinberg wrote: On 01/24/13 00:13, Jeroen Hofstee wrote: Hello Nikita, On 01/23/2013 09:31 AM, Nikita Kiryanov wrote: On 01/21/2013 09:14 PM, Jeroen Ho

Re: [U-Boot] [PATCH 1/1 v3] console: USB: KBD: Fix incorrect autoboot timeout

2013-01-26 Thread Wolfgang Denk
Dear Marek Vasut, In message <201301260417.54768.ma...@denx.de> you wrote: > > > Autoboot timeout defined by CONFIG_BOOTDELAY will not be accurate if > > CONFIG_USB_KEYBOARD and CONFIG_SYS_USB_EVENT_POLL are defined in > > configuration file and when tstc() function for checking key pressed > > t

Re: [U-Boot] Want to study U-Boot code

2013-01-26 Thread Woody Wu
在 2013-1-26 AM5:27,"Robert P. J. Day" 写道: > > On Fri, 25 Jan 2013, Wolfgang Denk wrote: > > > Dear Woody Wu, > > > > In message you wrote: > > > > > > I want to firstly get a picture to basically understand how u-boot > > > work, especially on an ARM9 based board. I think not everyone who > > > wa

[U-Boot] u-boot build error [from v2013.01 onwards]

2013-01-26 Thread Jagan Teki
Hi, I am getting below error while configuring any board in the u-boot. bash> make versatilepb_config Makefile:597: *** missing `endif'. Stop. Host setup: Processor: x86_64 OS: Red Hat Enterprise Linux Client release 5.6 u-boot version: v2013.01 Request for any help. Thanks,

[U-Boot] [PATCH v6 2/2] board: add support for amcore board

2013-01-26 Thread Angelo Dureghello
Add support for Sysam AMCORE mcf5307 (coldfire) based board. Signed-off-by: Angelo Dureghello Cc: Jason Jin --- Changes for v2: - None Changes for v3: - Fix code format issues Changes for v4: - Add MAINTAINERS file entry - Remove all unnecessary blank lines - Add get_ram_size in sdram init - R

Re: [U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Robert P. J. Day
On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > Hi Robert, > > On Sat, 26 Jan 2013 07:11:18 -0500 (EST), "Robert P. J. Day" > wrote: > > > On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > > > > > Hi Robert, > > > > > > On Sat, 26 Jan 2013 06:38:51 -0500 (EST), "Robert P. J. Day" > > > wrote: > > > > ..

Re: [U-Boot] [PATCH] cmd_usb.c: Make usb help info consistent for "start".

2013-01-26 Thread Robert P. J. Day
On Sat, 26 Jan 2013, Robert P. J. Day wrote: > > Make USB help info for "start" subcommand consistent with other USB > subcommands. ACK, never mind, i just remembered that the first character string of the long help automatically gets the command name prepended. apologies. rday -- =

Re: [U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Albert ARIBAUD
Hi Robert, On Sat, 26 Jan 2013 07:11:18 -0500 (EST), "Robert P. J. Day" wrote: > On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > > > Hi Robert, > > > > On Sat, 26 Jan 2013 06:38:51 -0500 (EST), "Robert P. J. Day" > > wrote: > > ... snip ... > > > > and second, i'm not sure how to read this ou

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

2013-01-26 Thread Javier Martinez Canillas
On Sat, Jan 26, 2013 at 11:55 AM, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 25 Jan 2013 17:13:43 -0500, Tom Rini wrote: > >> Hello, >> >> The following changes since commit 7cb70a34b976e68f6348ea0718780e8f38901482: >> >> fdt: fix dts preprocessor options (2013-01-17 09:07:59 -0700) >> >> are

[U-Boot] [PATCH 1/1] OMAP3: igep00x0: fix a build warning on IGEP boards

2013-01-26 Thread Javier Martinez Canillas
commit b689cd5 OMAP3: use a single board file for IGEP devices introduced the following build warning: igep00x0.h:168:24: warning: backslash-newline at end of file [enabled by default] This patch fixes the issue. Signed-off-by: Javier Martinez Canillas --- board/isee/igep00x0/igep00x0.h |

Re: [U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Robert P. J. Day
On Sat, 26 Jan 2013, Albert ARIBAUD wrote: > Hi Robert, > > On Sat, 26 Jan 2013 06:38:51 -0500 (EST), "Robert P. J. Day" > wrote: ... snip ... > > and second, i'm not sure how to read this out of cmd_pci.c: > > > > = start > > > > #ifdef CONFIG_SYS_LONGHELP > > static char pci_help_text[]

Re: [U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Albert ARIBAUD
Hi Robert, On Sat, 26 Jan 2013 06:38:51 -0500 (EST), "Robert P. J. Day" wrote: > > first, is there any need for so many header files to define the > macro CONFIG_SYS_LONGHELP individually? a quick count of how many > u-boot source files do just that: > > $ grep -r "define.*CONFIG_SYS_LONGHE

[U-Boot] a couple questions about CONFIG_SYS_LONGHELP

2013-01-26 Thread Robert P. J. Day
first, is there any need for so many header files to define the macro CONFIG_SYS_LONGHELP individually? a quick count of how many u-boot source files do just that: $ grep -r "define.*CONFIG_SYS_LONGHELP" * | wc -l 479 $ is it really necessary for almost 500 source files to each define that ma

[U-Boot] [PATCH] cmd_usb.c: Make usb help info consistent for "start".

2013-01-26 Thread Robert P. J. Day
Make USB help info for "start" subcommand consistent with other USB subcommands. Signed-off-by: Robert P. J. Day --- unless there's something different about the "start" subcommand, this would seem to make sense for consistency. diff --git a/common/cmd_usb.c b/common/cmd_usb.c index dacdc2d

Re: [U-Boot] [PATCH] tegra: fdt: add back missing host1x node

2013-01-26 Thread Albert ARIBAUD
Hi Allen, On Fri, 25 Jan 2013 16:51:09 -0800, Allen Martin wrote: > Hi Albert, would it be possible for you to apply this directly to your > u-boot-arm repository? It fixes a regression introduced by my > previous patch: > > b7723f3 tegra: fdt: sort dts files > > So I wanted to make sure it g

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

2013-01-26 Thread Albert ARIBAUD
Hi Tom, On Fri, 25 Jan 2013 17:13:43 -0500, Tom Rini wrote: > Hello, > > The following changes since commit 7cb70a34b976e68f6348ea0718780e8f38901482: > > fdt: fix dts preprocessor options (2013-01-17 09:07:59 -0700) > > are available in the git repository at: > > git://git.denx.de/u-boot