* [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S @ 2012-06-26 2:30 Tetsuyuki Kobayashi 2012-06-26 21:22 ` Albert ARIBAUD 2012-07-05 7:02 ` Nobuhiro Iwamatsu 0 siblings, 2 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-06-26 2:30 UTC (permalink / raw) To: u-boot This patch depends on Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board Tetsuyuki Kobayashi's arm: rmobile: kzm9g: Modify sdram area Adjust hardware setting in lowlevel_init.S. After this patch U-boot can boot Linux kernel (without DTB) on KZM-A9-GT board successfully. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- arch/arm/include/asm/arch-rmobile/sh73a0.h | 1 + board/kmc/kzm/lowlevel_init.S | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 07824ab..bb66d20 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -191,6 +191,7 @@ #define SMSTPCR3 (CPG_BASE + 0x013C) #define SMSTPCR4 (CPG_BASE + 0x0140) #define SMSTPCR5 (CPG_BASE + 0x0144) +#define CPGXXCR4 (CPG_BASE + 0x0150) #define SRCR0 (CPG_BASE + 0x80A0) #define SRCR1 (CPG_BASE + 0x80A8) #define SRCR2 (CPG_BASE + 0x80B0) diff --git a/board/kmc/kzm/lowlevel_init.S b/board/kmc/kzm/lowlevel_init.S index 5221611..be3d203 100644 --- a/board/kmc/kzm/lowlevel_init.S +++ b/board/kmc/kzm/lowlevel_init.S @@ -111,6 +111,7 @@ loop0: and_write32 LIFEC_SEC_SRC, 0xFFFFFFE7 + and_write32 SMSTPCR3,0xFFFF7FFF and_write32 SRCR3, 0xFFFF7FFF and_write32 SMSTPCR2,0xFFFBFFFF and_write32 SRCR2, 0xFFFBFFFF @@ -302,6 +303,8 @@ loop0: write32 FRQCRD, 0x00000B0B cmp_loop FRQCRD, 0x80000000, 0x00000000 + write32 CPGXXCR4, 0xfffffffc + bx lr .pool -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S 2012-06-26 2:30 [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S Tetsuyuki Kobayashi @ 2012-06-26 21:22 ` Albert ARIBAUD 2012-06-27 7:56 ` Tetsuyuki Kobayashi 2012-07-05 7:02 ` Nobuhiro Iwamatsu 1 sibling, 1 reply; 46+ messages in thread From: Albert ARIBAUD @ 2012-06-26 21:22 UTC (permalink / raw) To: u-boot Hi Tetsuyuki, On Tue, 26 Jun 2012 11:30:16 +0900, Tetsuyuki Kobayashi <koba@kmckk.co.jp> wrote: > This patch depends on > Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board > Tetsuyuki Kobayashi's arm: rmobile: kzm9g: Modify sdram area Seems like a series to me -- you should post it as such, with patches numbered 1/N, 2/N etc. Should be easy as you probably already have them as a series of commits above master; git format-patch should generate the mails alright. Amicalement, -- Albert. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S 2012-06-26 21:22 ` Albert ARIBAUD @ 2012-06-27 7:56 ` Tetsuyuki Kobayashi 0 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-06-27 7:56 UTC (permalink / raw) To: u-boot Hi Albert (2012/06/27 6:22), Albert ARIBAUD wrote: > On Tue, 26 Jun 2012 11:30:16 +0900, Tetsuyuki Kobayashi > <koba@kmckk.co.jp> wrote: > >> This patch depends on >> Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board >> Tetsuyuki Kobayashi's arm: rmobile: kzm9g: Modify sdram area > > Seems like a series to me -- you should post it as such, with patches > numbered 1/N, 2/N etc. Should be easy as you probably already have them > as a series of commits above master; git format-patch should generate > the mails alright. OK. I am studying git format-patch and git send-email. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S 2012-06-26 2:30 [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S Tetsuyuki Kobayashi 2012-06-26 21:22 ` Albert ARIBAUD @ 2012-07-05 7:02 ` Nobuhiro Iwamatsu 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 1 sibling, 1 reply; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-05 7:02 UTC (permalink / raw) To: u-boot Hi, I modified my rmobile git tree. Please rebase your local repository and resend this patch. Best regards, Nobuhiro 2012/6/26 Tetsuyuki Kobayashi <koba@kmckk.co.jp>: > This patch depends on > Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board > Tetsuyuki Kobayashi's arm: rmobile: kzm9g: Modify sdram area > > > Adjust hardware setting in lowlevel_init.S. > After this patch U-boot can boot Linux kernel (without DTB) on KZM-A9-GT board successfully. > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > arch/arm/include/asm/arch-rmobile/sh73a0.h | 1 + > board/kmc/kzm/lowlevel_init.S | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h > index 07824ab..bb66d20 100644 > --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h > +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h > @@ -191,6 +191,7 @@ > #define SMSTPCR3 (CPG_BASE + 0x013C) > #define SMSTPCR4 (CPG_BASE + 0x0140) > #define SMSTPCR5 (CPG_BASE + 0x0144) > +#define CPGXXCR4 (CPG_BASE + 0x0150) > #define SRCR0 (CPG_BASE + 0x80A0) > #define SRCR1 (CPG_BASE + 0x80A8) > #define SRCR2 (CPG_BASE + 0x80B0) > diff --git a/board/kmc/kzm/lowlevel_init.S b/board/kmc/kzm/lowlevel_init.S > index 5221611..be3d203 100644 > --- a/board/kmc/kzm/lowlevel_init.S > +++ b/board/kmc/kzm/lowlevel_init.S > @@ -111,6 +111,7 @@ loop0: > > and_write32 LIFEC_SEC_SRC, 0xFFFFFFE7 > > + and_write32 SMSTPCR3,0xFFFF7FFF > and_write32 SRCR3, 0xFFFF7FFF > and_write32 SMSTPCR2,0xFFFBFFFF > and_write32 SRCR2, 0xFFFBFFFF > @@ -302,6 +303,8 @@ loop0: > write32 FRQCRD, 0x00000B0B > cmp_loop FRQCRD, 0x80000000, 0x00000000 > > + write32 CPGXXCR4, 0xfffffffc > + > bx lr > > .pool > -- > 1.7.9.5 > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot -- Nobuhiro Iwamatsu ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-05 7:02 ` Nobuhiro Iwamatsu @ 2012-07-05 11:37 ` Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 1/3] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi ` (3 more replies) 0 siblings, 4 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-05 11:37 UTC (permalink / raw) To: u-boot Hello, Iwamatu-san I rebased u-boot-sh.git arm/rmobile branch and reworked my patches. After this patch set, LTSI kernel can boot on KZM-A9-GT board. But I found it is not stable. It needs more work. Tetsuyuki Kobayashi (3): arm: rmobile: kzm9g: Modify sdram area arm: rmobile: kzm9g: Adjust low level hardware setting arm: rmobile: kzm9g: change prompt to board specific arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- board/kmc/kzm9g/kzm9g.c | 2 ++ include/configs/kzm9g.h | 7 ++++--- 3 files changed, 9 insertions(+), 4 deletions(-) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 1/3] arm: rmobile: kzm9g: Modify sdram area 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi @ 2012-07-05 11:43 ` Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 2/3] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi ` (2 subsequent siblings) 3 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-05 11:43 UTC (permalink / raw) To: u-boot Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- include/configs/kzm9g.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 62ecadc..5e9b417 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -97,8 +97,9 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 2/3] arm: rmobile: kzm9g: Adjust low level hardware setting 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 1/3] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi @ 2012-07-05 11:43 ` Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 3/3] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi 2012-07-06 0:12 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Nobuhiro Iwamatsu 3 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-05 11:43 UTC (permalink / raw) To: u-boot Adjust low level hardware setting in s_init. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- board/kmc/kzm9g/kzm9g.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 605dd44..ad59be7 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -229,7 +229,9 @@ struct sh73a0_sbsc_cpg { volatile u32 smstpcr3; volatile u32 smstpcr4; volatile u32 smstpcr5; - volatile u32 dummy11[10]; /* 0x148 .. 0x16c */ + volatile u32 dummy11[2]; /* 0x148 .. 0x14c */ + volatile u32 cpgxxcs4; + volatile u32 dummy12[7]; /* 0x154 .. 0x16c */ volatile u32 dvfscr2; volatile u32 dvfscr3; volatile u32 dvfscr4; diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index dea62d8..ebb2480 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -163,6 +163,7 @@ void s_init(void) #define LIFEC_SEC_SRC_BIT (1 < 15) writel(readl(LIFEC_SEC_SRC) & ~LIFEC_SEC_SRC_BIT, LIFEC_SEC_SRC); + clrbits_le32(&cpg->smstpcr3, (1 << 15)); clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); clrbits_le32(&cpg->smstpcr2, (1 << 18)); clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); @@ -266,6 +267,7 @@ void s_init(void) writel(0x00000b0b, &cpg->frqcrd); cmp_loop(&cpg->frqcrd, 0x80000000, 0x0); + writel(0xfffffffc, &cpg->cpgxxcs4); } int board_early_init_f(void) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 3/3] arm: rmobile: kzm9g: change prompt to board specific 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 1/3] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 2/3] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi @ 2012-07-05 11:43 ` Tetsuyuki Kobayashi 2012-07-06 0:12 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Nobuhiro Iwamatsu 3 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-05 11:43 UTC (permalink / raw) To: u-boot Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- include/configs/kzm9g.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 5e9b417..a473bc8 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -70,7 +70,7 @@ /* prompt */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_PROMPT "> " +#define CONFIG_SYS_PROMPT "KZM-A9-GT# " #define CONFIG_SYS_CBSIZE 256 #define CONFIG_SYS_PBSIZE 256 #define CONFIG_SYS_MAXARGS 16 -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi ` (2 preceding siblings ...) 2012-07-05 11:43 ` [U-Boot] [PATCH 3/3] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi @ 2012-07-06 0:12 ` Nobuhiro Iwamatsu 2012-07-06 7:48 ` Tetsuyuki Kobayashi 3 siblings, 1 reply; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-06 0:12 UTC (permalink / raw) To: u-boot HI, 2012/7/5 Tetsuyuki Kobayashi <koba@kmckk.co.jp>: > Hello, Iwamatu-san > > I rebased u-boot-sh.git arm/rmobile branch and reworked my patches. > After this patch set, LTSI kernel can boot on KZM-A9-GT board. > > But I found it is not stable. It needs more work. > > > Tetsuyuki Kobayashi (3): > arm: rmobile: kzm9g: Modify sdram area > arm: rmobile: kzm9g: Adjust low level hardware setting > arm: rmobile: kzm9g: change prompt to board specific > > arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- > board/kmc/kzm9g/kzm9g.c | 2 ++ > include/configs/kzm9g.h | 7 ++++--- > 3 files changed, 9 insertions(+), 4 deletions(-) > Applied to my rmobile repository. Thanks. BTW, do you become a maintainer of kzm9g board? If it becomes a maintainer, please send the patch to MAINTAINERS file. Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-06 0:12 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Nobuhiro Iwamatsu @ 2012-07-06 7:48 ` Tetsuyuki Kobayashi 2012-07-06 13:46 ` Albert ARIBAUD 0 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-06 7:48 UTC (permalink / raw) To: u-boot Hi, Iwamatsu-san (2012/07/06 9:12), Nobuhiro Iwamatsu wrote: > BTW, do you become a maintainer of kzm9g board? > If it becomes a maintainer, please send the patch to MAINTAINERS file. Thank you. I will send it later. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-06 7:48 ` Tetsuyuki Kobayashi @ 2012-07-06 13:46 ` Albert ARIBAUD 2012-07-07 10:58 ` Tetsuyuki Kobayashi 0 siblings, 1 reply; 46+ messages in thread From: Albert ARIBAUD @ 2012-07-06 13:46 UTC (permalink / raw) To: u-boot Hi Tetsuyuki, On Fri, 06 Jul 2012 16:48:05 +0900, Tetsuyuki Kobayashi <koba@kmckk.co.jp> wrote: > Hi, Iwamatsu-san > > (2012/07/06 9:12), Nobuhiro Iwamatsu wrote: > > > BTW, do you become a maintainer of kzm9g board? > > If it becomes a maintainer, please send the patch to MAINTAINERS > > file. > > Thank you. I will send it later. Just in case: I prefer the patch to MAINTAINERS to be in the same series as the rest of the new board support. Amicalement, -- Albert. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-06 13:46 ` Albert ARIBAUD @ 2012-07-07 10:58 ` Tetsuyuki Kobayashi 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi 0 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 10:58 UTC (permalink / raw) To: u-boot Hi Albert, (2012/07/06 22:46), Albert ARIBAUD wrote: > Hi Tetsuyuki, > > On Fri, 06 Jul 2012 16:48:05 +0900, Tetsuyuki Kobayashi > <koba@kmckk.co.jp> wrote: >> Hi, Iwamatsu-san >> >> (2012/07/06 9:12), Nobuhiro Iwamatsu wrote: >> >>> BTW, do you become a maintainer of kzm9g board? >>> If it becomes a maintainer, please send the patch to MAINTAINERS >>> file. >> >> Thank you. I will send it later. > > Just in case: I prefer the patch to MAINTAINERS to be in the same > series as the rest of the new board support. OK. Iwamatsu-san, Now I have another patch for kzm9g. So I will make updated patch series including 5 patches. (previous 3 patches + MAINTAINERS + new patch) ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-07 10:58 ` Tetsuyuki Kobayashi @ 2012-07-07 11:23 ` Tetsuyuki Kobayashi 2012-07-07 11:30 ` [U-Boot] [PATCH v2 1/5] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi ` (5 more replies) 0 siblings, 6 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:23 UTC (permalink / raw) To: u-boot Hi, Iwamatsu-san I made v2 patch set for kzm9g. Please revert my previous 3 patches and apply this patch set. After this patch set, LTSI kernel can boot on KZM-A9-GT board. It seems stable as before. Tetsuyuki Kobayashi (5): arm: rmobile: kzm9g: Modify sdram area arm: rmobile: kzm9g: Adjust low level hardware setting arm: rmobile: kzm9g: change prompt to board specific arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g MAINTAINERS | 1 + arch/arm/include/asm/arch-rmobile/sh73a0.h | 6 +++++- board/kmc/kzm9g/kzm9g.c | 2 ++ include/configs/kzm9g.h | 7 ++++--- 4 files changed, 12 insertions(+), 4 deletions(-) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 1/5] arm: rmobile: kzm9g: Modify sdram area 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi @ 2012-07-07 11:30 ` Tetsuyuki Kobayashi 2012-07-07 11:31 ` [U-Boot] [PATCH v2 2/5] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi ` (4 subsequent siblings) 5 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:30 UTC (permalink / raw) To: u-boot Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. include/configs/kzm9g.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 7567d46..bcf2cd8 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -97,8 +97,9 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 2/5] arm: rmobile: kzm9g: Adjust low level hardware setting 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi 2012-07-07 11:30 ` [U-Boot] [PATCH v2 1/5] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi @ 2012-07-07 11:31 ` Tetsuyuki Kobayashi 2012-07-07 11:31 ` [U-Boot] [PATCH v2 3/5] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi ` (3 subsequent siblings) 5 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:31 UTC (permalink / raw) To: u-boot Adjust low level hardware setting in s_init. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- board/kmc/kzm9g/kzm9g.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 605dd44..ad59be7 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -229,7 +229,9 @@ struct sh73a0_sbsc_cpg { volatile u32 smstpcr3; volatile u32 smstpcr4; volatile u32 smstpcr5; - volatile u32 dummy11[10]; /* 0x148 .. 0x16c */ + volatile u32 dummy11[2]; /* 0x148 .. 0x14c */ + volatile u32 cpgxxcs4; + volatile u32 dummy12[7]; /* 0x154 .. 0x16c */ volatile u32 dvfscr2; volatile u32 dvfscr3; volatile u32 dvfscr4; diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 8d7c61a..3716483 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -163,6 +163,7 @@ void s_init(void) #define LIFEC_SEC_SRC_BIT (1 << 15) writel(readl(LIFEC_SEC_SRC) & ~LIFEC_SEC_SRC_BIT, LIFEC_SEC_SRC); + clrbits_le32(&cpg->smstpcr3, (1 << 15)); clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); clrbits_le32(&cpg->smstpcr2, (1 << 18)); clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); @@ -266,6 +267,7 @@ void s_init(void) writel(0x00000b0b, &cpg->frqcrd); cmp_loop(&cpg->frqcrd, 0x80000000, 0x0); + writel(0xfffffffc, &cpg->cpgxxcs4); } int board_early_init_f(void) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 3/5] arm: rmobile: kzm9g: change prompt to board specific 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi 2012-07-07 11:30 ` [U-Boot] [PATCH v2 1/5] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi 2012-07-07 11:31 ` [U-Boot] [PATCH v2 2/5] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi @ 2012-07-07 11:31 ` Tetsuyuki Kobayashi 2012-07-07 11:32 ` [U-Boot] [PATCH v2 4/5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayashi ` (2 subsequent siblings) 5 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:31 UTC (permalink / raw) To: u-boot Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. include/configs/kzm9g.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index bcf2cd8..bd157d9 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -70,7 +70,7 @@ /* prompt */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_PROMPT "> " +#define CONFIG_SYS_PROMPT "KZM-A9-GT# " #define CONFIG_SYS_CBSIZE 256 #define CONFIG_SYS_PBSIZE 256 #define CONFIG_SYS_MAXARGS 16 -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 4/5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi ` (2 preceding siblings ...) 2012-07-07 11:31 ` [U-Boot] [PATCH v2 3/5] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi @ 2012-07-07 11:32 ` Tetsuyuki Kobayashi 2012-07-07 11:32 ` [U-Boot] [PATCH v2 5/5] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayashi 2012-07-09 6:30 ` [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 5 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:32 UTC (permalink / raw) To: u-boot Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index ad59be7..74d1c48 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -60,7 +60,9 @@ /* RWDT */ struct sh73a0_rwdt { volatile u16 rwtcnt0; /* 0x00 */ + volatile u16 dummy0; /* 0x02 */ volatile u16 rwtcsra0; /* 0x04 */ + volatile u16 dummy1; /* 0x06 */ volatile u16 rwtcsrb0; /* 0x08 */ }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 5/5] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi ` (3 preceding siblings ...) 2012-07-07 11:32 ` [U-Boot] [PATCH v2 4/5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayashi @ 2012-07-07 11:32 ` Tetsuyuki Kobayashi 2012-07-09 6:30 ` [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 5 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-07 11:32 UTC (permalink / raw) To: u-boot Add Tetsuyuki Kobayshi for kzm9g in MAINTAINERS file. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 45446f4..55a6c1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -947,6 +947,7 @@ Vladimir Zapolskiy <vz@mleia.com> devkit3250 lpc32xx Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> +Tetsuyuki Kobayashi <koba@kmckk.co.jp> kzm9g SH73A0 (RMOBILE SoC) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi ` (4 preceding siblings ...) 2012-07-07 11:32 ` [U-Boot] [PATCH v2 5/5] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayashi @ 2012-07-09 6:30 ` Tetsuyuki Kobayashi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi 5 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayashi @ 2012-07-09 6:30 UTC (permalink / raw) To: u-boot Hi, Iwamatsu-san I found another bug and fixed it right now. I will add another patch in this patch series. I will post v3 soon. Please wait to apply v2. (2012/07/07 20:23), Tetsuyuki Kobayashi wrote: > Hi, Iwamatsu-san > > I made v2 patch set for kzm9g. > Please revert my previous 3 patches and apply this patch set. > > After this patch set, LTSI kernel can boot on KZM-A9-GT board. > It seems stable as before. > > Tetsuyuki Kobayashi (5): > arm: rmobile: kzm9g: Modify sdram area > arm: rmobile: kzm9g: Adjust low level hardware setting > arm: rmobile: kzm9g: change prompt to board specific > arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt > MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g > > MAINTAINERS | 1 + > arch/arm/include/asm/arch-rmobile/sh73a0.h | 6 +++++- > board/kmc/kzm9g/kzm9g.c | 2 ++ > include/configs/kzm9g.h | 7 ++++--- > 4 files changed, 12 insertions(+), 4 deletions(-) > ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 0/6] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-09 6:30 ` [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi ` (6 more replies) 0 siblings, 7 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Hi, Iwamatsu-san This is v3 patch set for kzm9g. I add a patch for modifying bus controller setting for CS4. After this patch set, LTSI kernel can boot on KZM-A9-GT board. It seems stable as before. Tetsuyuki Kobayashi (6): arm: rmobile: kzm9g: Modify sdram area arm: rmobile: kzm9g: Adjust low level hardware setting arm: rmobile: kzm9g: change prompt to board specific arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g arm: rmobile: kzm9g: Modify bus controller setting for CS4 MAINTAINERS | 1 + arch/arm/include/asm/arch-rmobile/sh73a0.h | 6 +++++- board/kmc/kzm9g/kzm9g.c | 6 ++++-- include/configs/kzm9g.h | 7 ++++--- 4 files changed, 14 insertions(+), 6 deletions(-) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 2/6] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi ` (5 subsequent siblings) 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. include/configs/kzm9g.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 7567d46..bcf2cd8 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -97,8 +97,9 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 2/6] arm: rmobile: kzm9g: Adjust low level hardware setting 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 3/6] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi ` (4 subsequent siblings) 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Adjust low level hardware setting in s_init. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- board/kmc/kzm9g/kzm9g.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 605dd44..ad59be7 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -229,7 +229,9 @@ struct sh73a0_sbsc_cpg { volatile u32 smstpcr3; volatile u32 smstpcr4; volatile u32 smstpcr5; - volatile u32 dummy11[10]; /* 0x148 .. 0x16c */ + volatile u32 dummy11[2]; /* 0x148 .. 0x14c */ + volatile u32 cpgxxcs4; + volatile u32 dummy12[7]; /* 0x154 .. 0x16c */ volatile u32 dvfscr2; volatile u32 dvfscr3; volatile u32 dvfscr4; diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 8d7c61a..3716483 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -163,6 +163,7 @@ void s_init(void) #define LIFEC_SEC_SRC_BIT (1 << 15) writel(readl(LIFEC_SEC_SRC) & ~LIFEC_SEC_SRC_BIT, LIFEC_SEC_SRC); + clrbits_le32(&cpg->smstpcr3, (1 << 15)); clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); clrbits_le32(&cpg->smstpcr2, (1 << 18)); clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); @@ -266,6 +267,7 @@ void s_init(void) writel(0x00000b0b, &cpg->frqcrd); cmp_loop(&cpg->frqcrd, 0x80000000, 0x0); + writel(0xfffffffc, &cpg->cpgxxcs4); } int board_early_init_f(void) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 3/6] arm: rmobile: kzm9g: change prompt to board specific 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 2/6] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 4/6] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi ` (3 subsequent siblings) 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. include/configs/kzm9g.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index bcf2cd8..bd157d9 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -70,7 +70,7 @@ /* prompt */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_PROMPT "> " +#define CONFIG_SYS_PROMPT "KZM-A9-GT# " #define CONFIG_SYS_CBSIZE 256 #define CONFIG_SYS_PBSIZE 256 #define CONFIG_SYS_MAXARGS 16 -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 4/6] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi ` (2 preceding siblings ...) 2012-07-09 11:06 ` [U-Boot] [PATCH v3 3/6] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 5/6] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi ` (2 subsequent siblings) 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New Changes for v3: - No change arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index ad59be7..74d1c48 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -60,7 +60,9 @@ /* RWDT */ struct sh73a0_rwdt { volatile u16 rwtcnt0; /* 0x00 */ + volatile u16 dummy0; /* 0x02 */ volatile u16 rwtcsra0; /* 0x04 */ + volatile u16 dummy1; /* 0x06 */ volatile u16 rwtcsrb0; /* 0x08 */ }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 5/6] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi ` (3 preceding siblings ...) 2012-07-09 11:06 ` [U-Boot] [PATCH v3 4/6] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi @ 2012-07-09 11:06 ` Tetsuyuki Kobayshi 2012-07-09 11:07 ` [U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:06 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Add Tetsuyuki Kobayshi for kzm9g in MAINTAINERS file. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New Changes for v3: - No change MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 45446f4..55a6c1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -947,6 +947,7 @@ Vladimir Zapolskiy <vz@mleia.com> devkit3250 lpc32xx Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> +Tetsuyuki Kobayashi <koba@kmckk.co.jp> kzm9g SH73A0 (RMOBILE SoC) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi ` (4 preceding siblings ...) 2012-07-09 11:06 ` [U-Boot] [PATCH v3 5/6] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi @ 2012-07-09 11:07 ` Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-09 11:07 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Problem: Linux kernel hangs up when it write a file to NFS mounted directory. Solution: Modify bus controller setting for CS4, which connected smsc9221 ethernet controller. Detail: Modify CS4BCR bit[29:28] (IWW[1:0]) from 00 to 11. It inserts 4 idle cycles between Write-Read/Write-Write cycles. Modify CS4WCR bit[18:16] (WW[2:0]) from 101 to 111 It specifies the number of cycles necessary for write access. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v3: - New board/kmc/kzm9g/kzm9g.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 3716483..8cefbef 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -31,9 +31,9 @@ DECLARE_GLOBAL_DATA_PTR; #define CS0BCR_D (0x06C00400) -#define CS4BCR_D (0x06C00400) +#define CS4BCR_D (0x36C00400) #define CS0WCR_D (0x55062C42) -#define CS4WCR_D (0x19051443) +#define CS4WCR_D (0x19071443) #define CMNCR_BROMMD0 (1 << 21) #define CMNCR_BROMMD1 (1 << 22) #define CMNCR_BROMMD (CMNCR_BROMMD0|CMNCR_BROMMD1) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi ` (5 preceding siblings ...) 2012-07-09 11:07 ` [U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi ` (6 more replies) 6 siblings, 7 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Hi, Iwamatsu-san This is v4 patch set for kzm9g. I modified bus controller setting for CS4. And enabled reset command. Tetsuyuki Kobayashi (7): arm: rmobile: kzm9g: Modify sdram area arm: rmobile: kzm9g: Adjust low level hardware setting arm: rmobile: kzm9g: change prompt to board specific arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g arm: rmobile: kzm9g: Modify bus controller setting for CS4 arm: rmobile: kzm9g: enable reset command MAINTAINERS | 1 + arch/arm/include/asm/arch-rmobile/sh73a0.h | 10 +++++++++- board/kmc/kzm9g/kzm9g.c | 9 +++++++-- include/configs/kzm9g.h | 7 ++++--- 4 files changed, 21 insertions(+), 6 deletions(-) -- 1.7.9.5 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-19 23:43 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 2/7] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi ` (5 subsequent siblings) 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Reserve first 16MB for RT-CPU (as same as kernel config). Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. Changes for v4: - No change. include/configs/kzm9g.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 7567d46..bcf2cd8 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -97,8 +97,9 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area 2012-07-17 5:13 ` [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi @ 2012-07-19 23:43 ` Nobuhiro Iwamatsu 0 siblings, 0 replies; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-19 23:43 UTC (permalink / raw) To: u-boot Applied to my arm/rmobile branch. Thanks, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Reserve first 16MB for RT-CPU (as same as kernel config). > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> > --- > Changes for v2: > - No change. Just rebased. > Changes for v3: > - No change. > Changes for v4: > - No change. > > include/configs/kzm9g.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h > index 7567d46..bcf2cd8 100644 > --- a/include/configs/kzm9g.h > +++ b/include/configs/kzm9g.h > @@ -97,8 +97,9 @@ > #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ > CONFIG_SYS_INIT_RAM_SIZE - \ > GENERATED_GBL_DATA_SIZE) > -#define CONFIG_SYS_SDRAM_BASE KZM_SDRAM_BASE > -#define CONFIG_SYS_SDRAM_SIZE PHYS_SDRAM_SIZE > +#define CONFIG_SDRAM_OFFSET_FOR_RT (16 * 1024 * 1024) > +#define CONFIG_SYS_SDRAM_BASE (KZM_SDRAM_BASE + CONFIG_SDRAM_OFFSET_FOR_RT) > +#define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) > #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) > > #define CONFIG_SYS_MONITOR_BASE (KZM_FLASH_BASE) > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 2/7] arm: rmobile: kzm9g: Adjust low level hardware setting 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi ` (4 subsequent siblings) 6 siblings, 0 replies; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Adjust low level hardware setting in s_init. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. Changes for v4: - No change. arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 +++- board/kmc/kzm9g/kzm9g.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 605dd44..ad59be7 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -229,7 +229,9 @@ struct sh73a0_sbsc_cpg { volatile u32 smstpcr3; volatile u32 smstpcr4; volatile u32 smstpcr5; - volatile u32 dummy11[10]; /* 0x148 .. 0x16c */ + volatile u32 dummy11[2]; /* 0x148 .. 0x14c */ + volatile u32 cpgxxcs4; + volatile u32 dummy12[7]; /* 0x154 .. 0x16c */ volatile u32 dvfscr2; volatile u32 dvfscr3; volatile u32 dvfscr4; diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 8d7c61a..3716483 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -163,6 +163,7 @@ void s_init(void) #define LIFEC_SEC_SRC_BIT (1 << 15) writel(readl(LIFEC_SEC_SRC) & ~LIFEC_SEC_SRC_BIT, LIFEC_SEC_SRC); + clrbits_le32(&cpg->smstpcr3, (1 << 15)); clrbits_le32(&cpg_srcr->srcr3, (1 << 15)); clrbits_le32(&cpg->smstpcr2, (1 << 18)); clrbits_le32(&cpg_srcr->srcr2, (1 << 18)); @@ -266,6 +267,7 @@ void s_init(void) writel(0x00000b0b, &cpg->frqcrd); cmp_loop(&cpg->frqcrd, 0x80000000, 0x0); + writel(0xfffffffc, &cpg->cpgxxcs4); } int board_early_init_f(void) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 2/7] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-19 23:44 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi ` (3 subsequent siblings) 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Change U-Boot prompt to board specific one. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- Changes for v2: - No change. Just rebased. Changes for v3: - No change. Changes for v4: - No change. include/configs/kzm9g.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index bcf2cd8..bd157d9 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -70,7 +70,7 @@ /* prompt */ #define CONFIG_SYS_LONGHELP -#define CONFIG_SYS_PROMPT "> " +#define CONFIG_SYS_PROMPT "KZM-A9-GT# " #define CONFIG_SYS_CBSIZE 256 #define CONFIG_SYS_PBSIZE 256 #define CONFIG_SYS_MAXARGS 16 -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific 2012-07-17 5:13 ` [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi @ 2012-07-19 23:44 ` Nobuhiro Iwamatsu 0 siblings, 0 replies; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-19 23:44 UTC (permalink / raw) To: u-boot Applied to my arm/rmobile branch. Thanks, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Change U-Boot prompt to board specific one. > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> > --- > Changes for v2: > - No change. Just rebased. > Changes for v3: > - No change. > Changes for v4: > - No change. > > include/configs/kzm9g.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h > index bcf2cd8..bd157d9 100644 > --- a/include/configs/kzm9g.h > +++ b/include/configs/kzm9g.h > @@ -70,7 +70,7 @@ > > /* prompt */ > #define CONFIG_SYS_LONGHELP > -#define CONFIG_SYS_PROMPT "> " > +#define CONFIG_SYS_PROMPT "KZM-A9-GT# " > #define CONFIG_SYS_CBSIZE 256 > #define CONFIG_SYS_PBSIZE 256 > #define CONFIG_SYS_MAXARGS 16 > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi ` (2 preceding siblings ...) 2012-07-17 5:13 ` [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-20 0:15 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi ` (2 subsequent siblings) 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New Changes for v3: - No change Changes for v4: - No change arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index ad59be7..74d1c48 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -60,7 +60,9 @@ /* RWDT */ struct sh73a0_rwdt { volatile u16 rwtcnt0; /* 0x00 */ + volatile u16 dummy0; /* 0x02 */ volatile u16 rwtcsra0; /* 0x04 */ + volatile u16 dummy1; /* 0x06 */ volatile u16 rwtcsrb0; /* 0x08 */ }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-17 5:13 ` [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi @ 2012-07-20 0:15 ` Nobuhiro Iwamatsu 2012-07-20 9:27 ` [U-Boot] [PATCH v5] " Tetsuyuki Kobayshi 0 siblings, 1 reply; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-20 0:15 UTC (permalink / raw) To: u-boot Hi, Sorry, I dropped volatile qualifiers from register struct. Please remove volatile qualifiers from your code. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Add dummy member to struct sh73a0_rwdt in sh73a0.h. > Without this, initializing watch dog timer goes wrong. > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > Changes for v2: > - New > Changes for v3: > - No change > Changes for v4: > - No change > > arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h > index ad59be7..74d1c48 100644 > --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h > +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h > @@ -60,7 +60,9 @@ > /* RWDT */ > struct sh73a0_rwdt { > volatile u16 rwtcnt0; /* 0x00 */ > + volatile u16 dummy0; /* 0x02 */ > volatile u16 rwtcsra0; /* 0x04 */ > + volatile u16 dummy1; /* 0x06 */ > volatile u16 rwtcsrb0; /* 0x08 */ > }; > > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-20 0:15 ` Nobuhiro Iwamatsu @ 2012-07-20 9:27 ` Tetsuyuki Kobayshi 2012-07-23 6:28 ` Nobuhiro Iwamatsu 0 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-20 9:27 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New Changes for v3: - No change Changes for v4: - No change Changes for v5: - remove volatile arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 2c0c8c6..39ed2c3 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -64,7 +64,9 @@ /* RWDT */ struct sh73a0_rwdt { u16 rwtcnt0; /* 0x00 */ + u16 dummy0; /* 0x02 */ u16 rwtcsra0; /* 0x04 */ + u16 dummy1; /* 0x06 */ u16 rwtcsrb0; /* 0x08 */ }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt 2012-07-20 9:27 ` [U-Boot] [PATCH v5] " Tetsuyuki Kobayshi @ 2012-07-23 6:28 ` Nobuhiro Iwamatsu 0 siblings, 0 replies; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-23 6:28 UTC (permalink / raw) To: u-boot Thank you . I applied my rmobile branch. Best regarads, Nobuhiro 2012/7/20 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Add dummy member to struct sh73a0_rwdt in sh73a0.h. > Without this, initializing watch dog timer goes wrong. > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > Changes for v2: > - New > Changes for v3: > - No change > Changes for v4: > - No change > Changes for v5: > - remove volatile > > arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h > index 2c0c8c6..39ed2c3 100644 > --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h > +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h > @@ -64,7 +64,9 @@ > /* RWDT */ > struct sh73a0_rwdt { > u16 rwtcnt0; /* 0x00 */ > + u16 dummy0; /* 0x02 */ > u16 rwtcsra0; /* 0x04 */ > + u16 dummy1; /* 0x06 */ > u16 rwtcsrb0; /* 0x08 */ > }; > > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi ` (3 preceding siblings ...) 2012-07-17 5:13 ` [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-19 23:51 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command Tetsuyuki Kobayshi 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v2: - New Changes for v3: - No change Changes for v4: - No change MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 45446f4..55a6c1b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -947,6 +947,7 @@ Vladimir Zapolskiy <vz@mleia.com> devkit3250 lpc32xx Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> +Tetsuyuki Kobayashi <koba@kmckk.co.jp> kzm9g SH73A0 (RMOBILE SoC) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-07-17 5:13 ` [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi @ 2012-07-19 23:51 ` Nobuhiro Iwamatsu 2012-10-04 8:45 ` Albert ARIBAUD 0 siblings, 1 reply; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-19 23:51 UTC (permalink / raw) To: u-boot Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > Changes for v2: > - New > Changes for v3: > - No change > Changes for v4: > - No change > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 45446f4..55a6c1b 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -947,6 +947,7 @@ Vladimir Zapolskiy <vz@mleia.com> > devkit3250 lpc32xx > > Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> > +Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > kzm9g SH73A0 (RMOBILE SoC) > > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-07-19 23:51 ` Nobuhiro Iwamatsu @ 2012-10-04 8:45 ` Albert ARIBAUD 2012-10-04 22:02 ` Nobuhiro Iwamatsu 0 siblings, 1 reply; 46+ messages in thread From: Albert ARIBAUD @ 2012-10-04 8:45 UTC (permalink / raw) To: u-boot Hi Nohiburo, Tetsuyuki, On Fri, 20 Jul 2012 08:51:29 +0900, Nobuhiro Iwamatsu <iwamatsu@nigauri.org> wrote: > Applied to my arm/rmobile branch. > Thank you. > > Best regards, > Nobuhiro Actually this did does not seem to have been applied to arm/rmobile, and was not in my patchwork todo either. Should I apply the patch directly in arm/master? Amicalement, -- Albert. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-10-04 8:45 ` Albert ARIBAUD @ 2012-10-04 22:02 ` Nobuhiro Iwamatsu 2012-10-05 18:44 ` Albert ARIBAUD 0 siblings, 1 reply; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-10-04 22:02 UTC (permalink / raw) To: u-boot HI, On Thu, Oct 4, 2012 at 5:45 PM, Albert ARIBAUD <albert.u.boot@aribaud.net> wrote: > Hi Nohiburo, Tetsuyuki, > > On Fri, 20 Jul 2012 08:51:29 +0900, Nobuhiro Iwamatsu > <iwamatsu@nigauri.org> wrote: > >> Applied to my arm/rmobile branch. >> Thank you. >> >> Best regards, >> Nobuhiro > > Actually this did does not seem to have been applied to arm/rmobile, > and was not in my patchwork todo either. Should I apply the patch > directly in arm/master? > Yes, please apply to your repository. Thanks! Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-10-04 22:02 ` Nobuhiro Iwamatsu @ 2012-10-05 18:44 ` Albert ARIBAUD 2012-10-05 18:49 ` Tom Rini 0 siblings, 1 reply; 46+ messages in thread From: Albert ARIBAUD @ 2012-10-05 18:44 UTC (permalink / raw) To: u-boot Hi Nobuhiro, On Fri, 5 Oct 2012 07:02:17 +0900, Nobuhiro Iwamatsu <iwamatsu@nigauri.org> wrote: > HI, > > On Thu, Oct 4, 2012 at 5:45 PM, Albert ARIBAUD > <albert.u.boot@aribaud.net> wrote: > > Hi Nohiburo, Tetsuyuki, > > > > On Fri, 20 Jul 2012 08:51:29 +0900, Nobuhiro Iwamatsu > > <iwamatsu@nigauri.org> wrote: > > > >> Applied to my arm/rmobile branch. > >> Thank you. > >> > >> Best regards, > >> Nobuhiro > > > > Actually this did does not seem to have been applied to arm/rmobile, > > and was not in my patchwork todo either. Should I apply the patch > > directly in arm/master? > > > Yes, please apply to your repository. > Thanks! Unless Tom makes an exception, I'm afraid this will have to wait until after 2012.10. > Nobuhiro Amicalement, -- Albert. ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g 2012-10-05 18:44 ` Albert ARIBAUD @ 2012-10-05 18:49 ` Tom Rini 0 siblings, 0 replies; 46+ messages in thread From: Tom Rini @ 2012-10-05 18:49 UTC (permalink / raw) To: u-boot -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/05/12 11:44, Albert ARIBAUD wrote: > Hi Nobuhiro, > > On Fri, 5 Oct 2012 07:02:17 +0900, Nobuhiro Iwamatsu > <iwamatsu@nigauri.org> wrote: > >> HI, >> >> On Thu, Oct 4, 2012 at 5:45 PM, Albert ARIBAUD >> <albert.u.boot@aribaud.net> wrote: >>> Hi Nohiburo, Tetsuyuki, >>> >>> On Fri, 20 Jul 2012 08:51:29 +0900, Nobuhiro Iwamatsu >>> <iwamatsu@nigauri.org> wrote: >>> >>>> Applied to my arm/rmobile branch. Thank you. >>>> >>>> Best regards, Nobuhiro >>> >>> Actually this did does not seem to have been applied to >>> arm/rmobile, and was not in my patchwork todo either. Should I >>> apply the patch directly in arm/master? >>> >> Yes, please apply to your repository. Thanks! > > Unless Tom makes an exception, I'm afraid this will have to wait > until after 2012.10. Just patching MAINTAINERS file? That's fine with me. - -- Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQbyumAAoJENk4IS6UOR1WpfwP+QEIXaBV/Wc3zigRHgIsHGHZ 6fuhpZZiWJXXb9spR4j+CuiX104CdMJ5xvI/0vqEO4se2L98R3rRSopqSyoFg92d UCie0vyeQ52Px4VfJPUh14jMqCgjZT5HjcTmuzgxQdb43h3JTCTSOwY5syioLCla XlaRrgnpZMCgvRyLp5ncgIfcDdEnjihFyZNUcgpReI3Xdj1tMGCMPxQ96gbKKEX0 jmKdDhBl2j9mf4bwTpVmgh2/21j/qT+4jIB9/Os89KCj5/W99YSBAVl1LXHLtLAh 9p0mzgphByJy7Z7k+sj3LxJ1cOSNFEVZ+/ptjGA3MkI1DsDU2bcjZYy0DBuhGzY5 N0U6qiS2Cc8KPIO1H8VCiEkJHEreA8HCsc+z4eaq0sZo1taeIidI+hmSM60G53K8 0LtBWtH8KRkpf2l+O6dqo98tM4SakTDOBtGWY18YWv8S00rpaSBSo5B+GrS+HCV2 Uqr/msLYSzaqiCaZ98q1DIVx5t/bnPKKhUHnv3U6GVy7IOnqqmgaG45ch/NRAD2A e7rWSP/kE3g2BLZq7ATC8xxWLRhYSD1hvry3Co2eBx3uBYJGcIAZL8p7/XBnfdv/ /wYl5QZm7rH2sidcu9mcNyxkBVssTIvfUiYMK/COZb59LuQnbhjgCKAmk9Utc0Wo G7PbvrF237CCa7kaqfU7 =v8xu -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi ` (4 preceding siblings ...) 2012-07-17 5:13 ` [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-19 23:51 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command Tetsuyuki Kobayshi 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Problem: Linux kernel hangs up when it write a file to NFS mounted directory. Solution: Modify bus controller setting for CS4, which connected smsc9221 ethernet controller. Detail: Modify CS4BCR bit[29:28] (IWW[1:0]) from 00 to 01. Modify CS4BCR bit[20:19] (IWRRD[1:0]) from 00 to 01. Modify CS4BCR bit[17:16] (IWRRS[1:0]) from 00 to 01. Modify CS4WCR bit[27:26] (WSW[1:0]) from 10 to 11 Modify CS4WCR bit[25:24] (WHW[1:0]) from 01 to 10 Modify CS4WCR bit[18:16] (WW[2:0]) from 101 to 111 Modify CS4WCR bit[13:11] (SW[2:0]) from 010 to 011 Modify CS4WCR bit[10:7] (WR[3:0]) from 1000 to 1011 Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v3: - New Changes for v4: - Modify values for CS4BCR and CS4WCR. board/kmc/kzm9g/kzm9g.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 3716483..ed530fd 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -31,9 +31,10 @@ DECLARE_GLOBAL_DATA_PTR; #define CS0BCR_D (0x06C00400) -#define CS4BCR_D (0x06C00400) +#define CS4BCR_D (0x16c90400) #define CS0WCR_D (0x55062C42) -#define CS4WCR_D (0x19051443) +#define CS4WCR_D (0x1e071dc3) + #define CMNCR_BROMMD0 (1 << 21) #define CMNCR_BROMMD1 (1 << 22) #define CMNCR_BROMMD (CMNCR_BROMMD0|CMNCR_BROMMD1) -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 2012-07-17 5:13 ` [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi @ 2012-07-19 23:51 ` Nobuhiro Iwamatsu 0 siblings, 0 replies; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-19 23:51 UTC (permalink / raw) To: u-boot Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Problem: > Linux kernel hangs up when it write a file to NFS mounted directory. > Solution: > Modify bus controller setting for CS4, which connected smsc9221 ethernet > controller. > > Detail: > Modify CS4BCR bit[29:28] (IWW[1:0]) from 00 to 01. > Modify CS4BCR bit[20:19] (IWRRD[1:0]) from 00 to 01. > Modify CS4BCR bit[17:16] (IWRRS[1:0]) from 00 to 01. > Modify CS4WCR bit[27:26] (WSW[1:0]) from 10 to 11 > Modify CS4WCR bit[25:24] (WHW[1:0]) from 01 to 10 > Modify CS4WCR bit[18:16] (WW[2:0]) from 101 to 111 > Modify CS4WCR bit[13:11] (SW[2:0]) from 010 to 011 > Modify CS4WCR bit[10:7] (WR[3:0]) from 1000 to 1011 > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > Changes for v3: > - New > Changes for v4: > - Modify values for CS4BCR and CS4WCR. > > board/kmc/kzm9g/kzm9g.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c > index 3716483..ed530fd 100644 > --- a/board/kmc/kzm9g/kzm9g.c > +++ b/board/kmc/kzm9g/kzm9g.c > @@ -31,9 +31,10 @@ > DECLARE_GLOBAL_DATA_PTR; > > #define CS0BCR_D (0x06C00400) > -#define CS4BCR_D (0x06C00400) > +#define CS4BCR_D (0x16c90400) > #define CS0WCR_D (0x55062C42) > -#define CS4WCR_D (0x19051443) > +#define CS4WCR_D (0x1e071dc3) > + > #define CMNCR_BROMMD0 (1 << 21) > #define CMNCR_BROMMD1 (1 << 22) > #define CMNCR_BROMMD (CMNCR_BROMMD0|CMNCR_BROMMD1) > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi ` (5 preceding siblings ...) 2012-07-17 5:13 ` [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi @ 2012-07-17 5:13 ` Tetsuyuki Kobayshi 2012-07-19 23:48 ` Nobuhiro Iwamatsu 6 siblings, 1 reply; 46+ messages in thread From: Tetsuyuki Kobayshi @ 2012-07-17 5:13 UTC (permalink / raw) To: u-boot From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Do soft power on reset in U-Boot reset command. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> --- Changes for v4: - New arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 ++++ board/kmc/kzm9g/kzm9g.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 74d1c48..6a6c237 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -41,6 +41,10 @@ #define SRESCR (CPG_BASE + 0x1018) #define PCLKCR (CPG_BASE + 0x1020) +/* SYSC */ +#define SYSC_BASE (0xE6180000) +#define RESCNT2 (SYSC_BASE + 0x8020) + /* BSC */ #define BSC_BASE (0xFEC10000) diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index ed530fd..66bac69 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc/kzm9g/kzm9g.c @@ -372,4 +372,6 @@ int board_eth_init(bd_t *bis) void reset_cpu(ulong addr) { + /* Soft Power On Reset */ + writel((1 << 31), RESCNT2); } -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 46+ messages in thread
* [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command 2012-07-17 5:13 ` [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command Tetsuyuki Kobayshi @ 2012-07-19 23:48 ` Nobuhiro Iwamatsu 0 siblings, 0 replies; 46+ messages in thread From: Nobuhiro Iwamatsu @ 2012-07-19 23:48 UTC (permalink / raw) To: u-boot Applied to my arm/rmobile branch. Thank you. Best regards, Nobuhiro 2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>: > From: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > > Do soft power on reset in U-Boot reset command. > > Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> > --- > Changes for v4: > - New > > arch/arm/include/asm/arch-rmobile/sh73a0.h | 4 ++++ > board/kmc/kzm9g/kzm9g.c | 2 ++ > 2 files changed, 6 insertions(+) > > diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h > index 74d1c48..6a6c237 100644 > --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h > +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h > @@ -41,6 +41,10 @@ > #define SRESCR (CPG_BASE + 0x1018) > #define PCLKCR (CPG_BASE + 0x1020) > > +/* SYSC */ > +#define SYSC_BASE (0xE6180000) > +#define RESCNT2 (SYSC_BASE + 0x8020) > + > /* BSC */ > #define BSC_BASE (0xFEC10000) > > diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c > index ed530fd..66bac69 100644 > --- a/board/kmc/kzm9g/kzm9g.c > +++ b/board/kmc/kzm9g/kzm9g.c > @@ -372,4 +372,6 @@ int board_eth_init(bd_t *bis) > > void reset_cpu(ulong addr) > { > + /* Soft Power On Reset */ > + writel((1 << 31), RESCNT2); > } > -- > 1.7.9.5 > -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 ^ permalink raw reply [flat|nested] 46+ messages in thread
end of thread, other threads:[~2012-10-05 18:49 UTC | newest] Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-06-26 2:30 [U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S Tetsuyuki Kobayashi 2012-06-26 21:22 ` Albert ARIBAUD 2012-06-27 7:56 ` Tetsuyuki Kobayashi 2012-07-05 7:02 ` Nobuhiro Iwamatsu 2012-07-05 11:37 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 1/3] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 2/3] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi 2012-07-05 11:43 ` [U-Boot] [PATCH 3/3] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi 2012-07-06 0:12 ` [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel Nobuhiro Iwamatsu 2012-07-06 7:48 ` Tetsuyuki Kobayashi 2012-07-06 13:46 ` Albert ARIBAUD 2012-07-07 10:58 ` Tetsuyuki Kobayashi 2012-07-07 11:23 ` [U-Boot] [PATCH v2 0/5] " Tetsuyuki Kobayashi 2012-07-07 11:30 ` [U-Boot] [PATCH v2 1/5] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayashi 2012-07-07 11:31 ` [U-Boot] [PATCH v2 2/5] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayashi 2012-07-07 11:31 ` [U-Boot] [PATCH v2 3/5] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayashi 2012-07-07 11:32 ` [U-Boot] [PATCH v2 4/5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayashi 2012-07-07 11:32 ` [U-Boot] [PATCH v2 5/5] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayashi 2012-07-09 6:30 ` [U-Boot] [PATCH v2 0/5] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayashi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 0/6] " Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 1/6] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 2/6] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 3/6] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 4/6] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi 2012-07-09 11:06 ` [U-Boot] [PATCH v3 5/6] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi 2012-07-09 11:07 ` [U-Boot] [PATCH v3 6/6] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 0/7] arm: rmobile: kzm9g: enable booting Linux kernel Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 1/7] arm: rmobile: kzm9g: Modify sdram area Tetsuyuki Kobayshi 2012-07-19 23:43 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 2/7] arm: rmobile: kzm9g: Adjust low level hardware setting Tetsuyuki Kobayshi 2012-07-17 5:13 ` [U-Boot] [PATCH v4 3/7] arm: rmobile: kzm9g: change prompt to board specific Tetsuyuki Kobayshi 2012-07-19 23:44 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt Tetsuyuki Kobayshi 2012-07-20 0:15 ` Nobuhiro Iwamatsu 2012-07-20 9:27 ` [U-Boot] [PATCH v5] " Tetsuyuki Kobayshi 2012-07-23 6:28 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 5/7] MAINTAINERS: Add Tetsuyuki Kobayshi for kzm9g Tetsuyuki Kobayshi 2012-07-19 23:51 ` Nobuhiro Iwamatsu 2012-10-04 8:45 ` Albert ARIBAUD 2012-10-04 22:02 ` Nobuhiro Iwamatsu 2012-10-05 18:44 ` Albert ARIBAUD 2012-10-05 18:49 ` Tom Rini 2012-07-17 5:13 ` [U-Boot] [PATCH v4 6/7] arm: rmobile: kzm9g: Modify bus controller setting for CS4 Tetsuyuki Kobayshi 2012-07-19 23:51 ` Nobuhiro Iwamatsu 2012-07-17 5:13 ` [U-Boot] [PATCH v4 7/7] arm: rmobile: kzm9g: enable reset command Tetsuyuki Kobayshi 2012-07-19 23:48 ` Nobuhiro Iwamatsu
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.