Re: [U-Boot] [PATCH 1/4] spi_nor: add m25p32 spi nor driver

2012-08-15 Thread Lv Terry-R65388
Sorry for that I don't know m25p32 spi nor supported in stmicro. I've thought that this might be a new driver for new chips. That's ok. Then I'll summit mx53smd spi nor patches with stmicro. -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On

Re: [U-Boot] dwc_ahsata vs ahci

2012-07-30 Thread Lv Terry-R65388
Hi Pavel, The ahci.c is a ahci driver using pci interface, while dwc_asata is not. u-boot don't have a pure ahci driver now, thus we have to reuse some ahci parts from ahci.c in dwc_asata.c. Thanks~~ Yours Terry -Original Message- From:

[U-Boot] Is it an error in function ehci_submit_root() in ehci-hcd.c

2009-07-29 Thread Lv Terry-R65388
Hi All, I'm trying to enable ehci usb in our board and I found that there maybe two issues in funcion ehci_submit_root() in ehci-hcd.c. 1) In ehci_submit_root(), the function will do the following operation. From line 553 in ehci-hcd.c: typeReq = req-request 8 |

Re: [U-Boot] Is it an error in function ehci_submit_root() in ehci-hcd.c

2009-07-29 Thread Lv Terry-R65388
[mailto:prafu...@marvell.com] Sent: 2009年7月30日 1:30 To: Michael Trimarchi; Remy Bohmer Cc: Lv Terry-R65388; u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik Subject: RE: [U-Boot] Is it an error in function ehci_submit_root() in ehci-hcd.c -Original Message- From: Michael

Re: [U-Boot] how to add mmc/sd support in 6410 u-boot?

2009-07-30 Thread Lv Terry-R65388
Hi Michael, In the latest version, mmc is implemented in driver/mmc. If 6410 is not supported in current uboot, then what you need to do is: 1). Add hardware init code, like iomux and clock in your board init files. 2). Add host operation code. Maybe you can

[U-Boot] pata support in u-boot

2009-10-21 Thread Lv Terry-R65388
Hi, I'm trying to add our ATA driver to u-boot. But it seems that now u-boot only supports SATA. ATA is mixed with ide in cmd_ide.c. There is no ata common interface in include. Is this suitable? Yours Terry ___ U-Boot

Re: [U-Boot] pata support in u-boot

2009-10-21 Thread Lv Terry-R65388
-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] pata support in u-boot Dear Lv Terry-R65388, In message 1ae74f652ecb1440b73dd7c2c20842d19a6...@zch01exm27.fsl.freescale.net you wrote: I'm trying to add our ATA driver to u-boot. Fine. But it seems that now u-boot only supports

Re: [U-Boot] [PATCH] Improve read performance of gerenic mmc.

2009-11-03 Thread Lv Terry-R65388
Hi Mike, Thanks~~ I will send another patch. Yours Terry -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: 2009年11月4日 10:56 To: u-boot@lists.denx.de Cc: Lv Terry-R65388 Subject: Re: [U-Boot] [PATCH] Improve read performance

Re: [U-Boot] [PATCH] Save environment data to mmc.

2009-11-04 Thread Lv Terry-R65388
Sorry, this patch has something wrong. I'll send out a new one for review. Yours Terry -Original Message- From: Lv Terry-R65388 Sent: 2009年11月4日 17:52 To: u-boot@lists.denx.de Cc: Lv Terry-R65388 Subject: [PATCH] Save environment data to mmc. This patch is to save environment

Re: [U-Boot] [PATCH] Save environment data to mmc.

2009-11-05 Thread Lv Terry-R65388
for that. It works well in our project. So I want to add it to u-boot mainline. Thanks~~ Yours Terry -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: 2009年11月5日 20:10 To: u-boot@lists.denx.de Cc: Lv Terry-R65388 Subject: Re: [U-Boot] [PATCH] Save environment data

[U-Boot] Build error found when using CONFIG_CMD_UBIFS

2009-11-09 Thread Lv Terry-R65388
Hi All, I have encountered a build error when trying to build ubifs on u-boot v2009.08. Have anyone met this error before and how to fix it? In file included from ubifs.c:26: ubifs.h:469: error: conflicting types for '__set_bit'

[U-Boot] Does ubifs in u-boot is only for ppc

2009-11-11 Thread Lv Terry-R65388
Hi, I'm trying to build a u-boot image for our arm board with ubifs support. I have defined #define CONFIG_CMD_UBI #define CONFIG_CMD_UBIFS #define CONFIG_RBTREE #define CONFIG_LZO When building fs/ubifs/lpt.c, I encountered undefined reference errors.

[U-Boot] help on a compiler error in include/asm/system.h

2009-11-18 Thread Lv Terry-R65388
Hi u-boot experts, Now our arm board is based on u-boot v2009.08 and I need to use ubifs. So I replace some files from u-boot's latest version. They are: fs/ubifs/ubifs.c fs/ubifs/ubifs.h include/asm-arm/bitops.h include/linux/bitops.h and define the

[U-Boot] A question about driver/mmc/mmc.c

2009-11-24 Thread Lv Terry-R65388
Hi All, I use implement the esdhc driver and use driver/mmc/mmc.c and I think there might be a bug. I have a 4G mmc plus card in hand. The mmc_send_op_cond( ) function in mmc_init( ) will set mmc-high_capacity to 0. It's not a high capacity card. And in mmc_change_freq( ),

[U-Boot] Is it a bug in super.c in ubifs

2009-12-10 Thread Lv Terry-R65388
Hi, I found that in super.c, ubifs_fs_type is defined, static struct file_system_type ubifs_fs_type = { .name= ubifs, .owner = THIS_MODULE, .get_sb = ubifs_get_sb, }; but the struct fs_supers which is list_head type is not initialized.

Re: [U-Boot] [PATCH] Save environment data to mmc.

2010-04-29 Thread Lv Terry-R65388
Hi Babic, Pls check my comments with keyword [Ty]. Thanks for reviewing the patch. Thanks~~ Yours Terry -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: 2010年4月29日 22:34 To: Lv Terry-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot

Re: [U-Boot] [PATCH] [PATCH V4]Save environment data to mmc.

2010-05-06 Thread Lv Terry-R65388
[mailto:w...@denx.de] Sent: 2010年5月7日 6:22 To: Lv Terry-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] [PATCH V4]Save environment data to mmc. Dear Terry Lv, In message 12730401491046-git-send-email-r65...@freescale.com you wrote: This patch is to save environment data to mmc card

Re: [U-Boot] [PATCH 4/4] Environment in MMC

2010-05-13 Thread Lv Terry-R65388
Hi Alagu Sankar, Pls use my latest v5 patch for saving environment data to mmc. Thanks~~ Yours Terry -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Alagu Sankar Sent: 2010年5月12日 17:38 To:

Re: [U-Boot] [PATCH 3/4] MMC Multi-block Support

2010-05-13 Thread Lv Terry-R65388
Hi, Personally I think this patch can be used as common. CONFIG_MMC_MBLOCK is not needed. It can improve performance a lot for generic mmc. Thanks~~ Yours Terry -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On

Re: [U-Boot] [PATCH 4/4] Environment in MMC

2010-05-17 Thread Lv Terry-R65388
@lists.denx.de; Lv Terry-R65388 Subject: Re: [U-Boot] [PATCH 4/4] Environment in MMC Alagu Sankar wrote: When I searched for the Environment support in MMC, I came across Terry's earlier patches, but they were not cleanly getting applied to the current tree. I have tried to apply

[U-Boot] Does anyone know how to use FIT uImage

2010-05-17 Thread Lv Terry-R65388
Hi, experts, I've encountered an error in making FIT uImage. I created an fsl_kernel.its file and run mkimage -f fsl_kernel.its kernel.itb, the following error happened. r65...@szx32-17:~/uboot-v2009.08/uboot-imx$ mkimage -f fsl_kernel.its kernel.itb FIT format handling Trying to

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2010-07-04 Thread Lv Terry-R65388
Hi Rasha, As I know, u-boot has a weak support on mmu and cache. We have enabled mmu and dcache in our u-boot version. But I don't know what your case is. So I can just give you some suggestions. 1. mmu and dcache should be enabled very early, for

[U-Boot] How to handle binary data file in u-boot

2010-07-28 Thread Lv Terry-R65388
Hi Experts, We have implemented an display utilty in u-boot and this utlity needs a waveform file. We are planning to release this display utility, but we don't know how to do with the waveform file. The file is as large as 800KB. Now we just put the waveform file on mmc and read

Re: [U-Boot] [PATCH V3 7/8] fec_mxc: add MX25 support

2010-01-27 Thread Lv Terry-R65388
Hi John, Why don't you use mxc_fec? Actually, we use mxc_fec in mx25 u-boot. Thanks~~ Yours Terry -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of John Rigby Sent: 2010年1月26日 14:13 To:

Re: [U-Boot] Where can I find the git repostory for mx51evk

2010-02-26 Thread Lv Terry-R65388
26日 18:09 To: Lv Terry-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Where can I find the git repostory for mx51evk Dear Lv Terry-R65388, In message 1ae74f652ecb1440b73dd7c2c20842d1ac6...@zch01exm27.fsl.freescale.net you wrote: I have cloned u-boot-imx and want to apply the patch

[U-Boot] Where can I find the git repostory for mx51evk

2010-02-26 Thread Lv Terry-R65388
Hi Denx, I have cloned u-boot-imx and want to apply the patch [U-Boot] [PATCH V4 11/11] Add initial support for Freescale mx51evk board for a test. But the patch can't be appled. error: patch failed: MAINTAINERS:152 error: MAINTAINERS: patch does not apply How can I get the

Re: [U-Boot] Where can I find the git repostory for mx51evk

2010-02-28 Thread Lv Terry-R65388
26日 20:33 To: Lv Terry-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Where can I find the git repostory for mx51evk Dear Lv Terry-R65388, In message 1ae74f652ecb1440b73dd7c2c20842d1ac6...@zch01exm27.fsl.freescale.net you wrote: I have tried to apply the patch on mainline. You

Re: [U-Boot] [PATCH V4 10/11] fsl_esdhc: add support for mx51 processor

2010-02-28 Thread Lv Terry-R65388
Hi Stefano, Have you tested mmc on mx51 board? The original esdhc uses PIO mode in function esdhc_send_cmd(), while fsl_esdhc uses DMA mode. I hasn't tested DMA mode before. BTW: have you considered add the feature to save environment data to mmc?

Re: [U-Boot] [PATCH V3 7/8] fec_mxc: add MX25 support

2010-03-02 Thread Lv Terry-R65388
Hi John, I think it is better that you can add a new config, e.g. CONFIG_MIIGSK for MII gasket. Then if other i.MX platforms uses MIIGSK, we can use the config for it. Thanks~~ Yours Terry -Original Message- From: u-boot-boun...@lists.denx.de

Re: [U-Boot] [PATCH] Save environment data to mmc.

2010-03-03 Thread Lv Terry-R65388
. For the initalization for ARM and PPC, It will be added for all architectures. Thanks a lot ~~ Yours Terry -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: 2010年3月3日 1:03 To: Lv Terry-R65388 Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] Save environment data