Re: [U-Boot] [PATCH v7] qi_lb60: add nand spl support

2013-01-07 Thread Xiangfu Liu
Hi Daniel Thanks for reply. patches coming soon. Xiangfu On 01/07/2013 03:54 AM, Daniel Schwierzeck wrote: > 2013/1/4 Xiangfu Liu : >> Hi >> >> Any chance merge this commit to upstream. make it a new year gift for me. :) >> Thanks >> >> Xiangfu >>

Re: [U-Boot] [PATCH v7] qi_lb60: add nand spl support

2013-01-04 Thread Xiangfu Liu
Hi Any chance merge this commit to upstream. make it a new year gift for me. :) Thanks Xiangfu On 10/30/2012 08:41 AM, Scott Wood wrote: > On 10/26/2012 08:07:47 PM, xian...@openmobilefree.net wrote: >> From: Xiangfu >> >> The JZ4740 CPU can load 8KB from two differe

[U-Boot] [PATCH v7] qi_lb60: add nand spl support

2012-10-26 Thread xiangfu
From: Xiangfu The JZ4740 CPU can load 8KB from two different addresses: 1. the normal area up to 8KB starting from NAND flash address 0x 2. the backup area up to 8KB starting from NAND flash address 0x2000 Signed-off-by: Xiangfu --- Makefile | 12

[U-Boot] [PATCH v7] qi_lb60: add nand spl support

2012-10-26 Thread xiangfu
From: Xiangfu Big thanks to Tom Rini, Daniel Schwierzeck and Marek Vasut for feedback. For the usbboot code. I can not fast re-write them to u-boot USB sub-system. but I don't want wait. so let's finish the nand spl code first. :) V7: * fix typo V6: * remove usbboot code *

[U-Boot] [PATCH v6] qi_lb60: add nand spl support

2012-10-26 Thread xiangfu
From: Xiangfu The JZ4740 CPU can load 8KB from two different addresses: 1. the normal area up to 8KB starting from NAND flash address 0x 2. the backup area up to 8KB starting from NAND flash address 0x2000 Signed-off-by: Xiangfu --- Makefile | 12

[U-Boot] [PATCH v6] qi_lb60(Ben NanoNote): add nand spl and usbboot support

2012-10-26 Thread xiangfu
From: Xiangfu Big thanks to Tom Rini, Daniel Schwierzeck and Marek Vasut for feedback. For the usbboot code. I can not fast re-write them to u-boot USB sub-system. but I don't want wait. so let's finish the nand spl code first. :) V6: * remove usbboot code. * add u-boot-xburst.b

Re: [U-Boot] [PATCH v5 1/2] qi_lb60: add nand spl support

2012-10-13 Thread Xiangfu Liu
Hi Marek I will look into CPU-specific. come out with new patches. Xiangfu On 10/13/2012 08:50 PM, Marek Vasut wrote: > This is CPU-specific , right? So it should be some kind of CPU-specific > override > in CPU-specific directory, not polute the main Makefile. > > Best regards

Re: [U-Boot] [PATCH v5 2/2] qi_lb60: add software usbboot support

2012-10-13 Thread Xiangfu Liu
On 10/13/2012 08:52 PM, Marek Vasut wrote: > Dear xiangfu liu, > >> > Hi Marek >> > >> > On Sat, Oct 13, 2012 at 8:23 PM, Marek Vasut wrote: >>> > > Dear xiangfu liu, >>> > > >>>> > > > Hi Marek >&g

Re: [U-Boot] [PATCH v5 2/2] qi_lb60: add software usbboot support

2012-10-13 Thread xiangfu liu
Hi Marek On Sat, Oct 13, 2012 at 8:23 PM, Marek Vasut wrote: > Dear xiangfu liu, > > > Hi Marek > > > > This file was wrote by Ingenic people. I don't have time to convert it to > > C(I am not very good in mips assembler). the .S file implement basic USB >

Re: [U-Boot] [PATCH v5 1/2] qi_lb60: add nand spl support

2012-10-13 Thread Xiangfu Liu
On 10/13/2012 10:59 AM, Marek Vasut wrote: >> From: Xiangfu >> > >> > The JZ4740 CPU can load 8KB from two different addresses: >> >1. the normal area up to 8KB starting from NAND flash address 0x >> >2. the backup area up to 8KB s

Re: [U-Boot] [PATCH v5 2/2] qi_lb60: add software usbboot support

2012-10-13 Thread xiangfu liu
host app source code even clear then the original Ingenic document. so feel free to send patch. Xiangfu On Sat, Oct 13, 2012 at 11:01 AM, Marek Vasut wrote: > Dear xian...@openmobilefree.net, > > > From: Xiangfu > > > > JZ4740 CPU have a internal ROM have such kind of

[U-Boot] [PATCH v5 1/2] qi_lb60: add nand spl support

2012-10-11 Thread xiangfu
From: Xiangfu The JZ4740 CPU can load 8KB from two different addresses: 1. the normal area up to 8KB starting from NAND flash address 0x 2. the backup area up to 8KB starting from NAND flash address 0x2000 After create u-boot-spl.bin. it needs those 4 commands create final

[U-Boot] [PATCH v5 2/2] qi_lb60: add software usbboot support

2012-10-11 Thread xiangfu
From: Xiangfu JZ4740 CPU have a internal ROM have such kind of code, that make JZ4740 can boot from USB usbboot.S can downloads user program from the USB port to internal SRAM and branches to the internal SRAM to execute the program Signed-off-by: Xiangfu --- board/qi/qi_lb60/qi_lb60

[U-Boot] [PATCH v5 0/2] qi_lb60(Ben NanoNote): add nand spl and usbboot support

2012-10-11 Thread xiangfu
From: Xiangfu Big thanks to Tom Rini and Daniel Schwierzeck for feedback. V5: * use puts instread of serial_puts (enable CONFIG_SPL_LIBCOMMON_SUPPORT) * update my email address * fix compiles warnings V4: * split to 2 patches (nand spl/usbbot) * remove use define string.c using

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-10 Thread Xiangfu Liu
Hi Tom Rini I cannot easy find a way to use 'puts' instead 'serial_puts' in my code. any advise will be great. Thanks Xiangfu On 10/10/2012 05:27 AM, Daniel Schwierzeck wrote: >> I'm happy you've moved to the new SPL infrastructure. A few comments

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-10 Thread Xiangfu Liu
Hi Thanks for feedback. PATVH v4 will coming soon. about 'CONFIG_SPL_FRAMEWORK' I don't know this when I working on ben nanonote spl. I think I will stick with this spl for awhile. is there a plan remove drivers/mtd/nand/nand_spl_*.c? Xiangfu On 10/10/2012 05:27 AM, Daniel Sc

[U-Boot] [PATCH v4 1/2] qi_lb60: add nand spl support

2012-10-10 Thread xiangfu
From: Xiangfu The JZ4740 CPU can load 8KB from two different addresses: 1. the normal area up to 8KB starting from NAND flash address 0x 2. the backup area up to 8KB starting from NAND flash address 0x2000 After create u-boot-spl.bin. it needs those 4 commands create final

[U-Boot] [PATCH v4 2/2] qi_lb60: add software usbboot support

2012-10-10 Thread xiangfu
From: Xiangfu JZ4740 CPU have a internal ROM have such kind of code, that make JZ4740 can boot from USB usbboot.S can downloads user program from the USB port to internal SRAM and branches to the internal SRAM to execute the program Signed-off-by: Xiangfu --- board/qi/qi_lb60

[U-Boot] [PATCH v4 0/2] qi_lb60 add nand spl and usbboot support

2012-10-10 Thread xiangfu
From: Xiangfu V4: * split to 2 patches (nand spl/usbbot) * remove use define string.c using CONFIG_SPL_LIBGENERIC_SUPPORT * fix checkputch.pl warnings V3: * add simpile string.c to mips/lib * some cleanup on jz4740.c * move to new spl/ structure * support software usbboot mode

[U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-09 Thread xiangfu
From: Xiangfu Liu * After create u-boot-spl.bin. it needs those 4 commands create final image for jz4740 cpu. dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync bs=8192 count=1 dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync,notrunc oflag=append bs=8192 count=1 tr &#x

Re: [U-Boot] [U-Boot-DM] [PATCH 3/3] dm: mips: Fix warnings in lb60 board

2012-08-19 Thread Xiangfu Liu
Thanks Marek Vasu, Daniel Schwierzeck, Xiangfu On 08/20/2012 02:19 AM, Daniel Schwierzeck wrote: 2012/7/27 Marek Vasut : The lb60 board accesses the clkgr register, which is 32bit via 16bit IO ops. This causes malfunction. Fix this. qi_lb60.c: In function ‘cpm_init’: qi_lb60.c:72:2: warning

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
when I remove the -O2. it give me error: jz4740.c:(.text.sdram_init+0x14): undefined reference to `memcpy' so I keep the -O2 there. please anyone give me some advice on how to fix this. that will be great. thanks again xiangfu ___ U-Boot mai

[U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- Changes for v2: -Add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST -Cleanup jz4740_nand.c a little Changes for v3: -Remove CONFIG_NAND_SPL_TEXT_BASE, fix the wrong TEXT base under SPL u-boot.lds -Remove overcomplicated 'dd', pad to 32KB SPL instead of 256

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
compare the binary more. try to understand this. xiangfu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-06 Thread Xiangfu Liu
On 01/06/2012 02:44 AM, Scott Wood wrote: Use "mips-whatever-objdump -dlrsh" on the good and bad u-boot binaries (or on any .o files you suspect may be relevant), to see more specifically what's different. You may also want to try compiling suspect files to assembly and comparing the differences

[U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-06 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- arch/mips/cpu/xburst/cpu.c |4 + arch/mips/cpu/xburst/start_spl.S | 65 drivers/mtd/nand/jz4740_nand.c | 40 +++- include/configs/qi_lb60.h|3 + nand_spl/board/qi/qi_lb60/Makefile | 112

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Xiangfu Liu
Hi yes. I have cpmpared this. but I can't find where is the problem. attachment is the u-boot.map diff. after remove those 'extern' the u-boot-nand-spl is exact same. binary file. map file both same. but the u-boot.bin/map changed. Please help me take a look. thanks Scott. xi

[U-Boot] add nand spl boot for qi_lb60 board

2012-01-01 Thread Xiangfu Liu
ve those three lines under nand_spl/board/qi/qi_lb60/nand_spl.c, it will make u-boot-nand.bin break. can't boot the device anymore. Please give me some advice how to debug the error. thanks xiangfu Signed-off-by: Xiangfu Liu --- arch/mips/cpu/xburst/cpu.c |4 + arch/mi

Re: [U-Boot] [PATCH] tools: checkpatch.pl from Linux added to tools

2011-10-12 Thread Xiangfu Liu
On 10/12/2011 09:41 AM, Joe Hershberger wrote: > Added from Linux - commit 30ecad51849ae132dc6ef6ddb62d499c7257515b > > Include config file to ignore common false-positives great thanks Joe. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.

Re: [U-Boot] [PATCH v7 0/3] those series patches for add ben nanonote board

2011-10-02 Thread Xiangfu Liu
On 10/02/2011 09:52 PM, Shinya Kuribayashi wrote: > Hi, > > Here's seventh patchset for Ben NanoNote initial support. I've been > working with Xiangfu past six months to polish v6 patches. We have > addressed all comments from Wolfgang and Scott so far, drop nand_spl &g

Re: [U-Boot] [PATCH v6 4/7] jz4740 nand driver

2011-04-26 Thread Xiangfu Liu
BT? > Set the nand->options flag, same as in U-Boot. > thanks for the info. will enable the BBT in next series patches - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://e

Re: [U-Boot] [PATCH v6 4/7] jz4740 nand driver

2011-04-26 Thread Xiangfu Liu
try to implement them in next series patches and will include the mmc/lcd/nandSPL source code in next serial patches. thanks again. - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with M

Re: [U-Boot] [PATCH v6 4/7] jz4740 nand driver

2011-03-25 Thread Xiangfu Liu
ep some space in nand for BBT? 2. do I have to tell u-boot where is the BBT? 3. do I need some configure in linux kernel for BBT? - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - h

Re: [U-Boot] [PATCH v6 7/7] modify files for ben nanonote board

2011-03-25 Thread Xiangfu Liu
1) remove $(TOPDIR)/ > Makefile part, and 2) get 'qi_lb60' entry work as expected, instead. thanks for the info. fixed. send the patches later today - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Us

Re: [U-Boot] [PATCH v6 4/7] jz4740 nand driver

2011-03-22 Thread Xiangfu Liu
to found more info about this. then explain more in next email. thanks Scott Wood for your feedback. I will keeping working. until the code is good enough :) - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Li

Re: [U-Boot] [PATCH v6 2/7] this is jz4740 head file

2011-03-22 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/15/2011 10:27 AM, Shinya Kuribayashi wrote: > This is used by files in PATCH v6 1/7. Please fold > this patch into the v6 1/7. That should be ok. ok. will do that in next patches. thanks again - -- Best Regards Xiangfu Li

Re: [U-Boot] [PATCH v6 1/7] those files are jz4740 base files

2011-03-22 Thread Xiangfu Liu
40_uart *) CONFIG_SYS_UART_BASE; >> > + > Can we make this static? yes. sure. thanks for point out - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ i

Re: [U-Boot] [PATCH v6 1/7] those files are jz4740 base files

2011-03-22 Thread Xiangfu Liu
guide > > and so on. thanks for your patch. I will fix the others. by the way is there a tools can check those things? - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http:

[U-Boot] [PATCH v6 7/7] modify files for ben nanonote board

2011-02-27 Thread Xiangfu Liu
modify files for ben nanonote board Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v6 - add some static data needed by timer.c MAKEALL |4 +++- Makefile| 13 + arch/mips/include/asm/global_data.h | 15

[U-Boot] [PATCH v6 6/7] add entry to MAINTAINERS and boards.cfg

2011-02-27 Thread Xiangfu Liu
add entry to MAINTAINERS and boards.cfg Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v4: - add Entry to MAINTAINERS and boards.cfg - add ben nanonote(qi_lb60) to Makefile - tested with CROSS_COMPILE=mips_4KCle- ./MAKEALL mips_el MAINTAINERS |4 boards.cfg

[U-Boot] [PATCH v6 5/7] add Ben NanoNote board

2011-02-27 Thread Xiangfu Liu
add ben nanonote board files Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v6 - clean up config files a little board/xburst/nanonote/Makefile| 45 +++ board/xburst/nanonote/config.mk | 31 + board/xburst/nanonote/nanonote.c | 95

[U-Boot] [PATCH v6 4/7] jz4740 nand driver

2011-02-27 Thread Xiangfu Liu
jz4740 nand driver Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v3 - use proper I/O accessors to access registers. - don't breaks the 80-charcter-wide rule - remove C++ comments, cleanup code style. Changes for v6 - delete all base + offset. using C struct and p

[U-Boot] [PATCH v6 2/7] this is jz4740 head file

2011-02-27 Thread Xiangfu Liu
this is jz4740 base head file Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v2: - remove useless code, prepare for using io.h - delete all base + offset. using C struct arch/mips/include/asm/jz4740.h | 1102 1 files changed, 1102

[U-Boot] [PATCH v6 3/7] jz4740 nand spl files

2011-02-27 Thread Xiangfu Liu
ben nanonote nand spl files Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v3 - use proper I/O accessors to access registers. Changes for v5 - remove nand_spl/nand_boot_jz4740.c - some cleanup Changes for v6 - delete all base + offset. using C struct nand_spl

[U-Boot] [PATCH v6 1/7] those files are jz4740 base files

2011-02-27 Thread Xiangfu Liu
x27;, Debian package named xburst-tools. for more info about Ingenic Xburst JZ4740 http://www.ingenic.cn/eng/default.aspx http://www.linux-mips.org/wiki/Ingenic http://en.qi-hardware.com Signed-off-by: Xiangfu Liu Acked-by: Daniel --- Changes for v2: - add jz4740 soc description Changes

[U-Boot] [PATCH v6 0/7] those series patches for add ben nanonote board

2011-02-27 Thread Xiangfu Liu
the u-boot to last version and send it to upstream. :) for more info about Ingenic Xburst JZ4740 http://www.ingenic.cn/eng/default.aspx http://www.linux-mips.org/wiki/Ingenic Xiangfu Liu (7): those files are jz4740 base files this is jz4740 head file jz4740 nand spl files jz4740

Re: [U-Boot] [PATCH v5 1/8] those files are jz4740 base files

2011-02-27 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi find out. using global_data. On 02/28/2011 12:54 PM, Xiangfu Liu wrote: >>>> +static ulong timestamp; >>>> >> > +static ulong lastdec; >> > As already has been pointed out several times before: thi

Re: [U-Boot] [PATCH v5 1/8] those files are jz4740 base files

2011-02-27 Thread Xiangfu Liu
c; > As already has been pointed out several times before: this will not > work because BSS cannot be accessed before relocation. > > can you give me some tips how to fix this? thanks - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Versio

[U-Boot] [PATCH v5 8/8] add software usbboot

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- drivers/mtd/nand/jz4740_nand.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 32b41ef..b15c4ea 100644 --- a/drivers

[U-Boot] [PATCH v5 7/8] modify files for ben nanonote board

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- MAKEALL |4 +++- Makefile| 10 ++ arch/mips/include/asm/global_data.h |9 + arch/mips/lib/board.c |8 arch/mips

[U-Boot] [PATCH v5 6/8] add entry to MAINTAINERS and boards.cfg

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- MAINTAINERS |4 boards.cfg |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ba83f71..0482a5f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -906,6 +906,10

[U-Boot] [PATCH v5 5/8] add Ben NanoNote board

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- board/xburst/nanonote/Makefile| 45 +++ board/xburst/nanonote/config.mk | 31 + board/xburst/nanonote/nanonote.c | 96 +++ board/xburst/nanonote/u-boot-nand.lds | 63

[U-Boot] [PATCH v5 4/8] jz4740 nand driver

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/jz4740_nand.c | 315 2 files changed, 316 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c

[U-Boot] [PATCH v5 2/8] this is jz4740 head file

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- arch/mips/include/asm/jz4740.h | 1380 1 files changed, 1380 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/jz4740.h diff --git a/arch/mips/include/asm

[U-Boot] [PATCH v5 3/8] jz4740 nand spl files

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- nand_spl/board/xburst/nanonote/Makefile | 106 + nand_spl/board/xburst/nanonote/u-boot.lds | 63 + 2 files changed, 169 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH v5 1/8] those files are jz4740 base files

2011-01-09 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu Acked-by: Daniel Acked-by: ChangWei Jia --- arch/mips/cpu/xburst/Makefile| 50 +++ arch/mips/cpu/xburst/config.mk | 33 ++ arch/mips/cpu/xburst/cpu.c | 160 arch/mips/cpu/xburst/jz4740.c| 266 arch/mips/cpu/xburst

[U-Boot] [PATCH v5 0/8] those series patches for add ben nanonote board

2011-01-09 Thread Xiangfu Liu
el FIXED in [PATCH v5] 1. remove nand_spl/nand_boot_jz4740.c 2. some cleanup Xiangfu Liu (8): those files are jz4740 base files this is jz4740 head file jz4740 nand spl files jz4740 nand driver add Ben NanoNote board add entry to MAINTAINERS and boards.cfg modify files for ben na

Re: [U-Boot] [PATCH v3 3/5] jz4740 nand spl files

2011-01-09 Thread Xiangfu Liu
table ECC error, it will continue to read the backup area of data from NAND flash using #hardware Reed-Solomon ECC. ~~~ I try to add "-Os", then I got some compile error: ~~~ mipsel-openwrt-linux-gcc -g -Os -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8010 -I/home/xiangfu/workspace/

Re: [U-Boot] [PATCH v4 4/7] jz4740 nand driver

2011-01-09 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2011 04:16 AM, Scott Wood wrote: > On Wed, Dec 08, 2010 at 12:20:46AM -0600, Xiangfu Liu wrote: >> +writel(readl(EMC_NFECR) & ~EMC_NFECR_ECCE, EMC_NFECR); > > readl() and other I/O accessors take pointers, not integer

Re: [U-Boot] [PATCH v4 3/7] jz4740 nand spl files

2011-01-09 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2011 04:13 AM, Scott Wood wrote: > On Wed, Dec 08, 2010 at 12:20:45AM -0600, Xiangfu Liu wrote: >> Signed-off-by: Xiangfu Liu >> --- >> nand_spl/board/xburst/nanonote/Makefile | 96 >> nand_spl/board

Re: [U-Boot] [PATCH v4 0/7] those series patches for add ben nanonote board

2010-12-08 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Wolfgang Denk On 12/08/2010 11:44 PM, Wolfgang Denk wrote: > Dear Xiangfu Liu, > > In message <4cff9e15.2040...@openmobilefree.net> you wrote: >> >> I have sended those patches to them. should I add >> &

Re: [U-Boot] [PATCH v4 0/7] those series patches for add ben nanonote board

2010-12-08 Thread Xiangfu Liu
d those patches to them. should I add " Acked-by: Daniel Acked-by: ChangWei Jia " in next version patch, (I think this patch v4 still not good enough merge to upstream :) Please give me some feedback. very thanks. On 12/08/2010 02:20 PM, Xiangfu Liu wrote: > Hi Wolfgang > t

[U-Boot] [PATCH] remove-flash.c-in-board-dbau1x00

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- Hi when I run "CROSS_COMPILE=mips_4KCle- ./MAKEALL mips_el". I got those[1] errors. this patch fixed that error. make board compile fine. but I am not sure if the bin image works fine in device. please test it. [1] == Configuring for dbau1x00 boar

[U-Boot] [PATCH v4 5/7] add Ben NanoNote board

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- board/xburst/nanonote/Makefile| 45 board/xburst/nanonote/config.mk | 31 ++ board/xburst/nanonote/nanonote.c | 96 + board/xburst/nanonote/u-boot-nand.lds | 63 +++ include/configs/nanonote.h

[U-Boot] [PATCH v4 6/7] add entry to MAINTAINERS and boards.cfg

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- MAINTAINERS |4 boards.cfg |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f47fca5..c6518f9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -900,6 +900,10 @@ Stefan Roese vct_xxx

[U-Boot] [PATCH v4 2/7] this is jz4740 head file

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- arch/mips/include/asm/jz4740.h | 1380 1 files changed, 1380 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/jz4740.h diff --git a/arch/mips/include/asm/jz4740.h b/arch/mips/include/asm/jz4740.h new

[U-Boot] [PATCH v4 4/7] jz4740 nand driver

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/jz4740_nand.c | 252 2 files changed, 253 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c diff --git a/drivers/mtd/nand/Makefile b

[U-Boot] [PATCH v4 0/7] those series patches for add ben nanonote board

2010-12-07 Thread Xiangfu Liu
Hi Wolfgang those patches are for add xburst jz4740 and Ben NanoNote(named qi_lb60) to U-Boot some info about xburst jz4740: the xburst jz4740 is recently added to linux 2.6.36 and it's support the device Ben NanoNote out of box, this xburst jz4740 cpu have one feature is Boot From USB,

[U-Boot] [PATCH v4 7/7] modify files for ben nanonote board

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- MAKEALL |4 +++- Makefile| 10 ++ arch/mips/include/asm/global_data.h |9 + arch/mips/lib/board.c |8 arch/mips/lib/time.c|2 ++ 5 files

[U-Boot] [PATCH v4 3/7] jz4740 nand spl files

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- nand_spl/board/xburst/nanonote/Makefile | 96 nand_spl/board/xburst/nanonote/u-boot.lds | 63 ++ nand_spl/nand_boot_jz4740.c | 344 + 3 files changed, 503 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH v4 1/7] those files are jz4740 base files

2010-12-07 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- arch/mips/cpu/xburst/Makefile| 50 +++ arch/mips/cpu/xburst/config.mk | 33 ++ arch/mips/cpu/xburst/cpu.c | 160 arch/mips/cpu/xburst/jz4740.c| 266 arch/mips/cpu/xburst/jz_serial.c | 128 ++ arch/mips/cpu/xburst

[U-Boot] [PATCH v3 4/5] jz4740 nand driver

2010-12-06 Thread xiangfu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- drivers/mtd/nand/jz4740_nand.c | 252 1 files changed, 252 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand

[U-Boot] [PATCH v3 5/5] add Ben NanoNote board

2010-12-06 Thread xiangfu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- board/xburst/nanonote/Makefile| 45 board/xburst/nanonote/config.mk | 31 ++ board/xburst/nanonote/nanonote.c | 110 +++ board/xburst/nanonote/u-boot-nand.lds | 63 +++ include

[U-Boot] [PATCH v3 2/5] this is jz4740 head file

2010-12-06 Thread xiangfu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- arch/mips/include/asm/jz4740.h | 1380 1 files changed, 1380 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/jz4740.h diff --git a/arch/mips/include/asm/jz4740.h b/arch/mips

[U-Boot] [PATCH v3 3/5] jz4740 nand spl files

2010-12-06 Thread xiangfu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- nand_spl/board/xburst/nanonote/Makefile | 96 nand_spl/board/xburst/nanonote/u-boot.lds | 63 ++ nand_spl/nand_boot_jz4740.c | 344 + 3 files changed, 503 insertions(+), 0 deletions

[U-Boot] [PATCH v3 1/5] those files are jz4740 base files

2010-12-06 Thread xiangfu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- arch/mips/cpu/xburst/Makefile| 50 +++ arch/mips/cpu/xburst/config.mk | 33 ++ arch/mips/cpu/xburst/cpu.c | 160 arch/mips/cpu/xburst/jz4740.c| 267 arch/mips/cpu/xburst/jz_serial.c | 128 ++ arch

[U-Boot] [PATCH v3 0/5] new cpu, ingenic xburst jz4740

2010-12-06 Thread xiangfu
Hi Wolfgang those patches are for add xburst jz4740 and Ben NanoNote to U-Boot some info about xburst jz4740: the xburst jz4740 is recently added to linux 2.6.36 and it's support the device Ben NanoNote out of box, this xburst jz4740 cpu have one feature is Boot From USB, there is a sm

[U-Boot] [PATCH 5/5] add Ben NanoNote board

2010-11-10 Thread Xiangfu Liu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- board/xburst/nanonote/Makefile| 45 board/xburst/nanonote/config.mk | 31 ++ board/xburst/nanonote/nanonote.c | 124 ++ board/xburst/nanonote/u-boot-nand.lds | 63 +++ include

[U-Boot] [PATCH 4/5] jz4740 nand driver

2010-11-10 Thread Xiangfu Liu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- drivers/mtd/nand/jz4740_nand.c | 250 1 files changed, 250 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/nand/jz4740_nand.c diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand

[U-Boot] [PATCH 3/5] jz4740 nand spl files

2010-11-10 Thread Xiangfu Liu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- nand_spl/board/xburst/nanonote/Makefile | 96 +++ nand_spl/board/xburst/nanonote/u-boot.lds | 63 + nand_spl/nand_boot_jz4740.c | 395 + 3 files changed, 554 insertions(+), 0 deletions

[U-Boot] [PATCH 1/5] those files are jz4740 base files

2010-11-10 Thread Xiangfu Liu
From: Xiangfu Liu Signed-off-by: Xiangfu Liu --- arch/mips/cpu/xburst/Makefile | 50 +++ arch/mips/cpu/xburst/config.mk| 33 ++ arch/mips/cpu/xburst/cpu.c| 158 +++ arch/mips/cpu/xburst/interrupts.c | 33 ++ arch/mips/cpu/xburst/jz4740.c | 257 +++ arch

[U-Boot] [PATCH 0/5] [MIPS] add jz4740 base file and Ben NanoNote

2010-11-10 Thread Xiangfu Liu
Hi Shinya very thanks for your feed pack, and I am really sorry for so later reply. the "[PATCH 1/5] those files are jz4740 base files" is patch v2 of "[PATCH] [MIPS] those files are jz4740 base files" I have try to fix all your comments. only one thing, I am not very understand the "fla

Re: [U-Boot] MIPS relocation?

2010-10-04 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Heiko by applied this patch. both works fine. On 10/04/2010 10:49 PM, Heiko Schocher wrote: > Hello Xiangfu, > > Xiangfu Liu wrote: >> Hi Wolfgang Denk >> >> since my board (Ben NanoNote) is mips. >> so I te

Re: [U-Boot] MIPS relocation?

2010-10-04 Thread Xiangfu Liu
v print > saveenv versus env save > > Thanks in advance! > > Best regards, > > Wolfgang Denk > - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux)

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-31 Thread Xiangfu Liu
- dbau1550_el_config Little-Endian > 4 mips_4KCle- dbau1550_el_config Little-Endian > > And option 2) and 3) may not work when using ELDK. Hi Shinya I will try to look into this issue. thanks for the info. - -- Best Regards Xiangfu Liu http://www.openmobilefree.net -BE

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/31/2010 09:29 AM, Shinya Kuribayashi wrote: > On 8/31/2010 10:00 AM, Xiangfu Liu wrote: >> xian...@openmobilefree:~/u-boot/u-boot.git$ file u-boot >> u-boot: ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Xiangfu Liu
c (GCC) 4.0.0 (DENX ELDK 4.1 4.0.0) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -- Best Regards Xiangfu Liu http://www.openmobilefree.net ---

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/30/2010 09:23 PM, Shinya Kuribayashi wrote: > On 8/30/10 6:53 PM, Xiangfu Liu wrote: >> can we apply those patch to MIPS-branch first?? > >> [PATCH 1/2] update the MIPS u-boot.lds > > I'll push 1/2 to u-boo

Re: [U-Boot] [PATCH] fix the c_size, in CSD Version 2.0, it's 22 bits

2010-08-30 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Reinhard thanks for reply. On 08/30/2010 07:08 PM, Reinhard Meyer wrote: > Xiangfu Liu schrieb: >> Signed-off-by: Xiangfu Liu >> --- >> include/mmc.h |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-)

[U-Boot] [PATCH] fix the c_size, in CSD Version 2.0, it's 22 bits

2010-08-30 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- include/mmc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/mmc.h b/include/mmc.h index fcb237e..b913a60 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -189,12 +189,12 @@ struct mmc_csd u8 tran_speed; u16

Re: [U-Boot] [PATCH 0/2] fix little endian build

2010-08-30 Thread Xiangfu Liu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Skuribay, Woflgang can we apply those patch to MIPS-branch first?? On 08/09/2010 11:13 PM, xian...@openmobilefree.net wrote: > From: Xiangfu Liu > > those two patches fix the little endian build. > done by Shinya Kuribayashi. &g

Re: [U-Boot] [PATCH] MX51EVK: fix return value of get_timer_masked

2010-08-09 Thread Xiangfu Liu
two emails you send are same. first one is "base-64 encoded" second is good. > 2. Should I follow this thread, or resend a new one? > I think send a new one title with "[PATCH] v2". you should use "git send-email" to send p

Re: [U-Boot] [PATCH] MX51EVK: fix return value of get_timer_masked

2010-08-09 Thread Xiangfu Liu
; for this board. >> >> Li, could you please resend your patch as text ? It was sent as base-64 >> encoded, and I cannot directly apply it. >> >> Thanks, >> Stefano Babic >> -- Best Regards Xiangfu Liu http://www.openmobilefree.net ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] change the way of build little endian board

2010-08-09 Thread Xiangfu Liu
mips: change the way of build little endian board > > that way non-mips people can easily ignore this e-mail > -mike Hi Mike thanks for the advice. I will do that next time. -- Best Regards Xiangfu Liu http://www.openmobilefree.net ___ U-Boot m

[U-Boot] [PATCH 2/2] change the way of build little endian board

2010-08-09 Thread xiangfu
add CONFIG_CPU_LITTLE_ENDIAN to little endian board config. use -dumpmachine to check if the cross compile. Signed-off-by: Xiangfu Liu Acked-by: Shinya Kuribayashi --- Makefile |1 + arch/mips/config.mk | 27 +-- arch/mips/cpu/config.mk

[U-Boot] [PATCH 1/2] update the MIPS u-boot.lds

2010-08-09 Thread xiangfu
>From the document, if set all arguments in "OUTPUT_FORMAT" to "tradbigmips", then even add "-EL" to gcc we still get EB format. pb1x00 is only used in Little-endian, so its default endian should be set to LE as well. Signed-off-by: Xiangfu Liu Acked-by

[U-Boot] [PATCH 0/2] fix little endian build

2010-08-09 Thread xiangfu
From: Xiangfu Liu those two patches fix the little endian build. done by Shinya Kuribayashi. Makefile |1 + arch/mips/config.mk | 27 +-- arch/mips/cpu/config.mk |8 board/dbau1x00/u-boot.lds|2 +- board/gth2

[U-Boot] [PATCH v3] update the MIPS u-boot.lds

2010-08-04 Thread xiangfu
>From the document, if set all arguments in "OUTPUT_FORMAT" to "tradbigmips", then even add "-EL" to gcc we still get EB format. pb1x00 is only used in Little-endian, so its default endian should be set to LE as well Signed-off-by: Xiangfu Liu Acked-by: Sh

[U-Boot] [PATCH v2] update the MIPS u-boot.lds

2010-08-04 Thread xiangfu
From: Xiangfu Liu pb1x00 is only used in Little-endian, so its default endian should be set to LE as well Signed-off-by: Xiangfu Liu Acked-by: Shinya Kuribayashi --- board/dbau1x00/u-boot.lds|2 +- board/gth2/u-boot.lds|2 +- board/incaip/u-boot.lds |2

Re: [U-Boot] [PATCH] update the MIPS u-boot.lds

2010-08-03 Thread Xiangfu Liu
eel free to add: > > Acked-by: Shinya Kuribayashi > (by the way. I manually added this line to email. is the another way to add "Acked-by" like "Signed-off-by" is "-s") -- Best Regards Xiangfu Liu http://www.openmobilefree.net __

  1   2   >