Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Gregory Nutt
Hi, Adam, I created a PR from Takeyoshi's patches: Fix/sama5d2 serial console I verified they work on the SAMA5D27. I don't have a SAMA5D4 board yet, but I verified the AIC Interrupt Redirect Key is the same for the D2 and D4 chips by looking

Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Adam Feuer
I created a PR from Takeyoshi's patches: Fix/sama5d2 serial console I verified they work on the SAMA5D27. I don't have a SAMA5D4 board yet, but I verified the AIC Interrupt Redirect Key is the same for the D2 and D4 chips by looking at the most

Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Gregory Nutt
Fantastic! Thank you! The patches worked and I have a serial console on the SAMA5D27! I'll create a PR for these patches, crediting you. Hmm.. are these changes that need to come upstream?

Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Adam Feuer
Takeyoshi, Fantastic! Thank you! The patches worked and I have a serial console on the SAMA5D27! I'll create a PR for these patches, crediting you. cheers adam On Fri, Feb 28, 2020 at 8:09 AM Adam Feuer wrote: > Thanks Takeyoshi, I'll try your patches today! And thanks for the pointer > to bar

Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Adam Feuer
Thanks Takeyoshi, I'll try your patches today! And thanks for the pointer to barebox, I didn't know about it. I am glad it supports the AT91 SAMA5 boards. cheers adam On Fri, Feb 28, 2020 at 4:17 AM Takeyoshi Kikuchi wrote: > Hi, > > I also debugged on the same board and confirmed that it works

Re: debugging SAMA5D2 serial port issues

2020-02-28 Thread Takeyoshi Kikuchi
Hi, I also debugged on the same board and confirmed that it works, so I will send a patch. Booting from barebox with bootm command. --- RomBOOT AT91Bootstrap 3.9.1-rc1-1-g888c3a1 (Sat Dec 21 17:20:28 JST 2019) MMC: ADMA supported SD/MMC: Done to load

Re: debugging SAMA5D2 serial port issues

2020-02-27 Thread Adam Feuer
Thanks. Will do this. -adam On Thu, Feb 27, 2020 at 5:13 PM Gregory Nutt wrote: > > Thanks, will check that again. I used the Flexcoms that are labeled on > the > > board itself (Flexcom 0, 3, and 4) and looked at the pinouts. I also used > > the debug UART1 that works with U-Boot and Linux...

Re: debugging SAMA5D2 serial port issues

2020-02-27 Thread Gregory Nutt
Thanks, will check that again. I used the Flexcoms that are labeled on the board itself (Flexcom 0, 3, and 4) and looked at the pinouts. I also used the debug UART1 that works with U-Boot and Linux... Not good enough.  you also have to set the pin multiplexing in the board.h header file.  You hav

Re: debugging SAMA5D2 serial port issues

2020-02-27 Thread Adam Feuer
Greg, Thanks, will check that again. I used the Flexcoms that are labeled on the board itself (Flexcom 0, 3, and 4) and looked at the pinouts. I also used the debug UART1 that works with U-Boot and Linux... I'll also try using a logic analyzer to see if there is any output at all. -adam On Thu,

Re: debugging SAMA5D2 serial port issues

2020-02-27 Thread Gregory Nutt
I would look closely at the pins on the schematic and carefully verify how you have the Tx/Rx pins configured. I'm working trying to get NuttX working on the SAMA5D2-XULT board. I can't seem to get the UART1 serial port working with NuttX, or the FLEXCOM USARTs. NuttX seems to boot ok... I can l