Re: [PATCH v2] ARM: vector_table: Fix creation of second level page table

2016-08-27 Thread Peter Kardos
Thanks for the fix. Peter On 8/26/2016 7:45 AM, Sascha Hauer wrote: On Thu, Aug 25, 2016 at 11:32:43PM +0200, Peter Kardos wrote: Tested this one as well with my AT91RM9200 system, v2016.08 + patch; The system starts/boots as expected. If no one objects, we can consider this issue closed

Re: [PATCH v2] ARM: vector_table: Fix creation of second level page table

2016-08-25 Thread Peter Kardos
these Socs we correctly created the vector page, but the pages around it did not have a 1:1 mapping anymore which led to unreachable peripherals. Fixes: f6b77fe9: ARM: Rework vector table setup Reported-by: Peter Kardos Signed-off-by: Sascha Hauer --- Changes since v1: - Use ALIGN_DOWN instead

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-25 Thread Peter Kardos
Hi Sascha, Can confirm, with v2016.08 + patch the system boots and seems to work as expected. Thanks for your help with this issue. Cheers, Peter On 8/24/2016 2:24 PM, Sascha Hauer wrote: Hi Peter, On Mon, Aug 22, 2016 at 10:39:24PM +0200, Peter Kardos wrote: Hi Sascha, I've t

Re: [PATCH] ARM: vector_table: Fix creation of second level page table

2016-08-25 Thread Peter Kardos
SoCs which have peripherals in that area, for example Atmel SoCs like the AT91RM9200. Fixes: f6b77fe9: ARM: Rework vector table setup Reported-by: Peter Kardos Signed-off-by: Sascha Hauer --- arch/arm/cpu/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-22 Thread Peter Kardos
Hi Sascha, I've tested your workaround and it seems to work; the board starts and attempts to boot. Peter On 8/22/2016 11:00 AM, Peter Kardos wrote: During the weekend I've played with this some more... It seems that the "breakage" was introduced with v2016.05. This ve

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-22 Thread Peter Kardos
ht when i get home. Peter On 2016-08-22 08:10, Sascha Hauer wrote: On Thu, Aug 18, 2016 at 11:15:33PM +0200, Peter Kardos wrote: Hi Sascha, I may have something. It seems the memory (MMU?) gets "messed" up; Reading the debug uart registers (v2015.07) gives reasonable results, like

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-18 Thread Peter Kardos
6 10:00 AM, Peter Kardos wrote: Hi Sascha, So you have a jtag debugger attached, does it support showing registers? What is the value of uart->base? Is it correct? Also you could compare the UART registers with the ones from a working U-Boot/barebox. Yes, I have, it does. I've checked,

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-18 Thread Peter Kardos
ck is disabled for some reason, Was thinking the same thing. I'll check it (compare reg dumps, console init) tonight and report my findings. Cheers, Peter On 2016-08-18 09:38, Sascha Hauer wrote: Hi Peter, On Thu, Aug 18, 2016 at 03:08:36AM +0200, Peter Kardos wrote: Greetings,

AT91RM9200 hang in atmel_serial_putc

2016-08-17 Thread Peter Kardos
Greetings, I'm looking for a AT91 specialist that could help me debug barebox v2016.08. I have a custom board running AT91RM9200 that came with a really old custom u-boot (v1.1.4, no ubifs support)... The first bootloader I've ported (barebox v2015.07, using AT91RM9200ek as template) almost