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 different addresses: >>1. the

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, > Marek Vasut

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 starting from NAND flash address 0x2000 >> >

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

2012-10-13 Thread 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 stack. this C code ( http://projects.qi-hardware.com/index.php/p/xburst-tools/source/tree/master/xbboot) implement the host app. the host app

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: >> >> In general, please check for checkpatch

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

2012-10-10 Thread Xiangfu Liu
hwierzeck wrote: > 2012/10/9 Tom Rini : >> On Tue, Oct 09, 2012 at 04:28:05PM +0800, xian...@openmobilefree.net wrote: >> >>> From: Xiangfu Liu >>> >>> * After create u-boot-spl.bin. it needs those 4 commands create final >>> image for jz4740

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

2012-08-19 Thread Xiangfu Liu
: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] qi_lb60.c:84:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut Cc: Daniel Cc: Shinya Kuribayashi Cc: Xiangfu Liu --- board/qi

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

2012-01-10 Thread Xiangfu Liu
Hi Scott thanks for your comments. PATCH v3 have sent out for you to review. On 01/07/2012 06:36 AM, Scott Wood wrote: We are transitioning from nand_spl/ to spl/. Please try to work within the new infrastructure. You may run into problems with size in spl/, due to gc-sections not removing st

[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
On 01/07/2012 03:05 AM, Scott Wood wrote: > forget add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to board configure head > file. That still doesn't explain how a few duplicate externs changed the resulting binary... yes. strange. have no idea about this. when I have time I will compare the binar

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. xiangfu On 01/05/2

[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 > and USB_boot functions to m

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
)junk3 > $(nandobj)junk4 >> +dd bs=1024 count=256 if=/dev/zero of=$(nandobj)junk5 >> +cat $(nandobj)junk4 $(nandobj)junk5 > $(nandobj)junk6 >> +dd bs=1024 count=256 if=$(nandobj)junk6 of=$@ >> +rm -f $(nandobj)junk* > > Again, please explain what

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 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

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 __

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

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

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

2010-08-02 Thread Xiangfu Liu
From: Xiangfu Liu Hi Wolfgang >From the document, if set all arguments in "OUTPUT_FORMAT" to "tradbigmips", then even add "-EL" to gcc we still get EB format. Signed-off-by: Xiangfu Liu --- board/dbau1x00/u-boot.lds|2 +- board/gth2/u-boot.lds

Re: [U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-26 Thread Xiangfu Liu
-bigmips", "elf32-bigmips") > */ > -OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips") > +OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", > "elf32-tradlittlemips") > O

[U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-21 Thread Xiangfu Liu
argument to little and add $(ENDIANNESS) to linker args. this patch have tested with "./MAKEALL mips mips_el" Signed-off-by: Xiangfu Liu --- arch/mips/config.mk |2 +- examples/standalone/mips.lds |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

Re: [U-Boot] question about example/standalone/mips.lds

2010-07-21 Thread Xiangfu Liu
e endian command line > the output format is big endian, so I think the OP's toolchain did > what is expected - it made a big endian object file. > > http://sources.redhat.com/binutils/docs-2.12/ld.info/Format-Commands.html -- Best Regards Xia

Re: [U-Boot] question about add new board to MAKEALL

2010-07-20 Thread Xiangfu Liu
Hi Wolfgang On 07/20/2010 11:47 PM, Wolfgang Denk wrote: > Dear Xiangfu Liu, > > In message<4c45b400.2000...@openmobilefree.net> you wrote: >> >> I modify the patch to a new one[1], since this board use a new cpu >> named "xburst". >> this n

Re: [U-Boot] Question about patches

2010-07-20 Thread Xiangfu Liu
stop for amending > # s, squash = use commit, but meld into previous commit > # f, fixup = like "squash", but discard this commit's log message -- 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] question about add new board to MAKEALL

2010-07-20 Thread Xiangfu Liu
On 07/20/2010 05:51 PM, Wolfgang Denk wrote: > Dear Xiangfu Liu, >> is this patch[1] ok for "MAKEALL"? >> or how to add my board "qi_lb60_config" to "MAKEALL" > > Well, did you try it out? And did it work for you? > I modify the patch to a ne

Re: [U-Boot] question about example/standalone/mips.lds

2010-07-20 Thread Xiangfu Liu
OMPILE=mipsel-openwrt-linux- BUILD_DIR=../u-boot-build MAKEALL_LOGDIR=../u-boot-log ./MAKEALL mips_el On 07/20/2010 05:37 PM, Wolfgang Denk wrote: > Dear Xiangfu Liu, > > In message<4c453325.4080...@openmobilefree.net> you wrote: >> >> which compiler in ELDK if for t

Re: [U-Boot] question about add new board to MAKEALL

2010-07-20 Thread Xiangfu Liu
t; \ ## MIPS Systems(little endian) # -LIST_mips4kc_el="" +LIST_mips4kc_el=" \ + qi_lb60 \ +" LIST_mips5kc_el="" -- Best Regards Xiangfu Liu http://www.ope

Re: [U-Boot] Question about patches

2010-07-20 Thread Xiangfu Liu
t;> >> You can use git format patch command to produce numbered patches >> You can google it to know more >> >> Regards >> Vipin >> >>> Thanks >> > -- 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] question about example/standalone/mips.lds

2010-07-19 Thread Xiangfu Liu
his line[1]. I found other boards compile fine. without >> any error. >> >> do I must compile this example? >> is that ok to comment this line? >> or what I need to to ? > > All MIPS boards in mainline build fine without such a change - both > the BE and the LE on

Re: [U-Boot] [PATCH] move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"

2010-07-19 Thread Xiangfu Liu(刘向富)
lfgang Denk > -- 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] move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"

2010-07-19 Thread Xiangfu Liu(刘向富)
bilefree.net> you > wrote: >> From: Xiangfu Liu >> >> Hi Wolfgang Denk >> >> in my Ben Nanonote board. there is no flash. I got a error >> about no "CONFIG_SYS_FLASH_BASE" define. so I move this >> line to "#ifndef CONFIG_SYS_NO_FLASH&q

Re: [U-Boot] question about add new board to MAKEALL

2010-07-19 Thread Xiangfu Liu(刘向富)
origin" > >> xian...@openmobilefree:~/u-boot/u-boot.git$ git pull origin next >> fatal: Couldn't find remote ref next > > There is no "next" branch in the mainline repository at this point of > the release cycle. thanks for the info. > > Bes

Re: [U-Boot] Too Much Email

2010-07-18 Thread Xiangfu Liu(刘向富)
S > 77 "A" St. > Needham, MA, 02494 > Phone: 781-455-4071 > Email: jack.mo...@gdc4s.com > > > > > > > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailm

[U-Boot] question about example/standalone/mips.lds

2010-07-18 Thread Xiangfu Liu(刘向富)
I need to to ? thanks. [1] OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips") -- 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] question about add new board to MAKEALL

2010-07-18 Thread Xiangfu Liu(刘向富)
-- SUMMARY >> Boards compiled: 354 >> Boards with warnings or errors: 19 ( MVBC_P lwmon TQM823L_LCD BMW caddy2 >> MPC8536DS MPC8536DS_NAND MPC8536DS_SDCARD MPC8536DS_SPIFLASH MPC8544DS >> P2020DS P2020DS_36BIT PM854 AP1000 ML2 sc3 EVB64260

[U-Boot] question about add new board to MAKEALL

2010-06-27 Thread Xiangfu Liu(刘向富)
---------- -- 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] jffs2 FS flash occupation

2009-11-03 Thread Xiangfu Liu
ND fash size is 32M and uImage is 8M including application > and kernel. > I don't understand your question. "uImage is 8M including application"? uImage is the kernel right? why there is application ? -- Xiangfu Liu Email: xiangfu at

[U-Boot] some question about mips/board.c?

2009-10-12 Thread Xiangfu Liu
*/ 349 size = flash_init(); 350 display_flash_config (size); 351 bd->bi_flashsize = size; 352 #endif 353 354 bd->bi_flashstart = CONFIG_SYS_FLASH_BASE; you can find our source code at http://projects.qi-hardware.com/index.php/p/qi-u-boot/ -- Xiangfu Liu