• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update /dev/ttyAMA0 UART pinout
#14
(June-15th-2021, 12:03 PM)Armin@netPI Wrote: Oh Roy to be honest ... I do not know it how the exact boot behavior of the netPI OS really is in cases where there is a conflict between the settings made in the config.txt file compared to the settings in the EEPROM of the NPIX/HAT modules and which one finally wins.

What I can definitively say is that we are taking the sources from the original Raspbian OS and recompile it as netPI OS. So it just has a Hilscher touch ... but main behaviour of both OSs are the very same. So if Raspbian OS does not support resolving conflicts between config.txt and EEPROM settings, then our netPI OS can't be better than the behaviour of the official Raspbian OS. So to your question: "if I would have the RS232 expension(with the eeprom) then the overlay will work as expected" ... I cannot guarantee it since I have never every tested it what happens if the original config.txt says /dev/ttyAMA0 goes to UART for Wifi/Bluetooth and then an EEPROM comes and say /dev/ttyAMA0 goes to standard UART via the standard tx/rx pins put on the NPIX slot. Today all our NPIX modules are using the mini UART like it is configured via the standard config.txt

Do you know how a standard Raspberry Pi behaves on this setting when using a HAT module with EEPROM? Cause then the same behaviour will be on netPI.

Thx
Armin

I dont know much about the HAT feature and how it is working.
maybe I need to add some info about what we are trying to do.
on original raspian image we do the following:
adding to /boot/overlay the following files:
disable-bt.dtbo
uart-ctsrts.dtbo
we add to the config.txt file:
enable-uart=1
dtoverlay=disable-bt
dtoverlay=uart-ctsrts

the out come is that minicom(weaker uart) is muxed to the BT pins and PL011 is muxed to pins 14,15 cts rts is in 16,17
doing this procedure in nefied works fine in the container. with netpi not yet. 
what am I missing ?
  Reply


Messages In This Thread
Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 07:41 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-17th-2021, 08:05 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:09 AM
RE: Update /dev/ttyAMA0 UART pinout - by AlexRegev - January-17th-2021, 10:56 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 07:51 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - January-18th-2021, 11:22 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:24 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:38 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 11:42 AM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 11:49 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:03 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 12:19 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:10 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 12:35 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-15th-2021, 01:20 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 01:59 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-15th-2021, 02:00 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 08:17 AM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 12:28 PM
RE: Update /dev/ttyAMA0 UART pinout - by royazriel - June-16th-2021, 12:55 PM
RE: Update /dev/ttyAMA0 UART pinout - by Armin@netPI - June-16th-2021, 02:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)