[U-Boot] [PATCH 1/1] arm: socfpga: cyclone5-socdk: Enable ports A & C

2017-03-27 Thread Georges Savoundararadj
With the port C enabled, we can read the GPI input state of: * the DIP switches (USER_DIPSW_HPS[3:0]/HPS_GPI[7:4]) * the push buttons (USER_PB_HPS[3:0]/HPS_GPI[11:8]) Signed-off-by: Georges Savoundararadj <savou...@gmail.com> Signed-off by: Sid-Ali Teir <git.syede...@gmail.com> Cc:

Re: [U-Boot] [PATCH] Nokia RX-51: Do not call secure PPA routine on non secure devices

2015-01-08 Thread Georges Savoundararadj
Hi Pali Rohár, Have you tested this patch on a secure device (as the nokia n900)? Regards, Georges Le 08/01/2015 10:11, Pali Rohár a écrit : Since commit 41623c91b09a0c865fab41acdaff30f060f29ad6 u-boot running in qemu is crashing in function do_omap3_emu_romcode_call(). RX-51 board uses this

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-06 Thread Georges Savoundararadj
monitor the Secure Configuration Register but gdb does not allow to watch the coprocessor registers. I hope it helps. Regards, Georges Le 04/01/2015 23:28, Georges Savoundararadj a écrit : Hi Pali Rohár, Le 04/01/2015 23:14, Pali Rohár a écrit : Hello, here are commands how to compile u-boot

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-06 Thread Georges Savoundararadj
06 January 2015 23:03:23 Georges Savoundararadj wrote: Hi Pali Rohár, The prefetch abort exception occurs in the function do_omap3_emu_romcode_call (in arch/arm/cpu/armv7/omap3/lowlevel_init.S) when executing the instruction SMC #1. I can't figure out what makes the difference between the working

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-04 Thread Georges Savoundararadj
Hi Pali Rohár, I am trying to reproduce the bug but I think I need the qflasher program for converting the u-boot.bin image into a qemu-compatible image. [1] [2] Where can I get qflasher? Could you explain how to run Nokia RX-51 u-boot's image on qemu? Thanks a lot, Best regards, Georges

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-04 Thread Georges Savoundararadj
Hi Pali Rohár, Le 04/01/2015 23:14, Pali Rohár a écrit : Hello, here are commands how to compile u-boot for nokia n900, convert uboot image into n900 nand MTD file and run it under linaro arm version of qemu (upstream version of qemu have not merged n900 support yet): $ export ARCH=arm $

Re: [U-Boot] [PATCH 1/2] kconfig: arm: select CPU_V7 for some new boards

2014-11-02 Thread Georges Savoundararadj
, Stefan I think I have missed these boards during the rebasing. Thanks for spotting this. Acked-by: Georges Savoundararadj savou...@gmail.com Best regards, Georges ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] kconfig: arm: move armv8 define to arch/arm/Kconfig

2014-11-02 Thread Georges Savoundararadj
/Kconfig +++ /dev/null @@ -1,6 +0,0 @@ -if ARM64 - -config SYS_CPU - default armv8 - -endif Acked-by: Georges Savoundararadj savou...@gmail.com Best regards, Georges ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH v3 1/4] kconfig: arm: introduce symbol for ARM CPUs

2014-10-28 Thread Georges Savoundararadj
Hi Masahiro, Le 28/10/2014 16:57, Masahiro YAMADA a écrit : Hi Georges, I have another one I'd like you to fix. [5] Please fix Tegra too. --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -668,6 +668,8 @@ config TEGRA bool NVIDIA Tegra select SPL

[U-Boot] [PATCH v4 0/4] arm: fix exception handling

2014-10-28 Thread Georges Savoundararadj
: - Relocate exception vectors also on processors which do not support security extensions - Reword the commit messages Georges Savoundararadj (4): kconfig: arm: introduce symbol for ARM CPUs arm: make .vectors section allocatable arm: relocate the exception vectors arm: interrupt_init: set sp

[U-Boot] [PATCH v4 2/4] arm: make .vectors section allocatable

2014-10-28 Thread Georges Savoundararadj
because the exception vectors reside in memory during execution and they need to be relocated. [1] http://man7.org/linux/man-pages/man5/elf.5.html Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribeau albert.u.b...@aribaud.net Acked-by: Albert ARIBEAU albert.u.b

[U-Boot] [PATCH v4 3/4] arm: relocate the exception vectors

2014-10-28 Thread Georges Savoundararadj
This commit relocates the exception vectors. As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x or 0x. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc

[U-Boot] [PATCH v4 1/4] kconfig: arm: introduce symbol for ARM CPUs

2014-10-28 Thread Georges Savoundararadj
, the corresponding CPU is selected and the definition of SYS_CPU in the corresponding Kconfig file is removed. Also, it removes redundant string type in some Kconfig files. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Masahiro Yamada yamad

[U-Boot] [PATCH v4 4/4] arm: interrupt_init: set sp in IRQ/FIQ modes

2014-10-28 Thread Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used. This commit sets the stack pointers for IRQ and FIQ modes. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribaud

[U-Boot] [PATCH v3 0/4] arm: fix exception handling

2014-10-26 Thread Georges Savoundararadj
symbol Changes in v2: - Relocate exception vectors also on processors which do not support security extensions - Reword the commit messages Georges Savoundararadj (4): kconfig: arm: introduce symbol for ARM CPUs arm: make .vectors section allocatable arm: relocate the exception vectors arm

[U-Boot] [PATCH v3 1/4] kconfig: arm: introduce symbol for ARM CPUs

2014-10-26 Thread Georges Savoundararadj
, the corresponding CPU is selected and the definition of SYS_CPU in the corresponding Kconfig file is removed. Also, it removes redundant string type in some Kconfig files. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Masahiro Yamada yamad

[U-Boot] [PATCH v3 2/4] arm: make .vectors section allocatable

2014-10-26 Thread Georges Savoundararadj
because the exception vectors reside in memory during execution and they need to be relocated. [1] http://man7.org/linux/man-pages/man5/elf.5.html Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribeau albert.u.b...@aribaud.net --- Changes in v3: - None Changes in v2

[U-Boot] [PATCH v3 4/4] arm: interrupt_init: set sp in IRQ/FIQ modes

2014-10-26 Thread Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used. This commit sets the stack pointers for IRQ and FIQ modes. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribaud

[U-Boot] [PATCH v3 3/4] arm: relocate the exception vectors

2014-10-26 Thread Georges Savoundararadj
This commit relocates the exception vectors. As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x or 0x. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-22 Thread Georges Savoundararadj
Hi Masahiro, Le 21/10/2014 07:41, Masahiro Yamada a écrit : Hi Georges and Albert, Sorry for late reply because I was out of office for ELCE2014 and missed this thread. On Mon, 20 Oct 2014 23:08:30 +0200 Georges Savoundararadj savou...@gmail.com wrote: Hi Albert, Le 15/10/2014 00:11

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-22 Thread Georges Savoundararadj
Hi Albert and Masahiro, Le 22/10/2014 11:54, Masahiro Yamada a écrit : Hi Albert, On Tue, 21 Oct 2014 15:54:51 +0200 Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Georges, On Mon, 20 Oct 2014 23:08:30 +0200, Georges Savoundararadj savou...@gmail.com wrote: Hi Albert, Le 15/10/2014

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-20 Thread Georges Savoundararadj
Hi Albert, Le 15/10/2014 00:11, Albert ARIBAUD a écrit : Hi Georges, On Tue, 14 Oct 2014 22:02:00 +0200, Georges Savoundararadj savou...@gmail.com wrote: Hi Albert, Hi Masahiro, (putting Masahiro in Cc: just in case) As my issue is related to Kconfig, I would like you to give me your

Re: [U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-10-14 Thread Georges Savoundararadj
Hi Albert, Hi Masahiro, As my issue is related to Kconfig, I would like you to give me your opinions. Le 11/10/2014 12:47, Albert ARIBAUD a écrit : Hi Georges, On Sat, 27 Sep 2014 21:48:10 +0200, Georges Savoundararadj savou...@gmail.com wrote: This commit relocates the exception

[U-Boot] [PATCH v2 0/3] arm: fix exception handling

2014-09-27 Thread Georges Savoundararadj
configures correctly the IRQ and the FIQ stack pointers. Regards, Georges Changes in v2: - Relocate exception vectors also on processors which do not support security extensions - Reword the commit messages Georges Savoundararadj (3): arm: make .vectors section allocatable arm: relocate

[U-Boot] [PATCH v2 1/3] arm: make .vectors section allocatable

2014-09-27 Thread Georges Savoundararadj
because the exception vectors reside in memory during execution and they need to be relocated. [1] http://man7.org/linux/man-pages/man5/elf.5.html Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribeau albert.u.b...@aribaud.net --- Changes in v2: - Reword the commit message

[U-Boot] [PATCH v2 2/3] arm: relocate the exception vectors

2014-09-27 Thread Georges Savoundararadj
This commit relocates the exception vectors. As ARM1176 and ARMv7 have the security extensions, it uses VBAR. For the other ARM processors, it copies the relocated exception vectors to the correct address: 0x or 0x. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc

[U-Boot] [PATCH v2 3/3] arm: interrupt_init: set sp in IRQ/FIQ modes

2014-09-27 Thread Georges Savoundararadj
Before this commit, the stack addresses for IRQ and FIQ modes, IRQ_STACK_START and FIQ_STACK_START, were computed in interrupt_init but they were not used. This commit sets the stack pointers for IRQ and FIQ modes. Signed-off-by: Georges Savoundararadj savou...@gmail.com Cc: Albert Aribaud

Re: [U-Boot] [PATCH 1/3] arm: make .vectors section allocatable

2014-09-25 Thread Georges Savoundararadj
Hi Albert, Le 24/09/2014 09:34, Albert ARIBAUD a écrit : Hi Georges, On Sun, 21 Sep 2014 23:33:48 +0200, Georges Savoundararadj savou...@gmail.com mailto:savou...@gmail.com wrote: Before the commit 41623c91, the exception vector was in a .text section which is allocatable. After

Re: [U-Boot] [PATCH 0/3] arm: add interrupt support

2014-09-22 Thread Georges Savoundararadj
Le 22/09/2014 03:35, Masahiro Yamada a écrit : On Sun, 21 Sep 2014 23:33:47 +0200 Georges Savoundararadjsavou...@gmail.com wrote: Hi folks, I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly. My patches intend to make interrupt work. I am

[U-Boot] [PATCH 1/3] arm: make .vectors section allocatable

2014-09-21 Thread Georges Savoundararadj
as allocatable as well (ax) allowing symbols to be relocated. Signed-off-by: Georges Savoundararadj savou...@gmail.com --- arch/arm/lib/vectors.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index 0cb87ce..49238ed 100644 --- a/arch/arm

[U-Boot] [PATCH 0/3] arm: add interrupt support

2014-09-21 Thread Georges Savoundararadj
Hi folks, I wanted to use interrupt on U-Boot on my Raspberry Pi but I have found that it did not work properly. My patches intend to make interrupt work. Regards, Georges ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 2/3] arm1176: move exception vectors after relocation

2014-09-21 Thread Georges Savoundararadj
ARM1176 has security extensions which includes the Vector Base Address Register (VBAR) useful to move the exception vector after relocation. This fix is similar to what is done for the ARMv7 (f8b9d1d3). Signed-off-by: Georges Savoundararadj savou...@gmail.com --- arch/arm/cpu/arm1176/start.S | 6

[U-Boot] [PATCH 3/3] arm: enable_interrupts: set sp in IRQ/FIQ modes

2014-09-21 Thread Georges Savoundararadj
This commit sets the stack pointers for IRQ and FIQ modes. Signed-off-by: Georges Savoundararadj savou...@gmail.com --- arch/arm/lib/interrupts.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c index f6b7c03..49c1bf3