Skip to content

Commit 4374cc6

Browse files
authored
Merge pull request #305 from avi951/main
axon: os: vicharak-config: update mechanism to get devices up to date
2 parents e44db65 + a4e946b commit 4374cc6

2 files changed

Lines changed: 117 additions & 0 deletions

File tree

source/vicharak_sbcs/axon/axon-os-configuration/vicharak-config/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ Vicharak Config TUI
4949

5050
Board Backup <backup>
5151
USB Tethering <usb-tethering>
52+
vicharak-update <vicharak-update>
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
Vicharak Update System
2+
======================
3+
4+
Overview
5+
--------
6+
7+
The **Vicharak Update System** provides a mechanism to remotely update system hosted on the Vicharak
8+
update server.
9+
10+
The update framework performs the following tasks:
11+
12+
* Checks whether an update is available
13+
* Maintains update history
14+
15+
Steps to follow for Update Vicharak Board
16+
------------------------------------------
17+
18+
1. Open a terminal window (``Ctrl+Alt+T``).
19+
20+
2. Run command ``sudo vicharak-config`` in it.
21+
22+
3. Select ``System Maintenance`` option in it by pressing ``Enter`` key.
23+
24+
.. code-block:: console
25+
26+
┌───────────────────────────────────┤ VICHARAK_CONFIG ├────────────────────────────────────┐
27+
│ Please select an option below: │
28+
│ │
29+
│ System Maintenance │
30+
│ Hardware │
31+
│ Overlays │
32+
│ Connectivity │
33+
│ Advanced Options │
34+
│ User Settings │
35+
│ Localization │
36+
│ About │
37+
│ │
38+
│ <Ok> <Cancel> │
39+
│ │
40+
└──────────────────────────────────────────────────────────────────────────────────────────┘
41+
42+
4. Select ``Vicharak Update`` option.
43+
44+
.. code-block:: console
45+
46+
┌───────────────────────────────────┤ VICHARAK_CONFIG ├────────────────────────────────────┐
47+
│ System Maintenance │
48+
│ │
49+
│ Vicharak Update │
50+
│ │
51+
│ │
52+
│ │
53+
│ │
54+
│ │
55+
│ <Ok> <Cancel> │
56+
└──────────────────────────────────────────────────────────────────────────────────────────┘
57+
58+
5. Select ``Check & Apply Update`` option.
59+
60+
.. code-block:: console
61+
62+
┌───────────────────────────────────┤ VICHARAK_CONFIG ├────────────────────────────────────┐
63+
│ Vicharak Update Menu │
64+
│ │
65+
│ Check & Apply Updates │
66+
│ │
67+
│ │
68+
│ │
69+
│ │
70+
│ │
71+
│ <Ok> <Cancel> │
72+
└──────────────────────────────────────────────────────────────────────────────────────────┘
73+
74+
6. The update system shows a terminal progress bar during upgradation process.
75+
76+
Example:
77+
78+
::
79+
80+
Progress : [###############-------------] 45% (4/9)
81+
82+
83+
84+
System Log
85+
-----------
86+
87+
Logs are written to:
88+
89+
::
90+
91+
/opt/vicharak-update/logs/update.log
92+
93+
94+
The menu performs:
95+
96+
* Update availability check
97+
* Progress display
98+
* Success notification
99+
100+
Update Vicharak Kernel Using Command
101+
-------------------------------------
102+
103+
To get ``KERNEL_VERSION``, Run below command in vicharak board.
104+
105+
.. code-block::
106+
107+
uname -r
108+
109+
Run commands below to upgrade kernel.
110+
111+
.. code-block::
112+
113+
sudo apt update
114+
sudo apt install linux-image-<KERNEL_VERSION>
115+
116+
Currently, **5.10.XXX** and **6.1.75** kernel supported in Axon Device.

0 commit comments

Comments
 (0)