Skip to content

Commit c8b2451

Browse files
typos and markdown fixes
1 parent 32dac88 commit c8b2451

22 files changed

+291
-159
lines changed

.technical.dict

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
RTSP
2+
RTMP
3+
sysklogd
4+
bootloader
5+
UART
6+
bootable
7+
distro
8+
stopbit
9+
baudrate
10+
backfeeding
11+
Buildroot
12+
GPIO
13+
makefile
14+
makefiles
15+
defconfig
16+
rootfs
17+
ipctool
18+
ffplay

.vscode/settings.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"markdownlint.config": {
3+
"default": true,
4+
"MD003": false,
5+
"MD009": false,
6+
"MD007": { "indent": 2 },
7+
"MD012": { "maximum": 2},
8+
"MD022": false,
9+
"MD026": { "punctuation": ",;!" },
10+
"MD031": false,
11+
"MD032": false,
12+
"MD034": false,
13+
"MD040": false,
14+
"MD045": false,
15+
"MD050": false,
16+
"MD053": false,
17+
"no-hard-tabs": false
18+
}
19+
}

cspell.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: "0.2"
2+
ignorePaths: []
3+
dictionaryDefinitions:
4+
- name: technical
5+
path: .technical.dict
6+
addWords: true
7+
dictionaries:
8+
- technical
9+
words: []
10+
import: []
11+
enableFiletypes:
12+
- shellscript
13+
patterns:
14+
- name: markdown_code_block
15+
pattern: "/^\\s*```(.|\\n)+?^\\s*```/gm"
16+
- name: markdown_code_inline
17+
pattern: "/`[^`]*`/g"
18+
languageSettings:
19+
- languageId: markdown
20+
ignoreRegExpList:
21+
- markdown_code_block
22+
- markdown_code_inline
23+
- "/[A-Z]*/g"
24+
ignoreWords: []

en/acme-v2.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ for that.
1111
### Create an ACME account:
1212

1313
__on camera:__
14-
```console
15-
$ uacme -y -v new
14+
15+
```bash
16+
uacme -y -v new
1617
```
1718

1819
### Give your camera a FQDN
@@ -24,20 +25,22 @@ be accessed over HTTPS.
2425
Create an account with any Domain Name Register and register a domain name, e.g. _mysuperduperdomain.com_.
2526

2627
Set up a DNS zone for that domain name and create a record for your camera in that domain zone.
27-
```
28+
29+
```console
2830
DNS Records
2931
mysuperduperdomain.com
3032
---------------------------------------
3133
Type Host IP Address TTL
3234
A ipc-001 75.123.45.555 600
3335
```
36+
3437
where `75.123.45.555` is your public IP address.
3538

3639
### Set up port forwarding if your camera is behind NAT.
3740

3841
Add port forwarding from port 80 of WAN interface to port 80 of your camera's local IP address.
3942

40-
```
43+
```console
4144
75.123.45.555:80 => 192.168.1.10:80
4245
```
4346

@@ -47,19 +50,22 @@ camera domain name to HTTP proxy.
4750
### Issue a certificate for your domain:
4851

4952
__on camera__:
50-
```console
51-
$ uacme -y -v -h /usr/share/uacme/uacme.sh -t EC issue ipc-001.mysuperduperdomain.com
53+
54+
```bash
55+
uacme -y -v -h /usr/share/uacme/uacme.sh -t EC issue ipc-001.mysuperduperdomain.com
5256
```
5357

5458
### Set up a local DNS record override
5559

5660
You can add an override record to `/etc/hosts` file on your machine
57-
```
61+
62+
```bash
5863
echo "192.168.1.10 ipc-001.mysuperduperdomain.com" >> /etc/hosts
5964
```
65+
6066
or you could create a record on your local DNS server like [pi.hole](https://pi-hole.net/)
6167
so that anyone using that DNS server could have secure access to the camera, too.
6268

6369
### Restart majestic and test access
6470

65-
Open your favorite web browser and go to https://ipc-001.mysuperduperdomain.com/
71+
Open your favorite web browser and go to <https://ipc-001.mysuperduperdomain.com/>

en/building.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Building from sources
33

44
Before you start building your own firmware, make a few changes to your system.
55

6+
General
7+
---
8+
69
### Clone OpenIPC Firmware Git repository.
710
```
811
cd
@@ -13,7 +16,8 @@ cd openipc-firmware
1316
```
1417

1518
### Install required packages.
16-
```
19+
20+
```bash
1721
sudo make install-deps
1822
```
1923

@@ -23,28 +27,30 @@ By default, Buildroot stores all downloaded files in `dl/` directory inside
2327
buildroot file tree.
2428

2529
OpenIPC building script creates a fresh buildroot file tree before every
26-
compilation, meaning either deletes all dosnloaded packages or copies them back
30+
compilation, meaning either deletes all downloaded packages or copies them back
2731
and forth prior and after creating a fresh setup.
2832

2933
You can set your own storage directory outside of the buildroot tree. Add the
3034
following piece of code to `.profile` file in your home directory:
31-
```
35+
36+
```bash
3237
BR2_DL_DIR="${HOME}/buildroot_dl"
3338
[ ! -d "$BR2_DL_DIR" ] && mkdir -p $BR2_DL_DIR
3439
export BR2_DL_DIR
3540
```
3641

3742
Then, source the changes.
3843

39-
```
44+
```bash
4045
source ~/.profile
4146
```
4247

4348
### Build the firmware.
4449

4550
Building of a binary firmware for your IP camera is fairly easy. Just clone
4651
source code from the repository and run a provided script.
47-
```
52+
53+
```bash
4854
./building.sh
4955
```
5056

@@ -67,14 +73,14 @@ depending on your computer performance and selected target. If you want to
6773
speed up the process, make sure you use a computer with SSD rather than HDD as
6874
the process of compiling involves a lot of reading and writing. Faster CPU is
6975
also beneficial, and one cannot have too much RAM, either. You could even rent
70-
an online virtual server for a handfull of cents to compile your firmware with
76+
an online virtual server for a handful of cents to compile your firmware with
7177
the power of cloud computing.
7278

7379
The very first run is the longest as the script will download every source
7480
bundle required for successful compilation. Consequent runs will take a little
7581
less time.
7682

77-
After the compilation is done, you'll find the final binary kernel and rootfs
83+
After the compilation is done, you'll find the final binary kernel and `rootfs`
7884
image in `output/images/` directory.
7985

8086
```
@@ -140,7 +146,7 @@ Making changes and rebuilding a package
140146
---------------------------------------
141147

142148
Once you start tinkering with the packages you'll realize you need a way to
143-
rebuld only one particular package, without rebuilding the whole project.
149+
rebuild only one particular package, without rebuilding the whole project.
144150
Is it even possible? Fortunately, yes. All you have to do after making changes
145151
to the package configs is to run a couple of commands:
146152
```
@@ -156,14 +162,14 @@ the said package, and do not trigger re-creating the root filesystem image.
156162
If re-creating the root filesystem in necessary, one should in addition run
157163
`make br-all`.
158164

159-
Run `make br-linux-rebuild br-all` to rebuild Linux kernel image,
165+
Run `make br-linux-rebuild br-all` to rebuild Linux kernel image,
160166
`make br-busybox-rebuild br-all` to rebuild busybox and pack it into a rootfs image.
161167

162168
Making changes to Buildroot packages
163169
------------------------------------
164170

165-
If you need to make a change to a package already supplied with Buildroot,
166-
place your patches to `global/package/all-patches/<pkg-name>/` directory.
171+
If you need to make a change to a package already supplied with Buildroot,
172+
place your patches to `global/package/all-patches/<pkg-name>/` directory.
167173
These patches will be added after Buildroot package is extracted and patches
168174
from Buildroot package applied.
169175

@@ -185,7 +191,7 @@ Compilation process has also built a toolchain suitable for compiling packages
185191
for your version of firmware. The toolchain is located in `output/host`
186192
directory.
187193

188-
To customize your firmware, add or remove a package run `make br-menuconfig`.
194+
To customize your firmware, add or remove a package run `make br-menuconfig`.
189195
That will load buildroot configuration menu where you can make changes following
190196
[The Buildroot user manual][5]. Make your changes and save amended config on exit.
191197
Then run `make clean all`.

en/contribute.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33

44
> "Improving the world, one patch at a time."
55
6+
Guidelines
7+
---
8+
69
### This is an open project, so you can help, too.
710

811
We try to collect, organize and share as much information regarding different
912
aspects of the project as we can. But sometimes we overlook things that seem
1013
obvious to us, developers, but are not so obvious to end-users, people who are
1114
less familiar with nuts and bolts behind the scene. That is why we set up this
1215
wiki and let anyone having a GitHub account to make additions and improvements
13-
to the knowledgebase.
16+
to the knowledge base.
1417

1518
### How to contribute.
1619

en/dev-ffmpeg-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
FFMPEG, RTSP and SRT examples
55
-----------------------------
66

7-
```
7+
```bash
88
# Copy from file to file
99
./ffmpeg -re -i z_input.mp4 -c copy z_output.mp4
1010

en/dev-tricks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Interesting tricks
55
------------------
66

77
### Sharing output of a command via web
8-
```
8+
9+
```bash
910
<command> | nc seashells.io 1337
1011
```
1112

@@ -108,4 +109,5 @@ index d64ff27..159336e 100644
108109
G.logFileSize = xatou_range(opt_s, 0, INT_MAX/1024) * 1024;
109110
--
110111
```
112+
111113
_from [sysklogd: add -Z option to adjust message timezones](http://lists.busybox.net/pipermail/busybox/2017-May/085437.html)_

en/device-chacon-ipcam-ri01.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ At the bottom of the mainboard:
8080
![device_chacon_ipcam-ri01_uart](https://user-images.githubusercontent.com/1659543/149518771-a33ab23f-a4f0-44db-83a6-873bd1802056.jpg)
8181

8282

83-
8483
### GPIOs
8584

8685
| nr | Description |
@@ -517,7 +516,7 @@ sensors:
517516
## Flashing OpenIPC
518517
(soon...)
519518

520-
#### Boot dump
519+
### Boot dump
521520
```
522521
Uncompress Ok!
523522

en/device-wyze-integration.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This is where we'll be writing down our guide to flashing new devices and report
3131

3232
* Backup
3333

34-
Downgrade original firmware version to (Jun 2021 w-o internet)demo_wcv3_4.36.2.5.bin
34+
Downgrade original firmware version to (Jun 2021 w-o internet)demo_wcv3_4.36.2.5.bin
3535
[(WYom20200 Jun 2021 w-o internet)demo_wcv3_4.36.2.5.bin.zip](https://github.com/OpenIPC/wiki/files/10755387/WYom20200.Jun.2021.w-o.internet.demo_wcv3_4.36.2.5.bin.zip)
3636

3737
Login with user `root` password `WYom20200` via telnet or UART console.
@@ -175,7 +175,7 @@ Erasing block: 8/8 (100%)
175175
Writing kb: 242/242 (100%)
176176
Verifying kb: 242/242 (100%)
177177
```
178-
Now your camera flashed with OpenIPC U-boot, but whole system is still stock.
178+
Now your camera flashed with OpenIPC U-boot, but whole system is still stock.
179179
So, next re/boot will load OpenIPC U-boot only (in cycling mode, until stop with `Ctrl+C` in UART console).
180180

181181
* Flash kernel and rootfs
@@ -188,27 +188,31 @@ https://github.com/OpenIPC/firmware/releases/download/latest/openipc.t31-nor-lit
188188

189189
Power off the camera.
190190

191-
Extract and copy `rootfs.squashfs.t31` `uImage.t31` to microSD card. Insert microSD card in camera.
191+
Extract and copy `rootfs.squashfs.t31` `uImage.t31` to microSD card. Insert microSD card in camera.
192192

193193
Power on the camera.
194194

195-
During power on the camera press `Ctrl+C` several times until it shows OpenIPC promt like this `OpenIPC # `
195+
During power on the camera press `Ctrl+C` several times until it shows OpenIPC prompt like this `OpenIPC #`
196196

197197
Then issue command `run setnor16m`
198198

199199
After you press the Enter key the camera will almost immediately restart and you will have to catch the prompt again.
200200

201-
Then issue command
201+
Then issue command:
202202

203-
`mw.b ${baseaddr} ff 1000000; fatload mmc 0:1 ${baseaddr} uImage.${soc} ; sf probe 0; sf erase 0x50000 0x300000; sf write ${baseaddr} 0x50000 ${filesize}`
203+
```bash
204+
mw.b ${baseaddr} ff 1000000; fatload mmc 0:1 ${baseaddr} uImage.${soc} ; sf probe 0; sf erase 0x50000 0x300000; sf write ${baseaddr} 0x50000 ${filesize}
205+
```
204206

205-
and next
207+
and next:
206208

207-
`mw.b ${baseaddr} ff 1000000; fatload mmc 0:1 ${baseaddr} rootfs.squashfs.${soc} ; sf probe 0; sf erase 0x350000 0xa00000; sf write ${baseaddr} 0x350000 ${filesize}`
209+
```bash
210+
mw.b ${baseaddr} ff 1000000; fatload mmc 0:1 ${baseaddr} rootfs.squashfs.${soc} ; sf probe 0; sf erase 0x350000 0xa00000; sf write ${baseaddr} 0x350000 ${filesize}
211+
```
208212

209213
Output sample:
210214

211-
```
215+
```shell
212216
OpenIPC # mw.b ${baseaddr} ff 1000000; fatload mmc 0:1 ${baseaddr} uImage.${soc} ; sf probe 0; sf erase 0x50000 0x300000; sf write ${baseaddr} 0x50000 ${filesize}
213217
reading uImage.t31
214218
1855437 bytes read in 89 ms (19.9 MiB/s)
@@ -236,7 +240,7 @@ SF: 5079040 bytes @ 0x350000 Written: OK
236240
```
237241
If everything went well, issue the command `reset` and camera should start boot OpenIPC.
238242

239-
```
243+
```console
240244
Welcome to OpenIPC
241245
openipc-t31 login: root
242246

en/equipment-flashing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Equipment for flashing
99
While some hardened technicians would insist on getting things done
1010
with a grandfather's kilowatt soldering iron, we suggest you to buy
1111
a modern [soldering station with a hot air](https://www.aliexpress.com/premium/soldering-station-hot-air.html)
12-
and temperature control. You don't need to be fancy, an entry level
12+
and temperature control. You don't need to be fancy, an entry level
1313
soldering station like YIHUA 882D, or JCD 8898, or YOUYUE 8586 would
1414
do, and it won't break the bank with its price tag of $50-70, more
1515
or less.
@@ -19,8 +19,8 @@ or less.
1919
![](../images/equipment-youyue8586.webp)
2020

2121
Throw in a silicone mat, a tube of no-clean flux, a can of solder paste,
22-
desoldering copper wick, ceramic tweezers, nonwoven swabs and a bottle
23-
of isopropyl alcohol. Many of these things can be already included as
22+
de-soldering copper wick, ceramic tweezers, nonwoven swabs and a bottle
23+
of isopropyl alcohol. Many of these things can be already included as
2424
perks with the soldering station.
2525

2626
### A programmer for flashing memory chips.

0 commit comments

Comments
 (0)