[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 Signed-off by: Sid-Ali Teir Cc: Dinh Nguyen Cc: Marek Vasut --- arch/arm/dts

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
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 t

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

2015-01-06 Thread Georges Savoundararadj
orking versions. Maybe we should 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

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 $ expor

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] [PATCH 2/2] kconfig: arm: move "armv8" define to arch/arm/Kconfig

2014-11-02 Thread Georges Savoundararadj
ted file mode 100644 index 3d1655b..000 --- a/arch/arm/cpu/armv8/Kconfig +++ /dev/null @@ -1,6 +0,0 @@ -if ARM64 - -config SYS_CPU - default "armv8" - -endif Acked-by: Georges Savoundararadj Best regards, Georges ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

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

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

2014-10-28 Thread Georges Savoundararadj
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 Cc: Albert Aribaud Cc: Masahiro Yamada --- This patch needs a little review as it im

[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 Cc: Albert Aribaud --- Changes in v4

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

2014-10-28 Thread Georges Savoundararadj
to mark .vectors as allocatable 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 Cc: Albert Aribeau Acked-by: Albert ARIBEAU --- Changes in v4: - Add Ac

[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 Cc: Albert Aribaud Cc

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

2014-10-28 Thread Georges Savoundararadj
nges 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: interrupt_init:

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 sele

[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 Cc: Albert Aribaud Cc

[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 Cc: Albert Aribaud --- Changes in v3

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

2014-10-26 Thread Georges Savoundararadj
to mark .vectors as allocatable 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 Cc: Albert Aribeau --- Changes in v3: - None Changes in v2: - Reword the

[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
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 Cc: Albert Aribaud Cc: Masahiro Yamada --- This patch needs a little review as it im

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 wrote: Hi Georges, On Mon, 20 Oct 2014 23:08:30 +0200, Georges Savoundararadj wrote: Hi Albert, Le 15/10/2014 00:11, Albert ARIBAUD a ecrit : Hi

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 wrote: Hi Albert, Le 15/10/2014 00:11, Albert ARIBAUD a

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 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 opinions. Le 11/10

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 wrote: This commit relocates the exception vectors. As ARM1176 and

[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 Cc: Albert Aribaud --- Changes in v2

[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 Cc: Albert Aribaud Cc

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

2014-09-27 Thread Georges Savoundararadj
to mark .vectors as allocatable 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 Cc: Albert Aribeau --- Changes in v2: - Reword the commit message ar

[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 the

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 <mailto:savou...@gmail.com> wrote: Before the commit 41623c91, the exception vector was in a .text section which is allocatable. After this, the .vectors s

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 Savoundararadj 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 not sure if

[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 --- 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 100644 --- a/arch

[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 --- arch/arm/cpu/arm1176/start.S | 6 ++ 1 file

[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 http://lists.denx.de/mailman/list

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

2014-09-21 Thread Georges Savoundararadj
vectors as allocatable as well ("ax") allowing symbols to be relocated. Signed-off-by: Georges Savoundararadj --- 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/ar