Re: [U-Boot] Why spi flash probe runs twice on Xilinx Zynq board ?

2014-06-30 Thread Thomas . Betker
the same (rather short) amount of time. Reading a Linux kernel from flash is slower than reading a small environment block, though, because the kernel is much bigger. Hope that helps, Thomas Betker ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] Command repeat

2014-05-30 Thread Thomas . Betker
for success, 1 for failure.] Any thoughts on this? I am willing to prepare a patch, but I certainly don't mind if this is handled by somebody else who is deeper into u-boot than me. Best regards, Thomas Betker ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Command repeat

2014-06-03 Thread Thomas . Betker
Hello Simon: Are you planning to work on a patch? Yes, I am; I hope to send something out tonight. Sorry for the delay! Best regards, Thomas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/3] Use run_command_repeatable()

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com Replace run_command() by run_command_repeatable() in places which depend on the return code to indicate repeatability. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- common/cli_simple.c |2 +- common/cmd_bedbug.c |2

[U-Boot] [PATCH 1/3] Check run_command() return code properly

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c |2

[U-Boot] [PATCH 2/3] Add run_command_repeatable()

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com run_command() returns 0 on success and 1 on error. However, there are some invocations which expect 0 or 1 for success (not repeatable or repeatable) and -1 for error; add run_command_repeatable() for this purpose. Signed-off-by: Thomas Betker

[U-Boot] [PATCH 0/3] Fix command repeat

2014-06-04 Thread thomas . betker
From: Thomas Betker thomas.bet...@rohde-schwarz.com The intent of these patches is to get command repeat to work again. The issue is that run_command() returns 0 on success, 1 on error. In order to get command repeat to work, we need a variant which returns -1 on error and 0/1 (non-repeatable

[U-Boot] [RESEND PATCH 1/3] Check run_command() return code properly

2014-06-05 Thread Thomas Betker
run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 2 +- board/gdsys/p1022/controlcenterd.c| 6 +- common

[U-Boot] [RESEND PATCH 2/3] Add run_command_repeatable()

2014-06-05 Thread Thomas Betker
run_command() returns 0 on success and 1 on error. However, there are some invocations which expect 0 or 1 for success (not repeatable or repeatable) and -1 for error; add run_command_repeatable() for this purpose. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- common/cli.c

[U-Boot] [RESEND PATCH 3/3] Use run_command_repeatable()

2014-06-05 Thread Thomas Betker
Replace run_command() by run_command_repeatable() in places which depend on the return code to indicate repeatability. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com --- common/cli_simple.c | 2 +- common/cmd_bedbug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [RESEND PATCH 0/3] Fix command repeat

2014-06-05 Thread Thomas Betker
() invocations in general. Best regards, Thomas Betker Thomas Betker (3): Check run_command() return code properly Add run_command_repeatable() Use run_command_repeatable() arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 2 +- board/gdsys/p1022/controlcenterd.c| 6 +- common/cli.c

Re: [U-Boot] [RESEND PATCH 1/3] Check run_command() return code properly

2014-06-06 Thread Thomas . Betker
Hello Simon: run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com This has come through fine to patchwork - it may have been your missing name

Re: [U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Thomas . Betker
be that either your FSBL is not encrypted, or something else went wrong when generating and installing the boot image. Best regards, Thomas Betker ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Non-secure switch in U-boot

2014-06-13 Thread Thomas . Betker
Hello Shabbir: Yes. FSBL is encrypted and is used to start u-boot. My problem is, by default since cortex-a9 is trustzone compliant it boots in secure state, but i want to switch dynamically to non-secure state by calling smc #0 in start.S of my u-boot. Since I have successfully set up the