Re: [U-Boot] [PATCH] arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0

2012-06-27 Thread Tetsuyuki Kobayashi
Hi Tom, thank you for reviewing. (2012/06/28 2:40), Tom Rini wrote: On Mon, Jun 25, 2012 at 09:42:29PM +0900, Tetsuyuki Kobayashi wrote: save_boot_params_default() in cpu.c accesses uninitialized stack area when it compiled with -O0 (not optimized). Signed-off-by: Tetsuyuki Kobayashik

Re: [U-Boot] [PATCH] arm: bugfix: Move vector table before jumping relocated code

2012-06-27 Thread Tetsuyuki Kobayashi
Hi Tom and all, (2012/06/28 3:23), Tom Rini wrote: On Mon, Jun 25, 2012 at 09:40:57PM +0900, Tetsuyuki Kobayashi wrote: Interrupts and exceptions doesn't work in relocated code. It badly use IRQ_STACK_START_IN in rom area as interrupt stack. It is because the vecotr table is not moved to ram

Re: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-26 Thread Tetsuyuki Kobayashi
Hello, (2012/06/26 9:50), Tetsuyuki Kobayashi wrote: (06/26/2012 06:34 AM), Wolfgang Denk wrote: In message4fe85b13.5080...@kmckk.co.jp you wrote: I tried nfs command on KZM-A9-GT board and it fails every time with ERROR: Cannot umount. KZM-A9-GT board? This is an out of tree port

Re: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-26 Thread Tetsuyuki Kobayashi
Hi Joe, Thank you for responding. (2012/06/27 0:30), Joe Hershberger wrote: On Tue, Jun 26, 2012 at 3:52 AM, Wolfgang Denkw...@denx.de wrote: Dear Tetsuyuki Kobayashi, In message4fe9711a.2090...@kmckk.co.jp you wrote: Are you sure the problems are not in the board specific code? OK. I

[U-Boot] [PATCH] arm: rmobile: kzm9g: Modify sdram area

2012-06-25 Thread Tetsuyuki Kobayashi
This patch depends on Nobuhiro Iwamatsu's arm: rmobile: Add supoprt for KMC KZM-A9-GT board Reserve first 16MB for RT-CPU (as same as kernel config). Without this patch, kernel can't get ATAGS info from u-boot properly. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- include/configs

[U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-25 Thread Tetsuyuki Kobayashi
I tried nfs command on KZM-A9-GT board and it fails every time with ERROR: Cannot umount. Current NFS_TIMEOUT value is 2000UL. It seems too short. I changed this to 1UL then it succeeds. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- net/nfs.c |2 +- 1 file changed, 1

[U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-06-25 Thread Tetsuyuki Kobayashi
NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- net/net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/net.c b/net/net.c index 9de7d92..ac9c2c8 100644 --- a/net/net.c +++ b/net/net.c

[U-Boot] [PATCH] arm: bugfix: Move vector table before jumping relocated code

2012-06-25 Thread Tetsuyuki Kobayashi
Interrupts and exceptions doesn't work in relocated code. It badly use IRQ_STACK_START_IN in rom area as interrupt stack. It is because the vecotr table is not moved to ram area. This patch moves vector table before jumping relocated code. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp

[U-Boot] [PATCH] arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0

2012-06-25 Thread Tetsuyuki Kobayashi
save_boot_params_default() in cpu.c accesses uninitialized stack area when it compiled with -O0 (not optimized). Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- arch/arm/cpu/armv7/cpu.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu

Re: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-25 Thread Tetsuyuki Kobayashi
Hello, Wolfgang Denk, Thank you for responding. (06/26/2012 06:34 AM), Wolfgang Denk wrote: In message 4fe85b13.5080...@kmckk.co.jp you wrote: I tried nfs command on KZM-A9-GT board and it fails every time with ERROR: Cannot umount. KZM-A9-GT board? This is an out of tree port, isn't it?

Re: [U-Boot] [PATCH] arm: bugfix: Move vector table before jumping relocated code

2012-06-25 Thread Tetsuyuki Kobayashi
Hello, (06/26/2012 12:10 AM), Stephen Warren wrote: On 06/25/2012 06:40 AM, Tetsuyuki Kobayashi wrote: Interrupts and exceptions doesn't work in relocated code. It badly use IRQ_STACK_START_IN in rom area as interrupt stack. It is because the vecotr table is not moved to ram area. This patch

[U-Boot] [PATCH] arm: rmobile: kzm9g: Adjust hardware setting in lowlevel_init.S

2012-06-25 Thread Tetsuyuki Kobayashi
. Signed-off-by: Tetsuyuki Kobayashi k...@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

<    1   2