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 tested your

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-24 Thread Sascha Hauer
Hi Peter, On Mon, Aug 22, 2016 at 10:39:24PM +0200, Peter Kardos wrote: > Hi Sascha, > > I've tested your workaround and it seems to work; the board starts and > attempts > to boot. I just sent a proper solution for that problem, you're on Cc. I'm confident that this solves your problem. Could y

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 version introduced the "e

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-22 Thread Peter Kardos
During the weekend I've played with this some more... It seems that the "breakage" was introduced with v2016.05. This version introduced the "exception vector remapping to 0x*". Unfortunately AT91RM9200 has peripherals in this region. I'll test the patch tonight when i get home. Peter On 20

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-21 Thread Sascha Hauer
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 > (gdb) x/32w 0xf200 > 0xf200:0x0x08

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-18 Thread Peter Kardos
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 (gdb) x/32w 0xf200 0xf200:0x0x08000x 0x 0xf210:0x0x40001a1a

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-18 Thread Peter Kardos
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, and it seems to be correct, pointing to

Re: AT91RM9200 hang in atmel_serial_putc

2016-08-18 Thread Sascha Hauer
Hi Peter, On Thu, Aug 18, 2016 at 03:08:36AM +0200, Peter Kardos wrote: > 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 fi

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