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

2013-05-15 Thread Vikram Narayanan
Hello, On 5/15/2013 3:35 PM, Rajdeep Vaghasia wrote: Hello, I am trying to understand the flow of U-boot code, but unable to get the complete link. This question has been asked *innumerous* times in the list. One sample from the archive

Re: [U-Boot] [PATCH] Add initial support for mx6slevk board

2013-04-01 Thread Vikram Narayanan
On 3/31/2013 2:38 AM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com snip diff --git a/arch/arm/include/asm/arch-mx6/mx6sl_pins.h b/arch/arm/include/asm/arch-mx6/mx6sl_pins.h new file mode 100644 index 000..cd974d8 --- /dev/null +++

Re: [U-Boot] [PATCH] Add initial support for mx6slevk board

2013-04-01 Thread Vikram Narayanan
On 4/2/2013 3:45 AM, Fabio Estevam wrote: On Mon, Apr 1, 2013 at 2:44 PM, Fabio Estevam feste...@gmail.com wrote: On Mon, Apr 1, 2013 at 2:26 PM, Vikram Narayanan vikram...@gmail.com wrote: Is the above same for all the variants of i.Mx? Can we put this into a common header file? Ok, I can

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] [RFC][PULL-REQ] MTD update

2012-12-29 Thread Vikram Narayanan
On 12/28/2012 7:29 PM, Tom Rini wrote: On Fri, Dec 28, 2012 at 07:17:42AM -0500, Sergey Lapin wrote: Hi, all! As I failed to submit 250KB patch to the list I will send this pull request This patch is not for inclusion yet. This patch is just update of u-boot MTD with Linux kernel's MTD

Re: [U-Boot] [PATCH] arm/bootstage: Move the bootstage call after gd init

2012-12-27 Thread Vikram Narayanan
On 12/27/2012 3:52 PM, Albert ARIBAUD wrote: On Thu, 27 Dec 2012 10:41:06 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Simon, On Wed, 26 Dec 2012 12:39:32 -0800, Simon Glass s...@chromium.org wrote: Hi Vikram, On Sun, Dec 23, 2012 at 3:27 AM, Vikram Narayanan vikram...@gmail.com

[U-Boot] [PATCH] arm/bootstage: Move the bootstage call after gd init

2012-12-23 Thread Vikram Narayanan
bootstage_mark_name calls timer_get_boot_us which inturn calls the arch timer. The arch timer uses the gd pointer to save the lastinc count. A call to bootstage_mark_name here results in a data abort as gd is uninitialized. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Simon Glass s

Re: [U-Boot] Bricked when trying to attach UBI

2012-12-19 Thread Vikram Narayanan
On 12/19/2012 4:58 PM, Luca Ceresoli wrote: Hi all, snip On bricked devices the output of the ubi part nand0,3 command is: Creating 1 MTD partitions on nand0: 0x0010-0x1000 : mtd=3 UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI:

Re: [U-Boot] Bricked when trying to attach UBI

2012-12-19 Thread Vikram Narayanan
On 12/19/2012 11:52 PM, Stefan Roese wrote: snip I think its the right time to sync the UBI code with the current kernel tree. But it seems like a huge work. Any suggestions? Yes, syncing with the latest UBI/UBIFS code would be the best solution. Even though a try with an increased malloc area

Re: [U-Boot] Bricked when trying to attach UBI

2012-12-19 Thread Vikram Narayanan
On 12/20/2012 12:17 AM, Vikram Narayanan wrote: On 12/19/2012 11:52 PM, Stefan Roese wrote: snip I think its the right time to sync the UBI code with the current kernel tree. But it seems like a huge work. Any suggestions? Yes, syncing with the latest UBI/UBIFS code would be the best solution

Re: [U-Boot] UBI Fixable bit-flip issue.

2012-12-17 Thread Vikram Narayanan
Hi, On 12/17/2012 2:14 PM, Holger Brunck wrote: Hi, On 12/15/2012 04:14 AM, Vikram Narayanan wrote: On 12/14/2012 11:33 PM, Vikram Narayanan wrote: I'm seeing a fixable bit-flip in the current u-boot (v2012.10) on a i.Mx6 Solo based custom board. The problem is similar to the one explained

[U-Boot] UBI Fixable bit-flip issue.

2012-12-14 Thread Vikram Narayanan
Hello, I'm seeing a fixable bit-flip in the current u-boot (v2012.10) on a i.Mx6 Solo based custom board. The problem is similar to the one explained here [1]. As observed by the thread's author, does reverting the commit 1b1f9a9 solves the issue? Did someone face a similar issue? Thanks,

Re: [U-Boot] UBI Fixable bit-flip issue.

2012-12-14 Thread Vikram Narayanan
Ccing the Author of [1]. On 12/14/2012 11:33 PM, Vikram Narayanan wrote: Hello, I'm seeing a fixable bit-flip in the current u-boot (v2012.10) on a i.Mx6 Solo based custom board. The problem is similar to the one explained here [1]. As observed by the thread's author, does reverting

Re: [U-Boot] [PATCH v4 1/3] Add README for the Falcon mode

2012-11-24 Thread Vikram Narayanan
Hello Andreas, On 11/24/2012 3:29 AM, Andreas Bießmann wrote: Dear Vikram Narayanan, On 23.11.12 19:10, Vikram Narayanan wrote: snip +The parameters generated with this step can be saved into NAND at the offset +0x80 (value for twister for CONFIG_CMD_SPL_NAND_OFS) + +nand erase.part

Re: [U-Boot] [PATCH v4 1/3] Add README for the Falcon mode

2012-11-23 Thread Vikram Narayanan
Hi Stefano, Sorry for bumping in at v4. Below are some of my comments. On 11/23/2012 9:01 PM, Stefano Babic wrote: Simple howto to add support to a board for booting the kernel from SPL (Falcon mode). Signed-off-by: Stefano Babicsba...@denx.de --- Changes in v4: - fix capitalization, styling,

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-11-12 Thread Vikram Narayanan
On 11/12/2012 10:25 PM, Dimax wrote: I read the page but not sure how exactly to do it. I'm not familiar with git. I have gust used source from ftp. You don't need a git for it. Mail access should be fine. Find the below mail in your inbox and reply to that,

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
On 11/2/2012 8:24 AM, Joe Hershberger wrote: UBI can mount volumes by name or number The current code forces you to name the volume by prepending every name with ubi:. From fs/ubifs/super.c * There are several ways to specify UBI volumes when mounting UBIFS: * o ubiX_Y- UBI device

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
Hi Joe, On 11/5/2012 10:19 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayananvikram...@gmail.com wrote: On 11/2/2012 8:24 AM, Joe Hershberger wrote: UBI can mount volumes by name or number The current code forces you to name the volume by prepending

Re: [U-Boot] [PATCH] ubifs: Allow ubifsmount volume reference by number

2012-11-05 Thread Vikram Narayanan
On 11/5/2012 11:48 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 11:36 AM, Vikram Narayananvikram...@gmail.com wrote: Hi Joe, On 11/5/2012 10:19 PM, Joe Hershberger wrote: Hi Vikram, On Mon, Nov 5, 2012 at 10:43 AM, Vikram Narayananvikram...@gmail.com wrote: On

Re: [U-Boot] [PATCH v2 1/2] arm: move C runtime setup code in crt0.S

2012-11-04 Thread Vikram Narayanan
Hello Albert, On 11/4/2012 5:02 PM, Albert ARIBAUD wrote: Move all the C runtime setup code from every start.S in arch/arm into arch/arm/lib/crt0.S. This covers the code sequence from isetting up the initial stack to calling into board_init_r(). Also, rewrite the C runtime setup and make

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-31 Thread Vikram Narayanan
Hello Andreas, On 10/30/2012 4:32 AM, Andreas Bießmann wrote: Dear Vikram Narayanan, first of all you are right. u-boot ubifs implementation will never recover the ubifs on media, cause it is mounted read only. snip calls sget() (line 1043) which in turn calls kzalloc() (line 67) which

Re: [U-Boot] [PATCH] mv-common.h: increase malloc arena to 4MiB

2012-10-31 Thread Vikram Narayanan
Hello Andreas, On 10/30/2012 5:28 AM, Andreas Bießmann wrote: This will fix the following error: ---8--- UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:root' errno=-12! ---8--- Did this solve the ubifs mount issue? Did someone test it? ~Vikram

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Vikram Narayanan
Hello Dimax, On 10/29/2012 2:57 PM, Dimax wrote: I also want to look back at my original problem of non-recovered UBIFS. Want to make sure my effort will not be useless. Let's say I've increased the memory allocation size. But are you sure u-boot implementation of ubifs really can recover

Re: [U-Boot] UBIFS fails on SheevaPlug

2012-10-29 Thread Vikram Narayanan
On 10/29/2012 10:55 PM, Dimax wrote: I remember I have unbricked sheevaplug with USB key. But I'm still not sure if effort is not useless as I see no conclusion about u-boot ability to recover UBIFS partition (at least to try). Can anybody tell it for sure? This is what I've got from the code

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-29 Thread Vikram Narayanan
On 10/29/2012 10:04 PM, Scott Wood wrote: It's not worth arguing over a single line of code that isn't going to cause any significant change. That would save us both some time. So you're withdrawing the patch? Yes. I'm more concerned about the precedent it sets than the one specific line.

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-28 Thread Vikram Narayanan
On 10/24/2012 10:41 PM, Scott Wood wrote: On 10/23/2012 11:14:34 PM, Vikram Narayanan wrote: On 10/24/2012 7:22 AM, Scott Wood wrote: On 10/23/2012 12:15:11 PM, Vikram Narayanan wrote: On 10/23/2012 9:15 PM, Tom Rini wrote: On Tue, Oct 23, 2012 at 12:26:53PM +0200, Stefan Roese wrote: On 10

Re: [U-Boot] [PATCH 1/2] mmc: add bcm2835 driver

2012-10-28 Thread Vikram Narayanan
On 10/28/2012 8:58 AM, Stephen Warren wrote: On 10/26/2012 05:33 AM, Vikram Narayanan wrote: Some nitpicks. On 10/24/2012 10:20 AM, Stephen Warren wrote: snip +static u8 bcm2835_sdhci_readb(struct sdhci_host *host, int reg) +{ +u32 val = bcm2835_sdhci_raw_readl(host, (reg ~3

Re: [U-Boot] [PATCH 1/2] mmc: add bcm2835 driver

2012-10-26 Thread Vikram Narayanan
Some nitpicks. On 10/24/2012 10:20 AM, Stephen Warren wrote: This adds a simple driver for the BCM2835's SD controller. Workarounds are implemented for: * Register writes can't be too close to each-other in time, or they will be lost. * Register accesses must all be 32-bit, so implement

[U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-23 Thread Vikram Narayanan
As dummy{1,2} are not used anywhere, mark it with __maybe_unused Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stefan Roese s...@denx.de --- common/spl/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index 0d829c0

[U-Boot] [PATCH 0/2] socfpga/spl: Cleanup

2012-10-23 Thread Vikram Narayanan
Cleanups for SPL/socfpga. Cc: Dinh Nguyen dingu...@altera.com Vikram Narayanan (2): arm/socfpga: Remove timer_init from spl_board_init socfpga/spl: Remove malloc.h arch/arm/cpu/armv7/socfpga/spl.c |4 1 files changed, 0 insertions(+), 4 deletions(-) -- 1.7.4.1

[U-Boot] [PATCH 1/2] socfpga/spl: Remove timer_init from spl_board_init

2012-10-23 Thread Vikram Narayanan
Timer is initialized already in board_init_r function in (common/spl/spl.c) No need to initialize it again Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Dinh Nguyen dingu...@altera.com --- arch/arm/cpu/armv7/socfpga/spl.c |3 --- 1 files changed, 0 insertions(+), 3 deletions

[U-Boot] [PATCH 2/2] socfpga/spl: Remove malloc.h

2012-10-23 Thread Vikram Narayanan
Remove unused header Signed-off-by: Vikram Narayanan vikram...@gmail.com --- arch/arm/cpu/armv7/socfpga/spl.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c index 23053fd..84216eb 100644 --- a/arch/arm

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-23 Thread Vikram Narayanan
On 10/23/2012 3:56 PM, Stefan Roese wrote: On 10/23/2012 12:05 PM, Vikram Narayanan wrote: As dummy{1,2} are not used anywhere, mark it with __maybe_unused Signed-off-by: Vikram Narayananvikram...@gmail.com Cc: Stefan Roeses...@denx.de --- common/spl/spl.c |2 +- 1 files changed, 1

[U-Boot] [PATCH v2] common/spl: Mark arguments as unused

2012-10-23 Thread Vikram Narayanan
As dummy{1,2} are not used anywhere, mark it with __maybe_unused Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stefan Roese s...@denx.de --- Changes for v2: use __always_unused instead of __maybe_unused common/spl/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH] nand_spl: Define nand_select function

2012-10-23 Thread Vikram Narayanan
Split up the selection of nand_chip from nand_init to a separate function. This is just to make it a little consistent as we've nand_deselect function. Also use it in spl_nand_load_image function. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stefan Roese s...@denx.de --- common/spl

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-23 Thread Vikram Narayanan
On 10/23/2012 9:15 PM, Tom Rini wrote: On Tue, Oct 23, 2012 at 12:26:53PM +0200, Stefan Roese wrote: On 10/23/2012 12:05 PM, Vikram Narayanan wrote: As dummy{1,2} are not used anywhere, mark it with __maybe_unused Signed-off-by: Vikram Narayananvikram...@gmail.com Cc: Stefan Roeses...@denx.de

Re: [U-Boot] [PATCH] nand_spl: Define nand_select function

2012-10-23 Thread Vikram Narayanan
On 10/23/2012 9:17 PM, Tom Rini wrote: On Tue, Oct 23, 2012 at 04:51:05PM +0530, Vikram Narayanan wrote: Split up the selection of nand_chip from nand_init to a separate function. This is just to make it a little consistent as we've nand_deselect function. Also use it in spl_nand_load_image

Re: [U-Boot] [PATCH] common/spl: Mark arguments as unused

2012-10-23 Thread Vikram Narayanan
On 10/24/2012 7:22 AM, Scott Wood wrote: On 10/23/2012 12:15:11 PM, Vikram Narayanan wrote: On 10/23/2012 9:15 PM, Tom Rini wrote: On Tue, Oct 23, 2012 at 12:26:53PM +0200, Stefan Roese wrote: On 10/23/2012 12:05 PM, Vikram Narayanan wrote: As dummy{1,2} are not used anywhere, mark

Re: [U-Boot] [PATCH v2 2/2] add Eukrea's CPUIMX25

2012-09-23 Thread Vikram Narayanan
On 9/23/2012 5:33 PM, Eric Bénard wrote: this board is based on an i.MX25 from Freescale. It consists of a SOM containing : - NAND flash (internal or external boot supported and tested) - mDDR (64MB tested) - ethernet PHY connected in RMII mode (tested) and a baseboard containing : - a serial

Re: [U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: The plugin command of mkimage can take this file as an argument. An explanation of what is plugin and what the file plugin.S does should be better. Not in the subject of the patch, you can place it as a README. Signed-off-by: Troy

Re: [U-Boot] [PATCH V2 18/21] arch-mx6: add mx6dl_pins.h

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: Only the values used in the sabrelite board are added currently. Add more as other boards use them. Though there are no users, better add it for completeness. This should also avoid people patching this file often. Signed-off-by: Troy

Re: [U-Boot] [PATCH V2 19/21] mx6qsabrelite: add support for mx6 solo/duallite

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: Signed-off-by: Troy Kiskytroy.ki...@boundarydevices.com --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 231 ++--- board/freescale/mx6qsabrelite/pads.h | 172 ++ 2 files changed, 226 insertions(+), 177

Re: [U-Boot] [U-Boot-DM] [PATCH 01/11] DM: add block device core

2012-09-20 Thread Vikram Narayanan
On Fri, Sep 21, 2012 at 1:07 AM, Pavel Herrmann morpheus.i...@gmail.com wrote: This core will register all block devices (disk, cards, partitons) and provide unfied access to them, instead of current method with device + partition offset Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com

Re: [U-Boot] [PATCH 2/2] mx6: Add basic support for mx6qsabresd board.

2012-09-12 Thread Vikram Narayanan
On 9/12/2012 12:02 AM, Fabio Estevam wrote: mx6qsabresd is a board based on mx6q SoC with the following features: - 1GB of DDR3 - 1 USB OTG port - 1 HDMI output port - SPI NOR - LVDS panel - Gigabit Ethernet - Camera Connector - eMMC and SD card slot - Audio Add very basic support for it.

[U-Boot] Boot U-Boot from UBI volume

2012-09-10 Thread Vikram Narayanan
Hello, I'd like know about the progress of this proposal http://elinux.org/Boot_U-Boot_from_UBI_volume Someone is working on it currently? Regards, Vikram ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 01/14] dm: Initial import of design documents

2012-09-02 Thread Vikram Narayanan
Hello Wolfgang Denk, On 9/2/2012 9:30 PM, Wolfgang Denk wrote: Dear Marek Vasut, In message1344426150-1229-1-git-send-email-ma...@denx.de you wrote: From: Marek Vasutmarek.va...@gmail.com This patch contains UDM-design.txt, which is document containing general description of the driver

Re: [U-Boot] [PATCH v2 1/2] bcm: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
Hello Stephen, On 7/15/2012 10:53 PM, Stephen Warren wrote: On 07/11/2012 02:37 PM, Vikram Narayanan wrote: Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. diff --git a/arch/arm/include/asm/arch-bcm2835/gpio.h b/arch/arm/include/asm/arch-bcm2835

Re: [U-Boot] [PATCH v2 1/2] bcm: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
On 7/31/2012 9:22 PM, Stephen Warren wrote: On 07/31/2012 09:46 AM, Vikram Narayanan wrote: On 7/15/2012 10:53 PM, Stephen Warren wrote: On 07/11/2012 02:37 PM, Vikram Narayanan wrote: Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. diff --git

[U-Boot] [PATCH v3 0/2] Add GPIO driver for BCM2835 SoC

2012-07-31 Thread Vikram Narayanan
Also, add the driver to the raspberrypi default config Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net Vikram Narayanan (2): gpio: bcm2835: Add GPIO driver rbpi: Add BCM2835 GPIO driver for raspberry pi Changes from v2: Incorporate further comments

[U-Boot] [PATCH v3 1/2] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. Signed-off-by: Vikram Narayanan vikram...@gmail.com --- arch/arm/include/asm/arch-bcm2835/gpio.h | 71 drivers/gpio/Makefile|1 + drivers/gpio

[U-Boot] [PATCH v3 2/2] rbpi: Add BCM2835 GPIO driver for raspberry pi

2012-07-31 Thread Vikram Narayanan
Add the driver to the default config Signed-off-by: Vikram Narayanan vikram...@gmail.com --- include/configs/rpi_b.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index f547027..d4bbccc 100644 --- a/include/configs

Re: [U-Boot] [PATCH v3 1/2] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
On 7/31/2012 11:18 PM, Vikram Narayanan wrote: Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. Signed-off-by: Vikram Narayananvikram...@gmail.com --- arch/arm/include/asm/arch-bcm2835/gpio.h | 71 drivers/gpio/Makefile

[U-Boot] [PATCH v2 0/2] GPIO driver for BCM2835 SoC

2012-07-11 Thread Vikram Narayanan
Add GPIO driver for BCM2835 Soc. Also add the driver to the raspberrypi default config Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net Vikram Narayanan (2): bcm: Add GPIO driver rbpi: Add BCM2835 GPIO driver for raspberry pi Changes from v1

[U-Boot] [PATCH v2 1/2] bcm: Add GPIO driver

2012-07-11 Thread Vikram Narayanan
Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net --- arch/arm/include/asm/arch-bcm2835/gpio.h | 71

[U-Boot] [PATCH v2 2/2] rbpi: Add BCM2835 GPIO driver for raspberry pi

2012-07-11 Thread Vikram Narayanan
Add the driver to the default config Signed-off-by: Vikram Narayanan vikram...@gmail.com --- include/configs/rpi_b.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index f547027..d4bbccc 100644 --- a/include/configs

Re: [U-Boot] [PATCH 0/2] Add GPIO driver for BCM2835 SoC

2012-07-03 Thread Vikram Narayanan
Hello Stephen, On 7/4/2012 7:37 AM, Stephen Warren wrote: On 06/24/2012 11:19 AM, Vikram Narayanan wrote: Add a GPIO driver for the BCM2835 Soc. Refer Datasheet http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf Also, add the driver to the raspberrypi's default

Re: [U-Boot] [PATCH 1/2] bcm: Add GPIO driver for BCM2835 SoC

2012-06-27 Thread Vikram Narayanan
Hello Stephen, On 6/27/2012 7:09 AM, Stephen Warren wrote: On 06/24/2012 11:21 AM, Vikram Narayanan wrote: First off, it's great to see some patches for the chip. Thanks. Sorry for being so nit-picky below; it's a tendency of mine... Thanks for the detailed review. I'd make a v2

Re: [U-Boot] [PATCH 1/2] bcm: Add GPIO driver for BCM2835 SoC

2012-06-27 Thread Vikram Narayanan
On 6/27/2012 11:36 PM, Stephen Warren wrote: On 06/27/2012 11:32 AM, Vikram Narayanan wrote: Hello Stephen, On 6/27/2012 7:09 AM, Stephen Warren wrote: On 06/24/2012 11:21 AM, Vikram Narayanan wrote: First off, it's great to see some patches for the chip. Thanks. Sorry for being so nit

[U-Boot] [PATCH 0/2] Add GPIO driver for BCM2835 SoC

2012-06-24 Thread Vikram Narayanan
Add a GPIO driver for the BCM2835 Soc. Refer Datasheet http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf Also, add the driver to the raspberrypi's default config Vikram Narayanan (2): bcm: Add GPIO driver for BCM2835 SoC rbpi: Add BCM2835 GPIO driver

[U-Boot] [PATCH 1/2] bcm: Add GPIO driver for BCM2835 SoC

2012-06-24 Thread Vikram Narayanan
Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net --- arch/arm/include/asm/arch-bcm2835/gpio.h | 49 +++ drivers/gpio/Makefile|1 + drivers/gpio/rpi_gpio.c

[U-Boot] [PATCH 2/2] rbpi: Add BCM2835 GPIO driver for raspberry pi

2012-06-24 Thread Vikram Narayanan
Add the driver to the rpi_b's default config Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net --- include/configs/rpi_b.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include

[U-Boot] mx51evk: Fix build error when CONFIG_VIDEO is disabled

2012-06-18 Thread Vikram Narayanan
The inclusion of LCD patch into mx51evk breaks the build when CONFIG_VIDEO is disabled. Fix this by splitting the video related stuff to a new file. Also rename the function lcd_iomux to setup_iomux_lcd to make the namings aligned with the other iomux functions. Signed-off-by: Vikram Narayanan

[U-Boot] mx53loco: Fix build error when CONFIG_VIDEO is disabled

2012-06-18 Thread Vikram Narayanan
The inclusion of LCD patch into mx51evk breaks the build when CONFIG_VIDEO is disabled. Fix this by splitting the video related stuff to a new file. Also rename the function lcd_iomux to setup_iomux_lcd to make the namings aligned with the other iomux functions. Signed-off-by: Vikram Narayanan

[U-Boot] [PATCH v4] tx25: Use generic gpio_* calls

2012-06-16 Thread Vikram Narayanan
Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan vikram...@gmail.com Acked-by: Stefano Babic sba...@denx.de Cc: John Rigby jcri...@gmail.com Cc: Fabio Estevam fabio.este...@freescale.com --- Changes from v3: Use gpio_set_value

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-15 Thread Vikram Narayanan
Hi Stefano, On 6/15/2012 8:25 PM, Stefano Babic wrote: On 13/06/2012 13:37, Fabio Estevam wrote: On Mon, Jun 11, 2012 at 12:02 PM, Vikram Narayananvikram...@gmail.com wrote: Also, this macro is useful not only for mx25, and it would be nice to let it avaible for the other i.MX SoCs as well.

[U-Boot] [PATCH v3] tx25: Use generic gpio_* calls

2012-06-15 Thread Vikram Narayanan
Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan vikram...@gmail.com Acked-by: Stefano Babic sba...@denx.de Cc: John Rigby jcri...@gmail.com Cc: Fabio Estevam fabio.este...@freescale.com --- Changes from v2: Swap the place

Re: [U-Boot] [PATCH 1/2] patman: Change the location of patman config file

2012-06-13 Thread Vikram Narayanan
Hello Wolfgang, On 5/30/2012 11:04 AM, Simon Glass wrote: On Wed, May 23, 2012 at 11:58 AM, Vikram Narayanan vikram...@gmail.com mailto:vikram...@gmail.com wrote: Move the config file from ~/.config/patman to ~/.patman as it is more appropriate to have it there. Update the same

Re: [U-Boot] [PATCH v2] tx25: Use generic gpio_* calls

2012-06-13 Thread Vikram Narayanan
On 6/13/2012 1:22 PM, Stefano Babic wrote: On 12/06/2012 18:37, Vikram Narayanan wrote: Changes from v1: Used appropriate gpio_* lib calls. --- Instead of manipulating gpio registers directly, use the calls from the gpio library. Changelog must go after the --- line and commit message before

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Vikram Narayanan
Hello Marek, On 6/13/2012 5:57 PM, Marek Vasut wrote: Dear Vikram Narayanan, If in case this is valid according to the latest datasheet, ignore this patch. -- According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has bits 4 and 5 read-only and the value is always set as zero. So write

[U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Vikram Narayanan
Hello, mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this. I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-13 Thread Vikram Narayanan
Hello Marek, On 6/13/2012 10:45 PM, Marek Vasut wrote: Dear Vikram Narayanan, Hello Marek, On 6/13/2012 5:57 PM, Marek Vasut wrote: Dear Vikram Narayanan, If in case this is valid according to the latest datasheet, ignore this patch. -- According to REV C manual, the register

Re: [U-Boot] mx53loco build fails with CONFIG_VIDEO disabled

2012-06-13 Thread Vikram Narayanan
On 6/13/2012 10:50 PM, Stefano Babic wrote: On 13/06/2012 19:00, Vikram Narayanan wrote: Hello, mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this. But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches

[U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-12 Thread Vikram Narayanan
If in case this is valid according to the latest datasheet, ignore this patch. -- According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has bits 4 and 5 read-only and the value is always set as zero. So write '0' to these bits instead of writing '1'. Signed-off-by: Vikram Narayanan vikram

[U-Boot] [PATCH v2] tx25: Use generic gpio_* calls

2012-06-12 Thread Vikram Narayanan
Changes from v1: Used appropriate gpio_* lib calls. --- Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: John Rigby jcri...@gmail.com Cc: Stefano Babic sba

Re: [U-Boot] [PATCH 2/3] tx25: Use generic gpio_* calls

2012-06-11 Thread Vikram Narayanan
Hi Fabio, On 6/10/2012 8:08 PM, Fabio Estevam wrote: On Sun, Jun 10, 2012 at 10:03 AM, Vikram Narayananvikram...@gmail.com wrote: /* drop PHY power and assert reset (low) */ - val = readl(gpio4-gpio_dr) ~((1 7) | (1 9)); - writel(val,gpio4-gpio_dr); - val =

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-11 Thread Vikram Narayanan
On 6/10/2012 8:03 PM, Fabio Estevam wrote: Hi Vikram, On Sun, Jun 10, 2012 at 10:02 AM, Vikram Narayananvikram...@gmail.com wrote: + +/* Converts a GPIO port number and the internal bit position + * to the GPIO number + */ +#define MXC_GPIO_PORT_TO_NUM(port, bit) (((port - 1) 5) + (bit

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-11 Thread Vikram Narayanan
Hello Fabio, On 6/10/2012 8:33 PM, Fabio Estevam wrote: On Sun, Jun 10, 2012 at 10:02 AM, Vikram Narayananvikram...@gmail.com wrote: Move the macro to imx-regs.h so that the other mx25 boards can make use of it. Signed-off-by: Vikram Narayananvikram...@gmail.com ---

[U-Boot] imx: gpio cleanups

2012-06-10 Thread Vikram Narayanan
This patchset cleanups up the gpio related stuff on imx boards. Define a common header for gpio and remove the same struct defines in all the include directories. Vikram Narayanan (3): imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h tx25: Use generic gpio_* calls imx: Define a common header

[U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-10 Thread Vikram Narayanan
Move the macro to imx-regs.h so that the other mx25 boards can make use of it. Signed-off-by: Vikram Narayanan vikram...@gmail.com --- arch/arm/include/asm/arch-mx25/gpio.h |4 arch/arm/include/asm/arch-mx25/imx-regs.h |6 ++ 2 files changed, 6 insertions(+), 4 deletions

[U-Boot] [PATCH 2/3] tx25: Use generic gpio_* calls

2012-06-10 Thread Vikram Narayanan
Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: John Rigby jcri...@gmail.com Cc: Stefano Babic sba...@denx.de --- board/karo/tx25/tx25.c | 28 1 files changed, 12

[U-Boot] [PATCH 3/3] imx: Define a common header file for gpio.h

2012-06-10 Thread Vikram Narayanan
Remove redundant gpio_regs structure for every board and define a common header for gpio_regs in the drivers/gpio directory. All the board files needs to be changed to point to asm-generic/gpio.h for gpio_* functions. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: John Rigby jcri

Re: [U-Boot] imx: gpio cleanups

2012-06-10 Thread Vikram Narayanan
On 6/10/2012 6:31 PM, Vikram Narayanan wrote: This patchset cleanups up the gpio related stuff on imx boards. Define a common header for gpio and remove the same struct defines in all the include directories. As I don't have any mx25 based hardware, I've not tested it on any boards. Any

[U-Boot] IOMUX setting for NAND boot

2012-05-29 Thread Vikram Narayanan
Hello, If I were to use NAND as a boot device on a custom i.Mx6 based hardware, should I mention the IOMUX ALT settings in the DCD headers for the NAND pins? Thanks, Vikram ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH V2] MPC8xxx: Define cache ops for USB

2012-05-25 Thread Vikram Narayanan
Hello Marek, On 5/25/2012 7:44 PM, Marek Vasut wrote: This patch conditionally defines flush_dcache_range() and invalidate_dcache_range() on MPC8xxx, to avoid EHCI complaining, resulting in the following output: snip + +void invalidate_dcache_range(unsigned long start, unsigned long stop) +{

Re: [U-Boot] [PATCH V5 RESEND 1/3] mtd/NAND: Add FSMC driver support

2012-05-24 Thread Vikram Narayanan
On 5/24/2012 10:58 AM, Amit Virdi wrote: From: Vipin KUMARvipin.ku...@st.com Flexible static memory controller is a peripheral provided by ST, which controls the access to NAND chips along with many other memory device chips eg NOR, SRAM. This patch adds the driver support for FSMC controller

[U-Boot] [PATCH 0/2] patman: Various fixes

2012-05-23 Thread Vikram Narayanan
This fixes the location of patman config file from ~/.config/patman to ~/.patman. Also addresses the creation of new config file when it isn't present. Cc: Simon Glass s...@chromium.org Cc: Wolfgang Denk w...@denx.de Vikram Narayanan (2): patman: Change the location of patman config file

[U-Boot] [PATCH 1/2] patman: Change the location of patman config file

2012-05-23 Thread Vikram Narayanan
Move the config file from ~/.config/patman to ~/.patman as it is more appropriate to have it there. Update the same in the README. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Simon Glass s...@chromium.org Cc: Wolfgang Denk w...@denx.de --- tools/patman/README |2 +- tools

[U-Boot] [PATCH 2/2] patman: Handle creation of patman config file

2012-05-23 Thread Vikram Narayanan
patman shouts when it couldn't find a $(HOME)/.patman file. Handle it in a sane way by creating a new one for the user. It looks for a user.name and user.email in the global .gitconfig file, waits for the user input if it can't find there. Update the same in the README Signed-off-by: Vikram

Re: [U-Boot] [PATCH v3] patman: Handle creation of patman config

2012-05-21 Thread Vikram Narayanan
Hello Wolfgang, On 5/1/2012 10:37 AM, Simon Glass wrote: On Mon, Apr 30, 2012 at 8:46 PM, Vikram Narayanan vikram...@gmail.com mailto:vikram...@gmail.com wrote: patman shouts when it couldn't find a $(HOME)/.config/patman file. Handle it in a sane way by creating a new one for the user

Re: [U-Boot] [PATCH 0/2] patman further fixes

2012-05-21 Thread Vikram Narayanan
Hello Simon, On 5/8/2012 11:40 PM, Vikram Narayanan wrote: Update README and source file with the new location of config file Cc: Simon Glasss...@chromium.org Vikram Narayanan (2): patman: Change the location of the config file patman: Update README tools/patman/README |5

[U-Boot] [PATCH 0/2] patman further fixes

2012-05-08 Thread Vikram Narayanan
Update README and source file with the new location of config file Cc: Simon Glass s...@chromium.org Vikram Narayanan (2): patman: Change the location of the config file patman: Update README tools/patman/README |5 - tools/patman/settings.py |8 2 files changed

[U-Boot] [PATCH 1/2] patman: Change the location of the config file

2012-05-08 Thread Vikram Narayanan
Move the config file from ~/.config/patman to ~/.patman as it is more appropriate to have it there. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Simon Glass s...@chromium.org --- tools/patman/settings.py |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 2/2] patman: Update README

2012-05-08 Thread Vikram Narayanan
Make changes in the README file with the new location of patman config file. Also update the creation of config file. Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Simon Glass s...@chromium.org --- tools/patman/README |5 - 1 files changed, 4 insertions(+), 1 deletions

Re: [U-Boot] [PATCH 0/2] patman further fixes

2012-05-08 Thread Vikram Narayanan
On 5/8/2012 11:40 PM, Vikram Narayanan wrote: Update README and source file with the new location of config file Please note that this patch depends on patman: Handle creation of patman config patch, which is Acked but not applied to the master yet. Cc: Simon Glasss...@chromium.org Vikram

Re: [U-Boot] [PATCH v2 2/4] patman: Add meaningful statements instead of blah blah

2012-04-30 Thread Vikram Narayanan
Hello Wolfgang, On 4/30/2012 1:14 PM, Wolfgang Denk wrote: Dear Vikram Narayanan, In message4f9acbb8.2040...@gmail.com you wrote: Add example statements for commit message and series messages Signed-off-by: Vikram Narayananvikram...@gmail.com Cc: Simon Glasss...@chromium.org --- tools

Re: [U-Boot] [PATCH v2 4/4] patman: Handle creation of patman config

2012-04-30 Thread Vikram Narayanan
Hello Wolfgang, On 4/30/2012 2:14 PM, Wolfgang Denk wrote: Dear Vikram Simon, In message4f9acbd1.1080...@gmail.com you wrote: patman shouts when it couldn't find a $(HOME)/.config/patman file. Handle it in a sane way by creating a new one for the user. It looks for a user.name and

Re: [U-Boot] [PATCH v2 4/4] patman: Handle creation of patman config

2012-04-30 Thread Vikram Narayanan
On 4/30/2012 11:07 PM, Simon Glass wrote: Hi Vikram, On Fri, Apr 27, 2012 at 9:39 AM, Vikram Narayanan vikram...@gmail.com mailto:vikram...@gmail.com wrote: patman shouts when it couldn't find a $(HOME)/.config/patman file. Handle it in a sane way by creating a new one for the user

[U-Boot] [PATCH v3] patman: Handle creation of patman config

2012-04-30 Thread Vikram Narayanan
patman shouts when it couldn't find a $(HOME)/.config/patman file. Handle it in a sane way by creating a new one for the user. It looks for a user.name and user.email in the global .gitconfig file, waits for the user input if it can't find those. Signed-off-by: Vikram Narayanan vikram

[U-Boot] [PATCH v2 0/4] patman fixes

2012-04-27 Thread Vikram Narayanan
This patchset fixes a few typo. And also addresses creation of patman config file. Changes from v1: Improved the patch with comments from Simon Glass Vikram Narayanan (4): patman: Fix a typo error patman: Add meaningful statements instead of blah blah patman: Change the location of patman

[U-Boot] [PATCH v2 1/4] patman: Fix a typo error

2012-04-27 Thread Vikram Narayanan
Replace gti with git in README file Signed-off-by: Vikram Narayanan vikram...@gmail.com Cc: Simon Glass s...@chromium.org --- tools/patman/README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/patman/README b/tools/patman/README index 587c97f..d9820ab 100644

  1   2   >