gerrysweeney Posted December 27, 2016 Posted December 27, 2016 Hi, I am trying to use the two UARTS on the I/O pins which are UART 1 and UART 2 mapped to PG6/PG7 and PA0/PA1 respectively. I have had a look at the FEX file and these seem to be mapped correctly to UARTS's port 1 & 2 so I would expect these to be mapped to /dev/ttyS1 and /dev/ttyS2 but this does not seem to be the case. If I try to connect to these UARTs using screen I simply get the message: - root@orangepizero:~# screen /dev/ttyS1 9600 [screen is terminating] I have tried searching these forums and Google but have not really found anything - any help or pointers in the right direction would be much appreciated. Gerry
gerrysweeney Posted December 27, 2016 Author Posted December 27, 2016 BTW, I am using the following version: Linux orangepizero 4.9.0-sun8i #8 SMP Sun Dec 25 12:31:07 CET 2016 armv7l armv7l armv7l GNU/Linux
zador.blood.stained Posted December 27, 2016 Posted December 27, 2016 Mainline kernel uses Device Tree (.dts/.dtb files), not .bin/.fex.
gerrysweeney Posted December 27, 2016 Author Posted December 27, 2016 Hi, Thanks for your response, I am afraid I do not understand it though, I am a relative noob to Linux so not sure what .dst/.dtb files even are? any pointers to some help/guidance you could offer? Gerry
zador.blood.stained Posted December 27, 2016 Posted December 27, 2016 H3 Images with mainline kernel are for advanced users only, we don't offer much end user support for them. You can either use images with legacy kernel or search for "device tree modification" or something like that, it was discussed many times even on this forum.
gerrysweeney Posted December 27, 2016 Author Posted December 27, 2016 Hi, I guess this forum is too advanced for me.... thats a shame, would have been nice to learn a little more about this stuff...maybe even contributed. Thanks anyway Gerry
zador.blood.stained Posted December 27, 2016 Posted December 27, 2016 You just managed to find wrong images. Please try to use one from the download page (default "Server" tab) https://www.armbian.com/orange-pi-zero/ For these images generic .fex/.bin modifying instructions can be used.
gerrysweeney Posted December 27, 2016 Author Posted December 27, 2016 Hi, Thank you, yes you are right ,it was not obvious which image I should be downloading, the download page is not the friendliest I have come across. However, with that direction I now have a working wlan, so thank you for the pointer. The Orange Pi Zero is infinitely more useful now Gerry
Recommended Posts