RE: SPI Driver Implementation

2021-02-09 Thread Jan.Sommer
Hi Rick, > -Original Message- > From: users On Behalf Of Rick VanderWal > Sent: Tuesday, February 9, 2021 9:21 PM > To: users@rtems.org > Subject: SPI Driver Implementation > > Hey All, > > I am looking for guidance in regards to the implementation of a SPI bus driver > for my Zynq-700

SPI Driver Implementation

2021-02-09 Thread Rick VanderWal
Hey All, I am looking for guidance in regards to the implementation of a SPI bus driver for my Zynq-700 based board. I saw I2C bus driver implementations for Cadence and Xilinx-AXI, but did not see any SPI drivers. Please point me in the right direction if I missed something. Assuming they

RE: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
Yes, I found the commit which fixes that. I will prepare a ticket and a patch for backporting. From: Joel Sherrill Sent: Tuesday, February 9, 2021 1:16 PM To: Sommer, Jan Cc: rtems-us...@rtems.org Subject: Re: Zynq: Reading from stdin returns immediately Thia is related to the set method for

Re: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Joel Sherrill
Thia is related to the set method for ioctls in the console sriver. It returned a failure in some versions and that broke anything changing termios settings. On Tue, Feb 9, 2021, 4:32 AM wrote: > I stand corrected. > It works with current master. > That should make searching easier. > > > -O

RE: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
I stand corrected. It works with current master. That should make searching easier. > -Original Message- > From: users On Behalf Of jan.som...@dlr.de > Sent: Tuesday, February 9, 2021 10:58 AM > To: users@rtems.org > Subject: Zynq: Reading from stdin returns immediately > > Hello, > > I

Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
Hello, I tried to read data from stdin via scanf in RTEMS5.1 for some user input for a Zynq based board, but it returns immediately with 0. Also fscanf, read or fgetc do not block and return immediately. The flags for stdin show that the O_NONBLOCK flag is not set. I tried to check with the term