Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Boot with gps on UART

Featured Replies

Cubieboard2

How to create the armbian image with capability of  booting with gps connected to the uart port ?
The armbian can't start if gps connected to the uart port and vice versa - It starts with unpluged gps.
After system is started up, I do connect the gps and can easily get the gps data from /dev/ttyS0

As I understand - it's happened because of ttyS0 can be using as keyboard, so bootload is interrupting.

Also it's can be a problem while initial password changing.

  • Author

ttyS0 is serial console. You can't use that for anything else, try ttyS1

Can you specify, how to redirect gps to ttyS1 ?

dear sir.

First check wheter you enable ttyS1 or not.

If no, and if you use 3.x kernel :
1. cd /boot
2. bin2fex ./script.bin script.fex

3. cp ./script.fex ./script.fex.orig    (just incase)
4. look for uart_paraX section that have type=2 , and enable it
i.e :

[uart_para4]
uart_used = 1
uart_port = 4
uart_type = 2
uart_tx = port:PG10<4><1><default><default>
uart_rx = port:PG11<4><1><default><default>


5. fex2bin ./script.fex ./script.bin

6. reboot

7. the easiest method to use gps is via gpsd ...install it
8. edit /etc/default/gpsd :
+ set USBAUTO to false
+ set the device to ttyS1
details at : http://www.catb.org/gpsd/

here is mine
 

cat /etc/default/gpsd 
# Default settings for gpsd.
# Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
# change the options.
START_DAEMON="true"
GPSD_OPTIONS="-b -n"
DEVICES="/dev/ttyS1"
USBAUTO="false"
GPSD_SOCKET="/var/run/gpsd.sock"

sincerely
-bino-

Edited by Bino Oetomo

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.