Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Stefano Babic
Hi Benoit, Eric, Otavio, On 01/10/2013 21:50, Benoît Thébaudeau wrote: >> >> You probably wouldn't just set SION on all pins, right? I suspect >> that there'd be some ramification in terms of power consumption if >> nothing else. > > Right. Well, instead of adding SION to the pin definition head

Re: [U-Boot] [RFD] OMAP5: Working HYP mode

2013-10-01 Thread Alexander Tarasikov
On Wed, Sep 25, 2013 at 11:57 AM, Andre Przywara wrote: > > Alexander, > > have you seen my series? Hi and sorry for the late reply. Yes, seen that. > > http://lists.denx.de/pipermail/u-boot/2013-September/163019.html > [U-Boot] [PATCH v5 0/8] ARMv7: Add HYP mode switching support > > I am about

[U-Boot] imximage on the MX50

2013-10-01 Thread Andre Renaud
Hi, I'm trying to port u-boot 2013.10-rc2 to the i.MX50 (which is very similar to the i.MX53). However I'm not having much luck with the imximage, and have so far not managed to make the unit run stand-alone. Specifically, the dcd_ptr in the v2 imx header points to an address in DDR, however I wo

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年10月1日 星期二 > 收件人: FengHua > 抄送: "Simon Glass" , trini , u-boot > > 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > zero gd_t > > On Tue, 2013-10-01 at 19:05 +0800, FengHua wrote: > > > > > > > -原始邮件- >

Re: [U-Boot] [PATCH v2 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-10-01 Thread Masahiro Yamada
FYI: In order to avoid git-pull conflict, this series uses http://patchwork.ozlabs.org/patch/268098/ http://patchwork.ozlabs.org/patch/268097/ http://patchwork.ozlabs.org/patch/268099/ as prerequisites. Those three were accepted by Albert and now stay in u-boot-arm/master, but not exist in

Re: [U-Boot] [PATCH v7 09/11] arm: add customized boot command for Faraday Images

2013-10-01 Thread Kuo-Jung Su
2013/9/14 Albert ARIBAUD : > Hi Kuo-Jung, > > On Mon, 29 Jul 2013 13:51:51 +0800, Kuo-Jung Su > wrote: > >> + * At the time of writting, none of Faraday NAND & SPI controllers >> + * supports XIP (eXecute In Place). So the Faraday A360/A369 SoC has >> + * to implement a 1st level bootstrap code st

Re: [U-Boot] U-Boot DM2 status

2013-10-01 Thread Simon Glass
+U-Boot Hi, I plan to send out a new driver-model series with mostly small changes in the next few weeks. It will not remove any existing support. I have no plan to move over all subsystems myself. I did implement GPIO just as an example, but have not done PMIC. The changes to support multiple

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Eric Nelson
Hi Benoît, On 10/01/2013 12:50 PM, Benoît Thébaudeau wrote: On Tuesday, October 1, 2013 6:17:06 PM, Eric Nelson wrote: On 10/01/2013 09:10 AM, Stefano Babic wrote: On 01/10/2013 17:56, Eric Nelson wrote: On 10/01/2013 07:49 AM, Stefano Babic wrote: On 01/10/2013 16:26, Eric Nelson wrote:

[U-Boot] [PATCH] RFC: Adjustments to dumpimage for Guilherme

2013-10-01 Thread Simon Glass
Here are some suggested changes after I tried using your tool. It's very useful so I hope it can be merged. 1. Truncate the output file 2. Support uImage files that hold a single image 3. Allow specifying an output filename Signed-off-by: Simon Glass --- tools/default_image.c | 17 +

[U-Boot] Buildman changes for release

2013-10-01 Thread Simon Glass
Hi Tom, I picked up these two - a fix plus a feature that came in after the merge window for the previous release but should go into this one. The following changes since commit 6b40852da5c8dd710f9d61204a3c6a3c9d22: Sound: MAX98095: Support I2S0 channel (2013-09-24 09:10:33 -0400) are av

Re: [U-Boot] Dual boot Images in Flash

2013-10-01 Thread Wolfgang Denk
Dear pshambhu, In message <1380633558849-164443.p...@n7.nabble.com> you wrote: > > Can i have a small uboot_stub in the reset entry table, which will boot > initially, and while booting it should select the default booting location > (u-boot1).But if the default booting location fails to boot up t

Re: [U-Boot] [PATCH 6/6] config: SMDK5420: Enable S2MPS1111111111111111111111 pmic

2013-10-01 Thread Leela Krishna Amudala
Hello, I'll change the typo error in the patch header in next version. /Leela krishna On Oct 1, 2013 8:11 PM, "Leela Krishna Amudala" wrote: > > configure S2MPS11 pmic on SMDK5420 > > Signed-off-by: Leela Krishna Amudala > --- > include/configs/smdk5420.h |4 > 1 file changed, 4 inser

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-10-01 Thread Scott Wood
On Sat, 2013-09-28 at 06:24 +, Gupta, Pekon wrote: > > From: Scott Wood [mailto:scottw...@freescale.com] > > > > On Fri, 2013-09-27 at 04:18 +, Gupta, Pekon wrote: > > > Apart from SPL, CONFIG_SYS_NAND_DEVICE_WIDTH also be useful for > > > (1) drivers which do not use CONFIG_SYS_NAND_ONFI

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Fabio Estevam
On Tue, Oct 1, 2013 at 5:21 PM, Benoît Thébaudeau wrote: > SION is not GPIO-specific, so no. Eric is right: SION may slightly increase > the > current consumption if it is set for too many pins, so it does not make sense > to > set it everywhere, and it may be needed for any pin, not just for G

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Benoît Thébaudeau
Hi Otavio, On Tuesday, October 1, 2013 10:01:57 PM, Otavio Salvador wrote: > Subject: Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins > > On Tue, Oct 1, 2013 at 4:50 PM, Benoît Thébaudeau > wrote: > > Hi Eric, > > > > On Tuesday, October 1, 2013 6:17:06 PM, Eric Nelson wrot

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Otavio Salvador
On Tue, Oct 1, 2013 at 4:50 PM, Benoît Thébaudeau wrote: > Hi Eric, > > On Tuesday, October 1, 2013 6:17:06 PM, Eric Nelson wrote: >> Hi Stefano, >> >> On 10/01/2013 09:10 AM, Stefano Babic wrote: >> > Hi Eric, >> > >> > On 01/10/2013 17:56, Eric Nelson wrote: >> >> Hi Stefano, >> >> >> >> On 10/0

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Benoît Thébaudeau
Hi Eric, On Tuesday, October 1, 2013 6:17:06 PM, Eric Nelson wrote: > Hi Stefano, > > On 10/01/2013 09:10 AM, Stefano Babic wrote: > > Hi Eric, > > > > On 01/10/2013 17:56, Eric Nelson wrote: > >> Hi Stefano, > >> > >> On 10/01/2013 07:49 AM, Stefano Babic wrote: > >>> Hi Eric, > >>> > >>> On 01/

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-01 Thread Scott Wood
On Tue, 2013-10-01 at 14:38 +0300, Claudiu Manoil wrote: > > On 10/1/2013 2:22 AM, Scott Wood wrote: > > On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: > >> +static RTXBD rtx __aligned(8); > >> +#define RXBD(i) rtx.rxbd[i] > >> +#define TXBD(i) rtx.txbd[i] > >> +#define GET_BD_STAT(T, i)

Re: [U-Boot] [PATCH v4] socfpga: Adding Freeze Controller driver

2013-10-01 Thread Chin Liang See
Hi guys, Any further comments on this? Thanks Chin Liang On Tue, 2013-09-24 at 09:49 -0500, Chin Liang See wrote: > Adding Freeze Controller driver. All HPS IOs need to be > in freeze state during pin mux or IO buffer configuration. > It is to avoid any glitch which might happen > during the co

[U-Boot] [PATCH 1/2] mmc: Fix calculation of capacity for hc cards

2013-10-01 Thread Oliver Metz
When using a high capacity card with a density less than 2 GB a wrong size is calculated. According to JEDEC 4.41 there is no differentiation for C_SIZE register between low and high capacity cards. Use ext_csd sector count to calculate capacity instead. Signed-off-by: Oliver Metz --- driver

[U-Boot] [PATCH 2/2] mmc: Fix erase_grp_size for partitioned card

2013-10-01 Thread Oliver Metz
EXT_CSD_ERASE_GROUP_DEF is lost every time after a reset or power off. Set it if device has enhanced partitions. Signed-off-by: Oliver Metz --- drivers/mmc/mmc.c | 17 + include/mmc.h | 2 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/mmc.c

[U-Boot] [PATCH 0/2] mmc: Fix capacity calculation and erase_group_size

2013-10-01 Thread Oliver Metz
These patches are addressing two issues that I had after activating enhanced user area feature for a 4GB card so the capacity was less than 2 GB afterwards. 1. The capacity for a high density device is calculated in a wrong way. I was not able to find any hints for this implementation in JEDEC 4.4

Re: [U-Boot] [PATCH v2 2/2] Tegra114: Do not program CPCON field for PLLX

2013-10-01 Thread Tom Warren
Thierry, Your 3 patches (Avionics maintainer change, as well as the 2-part T114 MNP/CPCON changes) have been applied to u-boot-tegra/next, built, and tested on Dalmore. New code (rebased against ARM/master) is available in both u-boot-tegra/next and /master, in anticipation of a pull request to u

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Przemyslaw Marczak
Hello Pantelis, Thank you for reply On 10/01/2013 05:50 PM, Pantelis Antoniou wrote: while (sdhci_readl(host, SDHCI_PRESENT_STATE) & mask) { -if (timeout == 0) { +if (time == cmd_timeout) { time >= cmd_timeout here. You rely on the timeout hitting exactly the same value whi

[U-Boot] [PATCH] am335x: Enable CONFIG_OMAP_WATCHDOG support

2013-10-01 Thread Tom Rini
There is a board-specific portion for calling watchdog enable itself, in main U-Boot. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |4 board/ti/am335x/board.c |5 + include/configs/ti_am335x_common.h |7 +++ 3 fi

Re: [U-Boot] uboot panic in get_ticks

2013-10-01 Thread Simon Glass
+mailing list Hi Aviral, On Thu, Sep 26, 2013 at 1:20 PM, Pandey, Aviral wrote: > Hi Simon, > > > > First, I would like to apologize if I am not supposed to contact you > directly about one of your changes in uboot for x86. I am using > coreboot/uboot on an Intel Cavecreek based board and really

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Benoît Thébaudeau
Hi Eric, On Tuesday, October 1, 2013 4:26:32 PM, Eric Nelson wrote: > Hi Stefano, > > On 10/01/2013 06:13 AM, Stefano Babic wrote: > > Hi Otavio, > > > > On 01/10/2013 14:01, Otavio Salvador wrote: > >>> I suggest you add in the commit message that this patch is only for > >>> i.MX6 (if you do no

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Eric Nelson
Hi Stefano, On 10/01/2013 09:10 AM, Stefano Babic wrote: Hi Eric, On 01/10/2013 17:56, Eric Nelson wrote: Hi Stefano, On 10/01/2013 07:49 AM, Stefano Babic wrote: Hi Eric, On 01/10/2013 16:26, Eric Nelson wrote: I'm not sure where you're seeing this in the RM, but in order to read the pad

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Stefano Babic
Hi Eric, On 01/10/2013 17:56, Eric Nelson wrote: > Hi Stefano, > > On 10/01/2013 07:49 AM, Stefano Babic wrote: >> Hi Eric, >> >> On 01/10/2013 16:26, Eric Nelson wrote: >> >>> I'm not sure where you're seeing this in the RM, but in >>> order to read the pad state when not configured as an input,

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Eric Nelson
Hi Stefano, On 10/01/2013 07:49 AM, Stefano Babic wrote: Hi Eric, On 01/10/2013 16:26, Eric Nelson wrote: I'm not sure where you're seeing this in the RM, but in order to read the pad state when not configured as an input, the SION bit needs to be set in the pad mux register on i.MX51/53. I

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Pantelis Antoniou
Hi there, On Oct 1, 2013, at 3:16 PM, Przemyslaw Marczak wrote: > Old command timeout value was too small and it caused I/O errors which > led to uncompleted read/write/erase operations and filesystem errors. > Timeout adaptation fixes this issue. > > Changes in sdhci_send_command() function: >

Re: [U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD

2013-10-01 Thread York Sun
On 09/24/2013 03:28 AM, Prabhakar Kushwaha wrote: > NAND,CPLD AMASK register is programmed for 64K size. > > so Update TLB & LAW size accordingly. > > Signed-off-by: Prabhakar Kushwaha > --- > > Based upon git://git.denx.de/u-boot.git branch master > > changes for v2: > - Updated both C

Re: [U-Boot] [PATCH] mpc85xx: Fix the offset of register address error

2013-10-01 Thread York Sun
On 09/22/2013 02:33 AM, Tang Yuantian wrote: > From: Tang Yuantian > > The offset of register address within GPIO module is just > CONFIG_SYS_MPC85xx_GPIO_ADDR, no reason to add 0xc00. > > Signed-off-by: Tang Yuantian > --- > arch/powerpc/include/asm/mpc85xx_gpio.h | 4 ++-- > 1 file changed,

[U-Boot] [PATCH v3 1/2] Tegra114: Fix PLLX M, N, P init settings

2013-10-01 Thread Thierry Reding
From: Jimmy Zhang The M, N and P width have been changed from Tegra30. The maximum value for N is limited to 255. So, the tegra_pll_x_table for Tegra114 should be set accordingly. Signed-off-by: Jimmy Zhang Reviewed-by: Tom Warren Signed-off-by: Thierry Reding --- Changes in v3: - none Chang

Re: [U-Boot] [PATCH v2 2/2] Tegra114: Do not program CPCON field for PLLX

2013-10-01 Thread Thierry Reding
On Mon, Sep 30, 2013 at 02:25:57PM -0700, Tom Warren wrote: > Thierry, > > > -Original Message- > > From: Thierry Reding [mailto:thierry.red...@gmail.com] > > Sent: Monday, September 23, 2013 1:08 PM > > To: Tom Warren > > Cc: u-boot@lists.denx.de > > Subject: [PATCH v2 2/2] Tegra114: Do n

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread Scott Wood
On Tue, 2013-10-01 at 19:05 +0800, FengHua wrote: > > > > -原始邮件- > > 发件人: "Scott Wood" > > 发送时间: 2013年10月1日 星期二 > > 收件人: "Simon Glass" > > 抄送: trini , u-boot , FengHua > > > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and > > zero gd_t > > > > On Mon, 2013-

[U-Boot] [PATCH v3 2/2] Tegra114: Do not program CPCON field for PLLX

2013-10-01 Thread Thierry Reding
PLLX no longer has the CPCON field on Tegra114, so do not attempt to program it. Signed-off-by: Thierry Reding --- Changes in v3: - don't leak PLLX_BASE bits into PLLX_MISC Changes in v2: - new patch arch/arm/cpu/arm720t/tegra-common/cpu.c | 6 +- 1 file changed, 5 insertions(+), 1 deletio

[U-Boot] SPL: Reading large files with file_fat_read()

2013-10-01 Thread bin4ry
Hi, I need to read a file in spl.c, which is about 675 bytes. I used the following code: static unsigned char helperData[675] = {0x00}; s32 err; uint8_t i = 0; printf("\n[D] - Reading Helper Data\r\n\n"); err = file_fat_read(filename, helperData, length); if(err > 0){ printf("[D] - R

[U-Boot] [PATCH] usb: Fix error handling in musb_hcd.c

2013-10-01 Thread Andrew Murray
The wait_until_[rx|tx]ep_ready functions return a u8 to indicate success containing the value 0, 1 or -1. This patch changes the return type to an int to accommodate the negative return values. These functions are used in the file using calls such as if (!wait_until... Where a -1 is returned it is

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Stefano Babic
Hi Eric, On 01/10/2013 16:26, Eric Nelson wrote: > I'm not sure where you're seeing this in the RM, but in > order to read the pad state when not configured as an input, > the SION bit needs to be set in the pad mux register on i.MX51/53. I have checked inside the "37.3.2.2 GPIO Write" for i.MX5

[U-Boot] [PATCH 6/6] config: SMDK5420: Enable S2MPS1111111111111111111111 pmic

2013-10-01 Thread Leela Krishna Amudala
configure S2MPS11 pmic on SMDK5420 Signed-off-by: Leela Krishna Amudala --- include/configs/smdk5420.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/smdk5420.h b/include/configs/smdk5420.h index 447f8e5..46aeec0 100644 --- a/include/configs/smdk5420.h +++ b/include/c

[U-Boot] [PATCH 4/6] SMDK5420: S2MPS11: Adds the register settings for S2MPS11

2013-10-01 Thread Leela Krishna Amudala
Adds the register settings, addresses and voltages associated with S2MPS11 Signed-off-by: Alim Akhtar Signed-off-by: Leela Krishna Amudala Reviewed-by: Vadim Bendebury --- include/power/s2mps11_pmic.h | 144 ++ 1 file changed, 144 insertions(+) create

[U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-01 Thread Leela Krishna Amudala
The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before performing a transaction. Signed-off-by: Aaron Durbin Signed-off-by: Simon Glass Signed-off-by: Leela Krishna Amudala Re

[U-Boot] [PATCH 5/6] exynos: Add a common DT based PMIC driver initialization

2013-10-01 Thread Leela Krishna Amudala
Most of i2c PMIC drivers follow the same initialization sequence, let's generalize it in a common file. The initialization function finds the PMIC in the device tree, and if found - registers it in the list of known PMICs and initializes it, iterating through the table of settings supplied by the

[U-Boot] [PATCH 3/6] FDT: Exynos5420: Add compatible srings for PMIC

2013-10-01 Thread Leela Krishna Amudala
Add required compatible strings for PMIC S2MPS11 Signed-off-by: Leela Krishna Amudala --- include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 6bf83bf..6290078 100644 --- a/include/fdtdec.h +++ b/include/fd

[U-Boot] [PATCH 1/6] exynos: Use common pmic_reg_update() definition

2013-10-01 Thread Leela Krishna Amudala
This function is used by different Exynos platforms, put it in the common file. Signed-off-by: Vadim Bendebury Signed-off-by: Leela Krishna Amudala Reviewed-by: Doug Anderson --- board/samsung/common/board.c | 19 --- drivers/power/power_i2c.c| 19 +++ i

[U-Boot] [PATCH 0/6] SMDK5420: Add S2MPS11 pmic support to SMDK5420

2013-10-01 Thread Leela Krishna Amudala
This patchset adds support for S2MPS11 pmic on SMDK5420 This patchset has dependency on Rajeshwari's base patchset: [V4] EXYNOS5420: Add SMDK5420 board support http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/170582 Also, for testing we need Naveen's i2c patchset as well: i2c: improve s3c

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Eric Nelson
Hi Stefano, On 10/01/2013 06:13 AM, Stefano Babic wrote: Hi Otavio, On 01/10/2013 14:01, Otavio Salvador wrote: I suggest you add in the commit message that this patch is only for i.MX6 (if you do not plan to extend it to the other i.MXes...), so that we can track that the same must be done al

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Eric Nelson
On 10/01/2013 06:08 AM, Otavio Salvador wrote: On Tue, Oct 1, 2013 at 9:43 AM, Marek Vasut wrote: Dear Otavio Salvador, On Tue, Oct 1, 2013 at 5:33 AM, Stefano Babic wrote: Hi Otavio, On 30/09/2013 00:15, Otavio Salvador wrote: The IOMUX_CONFIG_SION allows for reading PAD value from PSR r

Re: [U-Boot] Dual boot Images in Flash

2013-10-01 Thread pshambhu
Hi Wolfgang, With respect to previous mail, i have one small doubt. I have two three u-boots, u-boot_stub

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Stefano Babic
Hi Otavio, On 01/10/2013 14:01, Otavio Salvador wrote: >> I suggest you add in the commit message that this patch is only for >> i.MX6 (if you do not plan to extend it to the other i.MXes...), so that >> we can track that the same must be done also for the other SOCs. > > I think this is clear fr

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Otavio Salvador
On Tue, Oct 1, 2013 at 9:43 AM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Tue, Oct 1, 2013 at 5:33 AM, Stefano Babic wrote: >> > Hi Otavio, >> > >> > On 30/09/2013 00:15, Otavio Salvador wrote: >> >> The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. >> >> >> >> The fo

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, Oct 1, 2013 at 5:33 AM, Stefano Babic wrote: > > Hi Otavio, > > > > On 30/09/2013 00:15, Otavio Salvador wrote: > >> The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. > >> > >> The following quote from the datasheet: > >> > >> , > >> > >

[U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Przemyslaw Marczak
Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function: - change timeout variable to static - increase default command timeout to 100

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Otavio Salvador
On Tue, Oct 1, 2013 at 5:33 AM, Stefano Babic wrote: > Hi Otavio, > > On 30/09/2013 00:15, Otavio Salvador wrote: >> The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. >> >> The following quote from the datasheet: >> >> , >> | ... >> | 28.4.2.2 GPIO Write Mode >> | The progr

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-01 Thread Claudiu Manoil
On 10/1/2013 2:22 AM, Scott Wood wrote: On Mon, 2013-09-30 at 12:44 +0300, Claudiu Manoil wrote: +static RTXBD rtx __aligned(8); +#define RXBD(i) rtx.rxbd[i] +#define TXBD(i) rtx.txbd[i] +#define GET_BD_STAT(T, i) be16_to_cpu((__force __be16)T##BD(i).status) +#define SET_BD_STAT(T, i, v) T##BD

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-10-01 Thread FengHua
> -原始邮件- > 发件人: "Scott Wood" > 发送时间: 2013年10月1日 星期二 > 收件人: "Simon Glass" > 抄送: trini , u-boot , FengHua > > 主题: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero > gd_t > > On Mon, 2013-09-09 at 20:54 -0500, Scott Wood wrote: > > It seems the problem is that

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-10-01 Thread Gupta, Pekon
Hi Mark, > From: Mark Jackson [mailto:mpfj-l...@newflow.co.uk] > To: Gupta, Pekon; scottw...@freescale.com; Rini, Tom > > > > > > diff --git a/include/configs/am335x_evm.h > b/include/configs/am335x_evm.h > > index 978bca7..c92cb2f 100644 > > --- a/include/configs/am335x_evm.h > > +++ b/includ

Re: [U-Boot] Dual boot Images in Flash

2013-10-01 Thread pshambhu
Thanks Wolfgang Denk and Pekon for the lots of info. Thanks & Regards Pradeep S -- View this message in context: http://u-boot.10912.n7.nabble.com/Dual-boot-Images-in-Flash-tp164381p164434.html Sent from the U-Boot mailing list archive at Nabble.com. ___

Re: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins

2013-10-01 Thread Stefano Babic
Hi Otavio, On 30/09/2013 00:15, Otavio Salvador wrote: > The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. > > The following quote from the datasheet: > > , > | ... > | 28.4.2.2 GPIO Write Mode > | The programming sequence for driving output signals should be as follows:

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-10-01 Thread Mark Jackson
On 25/09/13 06:23, Pekon Gupta wrote: > NAND driver needs to know bus-width of the connected NAND device, in order to > perform proper I/O and initialize itself. Currently there is no CONFIG option > to provide this information to NAND driver. > - SPL NAND driver does not have framework to parse ON

Re: [U-Boot] [PATCH] mx5: lowlevel_init: Remove unused macro

2013-10-01 Thread Stefano Babic
On 30/09/2013 23:28, Fabio Estevam wrote: > From: Fabio Estevam > > setup_wdog macro is not used anywhere, so just remove it. > > Signed-off-by: Fabio Estevam > --- > arch/arm/cpu/armv7/mx5/lowlevel_init.S | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/arch/arm/cpu/armv7/mx5/lo

[U-Boot] [PATCH 4/6] Makefile:Add u-boot-with-spl-pbl.bin target for SPL

2013-10-01 Thread Prabhakar Kushwaha
This image combines the pbl format of SPL with and U-Boot. This is a convenient way of having a single image to program on indirect boot source. Corenet platforms like T4240, P4080 etc have PBL hardware which read data in PBL format and copy to internal SRAM for further execution. This image confi

[U-Boot] [PATCH 6/6] T1040QDS: Add support of 2 stage NAND boot loader

2013-10-01 Thread Prabhakar Kushwaha
Add support of 2 stage NAND boot loader using SPL framework. here, PBL initialise the internal SRAM(256K) and copy SPL(192K). This further initialise DDR using SPD and environment and copy u-boot(512 kb) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings require

[U-Boot] [PATCH 5/6] SPL:Defines function required to env read for IFC & env_nand

2013-10-01 Thread Prabhakar Kushwaha
fsl_ifs_spl.c reads data from NAND and store at a memory location in raw mode. It does not used MTD layer. To read env variable from NAND MTD layer read/write required. Hence, add mtd_block_isbad & nand_read_skip_bad function required during env variable read. Also, avoid nand_info during env rea

[U-Boot] [PATCH 2/6] powerpc/SPL:Allow Parsing of LAW table in both SPL & non SPL

2013-10-01 Thread Prabhakar Kushwaha
SPL does not relocates the CCSRBAR hence it is using CCSRBAR at 0xfe00_. U-boot relocates CCSRBAR to 0xf_fe00_. So law talbe needs to be updated again. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot-mpc85xx.git branch next arch/powerpc/cpu/mpc8xxx/law.c |

[U-Boot] [PATCH 1/6] powerpc:Add support of SPL non-relocation

2013-10-01 Thread Prabhakar Kushwaha
Current SPL code base has BSS section placed after reset_vector. This means they have to relocate to use the global variables. This put an implicit requirement of having SPL size = Memory/2. To avoid relocation, move bss_section within SPL range. Signed-off-by: Prabhakar Kushwaha --- Based upon

[U-Boot] [PATCH 3/6] common/env: Point default envirenoment for GD

2013-10-01 Thread Prabhakar Kushwaha
GD(Global Data) structure has pointer to envirenoment variable array. but, it is not being assigned for SPL framwork. So update GD pointer with env variable array. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot-mpc85xx.git branch next common/env_common.c |3 +++

[U-Boot] [PATCH] powerpc/t1040: enable PBL tool for T1040

2013-10-01 Thread Prabhakar Kushwaha
Use a default RCW of protocol 0x66. A PBI configure file which uses CPC as 256KB SRAM. It can be used by PBL tool on T1040 to build a pbl boot image. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot-mpc85xx.git branch next board/freescale/t1040qds/t1040_pbi.cfg | 27

[U-Boot] [PATCH 0/6] powerpc: Add support 2 stage boot loader for corenet platform

2013-10-01 Thread Prabhakar Kushwaha
Signed-off-by: Prabhakar Kushwaha --- Add support of 2 stage NAND boot loader in cornet platforms using SPL framework. This will be helpful for those SoC which has less internal SRAM(256K) like T1040. here, PBL initialise the internal SRAM and copy SPL(192K) in SRAM. SPL further initialise DD

Re: [U-Boot] Dual boot Images in Flash

2013-10-01 Thread Gupta, Pekon
Hi, > From: Wolfgang Denk [mailto:w...@denx.de] > Dear "Gupta, Pekon", > > In message > <20980858cb6d3a4bae95ca194937d5e73ea18...@dbde04.ent.ti.com> > > > > you can tweak your hardware to split it, and many micro-controllers > > do it (especially for safety critical applications). Example: > > Su

Re: [U-Boot] Dual boot Images in Flash

2013-10-01 Thread Wolfgang Denk
Dear "Gupta, Pekon", In message <20980858cb6d3a4bae95ca194937d5e73ea18...@dbde04.ent.ti.com> you wrote: > > you can tweak your hardware to split it, and many micro-controllers > do it (especially for safety critical applications). Example: > Suppose 'default' entry-point (or reset entry-point) =