-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d024b3
commit e828906
Showing
6 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
+++ | ||
title = "L72K GPS with Orange PI 5" | ||
date = "2024-01-29T13:03:30+04:00" | ||
author = "sergeygals" | ||
authorTwitter = "" #do not include @ | ||
cover = "" | ||
tags = ["orange pi 5", "kali", "kali linux", "gps", "L72K", "gpsd"] | ||
keywords = ["", ""] | ||
description = "L72K GPS with Orange PI 5" | ||
showFullContent = false | ||
readingTime = true | ||
hideComments = true | ||
+++ | ||
|
||
# Hardware | ||
|
||
1. Orange PI 5 | ||
2. L76K module | ||
|
||
| ![L76K-1](l76k-1.webp) | ![L76K-2](l76k-2.webp) | ![L76K-3](l76k-3.webp) | | ||
|------------------------|------------------------|------------------------| | ||
|
||
# Software | ||
|
||
## Enable UART0 module on orange pi 5 | ||
|
||
1. Add `U_BOOT_FDT_OVERLAYS_DIR` and `U_BOOT_FDT_OVERLAYS` to `/etc/default/u-boot` | ||
### **`/etc/default/u-boot`** | ||
```/etc/default/u-boot | ||
## /etc/default/u-boot - configuration file for u-boot-update(8) | ||
U_BOOT_MENU_LABEL="Kali Linux" | ||
U_BOOT_PARAMETERS="console=tty1 ro rootwait" | ||
U_BOOT_FDT="/boot/dtb/rockchip/rk3588s-orangepi-5.dtb" | ||
U_BOOT_FDT_OVERLAYS_DIR="/boot/dtb-5.10.110-rockchip-rk3588/rockchip/overlay" | ||
U_BOOT_FDT_OVERLAYS="rk3588-uart0-m2.dtbo" | ||
``` | ||
2. Run `sudo u-boot-update` and `sudo reboot`. | ||
3. Make sure `/dev/ttyS0` exists after reboot. | ||
4. Check work by `sudo minicom -D /dev/ttyS0 -b 9600`, you should see likes this output: | ||
``` | ||
$GNVTG,,,,,,,,,N*2E | ||
$GNZDA,095735.000,29,01,2024,00,00*4B | ||
$GPTXT,01,01,01,ANTENNA OK*35 | ||
``` | ||
## Configure gpsd | ||
1. Install by `apt install gpsd` | ||
2. Edit `/etc/default/gpsd` | ||
``` | ||
DEVICES="/dev/ttyS0" | ||
GPSD_OPTIONS="" | ||
USBAUTO="true" | ||
``` | ||
3. Start gpsd by `sudo systemctl start gpsd` | ||
4. Check output for `sudo cgps` |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Submodule terminal
updated
20 files
+1 −1 | .gitignore | |
+11 −1 | README.md | |
+7 −16 | USERS.md | |
+1 −1 | assets/css/buttons.scss | |
+13 −0 | assets/css/form.scss | |
+17 −17 | assets/css/main.scss | |
+8 −0 | assets/css/post.scss | |
+17 −4 | assets/css/terms.scss | |
+0 −6 | assets/css/variables.scss | |
+5 −5 | layouts/_default/index.html | |
+6 −6 | layouts/_default/list.html | |
+11 −11 | layouts/_default/single.html | |
+57 −0 | layouts/_default/term.html | |
+6 −1 | layouts/_default/terms.html | |
+1 −1 | layouts/partials/footer.html | |
+2 −1 | layouts/partials/head.html | |
+3 −3 | layouts/partials/menu.html | |
+1 −1 | layouts/shortcodes/image.html | |
+0 −3 | resources/_gen/assets/scss/css/base.scss_06c91705bc48efa09403e08ed1e70fce.content | |
+0 −1 | resources/_gen/assets/scss/css/base.scss_06c91705bc48efa09403e08ed1e70fce.json |