Re: [U-Boot] [PATCH v2 2/8] nds32: add cpu support for nds32 arch

2010-08-05 Thread Po-Yu Chuang
/nds32/cpu/lowlevel_init.S is identical to arch/nds32/cpu/n1213/lowlevel_init.S. arch/nds32/cpu/start.S is identical to arch/nds32/cpu/n1213/start.S. There must be better way to do them. best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] get_ram_size: memory content of base address was not restored

2010-08-08 Thread Po-Yu Chuang
ize / sizeof (long); cnt <<= 1) { addr = base + cnt; *addr = save[--i]; } return (size); } } return (maxsize); } best regards, Po-Yu Chuang ___

Re: [U-Boot] [PATCH 1/9] ARM: a320evb: re-add MACH_TYPE_FARADAY

2011-11-21 Thread Po-Yu Chuang
Dear Anatolij, On Tue, Nov 22, 2011 at 2:46 AM, Anatolij Gustschin wrote: > Dear Po-Yu Chuang, > > On Sat, 19 Nov 2011 12:59:08 +0100 > Anatolij Gustschin wrote: > >> MACH_TYPE_FARADAY was removed from mach-types.h. >> Add it to the board config file. > > Could

Re: [U-Boot] [PATCH 1/9] ARM: a320evb: re-add MACH_TYPE_FARADAY

2011-11-21 Thread Po-Yu Chuang
Dear Anatolij, On Tue, Nov 22, 2011 at 11:18 AM, Po-Yu Chuang wrote: > Dear Anatolij, > > On Tue, Nov 22, 2011 at 2:46 AM, Anatolij Gustschin wrote: >> Dear Po-Yu Chuang, >> >> On Sat, 19 Nov 2011 12:59:08 +0100 >> Anatolij Gustschin wrote: >> >

[U-Boot] [PATCH] arm: a320: fix broken timer

2011-08-10 Thread Po-Yu Chuang
From: Po-Yu Chuang timer.c used static data and are called before relocation. Move all static variables into global_data structure. Also cleanup timer.c from unused stubs and make it truly use 64 bit tick values. Remove reset_timer_masked() get_timer_masked() reference: arch/arm/cpu/arm926ejs

Re: [U-Boot] [PATCH 1/3] A320: driver for FTMAC100 ethernet controller

2009-08-05 Thread Po-Yu Chuang
Dear Ben and Wolfgang, 2009/8/6 Ben Warren : > Wolfgang Denk wrote: >> In message >> Po-Yu Chuang wrote: >>> This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation >>> board. >>> >>> Signed-off-by: Po-Yu Chuang &g

Re: [U-Boot] [PATCH 3/3 v4] arm: A320: Add support for Faraday A320 evaluation board

2009-08-05 Thread Po-Yu Chuang
f that IP is used in another SOC with arm926 core? (This happens in Faraday's other SOCs) I think the easiest way is to treat A320 and Gemini patches unrelated. best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3 v4] arm: A320: Add support for Faraday A320 evaluation board

2009-08-05 Thread Po-Yu Chuang
cates u-boot to the end of SDRAM. Anyway, I have an idea now. I can submit a version that do not do the bank swap (SDRAM stays at 0x1000). The the mainline keeps beautiful as you wish. Then I create another patch to do the bank swap for our internal use. This should be a win-win. :-) best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3 v4] arm: A320: Add support for Faraday A320 evaluation board

2009-08-17 Thread Po-Yu Chuang
Dear Jean-Christophe PLAGNIOL-VILLARD, 2009/8/18 Jean-Christophe PLAGNIOL-VILLARD : > On 14:13 Thu 06 Aug     , Po-Yu Chuang wrote: >> Anyway, I have an idea now. >> I can submit a version that do not do the bank swap >> (SDRAM stays at 0x1000). >> >> The th

Re: [U-Boot] [PATCH 3/3 v4] arm: A320: Add support for Faraday A320 evaluation board

2009-08-19 Thread Po-Yu Chuang
Dear Jean-Christophe PLAGNIOL-VILLARD, 2009/8/20 Jean-Christophe PLAGNIOL-VILLARD : > On 09:38 Tue 18 Aug     , Po-Yu Chuang wrote: >> I have submitted a v5 patch. Please check. > where? > I do not seen it http://lists.denx.de/pipermail/u-boot/2009-August/058315.html It looks li

Re: [U-Boot] [PATCH v6 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-08-19 Thread Po-Yu Chuang
Dear Jean-Christophe PLAGNIOL-VILLARD, 2009/8/20 : > From: Po-Yu Chuang > > This patch adds support for A320 evaluation board from Faraday. This board > uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. > FA526 is an ARMv4 processor and uses the ARM920T

Re: [U-Boot] [PATCH v6 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-08-31 Thread Po-Yu Chuang
Dear Jean-Christophe PLAGNIOL-VILLARD, 2009/8/20 Po-Yu Chuang : > Dear Jean-Christophe PLAGNIOL-VILLARD, >> From: Po-Yu Chuang >> >> This patch adds support for A320 evaluation board from Faraday. This board >> uses FA526 processor by default and has 512kB and 32MB N

Re: [U-Boot] [PATCH v6 1/2 resend] arm: A320: driver for FTRTC010 real time clock

2009-09-02 Thread Po-Yu Chuang
Dear Jean-Christophe PLAGNIOL-VILLARD, 2009/9/2 : > From: Po-Yu Chuang > This patch adds an FTRTC010 driver for Faraday A320 evaluation board. > Signed-off-by: Po-Yu Chuang Do you receive the patches resent yesterday? best regards, Po-

Re: [U-Boot] [PATCH v7 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-11-22 Thread Po-Yu Chuang
Dear Wolfgang and Tom, 2009/11/23 Wolfgang Denk : > Dear Tom, > In message <1253692384-3236-1-git-send-email-ratbert.chu...@gmail.com> Po-Yu > Chuang wrote: >> This patch adds support for A320 evaluation board from Faraday. This board >> uses FA526 processor by default

Re: [U-Boot] [PATCH v7 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-11-26 Thread Po-Yu Chuang
Dear Tom and Wolfgang, 2009/11/26 Tom : > Po-Yu Chuang wrote: >> Dear Wolfgang and Tom, >> >> I posted a new version (v8) of this patch two weeks ago to fix a >> compiler warning. >> >> http://lists.denx.de/pipermail/u-boot/2009-November/064105.html >&g

Re: [U-Boot] [PATCH v6 2/2 resend] arm: A320: Add support for Faraday A320 evaluation board

2009-09-10 Thread Po-Yu Chuang
Hello, 2009/9/2 : > From: Po-Yu Chuang > > This patch adds support for A320 evaluation board from Faraday. This board > uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. > FA526 is an ARMv4 processor and uses the ARM920T source in this patch. > >

[U-Boot] [help] is there anything wrong with my previously sent A320 patches?

2009-09-13 Thread Po-Yu Chuang
. best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v7 1/2] arm: A320: driver for FTRTC010 real time clock

2009-09-23 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/rtc/Makefile |1 + drivers/rtc/ftrtc010.c | 124 2 files changed, 125 insertions(+), 0 deletions(-) create mode 100644 drivers

[U-Boot] [PATCH v7 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-09-23 Thread Po-Yu Chuang
This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- MAINTAINERS

Re: [U-Boot] [help] is there anything wrong with my previously sent A320 patches?

2009-09-23 Thread Po-Yu Chuang
Dear Wolfgang Denk, 2009/9/23 Wolfgang Denk : > Dear Po-Yu Chuang, > I cannot find these patches in my archive (even though I see the > archive entries). > > Please (rebase and) resend. Sorry for the inconvenience. Thanks for your reply. I have rebased and resubmitted new pa

Re: [U-Boot] build failure on denx top

2009-09-29 Thread Po-Yu Chuang
iables by using the kbuild VAR-$(...) style. > >        Signed-off-by: Mike Frysinger >        I am facing it for   FSL 83xx and 85xx platforms. >        Is anybody else also seeing this build failure. Which version is your make? 3.80 or earlier? I think make-3.81 can solve your problem. Best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [help] is there anything wrong with my previously sent A320 patches?

2009-10-04 Thread Po-Yu Chuang
Dear Wolfgang and Tom, 2009/9/23 Po-Yu Chuang : > Dear Wolfgang Denk, > > 2009/9/23 Wolfgang Denk : >> Dear Po-Yu Chuang, >> I cannot find these patches in my archive (even though I see the >> archive entries). >> >> Please (rebase and) resend. Sorry for

[U-Boot] [PATCH v8 1/2] arm: A320: driver for FTRTC010 real time clock

2009-11-11 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- v2: use real/writel to access registers v3: no volatile on register pointer v4: rebase v5: rebase v6: rebase v7: rebase v8: rebase no space between function name and parenthesis drivers/rtc

[U-Boot] [PATCH v8 2/2] arm: A320: Add support for Faraday A320 evaluation board

2009-11-11 Thread Po-Yu Chuang
This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- v2: move flash timing parameters to config

[U-Boot] [PATCH v2 2/2] arm: a320evb: fixes for relocation support

2010-12-20 Thread Po-Yu Chuang
From: Po-Yu Chuang * add CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR * do not update gd->bd in dram_init() because bd is unavailable then * move CONFIG_SYS_TEXT_BASE from config.mk to a320evb.h * remove config.mk Signed-off-by: Po-Yu Chuang --- v2: rebase remove config.mk board/fara

[U-Boot] [PATCH v2 1/2] arm: a320 timer: move static data to global_data struct

2010-12-20 Thread Po-Yu Chuang
From: Po-Yu Chuang timer.c used static data and are called before relocation. Move all static variables into global_data structure. Also cleanup timer.c from unused stubs and make it truly use 64 bit tick values. Based on Reinhard Meyer 's patch 5dca710a3d7703e41da0e9894f2d71f9e25bea6b S

[U-Boot] Dear Friends

2010-12-28 Thread Po-Yu Chuang
  Just received  my iphone 3gs 32gb from this website    http://penggefa.com/";>http://penggefa.com   much cheaper than others and genuine . if you would like to get one,you can check it out, all the best for 2010 ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH v2 2/2] a320evb: replace built-in ftpmu010 related code

2011-01-05 Thread Po-Yu Chuang
t;  static ulong lastdec; > > This is going to fail if used before relocation There is a patch to fix that, but has not been accepted yet. http://lists.denx.de/pipermail/u-boot/2010-December/084001.html best regards, Po-Yu Chuang ___ U-Bo

Re: [U-Boot] [PATCH v2 1/2] arm: a320 timer: move static data to global_data struct

2011-01-16 Thread Po-Yu Chuang
Dear Wolfgang, On Mon, Dec 20, 2010 at 5:00 PM, Po-Yu Chuang wrote: > From: Po-Yu Chuang > > timer.c used static data and are called before relocation. > Move all static variables into global_data structure. Also cleanup > timer.c from unused stubs and make it truly use 64

Re: [U-Boot] [PATCH v2 1/2] arm: a320 timer: move static data to global_data struct

2011-01-18 Thread Po-Yu Chuang
Dear Wolfgang, On Wed, Jan 19, 2011 at 5:45 AM, Wolfgang Denk wrote: > Dear Po-Yu Chuang, > In message you > wrote: >> Would you please check this patch series? >> Or should I rebase and resubmit? > > This is mostly in the responsibility of Albert, the ARM custodia

[U-Boot] [PATCH] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang This patch also update get_timer() usage. Signed-off-by: Po-Yu Chuang --- drivers/net/ftmac100.c | 20 +--- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 2328cb5..787d69b 100644 --- a

Re: [U-Boot] [PATCH] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
Hi Sergei, On Thu, Jan 20, 2011 at 11:38 PM, Sergei Shtylyov wrote: > Hello. > > Po-Yu Chuang wrote: > >> From: Po-Yu Chuang > >> This patch also update get_timer() usage. > >   This seems like a material for a separate patch. OK, I will split this to 2 patches

[U-Boot] [PATCH v2 1/2] net: ftmac100: remove unncessary volatiles

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- v2: split get_timer() changes to a seperate patch drivers/net/ftmac100.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 2328cb5..27381a3 100644 --- a

[U-Boot] [PATCH v2 2/2] net: ftmac100: update get_timer() usages

2011-01-20 Thread Po-Yu Chuang
From: Po-Yu Chuang Use get_timer() the same way as drivers/net/ftgmac100.c Signed-off-by: Po-Yu Chuang --- v2: this patch is splitted from "net: ftmac100: remove unncessary volatiles" drivers/net/ftmac100.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH v3 4/4] ftsmc020: move ftsmc020 static mem controller to driver/mtd

2011-04-27 Thread Po-Yu Chuang
gt; @@ -196,6 +197,7 @@ >        { FTSMC020_BANK0_CONFIG, FTSMC020_BANK0_TIMING, },      \ >        { FTSMC020_BANK1_CONFIG, FTSMC020_BANK1_TIMING, },      \ >  } > +#endif /* CONFIG_FTSMC020 */ Looks like this #endif is unnecessary? best regards, Po-Yu Chuang __

Re: [U-Boot] [PATCH v3 4/4] ftsmc020: move ftsmc020 static mem controller to driver/mtd

2011-04-28 Thread Po-Yu Chuang
Hi Macpaul, On Thu, Apr 28, 2011 at 3:33 PM, Macpaul Lin wrote: > Hi Po-Yu, > > 2011/4/28 Po-Yu Chuang : >> Hi Macpaul, >> >>> -#include >>> +#define CONFIG_FTSMC020 This is for drivers/mtd/Makefile. >>> +#include >>>

[U-Boot] [PATCH] arm: a320: fix compile error caused by commit 00d10eb

2011-04-28 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- include/configs/a320evb.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index f5a005a..8a222c0 100644 --- a/include/configs/a320evb.h +++ b/include/configs

[U-Boot] [PATCH] arm: a320: enable tagged list support

2011-05-16 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- include/configs/a320evb.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index 0527822..f12977b 100644 --- a/include/configs/a320evb.h +++ b/include/configs

Re: [U-Boot] [PATCH] arm: a320: enable tagged list support

2011-05-16 Thread Po-Yu Chuang
Dear Wolfgang, On Mon, May 16, 2011 at 7:42 PM, Wolfgang Denk wrote: > Dear Po-Yu Chuang, > > In message <1305531660-1595-1-git-send-email-ratbert.chu...@gmail.com> you > wrote: >> From: Po-Yu Chuang >> >> >> Signed-off-by: Po-Yu Chuang >> --- &

[U-Boot] [PATCH v2 1/2] arm: a320: fix multiline comment style

2011-05-16 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- include/configs/a320evb.h | 32 ++-- 1 files changed, 14 insertions(+), 18 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index 0527822..f832d52 100644 --- a/include/configs

[U-Boot] [PATCH v2 2/2] arm: a320: enable tagged list support

2011-05-16 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- include/configs/a320evb.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index f832d52..62913b5 100644 --- a/include/configs/a320evb.h +++ b/include/configs

Re: [U-Boot] [PATCH v2 2/2] arm: a320: enable tagged list support

2011-06-08 Thread Po-Yu Chuang
Dear Albert, On Tue, May 17, 2011 at 11:11 AM, Po-Yu Chuang wrote: > From: Po-Yu Chuang > > > Signed-off-by: Po-Yu Chuang > --- >  include/configs/a320evb.h |    6 ++ >  1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/include/configs/a320evb.h

Re: [U-Boot] [PATCH v2 2/2] arm: a320: enable tagged list support

2011-06-08 Thread Po-Yu Chuang
Dear Albert, On Thu, Jun 9, 2011 at 2:35 PM, Po-Yu Chuang wrote: > Dear Albert, > > On Tue, May 17, 2011 at 11:11 AM, Po-Yu Chuang > wrote: >> From: Po-Yu Chuang >> >> >> Signed-off-by: Po-Yu Chuang >> --- >>  include/configs/a320evb.h |    

[U-Boot] [PATCH v3 1/2] arm: a320: fix multiline comment style

2011-07-18 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- v2: (new) fix multiline comment style v3: rebase include/configs/a320evb.h | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index

[U-Boot] [PATCH v3 2/2] arm: a320: enable tagged list support

2011-07-18 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- v2: add a preceding patch to fix multiline comment style v3: rebase include/configs/a320evb.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index f832d52

Re: [U-Boot] [PATCH v3 2/2] arm: a320: enable tagged list support

2011-08-04 Thread Po-Yu Chuang
Dear Albert, On Thu, Aug 4, 2011 at 5:32 PM, Albert ARIBAUD wrote: > Hi Po Yu Chuang, > > On 19/07/2011 04:56, Po-Yu Chuang wrote: >> >> From: Po-Yu Chuang >> >> >> Signed-off-by: Po-Yu Chuang >> --- >> v2: >> add a preceding

Re: [U-Boot] [PATCH] Add support for Faraday RTC IP FTRTC

2009-04-05 Thread Po-Yu Chuang
Hi Detlev Zundel, Thanks for your kindly help. I will fix my code and submit again next time. Thank you! regards, Po-Yu Chuang 2009/4/2 Detlev Zundel : > Hi Chuang, > >> I am a newbie and I have not realized all the rules, so I >> have some questions. >> >> On

Re: [U-Boot] udelay/udelay_masked problems

2009-04-08 Thread Po-Yu Chuang
an your board_init() > Is timer_init a arch specific call or should it be board specific for arm? I have no idea either. regards, Po-Yu chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Relocation confusion

2009-04-22 Thread Po-Yu Chuang
00 the location _armboot_start stores the link address of _start Therefore, adrr0, _start you probably got r0 == 0. ldrr2, _armboot_start you probably got r2 == 0x1000 . It is just some assembly tricks. regards Po-Yu Chuang 2009/4/22 Drasko DRASKOVIC > > Hi all, > I have so

[U-Boot] [U-BOOT] cfi_flash.c fails to program NOR Flash SST39LF040

2009-04-23 Thread Po-Yu Chuang
ITE); + flash_unlock_seq (info, 0); + flash_write_cmd (info, 0, info->addr_unlock1, AMD_CMD_WRITE); sect_found = 1; break; } regards Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [U-BOOT] cfi_flash.c fails to program NOR Flash SST39LF040

2009-04-27 Thread Po-Yu Chuang
Dear Stefan Roese, 2009/4/27 Stefan Roese > On Friday 24 April 2009, Po-Yu Chuang wrote: > > I have a board on which there is a NOR Flash SST39LF040. > > Previously, I copied flash.c from other boards. > > Now I am trying to migrate NOR Flash driver to use CFI, but it

[U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-23 Thread Po-Yu Chuang
This patch adds support for A320 development board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- Index: Makefile

[U-Boot] [PATCH 2/3] A320: driver for FTRTC010 real time clock

2009-06-23 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- Index: drivers/rtc/Makefile === RCS file: /usr/local/cvsroot/ctd/u-boot-2009.06/drivers/rtc/Makefile,v retrieving revision 1.1.1.1

[U-Boot] [PATCH 1/3] A320: driver for FTMAC100 ethernet controller

2009-06-23 Thread Po-Yu Chuang
This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- Index: drivers/net/Makefile === RCS file: /usr/local/cvsroot/ctd/u-boot-2009.06/drivers/net/Makefile,v retrieving

Re: [U-Boot] [PATCH 2/3] A320: driver for FTRTC010 real time clock

2009-06-23 Thread Po-Yu Chuang
>> +{ >> +     unsigned long day; >> +     unsigned long hour; >> +     unsigned long minute; >> +     unsigned long second; >> +     unsigned long second2; >> + >> +     do { >> +             second  = le32_to_cpu (rtc-

Re: [U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-23 Thread Po-Yu Chuang
t;> +/* >> + * some parameters for the board >> + */ >> +tp0: .word   FTSDMC_TP0_TRAS(2) |    \ >> +             FTSDMC_TP0_TRP(1) |     \ >> +             FTSDMC_TP0_TRCD(1) |    \ >> +             FTSDMC_TP0_TRF(3) |     \ >> +             FTSDMC_TP0_TWR(1)

Re: [U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-24 Thread Po-Yu Chuang
x server $ git clone http://git.denx.de/u-boot.git Initialized empty Git repository in /opt/ratbert/linux/u-boot/.git/ fatal: http://git.denx.de/u-boot.git/info/refs download error - couldn't connect to host p.s. ping git.denx.de OK best regards, Po-Yu Chuang

Re: [U-Boot] [PATCH 3/3] A320: Add support for Faraday A320 evaluation board

2009-06-25 Thread Po-Yu Chuang
Dear Detlev Zundel, 2009/6/25 Detlev Zundel : > If you have a proxy, try this beforehand: > > export http_proxy=http://:@: It works! That's terrific! Thank you. :-D regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@list

[U-Boot] [PATCHv2 1/3] A320: driver for FTMAC100 ethernet controller

2009-07-01 Thread Po-Yu Chuang
This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/net/Makefile |1 + drivers/net/ftmac100.c | 268 drivers/net/ftmac100.h | 154 +++ include

[U-Boot] [PATCHv2 2/3] A320: driver for FTRTC010 real time clock

2009-07-01 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/rtc/Makefile |1 + drivers/rtc/ftrtc010.c | 126 2 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 drivers

[U-Boot] [PATCHv2 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-01 Thread Po-Yu Chuang
This patch adds support for A320 development board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- MAINTAINERS

Re: [U-Boot] [PATCHv2 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-01 Thread Po-Yu Chuang
Hello, 2009/7/1 Po-Yu Chuang : > diff --git a/include/configs/a320.h b/include/configs/a320.h > +/*--- > + * Ethernet > + */ > +#define CONFIG_NET_MULTI > +#define CONFIG_DRIVER_FTMAC100 > +#define C

[U-Boot] [PATCH v3 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-01 Thread Po-Yu Chuang
This patch adds support for A320 development board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- MAINTAINERS

Re: [U-Boot] [PATCHv2 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-02 Thread Po-Yu Chuang
Darius Augulis, 2009/7/2 Darius Augulis : > Hi Po-Yu, > On 07/01/2009 02:13 PM, Po-Yu Chuang wrote: >> This patch adds support for A320 development board from Faraday. This >> board >> uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. >> F

Re: [U-Boot] [RFC PATCH] Add support for Raidsonic ICYBOX NAS4220 board

2009-07-02 Thread Po-Yu Chuang
CONFIG_SYS_FLASH_BASE _start_from_flash: .word start_from_flash start_from_flash: /* original start code here*/ Then maybe you don't need a customized linker script? regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCHv2 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-02 Thread Po-Yu Chuang
Dear all, 2009/7/3 Po-Yu Chuang : >> please check your patch with checkpatch.pl script. >> It would warn you about such code style errors. > > Do you mean no braces for single statement block? > Itcomes from linux coding style. > > I use Lindent -pcs which is sugge

Re: [U-Boot] [PATCH 1/3 v3] arm: A320: driver for FTMAC100 ethernet controller

2009-07-02 Thread Po-Yu Chuang
This patch adds an FTMAC100 Ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/net/Makefile |1 + drivers/net/ftmac100.c | 278 drivers/net/ftmac100.h | 154 ++ include

Re: [U-Boot] [PATCH 1/3 v3] A320: driver for FTMAC100 ethernet controller

2009-07-03 Thread Po-Yu Chuang
This patch adds an FTMAC100 Ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/net/Makefile |1 + drivers/net/ftmac100.c | 278 drivers/net/ftmac100.h | 154 ++ include

Re: [U-Boot] [PATCH 2/3 v3] A320: driver for FTRTC010 real time clock

2009-07-03 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/rtc/Makefile |1 + drivers/rtc/ftrtc010.c | 126 2 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 drivers

Re: [U-Boot] [PATCH 2/3 v3] arm: A320: driver for FTRTC010 real time clock

2009-07-03 Thread Po-Yu Chuang
This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang --- drivers/rtc/Makefile |1 + drivers/rtc/ftrtc010.c | 126 2 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 drivers

Re: [U-Boot] [PATCH 3/3 v4] arm: A320: Add support for Faraday A320 evaluation board

2009-07-03 Thread Po-Yu Chuang
This patch adds support for A320 development board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang --- MAINTAINERS

Re: [U-Boot] [U-BOOT] cfi_flash.c fails to program NOR Flash SST39LF040

2009-07-03 Thread Po-Yu Chuang
Dear Stefan Roese, 2009/4/28 Po-Yu Chuang : > Dear Stefan Roese, >> Did you define CONFIG_FLASH_CFI_LEGACY (and CONFIG_SYS_FLASH_LEGACY_512Kx8)? >> IIRC then the SST FLASH chips are not completely CFI compatible. So you need >> to enable the JEDEC framework. > > Yes, I

Re: [U-Boot] [U-BOOT] cfi_flash.c fails to program NOR Flash SST39LF040

2009-07-03 Thread Po-Yu Chuang
erase. It probably is the same case while programing a word. The following patch might be feasible. However, I don't have those chips for testing. regards, Po-Yu Chuang --- drivers/mtd/cfi_flash.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH] for JEDEC flash, command of word programing should be issued relatvie to base

2009-07-06 Thread Po-Yu Chuang
bytes. Thus, if we issue command to "sector base (0x41000) + offset(0x)", it sends to 0x46555 and the chip fails to recognize that address. This patch is tested with SST39LF040. Signed-off-by: Po-Yu Chuang --- drivers/mtd/cfi_flash.c | 11 --- 1 files changed, 8 insert

Re: [U-Boot] [PATCH] for JEDEC flash, command of word programing should be issued relatvie to base

2009-07-08 Thread Po-Yu Chuang
... Did I send the mail in dos format? regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCHv2 1/3] A320: driver for FTMAC100 ethernet controller

2009-07-08 Thread Po-Yu Chuang
Dear Jean-Christophe, 2009/7/8 Jean-Christophe PLAGNIOL-VILLARD : > On 19:12 Wed 01 Jul     , Po-Yu Chuang wrote: >> This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation >> board. > it's seem good for me > but I'll add it after the core soc Tha

Re: [U-Boot] [PATCH v3 3/3] A320: Add support for Faraday A320 evaluation board

2009-07-09 Thread Po-Yu Chuang
Dear Wolfgang Denk, 2009/7/9 Wolfgang Denk : >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -680,6 +680,10 @@ Sergey Lapin >> >>       afeb9260        ARM926EJS (AT91SAM9260 SoC) >> >> +Po-Yu Chuang >> + >> +     a320            FA526 (A

[U-Boot] [help] u-boot mailing list seems to block my git send-email

2009-07-13 Thread Po-Yu Chuang
list, but Stefan received (1) and I received (1) and (2). It looks like u-boot mailing list blocks my mails. Any ideas? best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [help] u-boot mailing list seems to block my git send-email

2009-07-13 Thread Po-Yu Chuang
as well, see here: >  http://lists.denx.de/pipermail/u-boot/2009-July/thread.html I did not see them several hours ago -- (maybe something weird with my proxy?). Now I see. Thank you. best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] [PATCH v2 1/2] ftpmu010: support faraday ftpmu010 driver

2011-02-15 Thread Po-Yu Chuang
move driver/power/ftpmu010.h to include/ftpmu010.h and add the API declaration in it? I am trying to fix arch/arm/cpu/arm920t/a320/timer.c, but I cannot access the new API now. regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/2] ftpmu010: support faraday ftpmu010 driver

2011-02-15 Thread Po-Yu Chuang
Hi Macpaul, On Wed, Feb 16, 2011 at 3:07 PM, Macpaul Lin wrote: > 2011/2/16 Po-Yu Chuang >> On Wed, Jan 26, 2011 at 5:19 AM, Wolfgang Denk wrote: >> > >> >> Faraday's ftpmu010 is a power managemnet unit which support cpu > > Ah, we are all waiting f

[U-Boot] [PATCH v2] arm: get_sp() should always be compiled

2011-02-16 Thread Po-Yu Chuang
From: Po-Yu Chuang get_sp() was incorrectly excluded if none of CONFIG_SETUP_MEMORY_TAGS CONFIG_CMDLINE_TAG CONFIG_INITRD_TAG CONFIG_SERIAL_TAG CONFIG_REVISION_TAG were defined. Signed-off-by: Po-Yu Chuang --- v2: rebase arch/arm/lib/bootm.c |4 +--- 1 files changed, 1

Re: [U-Boot] [PATCH v2 1/2] ftpmu010: support faraday ftpmu010 driver

2011-02-16 Thread Po-Yu Chuang
er patches waiting to be review and be applied. > ftpmu010: fix relocation and enhance features > http://patchwork.ozlabs.org/patch/77704/ This patch doesn't seem to affect a320. Since I have a patch to fix the current (compilation) problem, I'll send it to RFC. regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] power: ftpmu010: move drivers/power/ftpmu010.h to include/

2011-02-16 Thread Po-Yu Chuang
From: Po-Yu Chuang Also add API declarations. Signed-off-by: Po-Yu Chuang --- drivers/power/ftpmu010.c |2 +- drivers/power/ftpmu010.h | 146 include/ftpmu010.h | 150 ++ 3 files changed, 151

[U-Boot] [PATCH 2/2] arm: a320: use new ftpmu010 API

2011-02-16 Thread Po-Yu Chuang
From: Po-Yu Chuang ftpmu010 related code has been moved to drivers/power/. Signed-off-by: Po-Yu Chuang --- arch/arm/cpu/arm920t/a320/timer.c | 22 +++--- include/configs/a320evb.h |5 + 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/arch/arm

Re: [U-Boot] [PATCH 1/2] power: ftpmu010: move drivers/power/ftpmu010.h to include/

2011-02-16 Thread Po-Yu Chuang
Hi Macpaul, On Wed, Feb 16, 2011 at 5:23 PM, Macpaul Lin wrote: > Hi Po-Yu, > > 2011/2/16 Po-Yu Chuang : >> From: Po-Yu Chuang >> >> Also add API declarations. >> >> Signed-off-by: Po-Yu Chuang >> --- >>  drivers/power/ftpmu

[U-Boot] [PATCH v2 1/2] power: ftpmu010: move drivers/power/ftpmu010.h to include/faraday

2011-02-17 Thread Po-Yu Chuang
From: Po-Yu Chuang Also add API declarations. Signed-off-by: Po-Yu Chuang --- v2: move include/ftpmu010.h to include/faraday/ftpmu010.h drivers/power/ftpmu010.c |2 +- drivers/power/ftpmu010.h | 146 -- include/faraday/ftpmu010.h | 150

[U-Boot] [PATCH v2 2/2] arm: a320: use new ftpmu010 API

2011-02-17 Thread Po-Yu Chuang
From: Po-Yu Chuang ftpmu010 related code has been moved to drivers/power/. Signed-off-by: Po-Yu Chuang --- v2: remove unused local variable oscc include/ftpmu010.h -> include/faraday/ftpmu010.h arch/arm/cpu/arm920t/a320/timer.c | 23 +++ include/configs/a320ev

Re: [U-Boot] [PATCH v2] arm: get_sp() should always be compiled

2011-02-17 Thread Po-Yu Chuang
Hi Albert, On Fri, Feb 18, 2011 at 1:23 AM, Albert ARIBAUD wrote: > Le 17/02/2011 13:54, Macpaul Lin a écrit : >> 2011/2/17 Albert ARIBAUD: >>> Le 16/02/2011 09:54, Po-Yu Chuang a écrit : >>>> From: Po-Yu Chuang >>>> >>

[U-Boot] ARM: Incorrect ROM protection range?

2011-02-23 Thread Po-Yu Chuang
RO 00075000 RO 00076000 RO 00077000 RO 00078000 RO 00079000 RO 0007A000 RO 0007B000 RO 0007C000 RO 0007D000 RO 0007E000 RO 0007F000 RO best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-02-23 Thread Po-Yu Chuang
Hi Albert, On Thu, Feb 24, 2011 at 2:52 PM, Albert ARIBAUD wrote: > Hi Po-Yu Chuang, > > Le 24/02/2011 07:06, Po-Yu Chuang a écrit : >> That is quite strange. >> According to arch/arm/cpu/arm920t/u-boot.lds, >> .rel.dyn and .dynsym sections should be placed bef

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-02-23 Thread Po-Yu Chuang
e U-Boot image itself (loaders, utilities), a 'du >> -b u-boot.bin | cut -f 1' should be ok, provided the image is built >> first, which I think is already the case. best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-02-24 Thread Po-Yu Chuang
_end, and a suitable comment in the LD file... this >>> will be averted where-ever dynsym ends up. >>> >>> After all, the bug you uncovered was due to using the wrong symbol, a >>> BSS related one rather than an image-related one, in the first place; so >>> l

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-02-24 Thread Po-Yu Chuang
tems (which can easily be verified semi-automatically).  The > second step would be adding _end at the end of the used data area (end > of .dynsym) on ARM only. I don't have the environment to build other platforms, so... does any of you please to provide such patches? regards, Po-Yu Chua

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-02-25 Thread Po-Yu Chuang
ive me some time. I need to study how to use sed to do this. :-p best regards, Po-Yu Chuang ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-03-01 Thread Po-Yu Chuang
Dear Wolfgang, On Fri, Feb 25, 2011 at 4:00 PM, Po-Yu Chuang wrote: > Dear Wolfgang and Albert, > > On Fri, Feb 25, 2011 at 3:15 PM, Wolfgang Denk wrote: >> Dear Albert ARIBAUD, >> >> In message <4d674d85.40...@free.fr> you wrote: >>> >>&

Re: [U-Boot] ARM: Incorrect ROM protection range?

2011-03-01 Thread Po-Yu Chuang
Dear Albert, On Tue, Mar 1, 2011 at 8:22 PM, Albert ARIBAUD wrote: > Le 01/03/2011 09:31, Po-Yu Chuang a écrit : >> On Fri, Feb 25, 2011 at 4:00 PM, Po-Yu Chuang >>  wrote: >> >> I tried the following command and it seems work: >> >> for f in `find * -typ

[U-Boot] [PATCH 2/3] arm: add _end to linker scripts for end of u-boot image

2011-03-01 Thread Po-Yu Chuang
From: Po-Yu Chuang Signed-off-by: Po-Yu Chuang --- arch/arm/cpu/arm1136/u-boot.lds|2 ++ arch/arm/cpu/arm1176/u-boot.lds|2 ++ arch/arm/cpu/arm720t/u-boot.lds|2 ++ arch/arm/cpu/arm920t/ep93xx/u-boot.lds |2 ++ arch/arm/cpu/arm920t/u-boot.lds

[U-Boot] [PATCH 3/3] arm: fix incorrect monitor protection region in FLASH

2011-03-01 Thread Po-Yu Chuang
From: Po-Yu Chuang Monitor protection region in FLASH did not cover .rel.dyn section and .dynsym sections, because it uses __bss_start to compute monitor_flash_len. Use _end instead. Add _end_ofs to all the start.S. Signed-off-by: Po-Yu Chuang --- arch/arm/cpu/arm1136/start.S |4

Re: [U-Boot] [PATCH 3/3] arm: fix incorrect monitor protection region in FLASH

2011-03-01 Thread Po-Yu Chuang
Hi Albert, On Wed, Mar 2, 2011 at 3:03 PM, Albert ARIBAUD wrote: > Hi Po-Yu Chuang, > > Le 02/03/2011 07:02, Po-Yu Chuang a écrit : >> >> From: Po-Yu Chuang >> >> Monitor protection region in FLASH did not cover .rel.dyn section >> and .dynsym sections,

  1   2   >