Re: [U-Boot] Standalone application issue.

2014-05-27 Thread Rommel G Custodio
Dear Wolfgang, Wolfgang Denk denx.de> writes: > > Dear Rommel, > > In message post.gmane.org> you wrote: > > > > Use "go", this was made for the purpose at hand! Thanks for the comments! I will give it a "go" next time :-) > > Best regards, > > Wolfgang Denk > All the best, Rommel

Re: [U-Boot] Standalone application issue.

2014-05-27 Thread Rommel G Custodio
Dear Mazen mazen.e gmail.com> writes: > > Thanks Wolfgang, > > I will do and post the result. > > Many thanks. I've never got "bootm" to run any of the standalone applications in the example directory but through trial and error (maybe luck) "bootelf" works for me. I've tested that this wo

Re: [U-Boot] [RFC PATCH v2 03/13] sandbox: Support iotrace feature

2014-05-12 Thread Rommel G Custodio
Dear Simon Glass, Simon Glass chromium.org> writes: > > Support the iotrace feature for sandbox, and enable it, using some dummy > I/O access methods. > > Signed-off-by: Simon Glass chromium.org> > --- > > diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h > index fa62cb6.

Re: [U-Boot] [PATCH 10/10][v2] board/t104xrdb: Add support of NAND, SD, SPI boot for T104xRDB

2014-04-10 Thread Rommel G Custodio
Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: > > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND t

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: > > > On 4/1/2014 4:40 AM, Rommel G Custodio wrote: > > Dear Prabhakar Kushwaha, > > > > Prabhakar Kushwaha freescale.com> writes: > > 8>< snipped ><8 > >>

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Rommel G Custodio gmail.com> writes: > > Dear Prabhakar Kushwaha, > > Prabhakar Kushwaha freescale.com> writes: > > > > > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > > here, PBL initialise the internal SRAM and copy SPL(

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: > > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND t

Re: [U-Boot] [PATCH 2/2] T1040QDS: Add support of 2 stage SPI bootloader

2014-03-25 Thread Rommel G Custodio
Dear Priyanka Jain, Priyanka Jain freescale.com> writes: > > Add support of 2-stage T1040QDS SPI bootloader using SPL framework. > In this, PBL (hardware) initializes SRAM (256K) and copy SPL > (192K) from SPI flash to SRAM and transfer control to SPL. > This SPL bootloader furthur initializes

Re: [U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

2014-02-26 Thread Rommel G Custodio
Dear Pantelis Antoniou Pantelis Antoniou antoniou-consulting.com> writes: > > Remove the in-structure ops and put them in mmc_ops with > a constant pointer to it. > > This makes the mmc structure smaller as well as conserving > code space (in theory). First build is latest master. Second buil

[U-Boot] [PATCH 2/2] ootstage: powerpc: support fdt stash and reporting

2014-02-19 Thread Rommel G Custodio
This implements stashing of bootstage timing data to FDT and automatic timing reporting. To enable define CONFIG_BOOTSTAGE_FDT and CONFIG_BOOTSTAGE_REPORT respectively. Signed-off-by: Rommel G Custodio --- arch/powerpc/lib/bootm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch

[U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code

2014-02-19 Thread Rommel G Custodio
The conditional is using a variable that is not defined. Signed-off-by: Rommel G Custodio --- arch/arm/lib/bootm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index a8295bf..7f1b2e0 100644 --- a/arch/arm/lib/bootm.c +++ b

[U-Boot] [PATCH V2 0/2] bootstage: fix fdt stashing and reporting

2014-02-19 Thread Rommel G Custodio
In arm, it seems there is a discrepancy in the code. The fdt stashing code uses an undefined variable. In powerpc, implement fdt stashing and pre-boot reporting of bootstage timing data. Fixed a typo in the commit log. Rommel G Custodio (2): bootstage: arm: fix fdt stashing code bootstage

[U-Boot] [PATCH V2 2/2] bootstage: powerpc: support fdt stash and reporting

2014-02-19 Thread Rommel G Custodio
This implements stashing of bootstage timing data to FDT and automatic timing reporting. To enable define CONFIG_BOOTSTAGE_FDT and CONFIG_BOOTSTAGE_REPORT respectively. Signed-off-by: Rommel G Custodio --- arch/powerpc/lib/bootm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch

[U-Boot] [PATCH 0/2] bootstage: fix fdt stashing and reporting

2014-02-19 Thread Rommel G Custodio
In arm, it seems there is a discrepancy in the code. The fdt stashing code uses an undefined variable. In powerpc, implement fdt stashing and pre-boot reporting of bootstage timing data. Rommel G Custodio (2): bootstage: arm: fix fdt stashing code ootstage: powerpc: support fdt stash and

[U-Boot] [PATCH 1/2] bootstage: arm: fix fdt stashing code

2014-02-19 Thread Rommel G Custodio
The conditional is using a variable that is not defined. Signed-off-by: Rommel G Custodio --- arch/arm/lib/bootm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index a8295bf..7f1b2e0 100644 --- a/arch/arm/lib/bootm.c +++ b

Re: [U-Boot] Regarding u-boot patch about accurate boot time measurement

2014-02-17 Thread Rommel G Custodio
Dear Abdullah Yıldız, Abdullah Yıldız cse.yeditepe.edu.tr> writes: > > Hi Albert, > > On Mon, Feb 17, 2014 at 1:58 PM, Albert ARIBAUD > aribaud.net> wrote: > > Hi Abdullah, > > > > On Mon, 17 Feb 2014 13:10:52 +0200, Abdullah Yıldız > > cse.yeditepe.edu.tr> wrote: > > > >> Hi Simon, > >> > >

Re: [U-Boot] T1040 booting from NOR Flash

2014-02-12 Thread Rommel G Custodio
Dear Franck Jullien, Franck Jullien gmail.com> writes: > > Hi, > > I'd like to know if I have understood it correctly. > > When first time booting from NOR, the RCW and PBI must be written > using the JTAG. The last instruction of the PBI must be a jump > (0x13_8080) to the user's code (uboot

Re: [U-Boot] [PATCH v2] common: Remove invalid endianess conversion

2014-02-07 Thread Rommel G Custodio
Dear Christian Eggers Christian Eggers gmx.de> writes: > > do_bootm_standanlone() calls ntohl(images->ep) which is wrong because > endianess conversion has already been done: > > do_bootm() > \-do_bootm_states() > +-bootm_find_os() > | \-images.ep = image_get_ep(); > | \-uimage_to_cpu(

Re: [U-Boot] [PATCH 1/3] mtd: onenand: Fix unaligned access

2013-12-26 Thread Rommel G Custodio
Dear Marek Vasut, Marek Vasut denx.de> writes: > +/* > + * Warning! This array is used with the memcpy_16() function, thus > + * it must be aligned to 2 bytes. GCC can make this array unaligned > + * as the array is made of unsigned char, which memcpy16() doesn't > + * like and will cause unalig

Re: [U-Boot] Why u-boot relocate from flash to RAM

2013-12-02 Thread Rommel G Custodio
Dear tvpatel12, tvpatel12 gmail.com> writes: > > Hi, > > I can't understand that why u-boot code relocate itself form flash to RAM? > why it doesn't execute from flash? > Can anybody explain. Plz Read the very first paragraph of http://www.denx.de/wiki/DULG/DebuggingUBoot > > Tejas All the

Re: [U-Boot] [PATCH 0/1] ext4 fixes for BE machine

2013-07-23 Thread Rommel G Custodio
Dear Andreas Bießmann On 2013.07/21, Andreas Bießmann wrote: > I just copied the patch provided by Rommel and tested reading an ext4 on avr32 > machine. List content and read data from it worked, but I can't say anything > about ext4write which Rommel says to fix with that patch. Thanks for updat

[U-Boot] PATCH, RESEND] ext4fs: le32_to_cpu() used on a 16-bit field

2013-07-23 Thread Rommel G Custodio
>From 08b32b6511035c4a558773a992eb1ffa63521349 Mon Sep 17 00:00:00 2001 In-Reply-To: <20130719090305.16c47d8e@amdc308.digital.local> References: <20130719090305.16c47d8e@amdc308.digital.local> From: Rommel G Custodio Date: Sat, 20 Jul 2013 17:03:23 +0900 Subject: [PATCH,

Re: [U-Boot] [PATCH 1/3] ppc4xx: Add SPL support

2013-03-29 Thread Rommel G Custodio
Dear Stefan Rose, On 2013.02/22, Stefan Roese wrote: > diff --git a/arch/powerpc/cpu/ppc4xx/Makefile > b/arch/powerpc/cpu/ppc4xx/Makefile > index 8da2f86..e301dc6 100644 > --- a/arch/powerpc/cpu/ppc4xx/Makefile > +++ b/arch/powerpc/cpu/ppc4xx/Makefile > @@ -68,6 +68,10 @@ COBJS += miiphy.o

Re: [U-Boot] PPC405 with XMD boot

2013-02-06 Thread Rommel G Custodio
Dear Frank, On 2013.02/05, Frank Lombardo wrote: > Rommel, > > I am using your recently posted patch to boot my custom Virtex4 board with > XMD. Execution gets stuck in the NS16550_init() function. It gets stuck > at this line: So you're not jumping to random addresses anymore. > > #if (!def

[U-Boot] [RFC, PATCH] ppc: make the PPC405 jump to _start during RAM/XMD boot

2013-02-01 Thread Rommel G Custodio
dozir24,r5,6486 Comments are very much welcome. All the best, Rommel During RAM boot first instruction at offset 0 of load the load address should be a branch to _start. Signed-off-by: Rommel G Custodio --- arch/powerpc/cpu/ppc4xx/start.S | 5 + boards.cfg | 2

Re: [U-Boot] Help : Marvell SDIO/MMC driver for Sheevaplug

2013-01-30 Thread Rommel G Custodio
On 2013.01/29, DrEagle wrote: > Hi all, > > > > -Original Message- > > > From: u-boot-bounces at lists.denx.de [mailto:u-boot- > > > bounces at lists.denx.de] On Behalf Of DrEagle > > > Sent: 22 September 2012 12:45 > > > To: DrEagle > > > Cc: Lior Amsalem; u-boot at lists.denx.de; uboot a

Re: [U-Boot] [PATCH 2/4] board: xilinx: Remove common folder

2013-01-30 Thread Rommel G Custodio
Dear Michal, On 2013.01/23, Michal Simek wrote: > All these files was used for ancient xilinx drivers > which are finally gone. > > Signed-off-by: Michal Simek > --- > board/xilinx/common/xbasic_types.c | 165 > board/xilinx/common/xbasic_types.h | 283 -- > board/xil

Re: [U-Boot] [PATCH 1/4] board: xilinx: Remove unused ancient i2c driver

2013-01-30 Thread Rommel G Custodio
Dear Michal, On 2013.01/23, Michal Simek wrote: > There is new driver in the driver folder. > > Signed-off-by: Michal Simek > --- > board/xilinx/xilinx_iic/xiic_l.c | 484 > -- > board/xilinx/xilinx_iic/xiic_l.h | 150 > 2 files changed, 0 ins

Re: [U-Boot] U-Boot 2012.10 PXA270 - saveenv / Kernel issue

2012-11-11 Thread Rommel G Custodio
Dear All On 2012.11/11, Vasily Khoruzhick wrote: > On Sun, Nov 11, 2012 at 10:10 PM, Andreas Puls wrote: > > Hello everyone, > > > > > > i have a problem with the latest stable U-Boot 2012.10 and a Toradex > > Colibri PXA270 V2.4a Board and a upating the kernel. > > > > The problem apears when i

[U-Boot] [RFC, PATCH] mmc: prepare SDHCI_HOST_CONTROL for SDMA operation

2012-11-07 Thread Rommel G Custodio
state. This patch also moves the process inside sdhci_init(). Signed-off-by: Rommel G Custodio --- drivers/mmc/sdhci.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 7845f87..fae2169 100644 --- a/drivers/mmc

Re: [U-Boot] [PATCH 2/3] mmc: sdhci: add the DMA select for SDMA

2012-11-05 Thread Rommel G Custodio
Dear All, Jaehoon Chung On 2012.09/21, Jaehoon Chung wrote: > In host-control register, DMA select bit field is present. > BUt in sdhci.c, didn't select for DMA. This is an FYI. Maybe others will encounter the same problem I had. This code has recently been mainlined and it has caused some probl